From d0ab62a5bf8efefec683e7de91656befa010a7af Mon Sep 17 00:00:00 2001 From: David Klann Date: Sun, 17 Jan 2021 15:55:29 -0600 Subject: [PATCH 1/2] Be less 'greedy' copying CartChunk Cut ID data. QStrings, like C strings end with "0", so stop when reaching the first instance of 0. Signed-off-by: David Klann --- AUTHORS | 3 +++ ChangeLog | 3 +++ lib/rdwavefile.cpp | 1 + 3 files changed, 7 insertions(+) diff --git a/AUTHORS b/AUTHORS index cfa052bb..4e0add50 100644 --- a/AUTHORS +++ b/AUTHORS @@ -54,3 +54,6 @@ Chris Smowton Scott Spillers The original Icon set +David Klann + Some small bug fixes + diff --git a/ChangeLog b/ChangeLog index 4205f993..2414f258 100644 --- a/ChangeLog +++ b/ChangeLog @@ -20702,3 +20702,6 @@ 2020-12-24 Fred Gleason * Modified the schema map in rddbmgr(8) to position schema update 347 as part of v3.6.x. +2021-01-17 David Klann + * Fixed bug in lib/rdwavefile.cpp that copied CartChunk Cut ID + past the end of the first "NULL" character. diff --git a/lib/rdwavefile.cpp b/lib/rdwavefile.cpp index 7cee7d9d..d6534fcb 100644 --- a/lib/rdwavefile.cpp +++ b/lib/rdwavefile.cpp @@ -4644,6 +4644,7 @@ QString RDWaveFile::cutString(char *buffer,unsigned start_point,unsigned size) QString string; for(unsigned i=start_point;i Date: Mon, 5 Apr 2021 14:06:39 -0400 Subject: [PATCH 2/2] Updated 'ChangeLog' --- ChangeLog | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 2414f258..7d601ae6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -20702,6 +20702,6 @@ 2020-12-24 Fred Gleason * Modified the schema map in rddbmgr(8) to position schema update 347 as part of v3.6.x. -2021-01-17 David Klann +2021-04-05 David Klann * Fixed bug in lib/rdwavefile.cpp that copied CartChunk Cut ID past the end of the first "NULL" character.