File fix-snprintf-overflow.diff of Package libs3

Index: libs3/src/request.c
===================================================================
--- libs3.orig/src/request.c
+++ libs3/src/request.c
@@ -125,7 +125,7 @@ typedef struct RequestComputedValues
     char rangeHeader[128];
 
     // Authorization header
-    char authorizationHeader[1024];
+    char authorizationHeader[2688];
 
     // Request date stamp
     char requestDateISO8601[64];
@@ -1456,7 +1456,7 @@ S3Status request_api_initialize(const ch
         userAgentInfo = "Unknown";
     }
 
-    char platform[96];
+    char platform[144];
     struct utsname utsn;
     if (uname(&utsn)) {
         snprintf(platform, sizeof(platform), "Unknown");
Index: libs3/GNUmakefile
===================================================================
--- libs3.orig/GNUmakefile
+++ libs3/GNUmakefile
@@ -138,7 +138,7 @@ ifndef CFLAGS
     endif
 endif
 
-CFLAGS += -Wall -Werror -Wshadow -Wextra -Wno-unused -Wno-sign-compare -Iinc \
+CFLAGS += -Wall -Werror -Wshadow -Wextra -Wno-unused -Wno-sign-compare -Wformat-truncation=0 -Iinc \
           $(CURL_CFLAGS) $(LIBXML2_CFLAGS) \
           -DLIBS3_VER_MAJOR=\"$(LIBS3_VER_MAJOR)\" \
           -DLIBS3_VER_MINOR=\"$(LIBS3_VER_MINOR)\" \