wpa_supplicant : PSK configuration parameter update allowing arbitrary data to be written
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/

    Reject SET_CRED commands with newline characters in the string values

    Most of the cred block parameters are written as strings without
    filtering and if there is an embedded newline character in the value,
    unexpected configuration file data might be written.

    This fixes an issue where wpa_supplicant could have updated the
    configuration file cred parameter with arbitrary data from the control
    interface or D-Bus interface. While those interfaces are supposed to be
    accessible only for trusted users/applications, it may be possible that
    an untrusted user has access to a management software component that
    does not validate the credential value before passing it to
    wpa_supplicant.

    This could allow such an untrusted user to inject almost arbitrary data
    into the configuration file. Such configuration file could result in
    wpa_supplicant trying to load a library (e.g., opensc_engine_path,
    pkcs11_engine_path, pkcs11_module_path, load_dynamic_eap) from user
    controlled location when starting again. This would allow code from that
    library to be executed under the wpa_supplicant process privileges.

Change-Id: I41f6fed02ed00b0031b25a7e629094509d753675
Signed-off-by: Jin-Seong Kim <c7ef485e0ddc445bcfb224daa3f265bce32dcc94@samsung.com>

jsdosa/TizenRT,Parkjihooni6186/TizenRT,jsdosa/TizenRT,junmin-kim/TizenRT,junmin-kim/TizenRT,junmin-kim/TizenRT,pillip8282/TizenRT,sunghan-chang/TizenRT,JeongJunSik/TizenRT,chanijjani/TizenRT,an4967/TizenRT,an4967/TizenRT,chanijjani/TizenRT,JeonginKim/TizenRT,an4967/TizenRT,junmin-kim/TizenRT,JeonginKim/TizenRT,junmin-kim/TizenRT,JeonginKim/TizenRT,HONGCHAEHEE/TizenRT,davidfather/TizenRT,HONGCHAEHEE/TizenRT,btheosam/TizenRT,chanijjani/TizenRT,pillip8282/TizenRT,sunghan-chang/TizenRT,HONGCHAEHEE/TizenRT,sunghan-chang/TizenRT,heejin-kim/TizenRT,Parkjihooni6186/TizenRT,Samsung/TizenRT,btheosam/TizenRT,pillip8282/TizenRT,jeongarmy/TizenRT,Parkjihooni6186/TizenRT,jsdosa/TizenRT,jeongchanKim/TizenRT,heejin-kim/TizenRT,heejin-kim/TizenRT,jeongchanKim/TizenRT,JeonginKim/TizenRT,sunghan-chang/TizenRT,btheosam/TizenRT,shivgarg/TizenRT,lokeshbv/TizenRT,jeongchanKim/TizenRT,jeongarmy/TizenRT,sunghan-chang/TizenRT,shivgarg/TizenRT,pillip8282/TizenRT,davidfather/TizenRT,HONGCHAEHEE/TizenRT,lokeshbv/TizenRT,jeongarmy/TizenRT,JeongJunSik/TizenRT,Samsung/TizenRT,chanijjani/TizenRT,junmin-kim/TizenRT,davidfather/TizenRT,heejin-kim/TizenRT,chanijjani/TizenRT,shivgarg/TizenRT,jeongarmy/TizenRT,an4967/TizenRT,an4967/TizenRT,JeongJunSik/TizenRT,JeongJunSik/TizenRT,pillip8282/TizenRT,lokeshbv/TizenRT,JeongJunSik/TizenRT,Parkjihooni6186/TizenRT,chanijjani/TizenRT,sunghan-chang/TizenRT,heejin-kim/TizenRT,jsdosa/TizenRT,btheosam/TizenRT,davidfather/TizenRT,pillip8282/TizenRT,btheosam/TizenRT,Parkjihooni6186/TizenRT,jeongchanKim/TizenRT,JeongJunSik/TizenRT,jsdosa/TizenRT,jeongarmy/TizenRT,Samsung/TizenRT,davidfather/TizenRT,pillip8282/TizenRT,chanijjani/TizenRT,lokeshbv/TizenRT,jeongarmy/TizenRT,davidfather/TizenRT,Parkjihooni6186/TizenRT,HONGCHAEHEE/TizenRT,JeonginKim/TizenRT,jeongchanKim/TizenRT,heejin-kim/TizenRT,an4967/TizenRT,Samsung/TizenRT,lokeshbv/TizenRT,jeongchanKim/TizenRT,jsdosa/TizenRT,shivgarg/TizenRT,HONGCHAEHEE/TizenRT,sunghan-chang/TizenRT,shivgarg/TizenRT,jsdosa/TizenRT,Samsung/TizenRT,lokeshbv/TizenRT,davidfather/TizenRT,junmin-kim/TizenRT,btheosam/TizenRT,shivgarg/TizenRT,JeonginKim/TizenRT,an4967/TizenRT,Samsung/TizenRT,Samsung/TizenRT,jeongchanKim/TizenRT,jeongarmy/TizenRT