Signed-off-by: jh8801.jung <jh8801.jung@samsung.com>
Change-Id: I95ffd53fad67f06c778fcd5773b2b0e44b991aed
Name: libmtp
Summary: Library for media transfer protocol (mtp)
Version: 1.1.11
-Release: 11
+Release: 12
Group: Network & Connectivity/Other
License: LGPL-2.1
Source0: libmtp-%{version}.tar.gz
curoff = 8+4+4;
if (mask & CANON_EOS_OLC_BUTTON) {
ce[i].type = PTP_CANON_EOS_CHANGES_TYPE_UNKNOWN;
- ce[i].u.info = malloc(strlen("Button 1234567"));
+ ce[i].u.info = malloc(strlen("Button 1234567")+1);
snprintf(ce[i].u.info, strlen("Button 1234567"), "Button %d", dtoh16a(curdata+curoff));
i++;
curoff += 2;