mdbx: backport - ITS#8558 fix mdb_load with escaped plaintext.

Change-Id: I8646e876190529812476bac28e244a8eb6202336
This commit is contained in:
Howard Chu 2017-01-06 19:48:58 +00:00 committed by Leo Yuriev
parent 1fa026f332
commit 234faf9770
2 changed files with 5 additions and 1 deletions

View File

@ -2,6 +2,9 @@ MDBX
Add MDB_PREV_MULTIPLE Add MDB_PREV_MULTIPLE
Add error MDB_PROBLEM, replace some MDB_CORRUPTED Add error MDB_PROBLEM, replace some MDB_CORRUPTED
LMDB 0.9.20 Release Engineering
Fix mdb_load with escaped plaintext (ITS#8558)
LMDB 0.9.19 Release (2016/12/28) LMDB 0.9.19 Release (2016/12/28)
Fix mdb_env_cwalk cursor init (ITS#8424) Fix mdb_env_cwalk cursor init (ITS#8424)
Fix robust mutexes on Solaris 10/11 (ITS#8339) Fix robust mutexes on Solaris 10/11 (ITS#8339)

View File

@ -252,7 +252,8 @@ badend:
c2 += 2; c2 += 2;
} }
} else { } else {
c1++; c2++; /* copies are redundant when no escapes were used */
*c1++ = *c2++;
} }
} }
} else { } else {