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
1 file changed
tree: f01a31ef3ffb5df4ea91253091d6368993e67a46
  1. CORE/
  2. firmware_bin/
  3. riva/
  4. Android.mk
  5. Kbuild
  6. Kconfig
  7. Makefile