git.samba.org
/
mat
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a1ce77
)
s3-reg_parse: fix uninitialized variable in srprs_key().
author
Günther Deschner
<gd@samba.org>
Tue, 5 Oct 2010 12:58:52 +0000
(14:58 +0200)
committer
Günther Deschner
<gd@samba.org>
Tue, 5 Oct 2010 13:09:05 +0000
(13:09 +0000)
Guenther
source3/registry/reg_parse.c
patch
|
blob
|
history
diff --git
a/source3/registry/reg_parse.c
b/source3/registry/reg_parse.c
index 2fcdb41534bb3861f7a47f51539830eb90d46e2d..98704ec3856b5b6b2d0606b843e0718291184967 100644
(file)
--- a/
source3/registry/reg_parse.c
+++ b/
source3/registry/reg_parse.c
@@
-263,7
+263,7
@@
static bool srprs_key(const char** ptr, cbuf* key, bool* del)
{
const char* pos = *ptr;
const char* closing_bracket_pos = NULL;
- size_t closing_bracket_idx;
+ size_t closing_bracket_idx
= 0
;
if (!srprs_skipws(&pos) || !srprs_char(&pos, '[')) {
return false;