PERFORCE change 227750 for review

Brooks Davis brooks at FreeBSD.org
Mon Apr 15 20:44:18 UTC 2013


http://p4web.freebsd.org/@@227750?ac=10

Change 227750 by brooks at brooks_zenith on 2013/04/15 20:43:21

	Reset the exec indicator global on each use so we don't make all
	images red after the first exec backdoor is used.
	
	Reported by:	rwatson

Affected files ...

.. //depot/projects/ctsrd/cheribsd/src/ctsrd-lib/libimagebox/decode_png.c#7 edit

Differences ...

==== //depot/projects/ctsrd/cheribsd/src/ctsrd-lib/libimagebox/decode_png.c#7 (text+ko) ====

@@ -55,6 +55,8 @@
 	png_infop end_info = NULL;
 	png_bytep *rows = NULL;
 
+	png_exec_triggered = 0;
+
 	ids->is->times[1] = sysarch(MIPS_GET_COUNT, 0);
 
 	if ((png_ptr = png_create_read_struct(PNG_LIBPNG_VER_STRING,


More information about the p4-projects mailing list