File libquicktime-1.2.4-integer_overflow.patch of Package libquicktime.4210

Index: libquicktime-1.2.4/src/util.c
===================================================================
--- libquicktime-1.2.4.orig/src/util.c
+++ libquicktime-1.2.4/src/util.c
@@ -340,7 +340,7 @@ int64_t quicktime_byte_position(quicktim
 
 void quicktime_read_pascal(quicktime_t *file, char *data)
 {
-	char len = quicktime_read_char(file);
+	unsigned char len = quicktime_read_char(file);
 	quicktime_read_data(file, (uint8_t*)data, len);
 	data[(int)len] = 0;
 }
openSUSE Build Service is sponsored by