From 059cc3234281f95e2982140bad9e053b1ebeae9b Mon Sep 17 00:00:00 2001 From: Mariusz Zaborski Date: Tue, 4 Oct 2016 13:33:43 +0000 Subject: [PATCH] libcapsicum: limit stderr Don't limit stdout twice, instead limit stderr. Pointed out by: rpokala@ --- lib/libcapsicum/capsicum_helpers.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libcapsicum/capsicum_helpers.h b/lib/libcapsicum/capsicum_helpers.h index ba2df9181a1e..7876f6607720 100644 --- a/lib/libcapsicum/capsicum_helpers.h +++ b/lib/libcapsicum/capsicum_helpers.h @@ -96,7 +96,7 @@ caph_limit_stdio(void) { if (caph_limit_stdin() == -1 || caph_limit_stdout() == -1 || - caph_limit_stdout() == -1) { + caph_limit_stderr() == -1) { return (-1); }