Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.3:Staging:A
elfutils
elfutils-0.148-dont-crash.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File elfutils-0.148-dont-crash.diff of Package elfutils
From: Stephan Kulow <coolo@novell.com> Avoid crash if the header is 0 --- libdw/dwarf_getcfi_elf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/libdw/dwarf_getcfi_elf.c +++ b/libdw/dwarf_getcfi_elf.c @@ -76,7 +76,7 @@ parse_eh_frame_hdr (const uint8_t *hdr, { const uint8_t *h = hdr; - if (*h++ != 1) /* version */ + if (!h || *h++ != 1) /* version */ return (void *) -1l; uint8_t eh_frame_ptr_encoding = *h++;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor