summaryrefslogtreecommitdiffstats
path: root/cpukit/libfs/src/dosfs/msdos_format.c
diff options
context:
space:
mode:
authorGedare Bloom <gedare@rtems.org>2013-09-05 12:15:27 -0400
committerGedare Bloom <gedare@rtems.org>2013-09-05 12:15:27 -0400
commit96654dcc1a6e6f7133b8b1b17fe3e7aaccfe58a1 (patch)
tree19e110fdf6474d653535a1a0320e40c01a81572a /cpukit/libfs/src/dosfs/msdos_format.c
parentIMFS: Resource leak (diff)
downloadrtems-96654dcc1a6e6f7133b8b1b17fe3e7aaccfe58a1.tar.bz2
shell: Out-of-bounds access
In case the length of cwd path plus the userScriptName exceeds PATH_MAX (255), the strncat calls will overflow scriptFile. Also check for getcwd failure.
Diffstat (limited to 'cpukit/libfs/src/dosfs/msdos_format.c')
0 files changed, 0 insertions, 0 deletions