[GRASS-git] [OSGeo/grass] c52216: lib/manage: avoid buffer overflow (#1899)

Markus Metz noreply at github.com
Wed Sep 29 06:26:02 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/OSGeo/grass
  Commit: c522160a9e6212da0256d39891bb2cbb7fa489cd
      https://github.com/OSGeo/grass/commit/c522160a9e6212da0256d39891bb2cbb7fa489cd
  Author: Markus Metz <33666869+metzm at users.noreply.github.com>
  Date:   2021-09-29 (Wed, 29 Sep 2021)

  Changed paths:
    M lib/manage/do_copy.c
    M lib/manage/do_remove.c
    M lib/manage/do_rename.c
    M lib/manage/empty.c

  Log Message:
  -----------
  lib/manage: avoid buffer overflow (#1899)

lib/manage: use correct buffer sizes and check for truncated strings
affects mainly `g.rename`




More information about the grass-commit mailing list