mirror of
https://github.com/samba-team/samba.git
synced 2025-02-26 21:57:41 +03:00
s3-reg_parse: fix uninitialized variable in srprs_key().
Guenther
This commit is contained in:
parent
0a1ce77e29
commit
caeb819861
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user