svn rev #19641: trunk/src/appl/bsd/
raeburn@MIT.EDU
raeburn at MIT.EDU
Tue Jun 26 18:58:47 EDT 2007
Commit By: raeburn
Log Message:
* v4rcp.c (kstream_write): Allocate buffer space if it hasn't been
allocated, in the encrypting case, even if outlen is zero. While I
don't believe this can ever happen, it requires careful examination of
lots of code paths to figure it out. This change doesn't fix a
serious bug, but makes the analysis simple. Also, don't bother with
separate code paths for malloc vs realloc depending on the previous
values; we can just use realloc always.
Thanks to Domagoj Babic for pointing out the (false but
understandable) null-pointer problem.
Changed Files:
U trunk/src/appl/bsd/v4rcp.c
More information about the cvs-krb5
mailing list