Hello. 

 

There is an bug in _evas_jpeg_membuf_src_skip function. 

 

If file was corrupted , the size value of app frame is bigger than real file
size. 

For example, if somebody change file using editor, the file start with (FF
D8 FF E0 FF DB ..).

But rear file size can be small than (FF DB).

 

In that case, _evas_jpeg_membuf_src_skip set src->pub.bytes_in_buffer to
negative value, it make crash later. 

 

So I add error check code. 

If there is wrong , plz let me know to solve these problem correctly. 

Thanks~

 

----------------------------------------------

Jiyoun Park

 

Mobile S/W Platform Lab

DMC R&D Center

SAMSUNG ELECTRONICS CO. ,LTD

 

TEL: +82-31-279-0619

Mobile: +82-10-9871-0703

 <mailto:yh8004....@samsung.com> jy0703.p...@samsung.com

----------------------------------------------

 





 


Attachment: evas_jpeg_membuf_src_skip.patch
Description: Binary data

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to