diff options
author | Christopher R. Hertel <crh@samba.org> | 1998-08-21 19:57:59 +0000 |
---|---|---|
committer | Christopher R. Hertel <crh@samba.org> | 1998-08-21 19:57:59 +0000 |
commit | 8a11d04b7796b256953bf92b2f2ccab763215bc4 (patch) | |
tree | 1c6140cc06684407ccdea76b5025ede6d4ec2b20 /source/rpc_parse/parse_srv.c | |
parent | b1d374fb14b1fb92a84260f1dcc59a39a4b99a3d (diff) | |
download | samba-8a11d04b7796b256953bf92b2f2ccab763215bc4.tar.gz samba-8a11d04b7796b256953bf92b2f2ccab763215bc4.tar.xz samba-8a11d04b7796b256953bf92b2f2ccab763215bc4.zip |
Just tweaking.
If the output line is longer than the format buffer could manage, I was
simply ignoring the additional output (that is, *not* copying it to the
format buffer--thus avoiding a buffer overrun). Instead, I now output
the current content followed by " +>\n", and then reset the format buffer.
I have never seen a debug line that exceeds the size of a pstring, but I
might as well handle the situation...just in case.
Chris -)-----
Diffstat (limited to 'source/rpc_parse/parse_srv.c')
0 files changed, 0 insertions, 0 deletions