From 9dae2501f1ef21c12385e3abd53c04fdabbed3e9 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Mon, 14 Sep 2009 22:22:26 +0200 Subject: [PATCH] s3:vfs_modules: Fix Coverity ID 946: OVERRUN_STATIC Tim, please check! --- source3/modules/vfs_catia.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/modules/vfs_catia.c b/source3/modules/vfs_catia.c index 3c1ab81dc07..d4fef4d14ef 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; } -- 2.11.4.GIT