summaryrefslogtreecommitdiffstats
path: root/docs/htmldocs/Samba-HOWTO-Collection.html
diff options
context:
space:
mode:
authorMartin Pool <mbp@samba.org>2002-02-26 03:09:11 +0000
committerMartin Pool <mbp@samba.org>2002-02-26 03:09:11 +0000
commitfeae69794362c801c172dbee1efd928970a17784 (patch)
tree306666fa1779d4d1f2695ede902e23b86aebf351 /docs/htmldocs/Samba-HOWTO-Collection.html
parentae33d801c3fc4c20442f82a0d5c29b6df7437946 (diff)
downloadsamba-feae69794362c801c172dbee1efd928970a17784.tar.gz
samba-feae69794362c801c172dbee1efd928970a17784.tar.xz
samba-feae69794362c801c172dbee1efd928970a17784.zip
[merge from APPLIANCE_HEAD]
"constants aren't, safe_strcat isn't." This patch tries to fix a bug in the lpq parsing code that causes a crash in lprng and BSD parsers when there are long lines in the output. A too-short length parameter was passed to safe_strcat, which provoked a signedness bug. It also makes the lpq parser consistently use fstring routines, rather than its own hand-crafted strlen/sizeof guff. Some variables were renamed to make this obvious. Finally safe_strcat is changed so that it actually does handle the situation where strlen(dest)>maxlen, rather than crying for help by clobbering -1 bytes of memory. (HP CR #430)
Diffstat (limited to 'docs/htmldocs/Samba-HOWTO-Collection.html')
0 files changed, 0 insertions, 0 deletions