* [git.ipfire.org] IPFire 2.x development tree branch, thirteen, updated. 6bd5e3144c62df819fbb9d790d0348a64065d179
@ 2012-11-26 15:50 git
0 siblings, 0 replies; only message in thread
From: git @ 2012-11-26 15:50 UTC (permalink / raw)
To: ipfire-scm
[-- 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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-11-26 15:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-26 15:50 [git.ipfire.org] IPFire 2.x development tree branch, thirteen, updated. 6bd5e3144c62df819fbb9d790d0348a64065d179 git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox