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@ipfire.org Date: Mon Nov 26 17:46:49 2012 +0100
misc-progs: setportfw: fix unintialised strings.
commit 01e5e86e1a9f6c158d3f928da0c1340ea877d914 Author: Arne Fitzenreiter arne_f@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