File: 40_fix-png-header-bytes.patch

package info (click to toggle)
tcpxtract 1.0.1-18.1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 744 kB
  • sloc: sh: 3,338; ansic: 1,922; yacc: 104; lex: 81; makefile: 21
file content (17 lines) | stat: -rw-r--r-- 690 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: fix incorrect magic byte values for png headers.
Bug: #649249
Author: Nico Golde <nion@debian.org>
Last-Update: 2011-11-19
Index: tcpxtract-1.0.1/tcpxtract.conf
===================================================================
--- tcpxtract-1.0.1.orig/tcpxtract.conf
+++ tcpxtract-1.0.1/tcpxtract.conf
@@ -30,7 +30,7 @@ jpg(1000000, \xff\xd8\xff\xe0\x00\x10, \
 jpg(1000000, \xff\xd8\xff\xe1);
 
 # PNG   (used in web pages)
-png(1000000, \x50\x4e\x47\?, \xff\xfc\xfd\xfe);
+png(1000000, \?\x50\x4e\x47, \xff\xfc\xfd\xfe);
 
 # BMP 	(used by MSWindows, use only if you have reason to think there are
 #      	BMP files worth digging for. This often kicks back a lot of false