]> 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)
committerKarel Zak <kzak@redhat.com>
Fri, 24 Nov 2023 09:46:01 +0000 (10:46 +0100)
commitdbde7a537f27b23d64a8d3f583af472357de7192
tree0f04b0ce2e1d0f489e242013fc4b8fbcaae421a6
parentc26badd5d4295d52e987c75e69113edfb407fb27
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