[PATCH 0/2] Harden ctrl_iface_unix for wpa-supplicant

Andreas Tobler <[email protected]>
Newsgroups gmane.linux.drivers.hostap
Message-ID <[email protected]>
Hi all,

we use the unix control interface to install certificate blobs on the
wpa-supplicant. We failed to install concatenated ca-certs since they
exceeded the allocated buffer size. It took a while to understand that
our blobs were too big.
These two snippets should help to install bigger blobs and also give
an abort if the buffer is too small for large commands.

Andreas Tobler (2):
  ctrl_iface_unix: Increase global ctrl receive buffer size
  ctrl_iface_unix: Check read buffer size and exit if equal

 wpa_supplicant/ctrl_iface_unix.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

-- 
2.25.1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.