octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #43382] Fix double free in zfstream.cc


From: PrasannaKumar Muralidharan
Subject: [Octave-bug-tracker] [bug #43382] Fix double free in zfstream.cc
Date: Wed, 08 Oct 2014 17:19:57 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:32.0) Gecko/20100101 Firefox/32.0

URL:
  <http://savannah.gnu.org/bugs/?43382>

                 Summary: Fix double free in zfstream.cc
                 Project: GNU Octave
            Submitted by: prasannatsm
            Submitted on: Wed 08 Oct 2014 05:19:56 PM GMT
                Category: Interpreter
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Crash
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Any

    _______________________________________________________

Details:

In gzfilebuf's destructor disable_buffer() is called after calling close(). In
close method disable_buffer() is called. This causes buffers to be freed
twice. Attached patch fixes this.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Wed 08 Oct 2014 05:19:56 PM GMT  Name: fix_double_free_zfstream_cc.diff 
Size: 937B   By: prasannatsm

<http://savannah.gnu.org/bugs/download.php?file_id=32241>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?43382>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]