Am Dienstag, 25. April 2006 22:58 schrieb Ludovic Rousseau: > > 2.) P11.c has several off by one error. one is fixed with > > setting j to 31, but two lines below that tokenString[32] > > is also off by one. > > Line 50 we have: > char itokenString[33]; > so tokenString[32] is valid (even if a bit surprising)
yes, I was confused. still j needs to be initialized with 31, as j+1 is used somewhere below. > Feel free to commit your patches. thanks, done. Andreas _______________________________________________ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel