This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug gdb/15714] gdb 7.5 crash with a double-free when run with sudo and a specific .gdbinit file


http://sourceware.org/bugzilla/show_bug.cgi?id=15714

Jan Kratochvil <jan.kratochvil at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |jan.kratochvil at redhat dot com
         Resolution|---                         |FIXED

--- Comment #4 from Jan Kratochvil <jan.kratochvil at redhat dot com> ---
I do not see the message 'not using untrusted file' in FSF GDB sources, it was
never there, it was always only Red Hat extension.

It has been superseded in FSF GDB before 7.5 was released by:
  http://sourceware.org/ml/gdb-patches/2012-01/msg00586.html

The Red Hat patch was removed thanks to it in Fedora 17 on 2012-04-18 by:
 
http://pkgs.fedoraproject.org/cgit/gdb.git/commit/?id=08451779f969455df3b5f16e872f5e698ca794f9

I have found the inappropriate patch is still present in:
  http://packages.ubuntu.com/source/quantal/gdb
 
http://archive.ubuntu.com/ubuntu/pool/main/g/gdb/gdb_7.5-0ubuntu2.debian.tar.gz
  ./debian/patches/gdbinit-ownership.patch
And there is really at least a double fclose bug in that patch.

But that is Ubuntu specific problem, this Bugzilla is for FSF GDB.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]