commit | c28a513d299672326aa074bd1cf85e57bfac4648 | [log] [tgz] |
---|---|---|
author | Narasimha Rao PVS <quic_npvs@quicinc.com> | Fri Dec 02 18:36:38 2022 +0530 |
committer | Sunil Ravi <sunilravi@google.com> | Tue Dec 13 21:28:54 2022 +0000 |
tree | f4e579de3cdfbf6fe535f729bbdc96364be72f7f | |
parent | cda1202e0e8f4423b2310d94e5ca698ba878dba4 [diff] |
Fix issue caused by NULL at msg pointer when malloc() failed to allocate memory for msg buffer. msg buffer can be NULL. Add a NULL check to return before passing to snprintf() in wpas_auth_failed() api Bug: 262328781 Test: STA connect/disconnect Change-Id: Ic3cf55f5c21d2d955fa665a645674a0127f26528