[Stackless-checkins] CVS: slpdev/src/2.3/dev/PC getpathp.c, 1.1.1.3, 1.2

Christian Tismer tismer at centera.de
Tue Dec 20 12:20:22 CET 2005


Update of /home/cvs/slpdev/src/2.3/dev/PC
In directory centera.de:/tmp/cvs-serv9091/src/2.3/dev/PC

Modified Files:
	getpathp.c 
Log Message:
added CCP changes for 64 bit / VC 8.0 compiler

Index: getpathp.c
===================================================================
RCS file: /home/cvs/slpdev/src/2.3/dev/PC/getpathp.c,v
retrieving revision 1.1.1.3
retrieving revision 1.2
diff -C2 -d -r1.1.1.3 -r1.2
*** getpathp.c	8 Jan 2004 22:09:50 -0000	1.1.1.3
--- getpathp.c	20 Dec 2005 11:20:20 -0000	1.2
***************
*** 628,633 ****
  			   start of the path in question - even if this
  			   is one character before the start of the buffer
  			*/
! 			while (*look != DELIM && look >= module_search_path)
  				look--;
  			nchars = lookEnd-look;
--- 628,634 ----
  			   start of the path in question - even if this
  			   is one character before the start of the buffer
+ 			   CCP Change: Fix, so that bound check is before dereferencing!
  			*/
! 			while (look >= module_search_path && *look != DELIM)
  				look--;
  			nchars = lookEnd-look;


_______________________________________________
Stackless-checkins mailing list
Stackless-checkins at stackless.com
http://www.stackless.com/mailman/listinfo/stackless-checkins



More information about the Stackless-checkins mailing list