Closed ivanovivantula closed 7 years ago
We have found a weakness using PVS-Studio tool. PVS-Studio is a static code analyzer for C, C++ and C#: PVS-Studio on Visual Studio Marketplace
Analyzer warning: V595 The 'buf' pointer was utilized before it was verified against nullptr. Check lines: 185, 190. ejoy2d spritepack.c 185 A link to the source code.
It's ok. ialloc() always returns enough memory.
We have found a weakness using PVS-Studio tool. PVS-Studio is a static code analyzer for C, C++ and C#: PVS-Studio on Visual Studio Marketplace
Analyzer warning: V595 The 'buf' pointer was utilized before it was verified against nullptr. Check lines: 185, 190. ejoy2d spritepack.c 185 A link to the source code.