summaryrefslogtreecommitdiff
path: root/source3/modules
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-09-14 22:22:26 +0200
committerVolker Lendecke <vl@samba.org>2009-09-14 22:48:45 +0200
commit9dae2501f1ef21c12385e3abd53c04fdabbed3e9 (patch)
tree1f9191558121beb4f4ceb158b9e0eadc34278154 /source3/modules
parent3dd404abad878fa7e760ba50ce84fc80b82ea159 (diff)
downloadsamba-9dae2501f1ef21c12385e3abd53c04fdabbed3e9.tar.gz
samba-9dae2501f1ef21c12385e3abd53c04fdabbed3e9.tar.bz2
samba-9dae2501f1ef21c12385e3abd53c04fdabbed3e9.zip
s3:vfs_modules: Fix Coverity ID 946: OVERRUN_STATIC
Tim, please check!
Diffstat (limited to 'source3/modules')
-rw-r--r--source3/modules/vfs_catia.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/modules/vfs_catia.c b/source3/modules/vfs_catia.c
index 3c1ab81dc0..d4fef4d14e 100644
--- 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;
- 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;
}