commit | a7cf3a9bb5d9d546bb31e2d663fd61e605992312 | [log] [tgz] |
---|---|---|
author | Dustin Brown <dustinb@codeaurora.org> | Tue Oct 17 11:46:19 2017 -0700 |
committer | snandini <snandini@codeaurora.org> | Tue Oct 17 18:11:20 2017 -0700 |
tree | 7f491ae32cad8ed24bbf3aa574cbbc5699420457 | |
parent | 1027e8ca6d436220cea67e84202f22467cfa49fa [diff] |
qcacld-3.0: Avoid buffer overrun via null termination __iw_softap_set_ini_cfg assumes a given user supplied buffer is null terminated, which can lead to a buffer overrun. Ensure the buffer is null terminated by copying it to a new, oversized buffer whose last byte is zero. Change-Id: If94e753026f79a368cd6b9cb7c745ade4ae29452 CRs-Fixed: 2118809