Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 01 Nov 2015 17:20:21 +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-GC20XAEtfS@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 #1 from commit-hook@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.



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