Elrond <[EMAIL PROTECTED]> writes:

> Hi,
>
> krberror.c, line 1199 (as in the debian/0.0.24 tar.gz)
>
> Function shishi_krberror_pretty_print, first free() in this
> function.
>
>       res = shishi_krberror_etext(&buf);
>       ...
>       free(buf);
>
> buf is not set, if shishi_krberror_etext fails.

Fixed.

> Not to mention, that the previous use of
> shishi_krberror_etext in this function looks a bit leaky.

Yup, and it would also crash on non-successful return codes.  Fixes.

Thanks!


_______________________________________________
Help-shishi mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-shishi

Reply via email to