1
0
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:
Andreas Schneider
2010-06-28 12:54:11 +02:00
parent f8b6ac6a08
commit 0c579bc3e6

View File

@ -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 */