mirror of
https://github.com/Basilisk-Development-Team/UXP-mirror.git
synced 2026-11-26 02:29:52 -05:00
d224d027c32829a63df423a45bb01bf96161483e
After calling mResult.SetLength(mData.Length() + 16) we should check that the integer addition didn't overflow. It seems at the moment impossible to create ArrayBuffers of size >= 0x0xfffffff0, however adding a check here doesn't hurt. mResult.Length() is passed to the PK11 API functions as a maxOut parameter and should be checked by the softoken crypto algorithm implementations. AES-ECB and AES-GCM seem to do that correctly.
Description
Read-only mirror of https://github.com/Basilisk-Development-Team/UXP-mirror
https://github.com/Basilisk-Development-Team/UXP-mirror
544 MiB
0 Stars
2 Watchers
1 Forks
Languages
C++
40%
C
23.1%
JavaScript
17.6%
HTML
10.1%
Python
3.3%
Other
5.2%