Mailinglist Archive: opensuse-bugs (6633 mails)

< Previous Next >
[Bug 535203] New: kismet-2009_06_R1-1.3: 2 *bad calls to free
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Fri, 28 Aug 2009 09:08:51 -0600
  • Message-id: <bug-535203-21960@xxxxxxxxxxxxxxxxxxxxxxxx/>
http://bugzilla.novell.com/show_bug.cgi?id=535203


Summary: kismet-2009_06_R1-1.3: 2 *bad calls to free
Classification: openSUSE
Product: openSUSE 11.2
Version: Factory
Platform: All
OS/Version: openSUSE 11.1
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Other
AssignedTo: bnc-team-screening@xxxxxxxxxxxxxxxxxxxxxx
ReportedBy: dcb314@xxxxxxxxxxx
QAContact: qa@xxxxxxx
Found By: ---


I just had a look at factory package kismet-2009_06_R1-1.3

For source code file kismet-2009-06-R1/filtercore.cc
around line 350, function FilterCore::AddFilterLine
is the following code

pcre_filter *filt = new pcre_filter;

but a few lines later is

free(filt);

This is C++ allocation and C deallocation. Suggest change the call
to free to

delete filt; filt = NULL;

The same problem happens again a few lines further down the same
function.

--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >
This Thread
  • No further messages