diff --git a/libraries/liblmdb/mdb_load.c b/libraries/liblmdb/mdb_load.c index 053cc88..3d02a46 100644 --- a/libraries/liblmdb/mdb_load.c +++ b/libraries/liblmdb/mdb_load.c @@ -248,7 +248,8 @@ badend: c2 += 2; } } else { - c1++; c2++; + /* copies are redundant when no escapes were used */ + *c1++ = *c2++; } } } else {