]> git.ipfire.org Git - thirdparty/util-linux.git/commit
more: avoid out-of-bound access
authorThomas Weißschuh <thomas@t-8ch.de>
Fri, 22 Sep 2023 17:53:24 +0000 (19:53 +0200)
committerThomas Weißschuh <thomas@t-8ch.de>
Fri, 22 Sep 2023 18:30:12 +0000 (20:30 +0200)
commitecdfc9aa701b4f406c239b6e163a45a5cc5b4a8c
tree85d83a52fac4a3066b9600399b15b936f94dc935
parentafbff723e3810e38c965be9f3f521eb4369c4393
more: avoid out-of-bound access

The realloc() needs to happen before that memory is used.

Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
text-utils/more.c