[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #43382] Fix double free in zfstream.cc
From: |
John W. Eaton |
Subject: |
[Octave-bug-tracker] [bug #43382] Fix double free in zfstream.cc |
Date: |
Wed, 08 Oct 2014 18:21:48 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0 Iceweasel/31.0 |
Follow-up Comment #1, bug #43382 (project octave):
I don't see how the buffer can be freed twice. The call to delete only
happens if buffer is non-zero, and after calling delete[] on buffer, buffer is
set to 0. Also, calling delete[] on 0 doesn't actually do anything, does it?
Am I missing something?
If I am missing something and this actually does cause a segfault or double
free to occur, can you please provide a test case for that?
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?43382>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/