]> sourceware.org Git - debugedit.git/commit
sepdebugcrcfix: Don't crash if .gnu_debuglink doesn't contain a file string.
authorMark Wielaard <mark@klomp.org>
Thu, 1 Jul 2021 14:12:56 +0000 (16:12 +0200)
committerMark Wielaard <mark@klomp.org>
Mon, 5 Jul 2021 13:26:18 +0000 (15:26 +0200)
commit37a74fe5d3c913ce4231c0ba303f2a9a119825f7
tree8921a55c161cf64c5b93dae521798391e56d71b1
parent73390ca58ecc1338735bf33b50a0381afa7aab87
sepdebugcrcfix: Don't crash if .gnu_debuglink doesn't contain a file string.

If the .gnu_debuglink section didn't contain a valid file string then we would crash.
Produce an error instead.

* tools/sepdebugcrcfix.c (process): Produce an error when zerop is NULL.

Signed-off-by: Mark Wielaard <mark@klomp.org>
tools/sepdebugcrcfix.c
This page took 0.023735 seconds and 5 git commands to generate.