[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Info-mtools] vfat.c:59: sanity check wrong way around ?
From: |
David Binderman |
Subject: |
[Info-mtools] vfat.c:59: sanity check wrong way around ? |
Date: |
Sat, 26 Nov 2016 08:22:38 +0000 |
Hello there,
[vfat.c:59]: (style) Array index 'dotpos' is used before limits check.
Source code is
for(dotpos=0;
name[dotpos] && dotpos < limit && name[dotpos] != dot ;
dotpos++) {
Suggest sanity check array index before use.
Regards
David Binderman
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Info-mtools] vfat.c:59: sanity check wrong way around ?,
David Binderman <=