Re: [PATCH] libdwfl: fix DEREF_OF_NULL.EX in dwfl_segment_report_module.c

2025-02-03 Thread Mark Wielaard
Hi Anton, On Sat, Feb 01, 2025 at 02:10:03AM +0300, Anton Moryakov wrote: > Report of the static analyzer: > After having been assigned to a NULL value at > dwfl_segment_report_module.c:187, pointer 'retval' is > dereferenced at dwfl_segment_report_module.c:195 by > calling function 'strcmp'. (CWE

[PATCH] libdwfl: fix DEREF_OF_NULL.EX in dwfl_segment_report_module.c

2025-01-31 Thread Anton Moryakov
Report of the static analyzer: After having been assigned to a NULL value at dwfl_segment_report_module.c:187, pointer 'retval' is dereferenced at dwfl_segment_report_module.c:195 by calling function 'strcmp'. (CWE476) Corrections explained: When processing file notes, the code could dereference a