From: Howard Chu Date: Fri, 6 Jan 2017 19:48:58 +0000 (+0000) Subject: ITS#8558 fix mdb_load with escaped plaintext X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=59ac317d2a4a81613e3e1dbc17fd2d3ec4205ba1;p=openldap ITS#8558 fix mdb_load with escaped plaintext --- diff --git a/libraries/liblmdb/mdb_load.c b/libraries/liblmdb/mdb_load.c index 73dfe8cfd9..c421a6980f 100644 --- a/libraries/liblmdb/mdb_load.c +++ b/libraries/liblmdb/mdb_load.c @@ -245,7 +245,8 @@ badend: c2 += 2; } } else { - c1++; c2++; + /* copies are redundant when no escapes were used */ + *c1++ = *c2++; } } } else {