Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(608)

Side by Side Diff: patches/04_parse_extension_descriptor_null_check.patch

Issue 2364793002: Revert "Uprev libmtp to 1.1.12" (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/libmtp@master
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « patches/03_enable_ptp_support.patch ('k') | patches/07_fix_strcpy_in_ptp_unpack_ptptime.patch » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 Index: src/libmtp.c
2 ===================================================================
3 --- src/libmtp.c (revision 148643)
4 +++ src/libmtp.c (working copy)
5 @@ -1728,6 +1728,10 @@
6 int start = 0;
7 int end = 0;
8
9 + /* NULL on Canon A70 */
10 + if (!desc)
11 + return;
12 +
13 /* descriptors are divided by semicolons */
14 while (end < strlen(desc)) {
15 /* Skip past initial whitespace */
OLDNEW
« no previous file with comments | « patches/03_enable_ptp_support.patch ('k') | patches/07_fix_strcpy_in_ptp_unpack_ptptime.patch » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698