help-shishi
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

wrong free in shishi_krberror_pretty_print


From: Elrond
Subject: wrong free in shishi_krberror_pretty_print
Date: Fri, 21 Apr 2006 14:56:17 +0200
User-agent: Mutt/1.5.9i

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.


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


    Elrond




reply via email to

[Prev in Thread] Current Thread [Next in Thread]