<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>change log for rtems (2010-07-15)</title>
</head>
<body text='#000000' bgcolor='#ffffff'>
<a name='cs1'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
 <font color='#bb2222'><strong>sh</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2010-07-16 Sebastian Huber <Sebastian.Huber@embedded-brains.de>

        * psxstat/test.c: Avoid NULL pointer access.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/psxtests/ChangeLog.diff?r1=text&tr1=1.292&r2=text&tr2=1.293&diff_format=h">M</a></td><td width='1%'>1.293</td><td width='100%'>testsuites/psxtests/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/psxtests/psxstat/test.c.diff?r1=text&tr1=1.28&r2=text&tr2=1.29&diff_format=h">M</a></td><td width='1%'>1.29</td><td width='100%'>testsuites/psxtests/psxstat/test.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/testsuites/psxtests/ChangeLog:1.292 rtems/testsuites/psxtests/ChangeLog:1.293
--- rtems/testsuites/psxtests/ChangeLog:1.292   Tue Jul 13 16:13:12 2010
+++ rtems/testsuites/psxtests/ChangeLog Thu Jul 15 07:15:56 2010
</font><font color='#997700'>@@ -1,3 +1,7 @@
</font><font color='#000088'>+2010-07-16    Sebastian Huber <Sebastian.Huber@embedded-brains.de>
+
+       * psxstat/test.c: Avoid NULL pointer access.
+
</font> 2010-07-12        Bharath Suri <bharath.s.jois@gmail.com>
 
        PR 1613/testing

<font color='#006600'>diff -u rtems/testsuites/psxtests/psxstat/test.c:1.28 rtems/testsuites/psxtests/psxstat/test.c:1.29
--- rtems/testsuites/psxtests/psxstat/test.c:1.28       Tue Jul 13 16:13:13 2010
+++ rtems/testsuites/psxtests/psxstat/test.c    Thu Jul 15 07:15:56 2010
</font><font color='#997700'>@@ -780,10 +780,10 @@
</font>   int status = 0;
   struct statvfs stat;
 
<font color='#880000'>-  puts( "statvfs, with invalid path - expect EFAULT" );
-  status = statvfs( NULL , &stat );
</font><font color='#000088'>+  puts( "statvfs, with invalid path - expect ENOTSUP" );
+  status = statvfs( "" , &stat );
</font>   rtems_test_assert( status == -1 );
<font color='#880000'>-  rtems_test_assert( errno == EFAULT );
</font><font color='#000088'>+  rtems_test_assert( errno == ENOTSUP );
</font> 
   puts( "create /tmp -- OK" );
   status = mkdir( "/tmp", 0777 );
</pre>
<p> </p>

<p>--<br />
<small>Generated by <a href="http://www.codewiz.org/projects/index.html#loginfo">Deluxe Loginfo</a> 2.122 by Bernardo Innocenti <bernie@develer.com></small></p>
</body>
</html>