Bug fix. Modify the error checking for jpeg_read_scanlines() function 82/318682/3 accepted/tizen_unified_x_asan accepted/tizen/unified/20250123.054008 accepted/tizen/unified/x/20250123.071355 accepted/tizen/unified/x/asan/20250211.003431
authorJiyong <jiyong.min@samsung.com>
Wed, 22 Jan 2025 05:58:49 +0000 (14:58 +0900)
committerJiyong <jiyong.min@samsung.com>
Wed, 22 Jan 2025 06:13:36 +0000 (15:13 +0900)
commita28e7a71bd90685767bda943b808d61febd8af05
treedb57491e8417541d7607661ca8d712ff97618602
parent20abc671c7f6f927a819e2e44e4d4e0252d3817d
Bug fix. Modify the error checking for jpeg_read_scanlines() function

 - In normal cases, the msg_code is not 0 for logging.
   So we change the error checking to check return value.

Change-Id: I5c1a2d4f77bd72f663b913a2533b8d6a0c90b22d
jpeg/mm_util_jpeg.c
packaging/libmm-utility.spec