commit | 1e2073ebaf987cfcca09c52ac50f8335728b1480 | [log] [tgz] |
---|---|---|
author | Ashwini Sukhadev Patil <apati@codeaurora.org> | Sun Dec 06 11:57:58 2015 +0530 |
committer | Ashwini Patil <apati@codeaurora.org> | Mon Dec 07 12:11:48 2015 +0530 |
tree | 118cf27c73fbfdbaf56f41b61f70a95f71bfdb32 | |
parent | c46bf72725ff14b48241239dc2b4cc38b522da0f [diff] |
Softap: Avoid possible array index out-of-bounds access. Return value of snprintf can be more than size value when output is truncated, so copying the '\0' at return value may cause array index out-of-bound access. And as snprintf function takes care of terminating the string with '\0', its redundant to copy '\0' at return value. CRs-Fixed: 947966 Change-Id: Ic5dab6d9aa57db5000f23c82e2a22924e0154c40