diff options
author | Gerald Carter <jerry@samba.org> | 2003-02-14 22:24:49 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2003-02-14 22:24:49 +0000 |
commit | 4f6c2ab8957c39119afecc33718d457fa59bd874 (patch) | |
tree | 3cd7c68405a2dba3e342f0133b29b4066f9cbc90 /source3 | |
parent | bfdf6c90530be5c407a4ba7b67ac32a954ce6c5e (diff) | |
download | samba-4f6c2ab8957c39119afecc33718d457fa59bd874.tar.gz samba-4f6c2ab8957c39119afecc33718d457fa59bd874.tar.xz samba-4f6c2ab8957c39119afecc33718d457fa59bd874.zip |
off by one bug in string length; CR 1159
(This used to be commit 4b5b0bcd9092a6003e3494dda949e03e803ec0aa)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/printing/notify.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/printing/notify.c b/source3/printing/notify.c index 2df28a9345..c344edb8d8 100644 --- a/source3/printing/notify.c +++ b/source3/printing/notify.c @@ -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 ); } |