Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libmtp for openSUSE:Factory checked 
in at 2022-07-10 23:15:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libmtp (Old)
 and      /work/SRC/openSUSE:Factory/.libmtp.new.1523 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libmtp"

Sun Jul 10 23:15:17 2022 rev:83 rq:988008 version:1.1.20

Changes:
--------
--- /work/SRC/openSUSE:Factory/libmtp/libmtp.changes    2021-09-30 
23:43:12.172456155 +0200
+++ /work/SRC/openSUSE:Factory/.libmtp.new.1523/libmtp.changes  2022-07-10 
23:15:18.540946900 +0200
@@ -1,0 +2,7 @@
+Sat Jul  2 08:50:23 UTC 2022 - Marcus Meissner <meiss...@suse.com>
+
+- updated to 1.1.20 release
+  - again more USB ids added
+  - some smaller bugfixes
+
+-------------------------------------------------------------------

Old:
----
  libmtp-1.1.19.tar.gz
  libmtp-1.1.19.tar.gz.asc

New:
----
  libmtp-1.1.20.tar.gz
  libmtp-1.1.20.tar.gz.asc

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libmtp.spec ++++++
--- /var/tmp/diff_new_pack.5MDM7S/_old  2022-07-10 23:15:19.208947922 +0200
+++ /var/tmp/diff_new_pack.5MDM7S/_new  2022-07-10 23:15:19.212947928 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libmtp
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -20,7 +20,7 @@
 %{!?_udevrulesdir: %global _udevrulesdir %(pkg-config --variable=udevdir 
udev)/rules.d }
 %{!?_udevdir: %global _udevdir %(pkg-config --variable=udevdir udev) }
 Name:           libmtp
-Version:        1.1.19
+Version:        1.1.20
 Release:        0
 Summary:        Commandline utilities for access to MTP Players
 License:        LGPL-2.1-or-later

++++++ libmtp-1.1.19.tar.gz -> libmtp-1.1.20.tar.gz ++++++
++++ 13425 lines of diff (skipped)
++++    retrying with extended exclude list
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/libmtp-1.1.19/README new/libmtp-1.1.20/README
--- old/libmtp-1.1.19/README    2020-10-11 14:16:15.000000000 +0200
+++ new/libmtp-1.1.20/README    2022-03-26 10:17:34.000000000 +0100
@@ -22,7 +22,7 @@
   https://android.googlesource.com/platform/frameworks/base/+/master/media/jni/
 - Ubuntu/Ricardo Salveti has mtp-server and libmtp-server going:
   https://code.launchpad.net/~phablet-team/mtp/trunk
-  http://bazaar.launchpad.net/~phablet-team/mtp/trunk/files
+  https://bazaar.launchpad.net/~phablet-team/mtp/trunk/files
 
 Heritage
 --------
@@ -31,7 +31,7 @@
 
 * libptp2 by Mariusz Woloszyn was the starting point used
   by Richard A. Low for the initial starter port. You can
-  find it at http://libptp.sourceforge.net/
+  find it at https://libptp.sourceforge.net/
 
 * libgphoto2 by Mariusz Woloszyn and Marcus Meissner was
   used at a later stage since it was (is) more actively
@@ -43,26 +43,28 @@
   source code. If you need to change things in these files,
   make sure it is so general that libgphoto2 will want to
   merge it to their codebase too. You find libgphoto2 as part
-  of gPhoto: http://gphoto.sourceforge.net/
+  of gPhoto: https://gphoto.sourceforge.net/
 
 * libnjb was a project that Richard and Linus were working
   on before libmtp. When Linus took Richards initial port
   and made an generic C API he re-used the philosophy and
   much code from libnjb. Many of the sample programs are for
   example taken quite literally from libnjb. You find it here:
-  http://libnjb.sourceforge.net/
+  https://libnjb.sourceforge.net/
 
 
 Contacting and Contributing
 ---------------------------
 
-See the project page at http://libmtp.sourceforge.net/
+See the project page at https://libmtp.sourceforge.net/
 We always need your help. There is a mailinglist and a
 bug report system there.
 
+You can also file github issues at https://github.com/libmtp/libmtp
+
 People who want to discuss MTP devices in fora seem to
 hang out on the forums at AnythingbutiPod:
