]> git.ipfire.org Git - thirdparty/shadow.git/commit
Fix off-by-one mistakes
authorAlejandro Colomar <alx@kernel.org>
Thu, 15 Dec 2022 23:52:27 +0000 (00:52 +0100)
committerIker Pedrosa <ikerpedrosam@gmail.com>
Thu, 22 Dec 2022 09:34:04 +0000 (10:34 +0100)
commit587ce83e3ff4bea64ac028149ac9b66df37f688c
tree437e7f83a91022f63c3757df75c1f82ca35533e7
parentb990b167d470ec5c6d4e63221f99aa36f8b19c21
Fix off-by-one mistakes

The buffers have a size of 512 (see xmalloc() above), which is what
snprintf(3) expects.

Link: <https://github.com/shadow-maint/shadow/pull/607>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
src/groupmod.c