[GRASS-git] [OSGeo/grass] 61b380: r.mask.status: fix null pointer dereference and fa...
Nicklas Larsson
noreply at github.com
Mon Oct 14 11:12:03 PDT 2024
Branch: refs/heads/main
Home: https://github.com/OSGeo/grass
Commit: 61b380f1c4e3163d67961448553a091642c27eda
https://github.com/OSGeo/grass/commit/61b380f1c4e3163d67961448553a091642c27eda
Author: Nicklas Larsson <n_larsson at yahoo.com>
Date: 2024-10-14 (Mon, 14 Oct 2024)
Changed paths:
M lib/raster/mask_info.c
M raster/r.mask.status/main.c
Log Message:
-----------
r.mask.status: fix null pointer dereference and false positive string overflow (#4512)
Fixes two new issues reported by Coverity Scan:
- Handles case of unsuccessful creation of json string
- Silences false positive issue for string copy operation to buffer of size GMAPSET_MAX from G_mapset().
To unsubscribe from these emails, change your notification settings at https://github.com/OSGeo/grass/settings/notifications
More information about the grass-commit
mailing list