set_my_executable_path() checked my_executable_path instead of the freshly allocated my_executable_directory, so a failed calloc led to strncpy on NULL. Found by cppcheck 2.22. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
set_my_executable_path() checked my_executable_path instead of the freshly allocated my_executable_directory, so a failed calloc led to strncpy on NULL. Found by cppcheck 2.22. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>