diff options
Diffstat (limited to 'storage/connect/value.cpp')
-rw-r--r-- | storage/connect/value.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/connect/value.cpp b/storage/connect/value.cpp index 32a4959df06..2792cbf3929 100644 --- a/storage/connect/value.cpp +++ b/storage/connect/value.cpp @@ -1224,7 +1224,7 @@ TYPVAL<PSZ>::TYPVAL(PGLOBAL g, PSZ s, int n, int c) if (!s) { if (g) { if ((Strp = (char *)PlgDBSubAlloc(g, NULL, Len + 1))) - Strp[Len] = '\0'; + memset(Strp, 0, Len + 1); else Len = 0; |