summaryrefslogtreecommitdiffstats
path: root/po
diff options
context:
space:
mode:
authorLukas Slebodnik <lslebodn@redhat.com>2014-03-18 18:29:43 +0100
committerJakub Hrozek <jhrozek@redhat.com>2014-04-28 22:14:23 +0200
commit9faab6d48145d3a0d7b9a225ed35bdcaa32eca2c (patch)
tree5fdd06c82b186db203790c7131c88aac0b0fec68 /po
parentda7d1fde3f9e37600831bdd5674291522fabd6f2 (diff)
downloadsssd-9faab6d48145d3a0d7b9a225ed35bdcaa32eca2c.tar.gz
sssd-9faab6d48145d3a0d7b9a225ed35bdcaa32eca2c.tar.xz
sssd-9faab6d48145d3a0d7b9a225ed35bdcaa32eca2c.zip
CRYPTO: Fix access to uninitialized data
The size of output buffer(obufsize) was longer than initialised data. In calculation, uint32_t was used for length of the cryptotext, but uint16_t was written into buffer. The end of buffer was not initialised and it caused valgrind warning. Use of uninitialised value of size 8 at 0x37AE40F363: pl_base64_encode_buffer (nssb64e.c:180) by 0x37AE40F6ED: NSSBase64_EncodeItem_Util (nssb64e.c:482) by 0x37AE40F87A: BTOA_DataToAscii_Util (nssb64e.c:721) by 0x40208A: sss_base64_encode (nss_base64.c:47) by 0x403305: sss_password_encrypt (nss_obfuscate.c:358) Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
Diffstat (limited to 'po')
0 files changed, 0 insertions, 0 deletions