fragattacks/src/utils
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
..
base64.c Avoid a theoretical integer overflow in base64_encode() 2009-08-13 16:36:41 +03:00
base64.h Re-initialize hostapd/wpa_supplicant git repository based on 0.6.3 release 2008-02-27 17:34:43 -08:00
build_config.h Crypto build cleanup: remove INTERNAL_MD5 2009-07-28 21:36:13 +03:00
common.c Re-initialize hostapd/wpa_supplicant git repository based on 0.6.3 release 2008-02-27 17:34:43 -08:00
common.h Introduced new helper function is_zero_ether_addr() 2008-06-03 18:08:48 +03:00
eloop_none.c Do not continually reschedule specific scans to help finding hidden SSIDs 2008-06-03 11:37:48 +03:00
eloop_win.c Workaround number of compiler warnings with newer MinGW version 2008-12-11 00:56:37 +02:00
eloop.c Do not continually reschedule specific scans to help finding hidden SSIDs 2008-06-03 11:37:48 +03:00
eloop.h Do not continually reschedule specific scans to help finding hidden SSIDs 2008-06-03 11:37:48 +03:00
includes.h Silenced number of Doxygen warnings 2009-01-04 15:07:54 +02:00
ip_addr.c Fixed sparse warnings about integer vs. pointer use 2009-01-03 20:46:32 +02:00
ip_addr.h Re-initialize hostapd/wpa_supplicant git repository based on 0.6.3 release 2008-02-27 17:34:43 -08:00
Makefile Improved 'make install' (use BINDIR/LIBDIR, install shared objects) 2009-02-15 14:22:50 +02:00
os_internal.c Re-initialize hostapd/wpa_supplicant git repository based on 0.6.3 release 2008-02-27 17:34:43 -08:00
os_none.c Re-initialize hostapd/wpa_supplicant git repository based on 0.6.3 release 2008-02-27 17:34:43 -08:00
os_unix.c Create os_daemon for OS X, as it's now deprecated (Leopard) 2009-02-08 13:40:34 +02:00
os_win32.c Re-initialize hostapd/wpa_supplicant git repository based on 0.6.3 release 2008-02-27 17:34:43 -08:00
os.h Re-initialize hostapd/wpa_supplicant git repository based on 0.6.3 release 2008-02-27 17:34:43 -08:00
pcsc_funcs.c Fixed number of doxygen warnings 2009-01-02 22:28:04 +02:00
pcsc_funcs.h Re-initialize hostapd/wpa_supplicant git repository based on 0.6.3 release 2008-02-27 17:34:43 -08:00
radiotap_iter.h Share the same radiotap helper implementation 2009-01-09 15:22:19 +02:00
radiotap.c Share the same radiotap helper implementation 2009-01-09 15:22:19 +02:00
radiotap.h Share the same radiotap helper implementation 2009-01-09 15:22:19 +02:00
state_machine.h Silenced number of Doxygen warnings 2009-01-04 15:07:54 +02:00
uuid.c WPS: Generate UUID based on MAC address, if not set 2009-01-01 22:56:52 +02:00
uuid.h WPS: Generate UUID based on MAC address, if not set 2009-01-01 22:56:52 +02:00
wpa_debug.c Add support for wpa_supplicant syslog output 2009-03-02 21:40:44 +02:00
wpa_debug.h Add support for wpa_supplicant syslog output 2009-03-02 21:40:44 +02:00
wpabuf.c WPS: Add support for external Registrars using UPnP transport 2009-01-29 18:47:02 +02:00
wpabuf.h FT: Add RIC Request generation and validation (but not processing) 2009-03-09 20:45:17 +02:00