File afflib-3.6.12-fix-sha256-display.patch of Package afflib

Fix a bug in affinfo where only 248 bits of the SHA256 value would be
displayed because of a missized buffer.
Index: afflib-3.6.12/tools/affinfo.cpp
===================================================================
--- afflib-3.6.12.orig/tools/affinfo.cpp
+++ afflib-3.6.12/tools/affinfo.cpp
@@ -504,7 +504,7 @@ void print_info(AFFILE *af,const char *s
 	data_len = 32;
     }
     if(display_as_hex(segname,display_len)){
-	char buf[80];
+	char buf[82];
 	snprintf(cc,sizeof(output_line)-strlen(output_line),
 		 "%s%s",af_hexbuf(buf,sizeof(buf),data,display_len,opt_hexbuf),
 		dots ? "..." : "");
openSUSE Build Service is sponsored by