kern/104738: [inet] [patch] Reentrant problem with inet_ntoa in the kernel

Max Laier mlaier at FreeBSD.org
Thu Nov 2 19:09:06 UTC 2006


Synopsis: [inet] [patch] Reentrant problem with inet_ntoa in the kernel

Responsible-Changed-From-To: freebsd-bugs->mlaier
Responsible-Changed-By: mlaier
Responsible-Changed-When: Thu Nov 2 19:03:59 UTC 2006
Responsible-Changed-Why: 
Take over.  Allocating a buffer on stack for every (debugging) print of an
internet address seems bloat, but this needs to be addressed nontheless.
As an aside, ip6_sprintf() tries to use a round-robin buffer, but does not
properly synchronize access to that, either.  This needs to be fixed as well.

http://www.freebsd.org/cgi/query-pr.cgi?pr=104738


More information about the freebsd-bugs mailing list