commit | 307003dea047a49bb462ecbc31420d2caddc33f8 | [log] [tgz] |
---|---|---|
author | Padma, Santhosh Kumar <skpadma@qti.qualcomm.com> | Mon Apr 21 17:09:29 2014 +0530 |
committer | Kiet Lam <c_kietl@qca.qualcomm.com> | Thu May 08 10:48:44 2014 -0700 |
tree | 841a85c2b34a2cf04aaf3eec908480271205d2d1 | |
parent | 383bbfc8e562bae9a3f82a3b2753f5a50a8fac3f [diff] |
prima: NULL pointer dereference in sapFsm.c Cuurently, pointer macList passed to functions sapSortMacList and sapPrintACL may be NULL which is dereferenced in both these functions. Added a NULL check before dereferencing the pointer. Also, variable size passed to these functions may exceeds maximum addresses. Added a sanity check against MAX_ACL_MAC_ADDRESS to fix this. Change-Id: I04170a7a555107a266a9353c375e7d184fe73b58 CRs-Fixed: 642554