buggnokii - Bugs: bug #16433, double free while closing device

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #16433: double free while closing device

Submitted by:  None
Submitted on:  Mon 24 Apr 2006 08:47:49 PM UTC  
 
Category: libgnokiiSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Pawel Kot <pkot>
Open/Closed: Closed

Mon 24 Apr 2006 09:07:24 PM UTC, comment #2:

Fixed, thanks.

Pawel Kot <pkot>
Project AdministratorIn charge of this item.
Mon 24 Apr 2006 09:06:53 PM UTC, comment #1:

This simple patch seem to resolv this issue.

Rafal Krypa <iceberg>
Mon 24 Apr 2006 08:47:49 PM UTC, original submission:

Gnokii compiled from CVS, checked on 24.04.2006.
I am connecting to phone via bluetooth.

      • The bug ***

iceberg@iceberg~$ gnokii --identify
GNOKII Version 0.6.12
IMEI : 357098000595960
Manufacturer : Nokia
Model : 6230i
Product name : RM72_73_-
Revision : V 03.40

      • glibc detected *** double free or corruption (fasttop): 0x08064b20 ***

Aborted

      • valgrind output ***

==29994== 1 errors in context 1 of 1:
==29994== Invalid free() / delete / delete[]
==29994== at 0x401D048: free (vg_replace_malloc.c:235)
==29994== by 0x41317AF: gn_lib_phone_close (libfunctions.c:137)
==29994== by 0x804A7F2: busterminate (gnokii.c:423)
==29994== by 0x41BFC93: exit (exit.c:60)
==29994== by 0x8059404: main (gnokii.c:5919)
==29994== Address 0x4350630 is 0 bytes inside a block of size 33 free'd
==29994== at 0x401D048: free (vg_replace_malloc.c:235)
==29994== by 0x41481B2: gn_device_unlock (misc.c:515)
==29994== by 0x41317A1: gn_lib_phone_close (libfunctions.c:136)
==29994== by 0x804A7F2: busterminate (gnokii.c:423)
==29994== by 0x41BFC93: exit (exit.c:60)
==29994== by 0x8059404: main (gnokii.c:5919)

Anonymous

 

Attached Files
file #9831:  gnokii-double-free.diff added by iceberg (358B - text/plain - The fix)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 4 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Mon 24 Apr 2006 09:07:24 PM UTCpkotStatusNone=>Fixed
  Assigned toNone=>pkot
  Open/ClosedOpen=>Closed
Mon 24 Apr 2006 09:06:53 PM UTCicebergAttached File-=>Added gnokii-double-free.diff, #9831

Back to the top


Powered by Savane 3.1-cleanup1