git.samba.org
/
slow
/
pam_wrapper.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d98750e
)
libpamtest: Make sure reply is initialized
author
Andreas Schneider
<asn@samba.org>
Thu, 10 Dec 2015 16:10:55 +0000
(17:10 +0100)
committer
Michael Adam
<obnox@samba.org>
Thu, 10 Dec 2015 21:54:16 +0000
(22:54 +0100)
Fixes a build warning
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
src/libpamtest.c
patch
|
blob
|
history
diff --git
a/src/libpamtest.c
b/src/libpamtest.c
index 612cdc1cb97389c2b3819c8d13825e91260d5832..98192ce30013995e05f51c233fb0afa4d094c180 100644
(file)
--- a/
src/libpamtest.c
+++ b/
src/libpamtest.c
@@
-198,7
+198,7
@@
static int pamtest_simple_conv(int num_msg,
{
int i, ri;
int ret;
- struct pam_response *reply;
+ struct pam_response *reply
= NULL
;
const char *prompt;
struct pamtest_conv_ctx *cctx = \
(struct pamtest_conv_ctx *) appdata_ptr;