Convert to the new pstring interface. This diff is a pretty good
authorMartin Pool <mbp@samba.org>
Tue, 15 Jan 2002 02:15:58 +0000 (02:15 +0000)
committerMartin Pool <mbp@samba.org>
Tue, 15 Jan 2002 02:15:58 +0000 (02:15 +0000)
commit1c639ca28e65f41396925e1c2aa41fe0d60fcc47
treeedb92f5f7040f4665edf8cfa087c2a079c382775
parent0d3e258fd102c7b99ee5a3fffcdd10e4cfaf2bc6
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)
source3/smbd/server.c