The m_free call in the ip6_fw_ctl_ptr == NULL case apparently
tries to free uninitialized mbuf. This was my mistake during recent KAME merge. This part is for *BSD other than FreeBSD. Submitted by: Alexander N. Kabaev <ak03@gte.com>
This commit is contained in:
parent
4d2ef515ad
commit
bf2c541b2e
@ -1669,8 +1669,6 @@ do { \
|
||||
|
||||
if (ip6_fw_ctl_ptr == NULL)
|
||||
{
|
||||
if (m)
|
||||
(void)m_free(m);
|
||||
return EINVAL;
|
||||
}
|
||||
error = (*ip6_fw_ctl_ptr)(optname, mp);
|
||||
|
Loading…
Reference in New Issue
Block a user