From: git@ipfire.org
To: ipfire-scm@lists.ipfire.org
Subject: [git.ipfire.org] IPFire 2.x development tree branch, thirteen, updated. 6bd5e3144c62df819fbb9d790d0348a64065d179
Date: Mon, 26 Nov 2012 16:50:15 +0100 [thread overview]
Message-ID: <20121126155015.66F0F20082@argus.ipfire.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 2771 bytes --]
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "IPFire 2.x development tree".
The branch, thirteen has been updated
via 6bd5e3144c62df819fbb9d790d0348a64065d179 (commit)
via 01e5e86e1a9f6c158d3f928da0c1340ea877d914 (commit)
from 44967a84023ffa884ab4c4b484bdc6982ded66d3 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 6bd5e3144c62df819fbb9d790d0348a64065d179
Author: Arne Fitzenreiter <arne_f(a)ipfire.org>
Date: Mon Nov 26 17:46:49 2012 +0100
misc-progs: setportfw: fix unintialised strings.
commit 01e5e86e1a9f6c158d3f928da0c1340ea877d914
Author: Arne Fitzenreiter <arne_f(a)ipfire.org>
Date: Mon Nov 26 17:30:40 2012 +0100
Revert "libsmooth: findkey: Empty target string if key could not be found."
This reverts commit 0add8f90ae1d5a15000147df2a86d060a2a89917.
-----------------------------------------------------------------------
Summary of changes:
src/install+setup/libsmooth/varval.c | 3 ---
src/misc-progs/setportfw.c | 10 +++++-----
2 files changed, 5 insertions(+), 8 deletions(-)
Difference in files:
diff --git a/src/install+setup/libsmooth/varval.c b/src/install+setup/libsmooth/varval.c
index d127890..9a64365 100644
--- a/src/install+setup/libsmooth/varval.c
+++ b/src/install+setup/libsmooth/varval.c
@@ -151,9 +151,6 @@ int findkey(struct keyvalue *head, char *key, char *value)
cur = cur->next;
}
- // Empty value if we could not find key.
- value[0] = '\0';
-
return 0;
}
diff --git a/src/misc-progs/setportfw.c b/src/misc-progs/setportfw.c
index ca79218..a65aebd 100644
--- a/src/misc-progs/setportfw.c
+++ b/src/misc-progs/setportfw.c
@@ -45,11 +45,11 @@ int main(void)
{
FILE *ipfile = NULL, *ifacefile = NULL;
int count;
- char iface[STRING_SIZE];
- char locip[STRING_SIZE];
- char greenip[STRING_SIZE], greenmask[STRING_SIZE];
- char bluedev[STRING_SIZE], blueip[STRING_SIZE], bluemask[STRING_SIZE];
- char orangedev[STRING_SIZE], orangeip[STRING_SIZE], orangemask[STRING_SIZE];
+ char iface[STRING_SIZE] ="";
+ char locip[STRING_SIZE] ="";
+ char greenip[STRING_SIZE] ="", greenmask[STRING_SIZE] ="";
+ char bluedev[STRING_SIZE] ="", blueip[STRING_SIZE] ="", bluemask[STRING_SIZE] ="";
+ char orangedev[STRING_SIZE] ="", orangeip[STRING_SIZE] ="", orangemask[STRING_SIZE] ="";
char *protocol;
char *srcip;
char *locport;
hooks/post-receive
--
IPFire 2.x development tree
reply other threads:[~2012-11-26 15:50 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20121126155015.66F0F20082@argus.ipfire.org \
--to=git@ipfire.org \
--cc=ipfire-scm@lists.ipfire.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox