Community
Participate
Working Groups
in symbols_elf.c in find_symbol_by_addr() a call is made to find_by_addr_in_unit() if ip.unit == NULL a NULL pointer can be passed as ip find_by_addr_in_unit() calls check_in_range(parent, ip) in check_in_range() ip (then) is used as a pointer and is dereferenced. It can't be NULL.
Created attachment 250314 [details] proposed patch attached is a proposed patch for the issue
I committed a different fix - we have to call find_by_addr_in_unit() even if ip.uint == NULL. I also added a test for such case. Fixed. Thanks!
Comment on attachment 250314 [details] proposed patch Setting iplog- since the attached patch was not used.