Fix the logic for checking config_id 96/310096/1 accepted/tizen/7.0/unified/20240423.164423
authorJaehyun Kim <jeik01.kim@samsung.com>
Mon, 22 Apr 2024 10:20:39 +0000 (19:20 +0900)
committerJaehyun Kim <jeik01.kim@samsung.com>
Mon, 22 Apr 2024 10:20:39 +0000 (19:20 +0900)
commit6d4258b414ef8e619b1792e718830a2161e0513b
tree7f8f6d2969f8d6714461a29dfd18b309da9570ed
parenta34c56260fd10b2fdb88d75afc676f172c687bd5
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