oops. that was ok guenther@

On Sun, Apr 20, 2014 at 5:30 PM, Bob Beck <[email protected]> wrote:
> CVSROOT:        /cvs
> Module name:    src
> Changes by:     [email protected]    2014/04/20 17:30:12
>
> Modified files:
>         lib/libssl/src/crypto/asn1: asn1_lib.c
>
> Log message:
> ASN1_STRING cleanup - realloc has handled NULL since I had a mullet
> and parachute pants - and since it's obvious there is no guarantee
> the caller doesn't pass in the data area in the argument, use memmove
> instead of memcpy so overlapping areas are handled correctly.
> Also, pointers can be usefully printed in hex with %p, in error messaeges
> rather than the bizzaro stuff that was there using mystical buffer lengths
> and abuse of strlcpy-converted-blindly-from-strcpy

Reply via email to