svn commit: r273552 - head/sys/kern

Dag-Erling Smørgrav des at des.no
Thu Oct 23 22:47:28 UTC 2014


Xin LI <delphij at FreeBSD.org> writes:
> Log:
>   Test if 'env' is NULL before doing memset() and strlen(),
>   the caller may pass NULL to freeenv().

If this is in response to a panic in early boot, the real bug is
elsewhere (see r273564).  Adding a NULL check here only hides it.

DES
-- 
Dag-Erling Smørgrav - des at des.no


More information about the svn-src-all mailing list