From: Michal J. <m.j...@sa...> - 2012-09-25 06:20:30
|
Hi, I found some bugs in ethumb and I have prepared a patch which fixed it. In functions ethumb_calculate_aspect_from_ratio, ethumb_calculate_fill_from_ratio, ethumb_plugin_image_resize and ethumb_image_save Ethumb object is not checked if is NULL, what can cause segmentation fault. In functions ethumb_calculate_aspect and ethumb_calculate_fill divisor is not checked if is equal to zero before division. Please review the attached patch. BR, Michal Jagiello. |