efl: Fix possible memory corruption in ecore xrandr EDID functions
authorDaniel Willmann <d.willmann@samsung.com>
Wed, 12 Dec 2012 17:23:09 +0000 (17:23 +0000)
committerDaniel Willmann <daniel@totalueberwachung.de>
Wed, 12 Dec 2012 17:23:09 +0000 (17:23 +0000)
commit9772e3b5dc69bfda334a73b1d370d1743e3565bb
tree54c1ea9e46c14474ef29a301ca36d9e03514a1d4
parent0258402fe8f489b6a39934d668af97e1477728bf
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>
SVN revision: 80773
ChangeLog
NEWS
src/lib/ecore_x/xcb/ecore_xcb_randr.c
src/lib/ecore_x/xlib/ecore_x_randr_12_edid.c