From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id DE1611393A3 for ; Sat, 29 Dec 2012 01:17:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BB92121C152; Sat, 29 Dec 2012 01:16:14 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 00D7721C15C for ; Sat, 29 Dec 2012 01:16:13 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0FE7633D8E9 for ; Sat, 29 Dec 2012 01:16:13 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 225C9E5454 for ; Sat, 29 Dec 2012 01:16:10 +0000 (UTC) From: "Anthony G. Basile" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Anthony G. Basile" Message-ID: <1356743562.513da4d2b13a4357282ee9509c83c5ac470564a2.blueness@gentoo> Subject: [gentoo-commits] proj/elfix:elfix-0.7.x commit in: src/ X-VCS-Repository: proj/elfix X-VCS-Files: src/paxctl-ng.c X-VCS-Directories: src/ X-VCS-Committer: blueness X-VCS-Committer-Name: Anthony G. Basile X-VCS-Revision: 513da4d2b13a4357282ee9509c83c5ac470564a2 X-VCS-Branch: elfix-0.7.x Date: Sat, 29 Dec 2012 01:16:10 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: f743a5ba-528b-4ce4-8cd7-ba8d87230d03 X-Archives-Hash: 5a0b9d4038b5d65a4605d4c544077eee commit: 513da4d2b13a4357282ee9509c83c5ac470564a2 Author: Anthony G. Basile gentoo org> AuthorDate: Fri Dec 28 23:06:50 2012 +0000 Commit: Anthony G. Basile gentoo org> CommitDate: Sat Dec 29 01:12:42 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/elfix.git;a=commit;h=513da4d2 src/paxctl-ng.c: fix uninitialized value for xt_flags --- src/paxctl-ng.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/src/paxctl-ng.c b/src/paxctl-ng.c index 6dbcf4c..dcfdde9 100644 --- a/src/paxctl-ng.c +++ b/src/paxctl-ng.c @@ -707,6 +707,9 @@ create_xt_flags(int fd, int cp_flags) PF_NOEMUTRAMP | PF_RANDMMAP ; else if(cp_flags == CREATE_XT_FLAGS_DEFAULT) xt_flags = 0; + else + //Why are we here? + return EXIT_FAILURE; memset(buf, 0, FLAGS_SIZE); bin2string(xt_flags, buf);