[Bug 202996] pfctl: unitialized variable level in pfctl_set_debug

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Nov 1 17:20:21 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202996

--- Comment #1 from commit-hook at freebsd.org ---
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

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list