Fix the logic for checking config_id 83/318483/1
authorJaehyun Kim <jeik01.kim@samsung.com>
Mon, 22 Apr 2024 10:20:39 +0000 (19:20 +0900)
committerJaehyun Kim <jeik01.kim@samsung.com>
Fri, 17 Jan 2025 07:20:38 +0000 (16:20 +0900)
commit27a9a1ccd30e548886b5f7e7df88a11766b2b40d
tree9575ca0398e15ba1c2129f16d8910efbc67ee206
parent9ea3eb9a6b30cf83c21de14e7c2c9b78719747a3
Fix the logic for checking config_id

In the config_id validity check logic,
it only check whether config_id is in the hex value range or is an unerscore.
But this is causing problems because in reality
it can contain all lowercase letters.
So it was modified to also check for lowercase letters.

* This is a side effect caused by the following patch.
  - Fix Stack buffer overflow and Path traversal

Change-Id: I23d0ebc1cc38b9f9e526df38539155c2308257eb
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
src/wifi-config.c