[RTEMS Project] #2292: msdos_misc.c:1059: array index used before sanity check ?
RTEMS trac
trac at rtems.org
Tue Mar 10 09:01:31 UTC 2015
#2292: msdos_misc.c:1059: array index used before sanity check ?
---------------------+--------------------
Reporter: dcb | Owner:
Type: defect | Status: new
Priority: normal | Milestone: 4.11.1
Component: General | Version: 4.10
Severity: normal | Keywords:
---------------------+--------------------
[rtems/cpukit/libfs/src/dosfs/msdos_misc.c:1059]: (style) Array index
'chars_in_entry' is used before limits check.
Source code is
for (chars_in_entry = 0;
( entry_string_buf[chars_in_entry] != 0x0000
&& chars_in_entry < MSDOS_LFN_LEN_PER_ENTRY );
++chars_in_entry) {
--
Ticket URL: <http://devel.rtems.org/ticket/2292>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
More information about the bugs
mailing list