diff options
Diffstat (limited to 'src/open_lib.cpp')
| -rw-r--r-- | src/open_lib.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/open_lib.cpp b/src/open_lib.cpp index 05e01db2..7fedb28b 100644 --- a/src/open_lib.cpp +++ b/src/open_lib.cpp @@ -245,6 +245,7 @@ pj_open_lib_ex(projCtx ctx, const char *name, const char *mode, { if( out_full_filename != nullptr && out_full_filename_size > 0 ) { + // cppcheck-suppress nullPointer strncpy(out_full_filename, sysname, out_full_filename_size); out_full_filename[out_full_filename_size-1] = '\0'; } |
