git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3dd404a
)
s3:vfs_modules: Fix Coverity ID 946: OVERRUN_STATIC
author
Volker Lendecke
<vl@samba.org>
Mon, 14 Sep 2009 20:22:26 +0000
(22:22 +0200)
committer
Volker Lendecke
<vl@samba.org>
Mon, 14 Sep 2009 20:48:45 +0000
(22:48 +0200)
Tim, please check!
source3/modules/vfs_catia.c
patch
|
blob
|
history
diff --git
a/source3/modules/vfs_catia.c
b/source3/modules/vfs_catia.c
index 3c1ab81dc07b1c8352d2e991ed1a576dfd69ab7f..d4fef4d14ef2d583a413988ab77db4d6356bcff5 100644
(file)
--- a/
source3/modules/vfs_catia.c
+++ b/
source3/modules/vfs_catia.c
@@
-61,7
+61,7
@@
static bool build_table(struct char_mappings **cmaps, int value)
if (!*cmaps)
return False;
if (!*cmaps)
return False;
- for (i = 0; i <
=
MAP_SIZE;i++) {
+ for (i = 0; i < MAP_SIZE;i++) {
(*cmaps)->entry[i][TO_UNIX] = start + i;
(*cmaps)->entry[i][TO_WINDOWS] = start + i;
}
(*cmaps)->entry[i][TO_UNIX] = start + i;
(*cmaps)->entry[i][TO_WINDOWS] = start + i;
}