mirror of
https://github.com/samba-team/samba.git
synced 2025-08-08 13:49:29 +03:00
s3-net: Make sure that the data blob is initialized.
Found by clang-analyzer.
This commit is contained in:
@ -2424,6 +2424,8 @@ NTSTATUS rpc_printer_migrate_settings_internals(struct net_context *c,
|
||||
struct regval_blob *value;
|
||||
DATA_BLOB blob;
|
||||
|
||||
ZERO_STRUCT(blob);
|
||||
|
||||
/* although samba replies with sane data in most cases we
|
||||
should try to avoid writing wrong registry data */
|
||||
|
||||
|
Reference in New Issue
Block a user