From: SeungKeun Lee Date: Fri, 10 Feb 2012 06:18:35 +0000 (+0900) Subject: boundary check update X-Git-Tag: 2.0_alpha~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=418c98f5cb348873b9c2e5b46ec31b781bdad67c;p=framework%2Fapi%2Fimage-util.git boundary check update --- diff --git a/debian/changelog b/debian/changelog old mode 100644 new mode 100755 index ab88ca1..9a5bdae --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +capi-media-image-util (0.1.0-7) unstable; urgency=low + + * boundary check update + * Git: slp-source.sec.samsung.net:slp/api/image-util + * Tag: capi-media-image-util_0.1.0-7 + + -- Seungkeun Lee Tue, 31 Jan 2012 14:04:32 +0900 + capi-media-image-util (0.1.0-6) unstable; urgency=low * update image_util_decode_jpeg_from_memory impl. diff --git a/src/image_util.c b/src/image_util.c index 2f804f7..a375271 100755 --- a/src/image_util.c +++ b/src/image_util.c @@ -143,7 +143,7 @@ int image_util_transform( unsigned char * dest , int *dest_width , int *dest_hei return _convert_image_util_error_code(__func__, IMAGE_UTIL_ERROR_INVALID_PARAMETER); if( colorspace < 0 || colorspace >= sizeof(_convert_colorspace_tbl)/sizeof(int)) return _convert_image_util_error_code(__func__, IMAGE_UTIL_ERROR_INVALID_PARAMETER); - if( dest_rotation < 0 || dest_rotation >= IMAGE_UTIL_ROTATION_FLIP_VERT ) + if( dest_rotation < 0 || dest_rotation > IMAGE_UTIL_ROTATION_FLIP_VERT ) return _convert_image_util_error_code(__func__, IMAGE_UTIL_ERROR_INVALID_PARAMETER); if( dest_width == NULL || dest_height == NULL) return _convert_image_util_error_code(__func__, IMAGE_UTIL_ERROR_INVALID_PARAMETER);