[M3commit] CVS Update: cm3

Jay Krell jkrell at elego.de
Sun May 9 16:01:21 CEST 2010


CVSROOT:	/usr/cvs
Changes by:	jkrell at birch.	10/05/09 16:01:21

Modified files:
	cm3/m3-sys/m3middle/src/: Target.m3 

Log message:
	!Painful copy/paste error:
	|  Systems.I386_SOLARIS =>
	(* 40 bytes with 4 byte alignment *)
	Jumpbuf_size := 10 * Address.size;
	-                Jumpbuf_size := Address.size;
	+                Jumpbuf_align := Address.size;
	
	resulted in jmpbuf overflow in ProcessPosixCommon__GetFileHandle
	and the saved %ebx (GOT) pointer getting corrupt by setjmp
	
	(notice that jmp_buf is 40 bytes, but only about 24 are used)




More information about the M3commit mailing list