Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Dec 2015 21:03:43 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 202996] pfctl: unitialized variable level in pfctl_set_debug
Message-ID:  <bug-202996-8-Wd25nTUFnA@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-202996-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-202996-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202996

--- Comment #3 from commit-hook@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-202996-8-Wd25nTUFnA>