Fix the logic for checking config_id 77/314477/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, 12 Jul 2024 06:28:13 +0000 (15:28 +0900)
commit0bc5ad172e01dce723dde747763b608153e50d2a
tree017c108003f9fbf30068c7e4e11e7034742eb741
parent4abce65c4599aff20d56655a8be1747d1e360171
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