Fix Svace issue : 144526, 145090 28/103028/2
authorJihoon Jung <jh8801.jung@samsung.com>
Wed, 7 Dec 2016 05:25:40 +0000 (14:25 +0900)
committerJihoon Jung <jh8801.jung@samsung.com>
Wed, 7 Dec 2016 05:55:31 +0000 (14:55 +0900)
Change-Id: Ied5f54471fbbe0561903dab788945e9265c3b399

packaging/libmtp.spec
src/libmtp.c
src/ptp-pack.c

index 406d937..7b1869e 100755 (executable)
@@ -3,7 +3,7 @@
 Name:       libmtp
 Summary:    Library for media transfer protocol (mtp)
 Version:    1.1.11
-Release:    3
+Release:    4
 Group:      Network & Connectivity/Other
 License:    LGPL-2.1
 Source0:    libmtp-%{version}.tar.gz
index a10a07f..0db6a16 100755 (executable)
@@ -2927,11 +2927,6 @@ static int sort_storage_by(LIBMTP_mtpdevice_t *device,int const sortby)
       ptr1 = ptr1->next;
     }
 
-#ifdef TIZEN_EXT
-    if(ptr2 == NULL)
-      return -1;
-#endif
-
     // Make our previous entries next point to our next
     if(ptr2->prev != NULL) {
       ptr1 = ptr2->prev;
index 3d410a1..1b6a1e2 100755 (executable)
@@ -2253,7 +2253,6 @@ ptp_unpack_CANON_changes (PTPParams *params, unsigned char* data, int datasize,
                        XX(RequestCancelTransferDT)
                        XX(StoreAdded)
                        XX(StoreRemoved)
-                       XX(BulbExposureTime)
                        XX(RecordingTime)
                        XX(RequestObjectTransferTS)
                        XX(AfResult)