Closed janbrummer closed 9 months ago
This is expected, passing NULL
is undefined behaviour here, just as strdup(NULL)
will fail. I will add the nonnull
GCC attribute for the functions though.
That will not fix the crash here -.-
Yup, correct - it should be fixed in whatever code is passing ne_path_escape
a NULL
parameter.
Sure, so why is this ticket closed then? I cannot reopen it.
497 for (pnt = (const unsigned char )path; pnt && pnt != '\0'; pnt++) { Missing separate debuginfos, use: dnf debuginfo-install davfs2-1.7.0-3.fc39.x86_64 (gdb) bt
I'll fix it at davfs2, thanks.
Crash in ne_path_escapef
Environment
To Reproduce Can't
Debugging output
pnt isn't checked for NULL before using it.