Several missing function return checks in NConvert

Discussions on NConvert - the command line tool for image conversion and manipulation

Moderator: xnview

zaoyang
Posts: 2
Joined: Tue Sep 16, 2025 6:44 pm

Several missing function return checks in NConvert

Post by zaoyang »

Hi,

While testing NConvert Linux x64 v7.230, I found several unchecked return values—mostly from malloc/calloc/realloc calls—that can lead to null pointer dereferences under allocation failure. I verified that these issues are still present in the latest v7.300 release.

Properly checking these return values would improve NConvert's reliability and robustness.

The attached report lists each location in the Linux x64 v7.300 binary along with the unchecked call.
report.zip

Let me know if you need more information!
You do not have the required permissions to view the files attached to this post.