1
0
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:
Günther Deschner 2010-10-05 14:58:52 +02:00
parent 0a1ce77e29
commit caeb819861

View File

@ -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;