On 08.07.21 19:30, Marek Behún wrote:
From: Pali Rohár
In the case when the file name is specified relative to the current
working directory, it does not contain '/' character and strrchr()
returns NULL.
The following strcmp() function then crashes on NULL pointer
dereference.
Signed-off-by:
From: Pali Rohár
In the case when the file name is specified relative to the current
working directory, it does not contain '/' character and strrchr()
returns NULL.
The following strcmp() function then crashes on NULL pointer
dereference.
Signed-off-by: Pali Rohár
Reviewed-by: Marek Behún
--
2 matches
Mail list logo