gencat: Get rid of alloca.
authorJoe Simmons-Talbott <josimmon@redhat.com>
Mon, 28 Aug 2023 16:42:13 +0000 (16:42 +0000)
committerJoe Simmons-Talbott <josimmon@redhat.com>
Mon, 28 Aug 2023 16:42:53 +0000 (16:42 +0000)
commit4d8b09393354f6ce079f399df5b84abf0db894b5
tree9b16c7be18a433224d8d4ec301173b2aef12c409
parent87ced255bdf2681f5bf6c89d7121e59f6f342161
gencat: Get rid of alloca.

Convert to scratch_buffers to avoid potential stack overflow.

Checked on x86_64-linux-gnu and aarch64-linux-gnu.

Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
catgets/gencat.c