projects
/
platform
/
upstream
/
lmdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e3eaf2
)
ITS#8558 fix mdb_load with escaped plaintext
author
Howard Chu
<hyc@openldap.org>
Fri, 6 Jan 2017 19:48:58 +0000
(19:48 +0000)
committer
Howard Chu
<hyc@openldap.org>
Fri, 6 Jan 2017 19:48:58 +0000
(19:48 +0000)
libraries/liblmdb/mdb_load.c
patch
|
blob
|
history
diff --git
a/libraries/liblmdb/mdb_load.c
b/libraries/liblmdb/mdb_load.c
index
73dfe8c
..
c421a69
100644
(file)
--- 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 {