diff options
author | Lauri Leukkunen <lle@rahina.org> | 2007-04-10 02:07:24 +0300 |
---|---|---|
committer | Lauri Leukkunen <lle@rahina.org> | 2007-04-10 02:07:24 +0300 |
commit | 3b76c5f153daeae64a5b46f8c2a0c608b5752e18 (patch) | |
tree | ba93c6ab77c743ad80494b51b4c211782c7dee96 | |
parent | 39d42989563e182df6421d360cbd9edb76f3947c (diff) |
Initialize sbox_path variables to NULL in prologues
This manifested itself as segfaulting touch on 64bit
ubuntu/edgy.
Signed-off-by: Lauri Leukkunen <lle@rahina.org>
-rw-r--r-- | preload/libsb2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/preload/libsb2.c b/preload/libsb2.c index 88f4d1c..c246e97 100644 --- a/preload/libsb2.c +++ b/preload/libsb2.c @@ -85,10 +85,10 @@ */ #define SBOX_MAP_PROLOGUE() \ - char *sbox_path; + char *sbox_path = NULL; #define SBOX_MAP_AT_PROLOGUE() \ - char *sbox_path; + char *sbox_path = NULL; #define SBOX_MAP_PATH_NARROW(path, sbox_path) \ { \ |