CVS update: samba/source
Christopher Hertel
crh at samba.anu.edu.au
Fri Nov 7 14:06:24 EST 1997
Date: Friday November 7, 1997 @ 14:06
Author: crh
Update of /data/cvs/samba/source
In directory samba:/tmp/cvs-serv28001
Modified Files:
mangle.c server.c proto.h
Log Message:
Modified Files:
mangle.c server.c proto.h
mangle.c
I am planning to replace the mangled_stack array with a proper stack,
but found many style inconsistencies (no, really). As you might expect,
I have standardized on my own preferences. ;)
I also found a potential problem in create_mangled_stack (which I've
renamed as reset_mangled_stack). If the stack size were passed into
the function as 0 or less, there was the possibility that the array
would have been freed twice. I doubt that this ever happens, but I
don't like to leave holes.
Of course, the fix will be irrelevent once I replace the array with
a linked-list-based stack.
server.c
Changed the call to create_mangled_stack() to a call to reset_mangled_stack().
proto.h
Regenerated to match the above changes. (A real comment! How unusual!)
More information about the samba-cvs
mailing list