Kismet Wireless

Kismet Forums


Posted by:stick84
Subject:bad calls to free
Date:15:35:56 15/09/2009

We've received the following report from the reporter:


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

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

pcre_filter *filt = new pcre_filter;

but a few lines later is


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

Reply to this message