1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-19 10:03:58 +03:00

off by one bug in string length; CR 1159

(This used to be commit 4b5b0bcd9092a6003e3494dda949e03e803ec0aa)
This commit is contained in:
Gerald Carter 2003-02-14 22:24:49 +00:00
parent bfdf6c9053
commit 4f6c2ab895

View File

@ -437,7 +437,7 @@ void notify_printer_byname( char *printername, uint32 change, char *value )
if ( snum == -1 )
return;
send_notify_field_buffer( printername, type, change, snum, strlen(value), value );
send_notify_field_buffer( printername, type, change, snum, strlen(value)+1, value );
}