efl: Fix possible memory corruption in ecore xrandr EDID functions
authorasdfuser <asdfuser@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 12 Dec 2012 17:23:09 +0000 (17:23 +0000)
committerasdfuser <asdfuser@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 12 Dec 2012 17:23:09 +0000 (17:23 +0000)
commite2df92226c7dd1ca64ef81a5f445c973084d6701
tree1ed22ece80c1a56285b75c2111f09b704707eeb3
parent12791876cede714876df81bf606cdd9453d38610
efl: Fix possible memory corruption in ecore xrandr EDID functions

Report from Klocwork. I checked that the actual max size of the name is
13 bytes. Now we allocate one more to hold the terminating NULL byte and
not write into unallocated memory.

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/branches/ecore-1.7@80773 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33
ChangeLog
NEWS
src/lib/ecore_x/xcb/ecore_xcb_randr.c
src/lib/ecore_x/xlib/ecore_x_randr_12_edid.c