OSDN Git Service

correct the buffer size in qRandomUuid() function
authorIvailo Monev <xakepa10@gmail.com>
Tue, 1 Nov 2022 07:39:49 +0000 (09:39 +0200)
committerIvailo Monev <xakepa10@gmail.com>
Tue, 1 Nov 2022 07:39:49 +0000 (09:39 +0200)
commit57f3e74d1da2884fdf11a5b266f1643ba348839d
tree08d8fb899fc487759373b0d8a08345a89cad12da
parent65ed00fe3dbd360214f9c12398143b8ec9e12fb2
correct the buffer size in qRandomUuid() function

the initial implementation was not passing the buffer size to the
QByteArray constructor so the additional bit was for qstrlen()

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