path: root/src/platformheaders/cocoafunctions/qcocoawindowfunctions.qdoc
diff options
authorLars Knoll <>2019-11-15 12:28:56 +0100
committerLars Knoll <>2019-12-08 10:30:10 +0100
commit3d9bae304cb1fa8f5f6f8854141fc8ecca92a333 (patch)
tree7251ef9237571076adc1a3203ccb9766ad0b1db2 /src/platformheaders/cocoafunctions/qcocoawindowfunctions.qdoc
parent37e054993b763c022ab5f4a4d34e92ddffba34f5 (diff)
Fix potential out of bounds write in the JSON writer
If a small string (1 or 2 chars) would require a JSON escape sequence when writing out the string, the code could write out of bounds of the byte array. Fix that by always allocating at least 16 bytes of space. Change-Id: I4d023e7ed837b25b0a5dcf6cfaaf94aa55695b9f Reviewed-by: Thiago Macieira <>
Diffstat (limited to 'src/platformheaders/cocoafunctions/qcocoawindowfunctions.qdoc')
0 files changed, 0 insertions, 0 deletions