boundary check update
authorSeungKeun Lee <sngn.lee@samsung.com>
Fri, 10 Feb 2012 06:18:35 +0000 (15:18 +0900)
committerSeungKeun Lee <sngn.lee@samsung.com>
Fri, 10 Feb 2012 06:18:35 +0000 (15:18 +0900)
debian/changelog [changed mode: 0644->0755]
src/image_util.c

old mode 100644 (file)
new mode 100755 (executable)
index ab88ca1..9a5bdae
@@ -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.
index 2f804f7..a375271 100755 (executable)
@@ -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);