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 612181381FB for ; Fri, 28 Dec 2012 23:07:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 380A821C014; Fri, 28 Dec 2012 23:07:05 +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 AFB8121C014 for ; Fri, 28 Dec 2012 23:07:04 +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 B061133DA22 for ; Fri, 28 Dec 2012 23:07:03 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 388DFE543D for ; Fri, 28 Dec 2012 23:07:01 +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: <1356736010.bbcdee4fec695a1591909ab1d687e3589fabac17.blueness@gentoo> Subject: [gentoo-commits] proj/elfix:master 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: bbcdee4fec695a1591909ab1d687e3589fabac17 X-VCS-Branch: master Date: Fri, 28 Dec 2012 23:07:01 +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: 8001c42f-62a5-44c6-97d8-be2db0468207 X-Archives-Hash: e2b724a5f73c3f8dba52e85c7bf1c76e commit: bbcdee4fec695a1591909ab1d687e3589fabac17 Author: Anthony G. Basile gentoo org> AuthorDate: Fri Dec 28 23:06:50 2012 +0000 Commit: Anthony G. Basile gentoo org> CommitDate: Fri Dec 28 23:06:50 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/elfix.git;a=commit;h=bbcdee4f 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);