mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
s4:librpc/ndr: if uninitialized variable in string_array code
metze
This commit is contained in:
parent
7082e4526f
commit
052f3f0d4d
@ -443,7 +443,7 @@ _PUBLIC_ uint32_t ndr_size_string(int ret, const char * const* string, int flags
|
||||
*/
|
||||
_PUBLIC_ enum ndr_err_code ndr_pull_string_array(struct ndr_pull *ndr, int ndr_flags, const char ***_a)
|
||||
{
|
||||
const char **a = *_a;
|
||||
const char **a = NULL;
|
||||
uint32_t count;
|
||||
unsigned flags = ndr->flags;
|
||||
unsigned saved_flags = ndr->flags;
|
||||
|
Loading…
Reference in New Issue
Block a user