Hi,
I put here a bug among others:

-------------------------- netinet/ip_icmp.c --------------------------

925     rt = rtalloc(sintosa(&sin), RT_REPORT|RT_RESOLVE, rtableid);
        if (rt == NULL)
                return (NULL);

        /* Check if the route is actually usable */
        if (rt->rt_flags & (RTF_REJECT | RTF_BLACKHOLE) ||
            (rt->rt_flags & RTF_UP) == 0)
                return (NULL);

-----------------------------------------------------------------------

'rt' is not released.

Found by The Brainy Code Scanner.

Maxime

Reply via email to