Summary: | pfctl: unitialized variable level in pfctl_set_debug | ||
---|---|---|---|
Product: | Base System | Reporter: | Andrej Kolontai <andrej.kolontai> |
Component: | bin | Assignee: | freebsd-bugs (Nobody) <bugs> |
Status: | Closed FIXED | ||
Severity: | Affects Many People | CC: | andrej.kolontai, kp, pi |
Priority: | --- | Keywords: | patch |
Version: | 10.2-RELEASE | Flags: | kp:
mfc-stable10+
|
Hardware: | Any | ||
OS: | Any |
Description
Andrej Kolontai
2015-09-09 15:15:26 UTC
A commit references this bug: Author: kp Date: Sun Nov 1 17:20:17 UTC 2015 New revision: 290236 URL: https://svnweb.freebsd.org/changeset/base/290236 Log: pfctl: Fix uninitialised veriable In pfctl_set_debug() we used 'level' without ever initialising it. We correctly parsed the option, but them failed to actually assign the parsed value to 'level' before performing to ioctl() to configure the debug level. PR: 202996 Submitted by: Andrej Kolontai Changes: head/sbin/pfctl/pfctl.c Thanks! A commit references this bug: Author: kp Date: Tue Dec 15 21:02:54 UTC 2015 New revision: 292288 URL: https://svnweb.freebsd.org/changeset/base/292288 Log: MFC r290236 pfctl: Fix uninitialised veriable In pfctl_set_debug() we used 'level' without ever initialising it. We correctly parsed the option, but them failed to actually assign the parsed value to 'level' before performing to ioctl() to configure the debug level. PR: 202996 Submitted by: Andrej Kolontai Changes: _U stable/10/ stable/10/sbin/pfctl/pfctl.c |