hostap/src
Jouni Malinen 6b23b70445 Avoid a theoretical integer overflow in base64_encode()
If base64_encode() were to be used with a huge data array, the
previous version could have resulted in overwriting the allocated
buffer due to an integer overflow as pointed out in
http://www.freebsd.org/cgi/query-pr.cgi?pr=137484. However, there
are no know use cases in hostapd or wpa_supplicant that would do that.
Anyway, the recommended change looks reasonable and provides additional
protection should the base64_encode() function be used for something
else in the future.
2009-08-13 16:36:41 +03:00
..
common Add root .gitignore file to cleanup ignore lists 2009-06-29 21:47:19 +03:00
crypto Crypto build cleanup: remove CONFIG_NO_AES_* 2009-08-13 11:40:28 +03:00
drivers nl80211: Fix WEP key configuration 2009-07-26 21:22:55 +03:00
eap_common Add root .gitignore file to cleanup ignore lists 2009-06-29 21:47:19 +03:00
eap_peer Fix EAP-TNC peer memory leak on an error path 2009-06-30 19:39:13 +03:00
eap_server Add root .gitignore file to cleanup ignore lists 2009-06-29 21:47:19 +03:00
eapol_supp Add root .gitignore file to cleanup ignore lists 2009-06-29 21:47:19 +03:00
hlr_auc_gw Add root .gitignore file to cleanup ignore lists 2009-06-29 21:47:19 +03:00
l2_packet Add root .gitignore file to cleanup ignore lists 2009-06-29 21:47:19 +03:00
radius Add root .gitignore file to cleanup ignore lists 2009-06-29 21:47:19 +03:00
rsn_supp Add root .gitignore file to cleanup ignore lists 2009-06-29 21:47:19 +03:00
tls Add root .gitignore file to cleanup ignore lists 2009-06-29 21:47:19 +03:00
utils Avoid a theoretical integer overflow in base64_encode() 2009-08-13 16:36:41 +03:00
wps Add root .gitignore file to cleanup ignore lists 2009-06-29 21:47:19 +03:00
Makefile Improved 'make install' (use BINDIR/LIBDIR, install shared objects) 2009-02-15 14:22:50 +02:00