mirror of
https://github.com/samba-team/samba.git
synced 2025-01-06 13:18:07 +03:00
02017d35f4
source3/printing/notify.c:94: error: nullPointerArithmetic: Pointer addition with NULL pointer. <--[cppcheck] /home/samba/samba-pidl/source3/printing/notify.c:96: error: nullPointerArithmetic: Pointer addition with NULL pointer. <--[cppcheck] /home/samba/samba-pidl/source3/printing/notify.c:103: error: nullPointerArithmetic: Pointer addition with NULL pointer. <--[cppcheck] flatten_message function depends on behaviour of tdb_pack which will return the bytes that would be written (without actually writing to the buffer) if the bufsize passed is <=0. What we need to avoid here is the default modification of buf (when it is initially NULL) Signed-off-by: Noel Power <noel.power@suse.com> Reviewed-by: Andreas Schneider <asn@samba.org> |
||
---|---|---|
.. | ||
tests | ||
load.c | ||
load.h | ||
lpq_parse.c | ||
notify.c | ||
notify.h | ||
nt_printing_ads.c | ||
nt_printing_migrate_internal.c | ||
nt_printing_migrate_internal.h | ||
nt_printing_migrate.c | ||
nt_printing_migrate.h | ||
nt_printing_os2.c | ||
nt_printing_os2.h | ||
nt_printing_tdb.c | ||
nt_printing_tdb.h | ||
nt_printing.c | ||
pcap.c | ||
pcap.h | ||
print_aix.c | ||
print_cups.c | ||
print_generic.c | ||
print_iprint.c | ||
print_standard.c | ||
print_svid.c | ||
printer_list.c | ||
printer_list.h | ||
printing_db.c | ||
printing.c | ||
printspoolss.c | ||
queue_process.c | ||
queue_process.h | ||
spoolssd.c |