-http://www.anythingbutipod.com/forum/
+https://www.anythingbutipod.com/forum/
 
 
 Compiling programs for libmtp
@@ -99,7 +101,7 @@
 installed. (It will not be created unless you have Doxygen!)
 
 For information about the Media Transfer Protocol, see:
-http://en.wikipedia.org/wiki/Media_Transfer_Protocol
+https://en.wikipedia.org/wiki/Media_Transfer_Protocol
 
 The official 1.0 specification for MTP was released by the
 USB Implementers Forum in may, 2008. Prior to this, only a
@@ -107,7 +109,7 @@
 devices out there still use some aspects of the Microsoft
 version, which deviates from the specified standard. You can
 find the official specification here:
-http://www.usb.org/developers/devclass_docs/MTP_1.0.zip
+https://www.usb.org/developers/devclass_docs/MTP_1.0.zip
 
 
 The Examples
@@ -243,14 +245,14 @@
   and USB mass storage alike, even down to the lowest layers
   of USB. You can always discuss such issues at the linux-usb
   mailing list if you're using Linux:
-  http://www.linux-usb.org/mailing.html
+  https://www.linux-usb.org/mailing.html
 
   If you have a problem specific to USB mass storage mode, there
   is a list of strange behaving devices in the Linux kernel:
-  http://lxr.linux.no/linux/drivers/usb/storage/unusual_devs.h
+  https://lxr.linux.no/linux/drivers/usb/storage/unusual_devs.h
   You can discuss this too on the mentioned list, for understanding
   the quirks, see:
-  http://www2.one-eyed-alien.net/~mdharm/linux-usb/target_offenses.txt
+  https://www2.one-eyed-alien.net/~mdharm/linux-usb/target_offenses.txt
 
 * Generic certificate misbehaviour. All devices are actually
   required to support a device certificate to be able to
@@ -418,13 +420,13 @@
 using e.g.:
 
 * USBsnoop:
