1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00
samba-mirror/libcli/nbt
Andreas Schneider ddadbddb40 libcli:nbt: Initialize struct nbt_name_register
"Error: UNINIT (CWE-457):
samba-4.20.0rc2/libcli/nbt/pynbt.c:277: var_decl: Declaring variable ""io"" without initializer.
samba-4.20.0rc2/libcli/nbt/pynbt.c:305: uninit_use_in_call: Using uninitialized value ""io.in.nb_flags"" when calling ""nbt_name_register"".
  303|   		return NULL;
  304|
  305|-> 	status = nbt_name_register(node->socket, NULL, &io);
  306|
  307|   	if (NT_STATUS_IS_ERR(status)) {"

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
2024-07-16 11:41:33 +00:00
..
man docs: remove duplicate word "name" in nmblookup4 manpage. 2013-11-19 09:52:39 +01:00
tools nmblookup: don't ignore unknown options 2021-09-10 15:10:30 +00:00
libnbt.h libcli/nbt: add nbt_name_send_raw() 2024-04-05 12:24:41 +00:00
lmhosts.c lib: Give lib/util/util_file.c its own header file 2024-04-16 23:51:45 +00:00
namequery.c libnbt: Add an explicit "mem_ctx" to name_request_send 2018-04-13 18:14:41 +02:00
namerefresh.c libnbt: Add an explicit "mem_ctx" to name_request_send 2018-04-13 18:14:41 +02:00
nameregister.c libnbt: Add an explicit "mem_ctx" to name_request_send 2018-04-13 18:14:41 +02:00
namerelease.c libnbt: Add an explicit "mem_ctx" to name_request_send 2018-04-13 18:14:41 +02:00
nbt_proto.h libnbt: Add an explicit "mem_ctx" to name_request_send 2018-04-13 18:14:41 +02:00
nbtname.c librpc:ndr: Introduce ‘ndr_flags_type’ type 2023-11-01 20:10:45 +00:00
nbtsocket.c libcli/nbt: add nbt_name_send_raw() 2024-04-05 12:24:41 +00:00
pynbt.c libcli:nbt: Initialize struct nbt_name_register 2024-07-16 11:41:33 +00:00
wscript_build libcli:nbt: Migrate nmblookup4 to new cmdline option parser 2021-06-20 23:26:32 +00:00