]> sourceware.org Git - systemtap.git/commit
stap translator: tolerate NULLs coming from some elfutils string lookups
authorFrank Ch. Eigler <fche@redhat.com>
Sat, 11 Jan 2014 00:51:37 +0000 (19:51 -0500)
committerFrank Ch. Eigler <fche@redhat.com>
Sat, 11 Jan 2014 00:54:42 +0000 (19:54 -0500)
commitc60517ca2f99886495580c308e16b094b657d344
treeb9792d3635c37dd354ae83485fedba21d5c42a33
parentecd711df9ca05063322335b80bc9a0e4d0d78036
stap translator: tolerate NULLs coming from some elfutils string lookups

It was reported on the mailing list, and privately experienced, that
stap pass-2 crashes could occur due to NULL dwarf_diename or
dwarf_decl_file's being propagated rather far within stap.  This
commit adds protections (of the form ?: "foo") to eliminate the
problem in a few spots.  There may be others; we should not store
so many raw char*'s.
dwflpp.cxx
tapsets.cxx
This page took 0.02636 seconds and 5 git commands to generate.