wpa_supplicant : PSK configuration parameter update allowing arbitrary data to be...
authorJin-Seong Kim <jseong82.kim@samsung.com>
Thu, 12 Oct 2017 07:39:09 +0000 (16:39 +0900)
committerJin-Seong Kim <jseong82.kim@samsung.com>
Fri, 13 Oct 2017 02:47:21 +0000 (11:47 +0900)
commita818ee2212cea6caa5e72236121b2c74fc303862
tree2f5d0582e0f4f1d013d9769e8d510d67d7bdb2a5
parent1bb644409c7626eb8b395aa312a54f27fd5ad4bf
wpa_supplicant : PSK configuration parameter update allowing arbitrary data to be written

This commit is patch for mitigation security vulnerability on wpa_supplicant
 - https://w1.fi/security/2016-1/

    Remove newlines from wpa_supplicant config network output

    Spurious newlines output while writing the config file can corrupt the
    wpa_supplicant configuration. Avoid writing these for the network block
    parameters. This is a generic filter that cover cases that may not have
    been explicitly addressed with a more specific commit to avoid control
    characters in the psk parameter.

Change-Id: I7c4d6ac0bb0fbc34225a03690034cd0e429a44cf
Signed-off-by: Jin-Seong Kim <jseong82.kim@samsung.com>
external/wpa_supplicant/src/utils/common.c
external/wpa_supplicant/src/utils/common.h
external/wpa_supplicant/wpa_supplicant/config.c