[Bug 210798] devel/gdb: Uninitialized variables found presenting possible security issues or bugs

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Jul 8 13:26:33 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210798

luca.pizzamiglio at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|maintainer-feedback?(luca.p |maintainer-feedback+
                   |izzamiglio at gmail.com)       |

--- Comment #5 from luca.pizzamiglio at gmail.com ---
Hi Mark,

thanks to report those problems.
Some comments:

gdb/rs6000-tdep.c: is already fixed in the upstream, so I can merge it back
soon

gdb/compile/compile-loc2c.c: initializing uoffset to zero would silent the
warning, but I'm not sure if it's correct; I guess that the correct behavior is
granted by well formed dwarf expressions.

gdb/xcoffread.c: a solution here is hard to find; the uninitialized path should
happen only with malformed xcoff, so read_xcoff_symtab() run without issues
with well formed xcoff.

Soon I'll provide a patch to fix the first two warnings; the last one require a
feedback from gdb's people.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list