There is a warning occured during i compiled ltp which was released in 20090430: The array of filename was declared with 5 elements, so if you give a value to filename[5], the array will overflow.
Signed-off-by: Gui Xiaohua <[email protected]> --- a/testcases/kernel/syscalls/readlinkat/readlinkat01.c +++ b/testcases/kernel/syscalls/readlinkat/readlinkat01.c @@ -253,8 +253,7 @@ void setup_every_copy() fds[3] = 100; fds[4] = AT_FDCWD; - filenames[0] = filenames[2] = filenames[3] = filenames[4] = - filenames[5] = dtestfile; + filenames[0] = filenames[2] = filenames[3] = filenames[4] = dtestfile; filenames[1] = dtestfile3; for (i = 0; i < TEST_CASES; i++) ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
