OSDN Git Service

allocate compression buffer on the heap from qCompress()
authorIvailo Monev <xakepa10@gmail.com>
Sat, 26 Feb 2022 14:07:20 +0000 (16:07 +0200)
committerIvailo Monev <xakepa10@gmail.com>
Sat, 26 Feb 2022 14:07:32 +0000 (16:07 +0200)
commit20c769ac917a385c6baace8a373809ea6e003d16
treeefdf932e23fdefc37db93113c328d758025b65ca
parentdc74adcdbd10c264322c816107acf4b1ab49492b
allocate compression buffer on the heap from qCompress()

fixes crash in case the buffer has to be larger than the stack limit

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
src/core/tools/qbytearray.cpp