net/ipv4/utils.c

Patrick Schaaf (bof@bof.de)
Tue, 25 May 1999 08:51:44 +0200 (MEST)


Hi,

if I'm not mistaken, the in_ntoa() in net/ipv4/utils.c is non-reentrant,
and used all over the place in ipv4 code. As the resulting strings
are printk()ed, and another CPU may just rewrite the string (without
a terminating '\0', for a brief moment), that may cause some problems.

(Kernel 2.2.9, with apologies if this is already fixed)

regards
Patrick

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/