Mailinglist Archive: opensuse-bugs (6597 mails)

< Previous Next >
[Bug 527427] New: libetpan-0.58-1.10: use of memory after free
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Sun, 2 Aug 2009 11:03:18 -0600
  • Message-id: <bug-527427-21960@xxxxxxxxxxxxxxxxxxxxxxxx/>
http://bugzilla.novell.com/show_bug.cgi?id=527427


Summary: libetpan-0.58-1.10: use of memory after 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 libetpan-0.58-1.10

For source code file
libetpan-0.58/src/driver/implementation/maildir/maildirdriver_cached.c
around line 300 is the source code for the
function uninitialize.

I notice the following lines of code

free(data);

session->sess_data = data;

I would question the validity of remembering a pointer
to a block of memory that had just been freed.

Suggest code rework.

--
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 >