tools

various tools
git clone git://deadbeef.fr/tools.git
Log | Files | Refs | README | LICENSE

commit 9eb5ce660b9b835be368baa9e8acfae03e3bcbfa
parent 287a2a29795090fe024a3cc876e5957ebbead3ee
Author: Morel BĂ©renger <berenger.morel@neutralite.org>
Date:   Tue, 14 May 2019 05:55:14 +0200

fixed reading memory past the end

Diffstat:
Mmerge.cpp | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/merge.cpp b/merge.cpp @@ -216,7 +216,7 @@ int main( void ) while( start != cache_end && field_index < field_cache.size() ) { auto end = last_line.end(); - if( *end == 0 ) + if( last_line.back() == 0 ) { --end; }