efl/src/lib/ecore_win32
Romain Perier 26253f6de4 ecore_win32: don't allocate Ecore_Event_Key events with NULL keys
If "keyname" and "key" are NULL an Ecore_Event_Key is allocated
throught calloc. strlen() is called on these variables, which crashes
the program. As it is not correct to return a key event for NULL
keys to ecore, it is preferrable to return NULL and exit the function
before the key event is allocated, which fixes the crash in the same
time.

@fix

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-01-30 10:49:56 +01:00
..
Ecore_Win32.h Ecore_Win32: fix resize of windows when step and base sizes are set 2014-07-09 14:26:26 +02:00
ecore_win32.c Ecore_Win32: fix resize of windows when step and base sizes are set 2014-07-09 14:26:26 +02:00
ecore_win32_cursor.c merge: add escape ecore, fix several bugs 2012-12-02 22:35:45 +00:00
ecore_win32_dnd.c merge: add escape ecore, fix several bugs 2012-12-02 22:35:45 +00:00
ecore_win32_dnd_data_object.cpp merge: add escape ecore, fix several bugs 2012-12-02 22:35:45 +00:00
ecore_win32_dnd_data_object.h ecore: virtual destructors are needed 2013-03-16 23:12:47 +09:00
ecore_win32_dnd_drop_source.cpp merge: add escape ecore, fix several bugs 2012-12-02 22:35:45 +00:00
ecore_win32_dnd_drop_source.h ecore: virtual destructors are needed 2013-03-16 23:12:47 +09:00
ecore_win32_dnd_drop_target.cpp merge: add escape ecore, fix several bugs 2012-12-02 22:35:45 +00:00
ecore_win32_dnd_drop_target.h ecore: virtual destructors are needed 2013-03-16 23:12:47 +09:00
ecore_win32_dnd_enumformatetc.cpp merge: add escape ecore, fix several bugs 2012-12-02 22:35:45 +00:00
ecore_win32_dnd_enumformatetc.h ecore: another needed virtual destructor. 2013-03-17 10:34:27 +09:00
ecore_win32_event.c ecore_win32: don't allocate Ecore_Event_Key events with NULL keys 2015-01-30 10:49:56 +01:00
ecore_win32_keysym_table.h ecore_win32: fix key events on Windows. 2014-06-23 10:21:26 +02:00
ecore_win32_private.h Ecore_Win32: fix resize of windows when step and base sizes are set 2014-07-09 14:26:26 +02:00
ecore_win32_window.c Ecore_Win32: fix resize of windows when step and base sizes are set 2014-07-09 14:26:26 +02:00