CVS update: samba/source/rpc_server
Shirish Kalele (VERITAS)
kalele at samba.org
Sat May 27 08:37:08 EST 2000
Date: Saturday May 27, 2000 @ 8:37
Author: kalele
Update of /data/cvs/samba/source/rpc_server
In directory samba:/tmp/cvs-serv1285/rpc_server
Modified Files:
srv_pipe_hnd.c
Log Message:
Fixed memory leak in RPC parsing code.
Problem in prs_set_buffer_size() was Realloc returns a NULL when newsize is zero (equivalent to a free()). We were returning a failure here without resetting the buffer_size or the data_p pointer in the prs_struct. And we weren't checking for a failure from prs_set_buffer_size(). So realloc's to zero size were not reflected in the prs_struct: memory leak.
More information about the samba-cvs
mailing list