summaryrefslogtreecommitdiff
path: root/source3/libsmb/unexpected.c
diff options
context:
space:
mode:
authorMartin Pool <mbp@samba.org>2002-01-15 02:15:58 +0000
committerMartin Pool <mbp@samba.org>2002-01-15 02:15:58 +0000
commit1c639ca28e65f41396925e1c2aa41fe0d60fcc47 (patch)
treeedb92f5f7040f4665edf8cfa087c2a079c382775 /source3/libsmb/unexpected.c
parent0d3e258fd102c7b99ee5a3fffcdd10e4cfaf2bc6 (diff)
downloadsamba-1c639ca28e65f41396925e1c2aa41fe0d60fcc47.tar.gz
samba-1c639ca28e65f41396925e1c2aa41fe0d60fcc47.tar.bz2
samba-1c639ca28e65f41396925e1c2aa41fe0d60fcc47.zip
Convert to the new pstring interface. This diff is a pretty good
example of the scope of change the new pstrings would entail: basically inserting PSTR() or FSTR() everywhere you need to coerce one to a char*. It's also a good example of the kind of bug we might catch: on about line 540, we were doing a pstrcpy into an fstring, which might overflow. It's not a problem in this particular case, but it is in general. (This used to be commit 5a403da4a735a8fb8d118a0a67f3a15127152e18)
Diffstat (limited to 'source3/libsmb/unexpected.c')
0 files changed, 0 insertions, 0 deletions