commit | df0e7a78e7ff1c76b960baa106aa3c5839991204 | [log] [tgz] |
---|---|---|
author | Varun Reddy Yeturu <vyeturu@qca.qualcomm.com> | Thu Dec 05 12:12:23 2013 -0800 |
committer | Kiet Lam <c_kietl@qca.qualcomm.com> | Wed Dec 18 00:47:03 2013 -0800 |
tree | 98c7c19caf18972fe30f9191a9abec31f58e3825 | |
parent | 8518d5d14929410835c329bb15b700e4068183f7 [diff] |
wlan: Custom Event Buffer Length Calculation strlen should not be used to calculate the data size of the buffer. For instance, the buffer may contain MAC Address as part of the data and it may contain 0x00 as one of the octets.If we use strlen, then it will consider this as end of the string and result in inappropriate length. Change-Id: Id095bd137ce79a14343318f047f90d542e208f46 CRs-Fixed: 574384