forked from enlightenment/efl
eio: Fix possible memory corruption in eio_eet_data_read_cipher()
Patch by Daniel Willmann <d.willmann@samsung.com> SVN revision: 77392
This commit is contained in:
parent
d6f61a6b4f
commit
add842257d
|
@ -5,3 +5,4 @@ Vincent "caro" Torri <vtorri at univ-evry dot fr>
|
|||
Mikael SANS <sans.mikael@gmail.com>
|
||||
Mike Blumenkrantz (zmike/discomfitor) <michael.blumenkrantz@gmail.com>
|
||||
Jérôme Pinot <ngc891@gmail.com>
|
||||
Daniel Willmann <d.willmann@samsung.com>
|
||||
|
|
|
@ -51,3 +51,7 @@
|
|||
2012-09-27 Cedric Bail
|
||||
|
||||
* Don't stop on limited access right.
|
||||
|
||||
2012-10-03 Daniel Willmann
|
||||
* Fix memory corruption by allocating enough memory in
|
||||
eio_eet_data_read_cipher().
|
||||
|
|
|
@ -9,6 +9,7 @@ Fixes:
|
|||
- fix monitor shutdown when mainloop did never run.
|
||||
- fix build with xattr and without splice.
|
||||
- don't stop on limited access right.
|
||||
- Fix memory corruption by allocating enough memory in eio_eet_data_read_cipher().
|
||||
|
||||
Improvements:
|
||||
|
||||
|
|
|
@ -458,7 +458,7 @@ eio_eet_data_read_cipher(Eet_File *ef,
|
|||
EINA_SAFETY_ON_NULL_RETURN_VAL(done_cb, NULL);
|
||||
EINA_SAFETY_ON_NULL_RETURN_VAL(error_cb, NULL);
|
||||
|
||||
er = malloc(sizeof (er));
|
||||
er = malloc(sizeof (Eio_Eet_Read));
|
||||
EINA_SAFETY_ON_NULL_RETURN_VAL(er, NULL);
|
||||
|
||||
er->ef = ef;
|
||||
|
|
Loading…
Reference in New Issue