[PATCH svn-fe 0/4] vcs-svn: null bytes in properties
From: Jonathan Nieder <hidden>
Date: 2016-06-15 22:50:52
David Barr wrote:
it is permissible for both keys and values to contain nul characters.
You're right --- it's a regression to error out, though we never did support it all that well. How about this? This doesn't take care of preserving embedded null bytes in the author name. That can come another day, I suppose. Jonathan Nieder (4): vcs-svn: make reading of properties binary-safe vcs-svn: remove buffer_read_string vcs-svn: avoid unnecessary copying of log message and author vcs-svn: handle log message with embedded null bytes t/t0081-line-buffer.sh | 35 ++++++---------- t/t9010-svn-fe.sh | 104 +++++++++++++++++++++++++++++++++++++++++++++++ test-line-buffer.c | 6 --- vcs-svn/fast_export.c | 12 +++-- vcs-svn/fast_export.h | 9 ++-- vcs-svn/line_buffer.c | 8 ---- vcs-svn/line_buffer.h | 4 +- vcs-svn/line_buffer.txt | 12 +---- vcs-svn/repo_tree.c | 5 +- vcs-svn/repo_tree.h | 4 +- vcs-svn/svndump.c | 42 +++++++++---------- 11 files changed, 157 insertions(+), 84 deletions(-)