[Bug 202996] pfctl: unitialized variable level in pfctl_set_debug

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Dec 15 21:03:43 UTC 2015


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

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

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


More information about the freebsd-bugs mailing list