svn commit: r313821 - in head/sys: dev/cxgb/ulp/iw_cxgb fs/nfsserver kern netinet netinet/libalias netpfil/ipfw

Gleb Smirnoff glebius at FreeBSD.org
Fri Feb 17 04:13:37 UTC 2017


On Thu, Feb 16, 2017 at 08:47:41PM +0000, Eric van Gyzen wrote:
E> Author: vangyzen
E> Date: Thu Feb 16 20:47:41 2017
E> New Revision: 313821
E> URL: https://svnweb.freebsd.org/changeset/base/313821
E> 
E> Log:
E>   Use inet_ntoa_r() instead of inet_ntoa() throughout the kernel
E>   
E>   inet_ntoa() cannot be used safely in a multithreaded environment
E>   because it uses a static local buffer. Instead, use inet_ntoa_r()
E>   with a buffer on the caller's stack.

Thanks a lot, Eric!

-- 
Totus tuus, Glebius.


More information about the svn-src-head mailing list