Jouni Malinen
c4d7fc90a2
Fix EAP-FAST PAC file writer to avoid crash with multiple PACs
...
One of the pointers to the PAC buffer was not updated after realloc
and if the realloc ended up returning new pointer, the *pos pointer
was still pointing at the old location (i.e., freed memory at
this point).
2010-12-04 11:37:41 -08:00
Jouni Malinen
4edc521068
EAP-FAST peer: Clean up PAC writing function
...
Use more explicit validation of input parameters and clean up the
writes by using a local end-of-buffer variable to simplify
calculations.
2010-01-10 22:04:59 +02:00
Jouni Malinen
ac987fb7de
Fixed fwrite error path in eap_fast_write_pac not to free buf
...
Caller expects the buffer to be allocated on error, so eap_fast_write_pac()
must be consistent with its behavior on error paths.
2008-11-01 17:09:28 +02:00
Jouni Malinen
308a4ec81a
Verify fread(), fwrite(), and system() return values
...
These were starting to trigger compiler warning with recent glibc header
files and gcc.
2008-10-29 19:33:24 +02:00
Jouni Malinen
fa2ec7eb63
Silenced compiler warnings on size_t printf format and shadowed variables
2008-09-27 10:46:06 +03:00
Jouni Malinen
6fc6879bd5
Re-initialize hostapd/wpa_supplicant git repository based on 0.6.3 release
2008-02-27 17:34:43 -08:00