problem in cfg_add_key

Bug #523474 reported by Iskren Ivov Chernev
6
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 :)

Revision history for this message
Iskren Ivov Chernev (iskren-chernev) wrote :
priyank (priyankmg)
Changed in gimmix:
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.