Re: [PATCH] elfint.c: Fix NULL pointer dereference issue in process_file function

2024-10-23 Thread Mark Wielaard
Hi Anton, On Wed, 2024-10-23 at 13:09 +0300, ant.v.morya...@gmail.com wrote: > From: AntonMoryakov > > fix: fixed null pointer inference error in process_file function > > Fixed a bug that could cause the program to crash when processing files > without a suffix. Do you have a testcase for th

[PATCH] elfint.c: Fix NULL pointer dereference issue in process_file function

2024-10-23 Thread ant . v . moryakov
From: AntonMoryakov fix: fixed null pointer inference error in process_file function Fixed a bug that could cause the program to crash when processing files without a suffix. Added a NULL check for the suffix pointer before calling stpcpy(). --- src/elflint.c | 7 ++- 1 file changed, 6 ins