commit 153fcab6c3cb7393d2686ec3bc08209cb2035eeb parent d5611705600814a96bc63a4aaca9a667e7192a26 Author: Morel BĂ©renger <berenger.morel@neutralite.org> Date: Tue, 14 May 2019 05:54:28 +0200 fixed a segfault when no FIELD_SEP are present on current line Diffstat:
M | merge.cpp | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/merge.cpp b/merge.cpp @@ -164,7 +164,7 @@ int main( void ) { ++dst_ptr; sep = SEP_START; - for( ; sep != SEP_END && *dst_ptr != *sep; ++sep ){} + for( ; sep != SEP_END && *dst_ptr && *dst_ptr != *sep; ++sep ){} } ++dst_ptr; continue;