mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-11-16 12:34:45 +00:00
2010-06-24 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1587/filesystem Coverity Id 35 * libfs/src/rfs/rtems-rfs-shell.c: Address possible NULL dereference.
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
2010-06-24 Joel Sherrill <joel.sherrilL@OARcorp.com>
|
||||||
|
|
||||||
|
PR 1587/filesystem
|
||||||
|
Coverity Id 35
|
||||||
|
* libfs/src/rfs/rtems-rfs-shell.c: Address possible NULL dereference.
|
||||||
|
|
||||||
2010-06-23 Chris Johns <chrisj@rtems.org>
|
2010-06-23 Chris Johns <chrisj@rtems.org>
|
||||||
|
|
||||||
PR 1577/filesystem
|
PR 1577/filesystem
|
||||||
|
|||||||
@@ -738,6 +738,11 @@ rtems_shell_rfs_format (int argc, char* argv[])
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!driver) {
|
||||||
|
printf ("error: no driver name provided\n");
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
if (rtems_rfs_format (driver, &config) < 0)
|
if (rtems_rfs_format (driver, &config) < 0)
|
||||||
{
|
{
|
||||||
printf ("error: format of %s failed: %s\n",
|
printf ("error: format of %s failed: %s\n",
|
||||||
|
|||||||
Reference in New Issue
Block a user