mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-31 16:57:10 +00:00
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
d389e86a04
commit
3efe99eb71
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=79404
@ -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