aws / amazon-freertos

DEPRECATED - See README.md
https://aws.amazon.com/freertos/
MIT License
2.54k stars 1.1k forks source link

iot_wifi.c: Clear `wifi_config` immediately after usage #3452

Closed laukik-hase closed 2 years ago

laukik-hase commented 2 years ago

Description

vendors/espressif -> iot_wifi.c : Clear the wifi_config struct (containing the SSID/Passphrase) immediately after usage or before returning from the concerned function.

Checklist:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.