From f752543625baec3c0cae34a8dda88de47732ee9e Mon Sep 17 00:00:00 2001 From: roman-simakov Date: Tue, 21 Oct 2008 19:32:50 +0000 Subject: [PATCH] Fixed mistake --- src/jrd/utl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jrd/utl.cpp b/src/jrd/utl.cpp index c33239b6e9..b60d8189fa 100644 --- a/src/jrd/utl.cpp +++ b/src/jrd/utl.cpp @@ -518,7 +518,7 @@ int API_ROUTINE isc_modify_dpb(SCHAR** dpb, return FB_FAILURE; /* NOMEM: not really handled */ } - memcpy(new_dpb, dpb, *dpb_size); + memcpy(new_dpb, *dpb, *dpb_size); } else new_dpb = reinterpret_cast(*dpb);