#include <hallo.h> Matt Kraai wrote on Thu Feb 21, 2002 um 08:58:28AM: > > The patch was not working correctly, I looked for spaces rather for > > tabs. This should work - untested for now. > > I am wary of changing anything this close to release without > understanding the problem. Why isn't there a backtrace?
I simulated this in a chroot, after loading cdrom modules but unloading ide-cd and ide-scsi, so the procfs file looked as in the described problem. It crashed in strlen (while parsing), as expected. The changes in have_cdrom() will catch it up. Gruss/Regards, Eduard. -- void o(char c){printf("%c",c);}int main(){int a,b=0;char ciph[]= "91.92.7999 " "yb Ugvuzm Hvmwg. Arxilhlug ivzoob hfxph !!!\n";while(a=ciph[b++]){if((a>='A') &&(a<='Z')){a+=13;if(a>'Z')a-=26;o('Z'-(a-'A'));}else if((a>='a')&&(a<='z')){o ('z'-(a-'a'));}else if((a>='0') && (a<='9')){o('9'-(a-'0'));}else o(a);}}
msg15952/pgp00000.pgp
Description: PGP signature