commit | f8c63d16f329c04cdab172ba4c3e7c022c36ef0e | [log] [tgz] |
---|---|---|
author | Vinay Krishna Eranna <c_veran@qti.qualcomm.com> | Tue Dec 02 19:34:22 2014 +0530 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Wed Dec 03 21:59:39 2014 -0800 |
tree | f01a31ef3ffb5df4ea91253091d6368993e67a46 | |
parent | 59d6a6cc9390fe948116a7dda3bfd7ac6de1afd7 [diff] |
wlan: Address kernel panic due to over parsing of ini file During driver load the ini file is parsed until END string pattern is reached. There are chances of accessing the invalid address if newline, carriage return characters are appended which results in kernel panic. This commit avoids over parsing of ini file by passing size of the ini file to get_next_line function. Change-Id: I136b43fcc63560b9236c5a6c5e5de958927b2900 CRs-Fixed: 763962