-  http://benoit.papillault.free.fr/usbsnoop/
+  https://benoit.papillault.free.fr/usbsnoop/
 
 * The trial version of HHD Softwares software-only
   USB monitor. You need to get a copy of version 2.37 since
   the newer trial versions won't let you carry out the
   needed packet sniffs. (As of 2007-03-10 a copy can be found
-  at: http://www.cobbleware.com/files/usb-monitor-237.exe)
+  at: https://www.cobbleware.com/files/usb-monitor-237.exe)
 
 There are other USB monitors as well, some more expensive
 alternatives use hardware and even measure electronic
@@ -717,7 +719,7 @@
 
 The problem is of a generic nature, and related to dynamic library
 loading. It is colloquially known as "dependency hell".
-(http://en.wikipedia.org/wiki/Dependency_hell)
+(https://en.wikipedia.org/wiki/Dependency_hell)
 
 The gnomad2 application calls upon the dynamic linker in Linux to
 resolve the symbol "LIBMTP_Get_Storageinfo" or any other symbol
@@ -727,7 +729,7 @@
 For generic information on this subject see the INSTALL file and
 this Wikipedia page:
 
-http://en.wikipedia.org/wiki/Library_(computing)
+https://en.wikipedia.org/wiki/Library_(computing)
 
 When Linux /lib/ld-linux.so.X is called to link the symbols compiled
 into gnomad2 (or any other executable using libmtp), it examines the
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/libmtp-1.1.19/config.h.in new/libmtp-1.1.20/config.h.in
--- old/libmtp-1.1.19/config.h.in       2021-09-25 15:57:55.000000000 +0200
+++ new/libmtp-1.1.20/config.h.in       2022-07-02 09:55:56.000000000 +0200
@@ -54,9 +54,6 @@
 /* Define to 1 if you have the <locale.h> header file. */
 #undef HAVE_LOCALE_H
 
-/* Define to 1 if you have the <memory.h> header file. */
-#undef HAVE_MEMORY_H
-
 /* Define to 1 if you have the `memset' function. */
 #undef HAVE_MEMSET
 
@@ -162,10 +159,13 @@
 /* Define as the return type of signal handlers (`int' or `void'). */
 #undef RETSIGTYPE
 
-/* Define to 1 if you have the ANSI C header files. */
+/* Define to 1 if all of the C90 standard headers exist (not just the ones
+   required in a freestanding environment). This macro is provided for
+   backward compatibility; new code need not use it. */
 #undef STDC_HEADERS
 
-/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
+/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. This
+   macro is obsolete. */
 #undef TIME_WITH_SYS_TIME
 
 /* Enable MTPZ functionality */
@@ -186,11 +186,6 @@
 # endif
 #endif
 
-/* Enable large inode numbers on Mac OS X 10.5.  */
-#ifndef _DARWIN_USE_64_BIT_INODE
-# define _DARWIN_USE_64_BIT_INODE 1
-#endif
-
 /* Number of bits in a file offset, on hosts where this is settable. */
 #undef _FILE_OFFSET_BITS
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/libmtp-1.1.19/configure.ac new/libmtp-1.1.20/configure.ac
--- old/libmtp-1.1.19/configure.ac      2021-09-25 15:56:44.000000000 +0200
+++ new/libmtp-1.1.20/configure.ac      2022-07-02 09:55:32.000000000 +0200
@@ -1,6 +1,6 @@
 # Process this file with autoconf to produce a configure script.
 AC_PREREQ(2.52)
-AC_INIT([libmtp], [1.1.19], [libmtp-disc...@lists.sourceforge.net])
+AC_INIT([libmtp], [1.1.20], [libmtp-disc...@lists.sourceforge.net])
 AC_CONFIG_MACRO_DIR([m4])
 AM_INIT_AUTOMAKE([foreign])
 AC_CONFIG_SRCDIR([src/libmtp.c])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/libmtp-1.1.19/libmtp.pc new/libmtp-1.1.20/libmtp.pc
--- old/libmtp-1.1.19/libmtp.pc 2021-09-25 15:57:20.000000000 +0200
+++ new/libmtp-1.1.20/libmtp.pc 2022-07-02 09:55:55.000000000 +0200
@@ -7,7 +7,7 @@
 
 Name: libmtp
 Description: libmtp is a library for accessing Media Transfer Protocol devices
-Version: 1.1.19
+Version: 1.1.20
 Requires.private: libusb-1.0
 Conflicts:
 Libs: -L${libdir} -lmtp
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/libmtp-1.1.19/src/libmtp.c new/libmtp-1.1.20/src/libmtp.c
--- old/libmtp-1.1.19/src/libmtp.c      2021-01-01 19:13:15.000000000 +0100
+++ new/libmtp-1.1.20/src/libmtp.c      2022-06-28 10:49:16.000000000 +0200
@@ -1201,7 +1201,7 @@
 char *LIBMTP_Get_String_From_Object(LIBMTP_mtpdevice_t *device, uint32_t const 
object_id,
                                    LIBMTP_property_t const attribute_id)
 {
-  return get_string_from_object(device, object_id, attribute_id);
+  return get_string_from_object(device, object_id, 
map_libmtp_property_to_ptp_property(attribute_id));
 }
 
 /**
@@ -7217,7 +7217,7 @@
 /**
  * This recursively deletes the memory for a folder structure.
  * This shall typically be called on a top-level folder list to
- * detsroy the entire folder tree.
+ * destroy the entire folder tree.
  *
  * @param folder folder structure to destroy
  * @see LIBMTP_new_folder_t()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/libmtp-1.1.19/src/libmtp.h new/libmtp-1.1.20/src/libmtp.h
--- old/libmtp-1.1.19/src/libmtp.h      2021-09-25 15:57:20.000000000 +0200
+++ new/libmtp-1.1.20/src/libmtp.h      2022-07-02 09:55:55.000000000 +0200
@@ -29,8 +29,8 @@
 #ifndef LIBMTP_H_INCLUSION_GUARD
 #define LIBMTP_H_INCLUSION_GUARD
 
-#define LIBMTP_VERSION 1.1.19
-#define LIBMTP_VERSION_STRING "1.1.19"
+#define LIBMTP_VERSION 1.1.20
+#define LIBMTP_VERSION_STRING "1.1.20"
 
 /* This handles MSVC pecularities */
 #ifdef _MSC_VER
@@ -467,7 +467,6 @@
 typedef struct LIBMTP_playlist_struct LIBMTP_playlist_t; /**< @see 
LIBMTP_playlist_struct */
 typedef struct LIBMTP_album_struct LIBMTP_album_t; /**< @see 
LIBMTP_album_struct */
 typedef struct LIBMTP_folder_struct LIBMTP_folder_t; /**< @see LIBMTP_folder_t 
*/
-typedef struct LIBMTP_object_struct LIBMTP_object_t; /**< @see LIBMTP_object_t 
*/
 typedef struct LIBMTP_filesampledata_struct LIBMTP_filesampledata_t; /**< @see 
LIBMTP_filesample_t */
 typedef struct LIBMTP_devicestorage_struct LIBMTP_devicestorage_t; /**< @see 
LIBMTP_devicestorage_t */
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/libmtp-1.1.19/src/libmtp.h.in new/libmtp-1.1.20/src/libmtp.h.in
--- old/libmtp-1.1.19/src/libmtp.h.in   2020-07-20 13:00:55.000000000 +0200
+++ new/libmtp-1.1.20/src/libmtp.h.in   2022-06-28 10:49:33.000000000 +0200
@@ -467,7 +467,6 @@
 typedef struct LIBMTP_playlist_struct LIBMTP_playlist_t; /**< @see 
LIBMTP_playlist_struct */
 typedef struct LIBMTP_album_struct LIBMTP_album_t; /**< @see 
LIBMTP_album_struct */
 typedef struct LIBMTP_folder_struct LIBMTP_folder_t; /**< @see LIBMTP_folder_t 
*/
-typedef struct LIBMTP_object_struct LIBMTP_object_t; /**< @see LIBMTP_object_t 
*/
 typedef struct LIBMTP_filesampledata_struct LIBMTP_filesampledata_t; /**< @see 
LIBMTP_filesample_t */
 typedef struct LIBMTP_devicestorage_struct LIBMTP_devicestorage_t; /**< @see 
LIBMTP_devicestorage_t */
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/libmtp-1.1.19/src/music-players.h new/libmtp-1.1.20/src/music-players.h
--- old/libmtp-1.1.19/src/music-players.h       2021-09-14 15:18:54.000000000 
+0200
+++ new/libmtp-1.1.20/src/music-players.h       2022-06-25 11:06:18.000000000 
+0200
@@ -644,6 +644,9 @@
   /* https://sourceforge.net/p/libmtp/feature-requests/298/ */
   { "Acer", 0x0502, "A3-A40", 0x387a,
       DEVICE_FLAGS_ANDROID_BUGS },
+  /* https://sourceforge.net/p/libmtp/support-requests/298/ */
+  { "Acer", 0x0502, "Zest T06", 0x3886,
+      DEVICE_FLAGS_ANDROID_BUGS },
   /* https://sourceforge.net/p/libmtp/bugs/1733/ */
   { "Acer", 0x0502, "Liquid Zest 4G", 0x38a5,
       DEVICE_FLAGS_ANDROID_BUGS },
@@ -881,6 +884,10 @@
   { "A&K", 0x4102, "SR15", 0x1213,
     DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | DEVICE_FLAG_NO_ZERO_READS |
     DEVICE_FLAG_OGG_IS_UNKNOWN },
+  /* https://github.com/libmtp/libmtp/issues/85  ... */
+  { "A&K", 0x4102, "SE180", 0x1230,
+    DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | DEVICE_FLAG_NO_ZERO_READS |
+    DEVICE_FLAG_OGG_IS_UNKNOWN },
   // Reported by Scott Call
   // Assume this actually supports OGG though it reports it doesn't.
   { "iRiver", 0x4102, "H10 20GB", 0x2101,
@@ -1053,6 +1060,8 @@
   { "Archos", 0x0e79, "101 G4", 0x4002, DEVICE_FLAGS_ANDROID_BUGS },
   { "Archos (for Tesco)", 0x0e79, "Hudl (ID1)", 0x5008, 
DEVICE_FLAGS_ANDROID_BUGS },
   { "Archos (for Tesco)", 0x0e79, "Hudl (ID2)", 0x5009, 
DEVICE_FLAGS_ANDROID_BUGS },
+  /* https://sourceforge.net/p/libmtp/bugs/1919/ */
+  { "Archos", 0x0e79, "101d Neon", 0x51c6, DEVICE_FLAGS_ANDROID_BUGS },
   /* https://sourceforge.net/p/libmtp/bugs/1404/ */
   { "Archos", 0x0e79, "AC40DTI", 0x5217, DEVICE_FLAGS_ANDROID_BUGS },
   /* https://sourceforge.net/p/libmtp/feature-requests/221/ */
@@ -2011,6 +2020,9 @@
   /* https://sourceforge.net/p/libmtp/bugs/1849/ */
   { "SONY", 0x0fce, "Xperia I4312", 0x0207,
       DEVICE_FLAG_NONE },
+  /* https://github.com/libmtp/libmtp/issues/113 */
+  { "SONY", 0x0fce, "Xperia 5", 0x020a,
+      DEVICE_FLAG_NONE },
   /* https://sourceforge.net/p/libmtp/feature-requests/303/ */
   { "SONY", 0x0fce, "Xperia 5 II Phone", 0x020d,
       DEVICE_FLAG_NONE },
@@ -2166,6 +2178,8 @@
       DEVICE_FLAG_NONE },
   { "SONY", 0x0fce, "Xperia I4312 MTP+CDROM", 0x4207,
       DEVICE_FLAG_NONE },
+  { "SONY", 0x0fce, "Xperia 5 MTP+CDROM", 0x420a,
+      DEVICE_FLAG_NONE },
   { "SONY", 0x0fce, "Xperia 5 II Phone MTP+CDROM", 0x420d,
       DEVICE_FLAG_NONE },
 
@@ -2340,6 +2354,8 @@
       DEVICE_FLAG_NONE },
   { "SONY", 0x0fce, "Xperia I4312 MTP+ADB", 0x5207,
       DEVICE_FLAG_NONE },
+  { "SONY", 0x0fce, "Xperia 5 MTP+ADB", 0x520a,
+      DEVICE_FLAG_NONE },
   { "SONY", 0x0fce, "Xperia 5 II Phone MTP+ADB", 0x520d,
       DEVICE_FLAG_NONE },
 
@@ -2414,16 +2430,24 @@
       DEVICE_FLAGS_ANDROID_BUGS },
   { "Motorola", 0x22b8, "Moto G (ID1)", 0x2e76,
       DEVICE_FLAGS_ANDROID_BUGS },
+  /* https://sourceforge.net/p/libmtp/bugs/1841/ */
+  { "Motorola", 0x22b8, "Moto Z2 (XT1789)", 0x2e81,
+      DEVICE_FLAGS_ANDROID_BUGS },
   { "Motorola", 0x22b8, "Moto G (ID2)", 0x2e82,
       DEVICE_FLAGS_ANDROID_BUGS & 
~(DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL|DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST)},
+  /* https://github.com/gphoto/gphoto2/issues/463 */
+  { "Motorola", 0x22b8, "XT1032", 0x2e83,
+      DEVICE_FLAGS_ANDROID_BUGS },
   /* https://sourceforge.net/p/libmtp/bugs/1030/, PTP Id */
   { "Motorola", 0x22b8, "Moto G (XT1032)", 0x2e84,
       DEVICE_FLAGS_ANDROID_BUGS },
   /* https://sourceforge.net/p/libmtp/bugs/1477/ */
   { "Motorola", 0x22b8, "Moto Maxx (XT1225)", 0x2ea4,
       DEVICE_FLAGS_ANDROID_BUGS },
-  /* https://sourceforge.net/p/libmtp/bugs/1841/ */
-  { "Motorola", 0x22b8, "Moto Z2 (XT1789)", 0x2e81,
+  /* https://sourceforge.net/p/libmtp/bugs/1183/ */
+  { "Motorola", 0x22b8, "Droid Turbo (XT1254)", 0x2ea5,
+      DEVICE_FLAGS_ANDROID_BUGS },
+  { "Motorola", 0x22b8, "Droid Turbo Verizon", 0x2ea8,
       DEVICE_FLAGS_ANDROID_BUGS },
   /* https://sourceforge.net/p/libmtp/feature-requests/189/ */
   { "Motorola", 0x22b8, "MB632", 0x2dff,
@@ -2510,11 +2534,6 @@
       DEVICE_FLAGS_ANDROID_BUGS },
   { "Motorola", 0x22b8, "XT890/907/Razr (MTP+ADB)", 0x710e,
       DEVICE_FLAGS_ANDROID_BUGS },
-  /* https://sourceforge.net/p/libmtp/bugs/1183/ */
-  { "Motorola", 0x22b8, "Droid Turbo (XT1254)", 0x2ea5,
-      DEVICE_FLAGS_ANDROID_BUGS },
-  { "Motorola", 0x22b8, "Droid Turbo Verizon", 0x2ea8,
-      DEVICE_FLAGS_ANDROID_BUGS },
   /*
    * XT890/907/Razr
    * 710f is USB mass storage
@@ -2582,6 +2601,9 @@
       DEVICE_FLAGS_ANDROID_BUGS },
   { "Google Inc (for Toshiba)", 0x18d1, "Thrive 7/AT105", 0x7102,
       DEVICE_FLAGS_ANDROID_BUGS },
+  /* https://github.com/libmtp/libmtp/issues/88 */
+  { "OnePlus", 0x18d1, "6T A6013", 0x7169,
+      DEVICE_FLAGS_ANDROID_BUGS },
   { "Google Inc (for Lenovo)", 0x18d1, "Ideapad K1", 0x740a,
       DEVICE_FLAGS_ANDROID_BUGS },
   // Another OEM for Medion
@@ -3108,20 +3130,32 @@
   /* https://sourceforge.net/p/libmtp/support-requests/262/ */
   { "Lenovo", 0x17ef, "Tab4 10", 0x7ac5,
       DEVICE_FLAGS_ANDROID_BUGS },
+  /* https://sourceforge.net/p/libmtp/support-requests/297/ */
+  { "Lenovo", 0x17ef, "Tab TB-X704A", 0x7b25,
+      DEVICE_FLAGS_ANDROID_BUGS },
   /* https://sourceforge.net/p/libmtp/feature-requests/296/ */
   { "Lenovo", 0x17ef, "TB-7304I", 0x7b3c,
       DEVICE_FLAGS_ANDROID_BUGS },
+  /* https://sourceforge.net/p/libmtp/bugs/1912/ */
+  { "Lenovo", 0x17ef, "TB-8304F1", 0x7b84,
+      DEVICE_FLAGS_ANDROID_BUGS },
   /* https://sourceforge.net/p/libmtp/bugs/1831/ */
   { "Lenovo", 0x17ef, "Tab4 10 (2nd ID)", 0x7bc7,
       DEVICE_FLAGS_ANDROID_BUGS },
   /* https://sourceforge.net/p/libmtp/bugs/1873/ */
   { "Lenovo", 0x17ef, "Tab P10", 0x7bd3,
       DEVICE_FLAGS_ANDROID_BUGS },
+  /* https://github.com/libmtp/libmtp/issues/102 */
+  { "Lenovo", 0x17ef, "Tab M10", 0x7bdf,
+      DEVICE_FLAGS_ANDROID_BUGS },
   { "Lenovo", 0x17ef, "TB-X606F", 0x7c45,
       DEVICE_FLAGS_ANDROID_BUGS },
   /* https://github.com/libmtp/libmtp/issues/74 */
   { "Lenovo", 0x17ef, "TB-X606F (Lenovo Tab M10 FHD Plus)", 0x7c46,
       DEVICE_FLAGS_ANDROID_BUGS },
+  /*https://github.com/libmtp/libmtp/issues/111  */
+  { "Lenovo", 0x17ef, "TAB M7 Gen 3", 0x7cb3,
+      DEVICE_FLAGS_ANDROID_BUGS },
   /* https://sourceforge.net/p/libmtp/bugs/1736/ */
   { "Lenovo", 0x17ef, "P1060X", 0x9039,
       DEVICE_FLAGS_ANDROID_BUGS },
@@ -3533,12 +3567,18 @@
 
   { "Amazon", 0x1949, "Kindle Fire HD8 Plus", 0x0581,
       DEVICE_FLAGS_ANDROID_BUGS },
+  /* https://sourceforge.net/p/libmtp/bugs/1913/ */
+  { "Amazon", 0x1949, "Kindle Fire 10 Plus", 0x05e1,
+      DEVICE_FLAGS_ANDROID_BUGS },
   { "Amazon", 0x1949, "Fire Phone", 0x0800,
       DEVICE_FLAGS_ANDROID_BUGS },
   /* https://sourceforge.net/p/libmtp/bugs/1876/ */
   { "Amazon", 0x1949, "Kindle Fire (ID 8)", 0x0c31,
       DEVICE_FLAGS_ANDROID_BUGS },
 
+  { "Amazon", 0x1949, "Kindle Fire 8 HD (7th Gen)", 0x0262,
+      DEVICE_FLAGS_ANDROID_BUGS },
+
   /*
    * Barnes&Noble
    */
@@ -3576,6 +3616,9 @@
   /* https://sourceforge.net/p/libmtp/bugs/1900/ */
   { "Onyx", 0x2207, "Boox Nova Pro", 0x0015,
       DEVICE_FLAGS_ANDROID_BUGS },
+  /* https://github.com/libmtp/libmtp/issues/82 */
+  { "Supernote", 0x2207, "A5X", 0x0031,
+      DEVICE_FLAGS_ANDROID_BUGS },
 
   /*
    * Kobo
@@ -3658,6 +3701,9 @@
   /* https://sourceforge.net/p/libmtp/bugs/1905/ */
   { "Xiaomi", 0x0a9d, "POCO X3 Pro (MTP)", 0xff40,
       DEVICE_FLAGS_ANDROID_BUGS },
+  /* https://github.com/libmtp/libmtp/issues/90 */
+  { "Xiaomi", 0x0a9d, "MI 9 M1902F1G", 0xff40,
+      DEVICE_FLAGS_ANDROID_BUGS },
   /* https://sourceforge.net/p/libmtp/bugs/1339/ */
   { "Xiaomi", 0x2717, "Mi-2s (MTP)", 0xff48,
       DEVICE_FLAGS_ANDROID_BUGS },
@@ -3735,7 +3781,7 @@
   /* https://sourceforge.net/p/libmtp/bugs/1492/ */
   { "Kyocera", 0x0482, "Event", 0x0591, DEVICE_FLAGS_ANDROID_BUGS  & 
~DEVICE_FLAG_FORCE_RESET_ON_CLOSE },
   /* https://sourceforge.net/p/libmtp/feature-requests/134/ */
-  { "Kyocera", 0x0482, "Torque Model E6715", 0x0059a, 
DEVICE_FLAGS_ANDROID_BUGS },
+  { "Kyocera", 0x0482, "Torque Model E6715", 0x059a, DEVICE_FLAGS_ANDROID_BUGS 
},
   /* https://sourceforge.net/p/libmtp/feature-requests/164/ */
   { "Kyocera", 0x0482, "Hydro Elite C6750", 0x073c, DEVICE_FLAGS_ANDROID_BUGS 
},
   /* https://sourceforge.net/p/libmtp/discussion/535190/thread/6270f5ce/ */
@@ -3851,7 +3897,14 @@
   { "Garmin", 0x091e, "Forerunner 745", 0x4e05, DEVICE_FLAGS_ANDROID_BUGS },
   { "Garmin", 0x091e, "Venu Sq Music", 0x4e0c, DEVICE_FLAGS_ANDROID_BUGS },
   { "Garmin", 0x091e, "Descent Mk2/Mk2i (APAC)", 0x4e76, 
DEVICE_FLAGS_ANDROID_BUGS }, /* APAC version */
+  { "Garmin", 0x091e, "Venu 2s", 0x4e78, DEVICE_FLAGS_ANDROID_BUGS },
   { "Garmin", 0x091e, "Venu Mercedes-Benz Collection", 0x4e9C, 
DEVICE_FLAGS_ANDROID_BUGS },
+  /* https://github.com/libmtp/libmtp/issues/95 */
+  { "Garmin", 0x091e, "Fenix 7 Sapphire Solar", 0x4f42, 
DEVICE_FLAGS_ANDROID_BUGS },
+  /* https://sourceforge.net/p/libmtp/support-requests/299/ */
+  { "Garmin", 0x091e, "EPIX 2", 0x4f67, DEVICE_FLAGS_ANDROID_BUGS },
+  /* https://sourceforge.net/p/libmtp/bugs/1920/ */
+  { "Garmin", 0x091e, "Tactix 7", 0x5027, DEVICE_FLAGS_ANDROID_BUGS },
 
   /*
    * Wacom
@@ -3966,6 +4019,8 @@
   { "Caterpillar", 0x04b7, "Cat S31", 0x88d0, DEVICE_FLAGS_ANDROID_BUGS },
   /* https://sourceforge.net/p/libmtp/bugs/1814/ */
   { "Caterpillar", 0x04b7, "Cat S61", 0x88d6, DEVICE_FLAGS_ANDROID_BUGS },
+  /* owned by Marcus */
+  { "Caterpillar", 0x04b7, "Cat S62 Pro", 0x88f1, DEVICE_FLAGS_ANDROID_BUGS },
 
   /* https://sourceforge.net/p/libmtp/bugs/682/ */
   { "Pegatron", 0x1d4d, "Chagall (ADB)", 0x5035, DEVICE_FLAGS_ANDROID_BUGS },
@@ -4009,6 +4064,9 @@
   /* https://sourceforge.net/p/libmtp/bugs/1082/ */
   { "Fly", 0x1782, "iq449", 0x4001, DEVICE_FLAGS_ANDROID_BUGS },
 
+  /* https://github.com/libmtp/libmtp/issues/109 */
+  { "Alldocube", 0x1782, "Smile X", 0x4003, DEVICE_FLAGS_ANDROID_BUGS },
+
   /*
   * YU Yureka.
   */
@@ -4034,6 +4092,8 @@
 
   /* https://sourceforge.net/p/libmtp/bugs/1423/ */
   { "OnePlus", 0x2a70, "ONE A2001", 0x9011, DEVICE_FLAGS_ANDROID_BUGS },
+  /* https://sourceforge.net/p/libmtp/bugs/1910/ */
+  { "OnePlus", 0x2a70, "OnePlus 9 5G", 0x9012, DEVICE_FLAGS_ANDROID_BUGS },
   /* https://sourceforge.net/p/libmtp/bugs/1450/ */
   { "OnePlus", 0x2a70, "OnePlus 2 A2005", 0xf003, DEVICE_FLAGS_ANDROID_BUGS },
 
@@ -4061,6 +4121,7 @@
   { "GoPro" , 0x2672, "HERO7 Black", 0x0047, DEVICE_FLAG_NONE },
   { "GoPro" , 0x2672, "HERO8 Black", 0x0049, DEVICE_FLAG_NONE },
   { "GoPro" , 0x2672, "HERO9 Black", 0x004d, DEVICE_FLAG_NONE },
+  { "GoPro" , 0x2672, "HERO10 Black", 0x0056, DEVICE_FLAG_NONE },
 #endif
 
   /* These Ricoh Theta cameras run Android but seem to work
@@ -4192,5 +4253,8 @@
   /* https://github.com/libmtp/libmtp/issues/72 
https://sourceforge.net/p/libmtp/bugs/1895/ */
   { "Mudita", 0x3310, "Pure Phone", 0x0100, DEVICE_FLAG_NONE },
 
+  /* https://sourceforge.net/p/libmtp/bugs/1911/ */
+  { "Oculus", 0x2833, "Quest", 0x0183, DEVICE_FLAGS_ANDROID_BUGS },
+
   /* qemu 3.0.0 hw/usb/dev-mtp.c */
   { "QEMU", 0x46f4, "Virtual MTP", 0x0004, DEVICE_FLAG_NONE }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/libmtp-1.1.19/src/ptp-pack.c new/libmtp-1.1.20/src/ptp-pack.c
--- old/libmtp-1.1.19/src/ptp-pack.c    2021-01-01 19:25:16.000000000 +0100
+++ new/libmtp-1.1.20/src/ptp-pack.c    2022-01-31 10:50:55.000000000 +0100
@@ -818,7 +818,7 @@
                                                        \
        if (n >= UINT_MAX/sizeof(val->a.v[0]))          \
                return 0;                               \
-       if (n > (total - (*offset))/sizeof(val->a.v[0]))\
+       if (n > (total - (*offset))/sizeof(val->a.v[0].member))\
                return 0;                               \
        val->a.count = n;                               \
        val->a.v = malloc(sizeof(val->a.v[0])*n);       \

Reply via email to