Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Feb 2017 16:16:45 -0800
From:      Ngie Cooper <yaneurabeya@gmail.com>
To:        Eric van Gyzen <vangyzen@freebsd.org>
Cc:        "src-committers@freebsd.org" <src-committers@freebsd.org>,  "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>,  "svn-src-head@freebsd.org" <svn-src-head@freebsd.org>
Subject:   Re: svn commit: r313822 - in head/sys: libkern netinet
Message-ID:  <CAGHfRMC7GXKWpBYQf5OU0%2BLC%2B%2BKdo8Gxb-5ia=JODoU1gsYwqg@mail.gmail.com>
In-Reply-To: <201702162050.v1GKo1DL014626@repo.freebsd.org>
References:  <201702162050.v1GKo1DL014626@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Feb 16, 2017 at 12:50 PM, Eric van Gyzen <vangyzen@freebsd.org> wrote:
> Author: vangyzen
> Date: Thu Feb 16 20:50:01 2017
> New Revision: 313822
> URL: https://svnweb.freebsd.org/changeset/base/313822
>
> Log:
>   Remove inet_ntoa() from the kernel
>
>   inet_ntoa() cannot be used safely in a multithreaded environment
>   because it uses a static local buffer.  Remove it from the kernel.

Uhmmmm.... did you mean to remove it from netinet/in.h ? This gets
used in userspace too...
-Ngie



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGHfRMC7GXKWpBYQf5OU0%2BLC%2B%2BKdo8Gxb-5ia=JODoU1gsYwqg>