Skip to content

Conversation

@ShubhamDesai
Copy link
Contributor

This pull request fixes issue identified by Coverity Scan (CID : 1208236)
Used G_strlcpy() and G_strlcat() to fix this issue.
For G_strlcat(), added a return value check with G_fatal_error() instead of silencing it with (void) (not sure whether it would fit within 1000 characters), even though the buffer ofile is 1000 bytes wide.

@github-actions github-actions bot added raster Related to raster data processing C Related code is in C module labels Jun 17, 2025
ShubhamDesai and others added 2 commits June 18, 2025 14:27
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@nilason nilason added this to the 8.5.0 milestone Jun 23, 2025
@github-project-automation github-project-automation bot moved this to In Progress in GRASS Security Jun 23, 2025
@petrasovaa petrasovaa merged commit 78b88bc into OSGeo:main Jul 2, 2025
27 checks passed
@github-project-automation github-project-automation bot moved this from In Progress to Done in GRASS Security Jul 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C Related code is in C module raster Related to raster data processing

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants