problem in cfg_add_key
Bug #523474 reported by
Iskren Ivov Chernev
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Gimmix |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I think I found a little bug in the cfg_add_key function in src/wejpconfig.c.
The space allocated for value may not be enough, and the strings for key and value are not copied with snprintf, which makes it all wrong if any of them is > 126 characters.
I propose a patch to fix it, but since I had some problems with configure, I couldn't compile it - so take a closer look :)
Changed in gimmix: | |
status: | New → Confirmed |
To post a comment you must log in.