diff options
author | SeungKeun Lee <sngn.lee@samsung.com> | 2012-02-10 15:18:35 +0900 |
---|---|---|
committer | SeungKeun Lee <sngn.lee@samsung.com> | 2012-02-10 15:18:35 +0900 |
commit | 418c98f5cb348873b9c2e5b46ec31b781bdad67c (patch) | |
tree | 2ddfc6dd344ca0b5e1b03da756f741b5eb4275d4 | |
parent | 861a4e99fc77dda93d89c6d9ff5922f80f14deb9 (diff) | |
download | image-util-418c98f5cb348873b9c2e5b46ec31b781bdad67c.tar.gz image-util-418c98f5cb348873b9c2e5b46ec31b781bdad67c.tar.bz2 image-util-418c98f5cb348873b9c2e5b46ec31b781bdad67c.zip |
boundary check update
-rwxr-xr-x[-rw-r--r--] | debian/changelog | 8 | ||||
-rwxr-xr-x | src/image_util.c | 2 |
2 files changed, 9 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog index ab88ca1..9a5bdae 100644..100755 --- 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 <sngn.lee@samsung.com> 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); |