[CDRWin Cuesheet] Invalid image size calculation when image contains subchannels. #587

Open
opened 2026-01-29 15:23:12 +00:00 by claunia · 0 comments
Owner

Originally created by @claunia on GitHub (Jan 9, 2021).

Prerequisites

  • Are you running the latest version?
  • Can you reproduce the problem in the debug version?

Check and fill as appropriate:

  • I was running Aaru under Linux 5.9.14-arch1-1...
  • ...in 64-bit
  • ...using an Intel / AMD processor
    • Image format: CDRWin Cuesheet
    • Application that created the image: CDRWin 3
  • I was checksumming the image

Description

Invalid image size calculation when image contains subchannels.

Exact command line used:

Unit test.

Expected behavior:

Test pass.

Actual behavior:

Incorrect number of sectors detected.

Output of command execution with debug output enabled

Sectors: cdg/report_audiocd.cue
  Expected: 247073
  But was:  257157

   at Aaru.Tests.Images.CDRWin.Test() in /home/claunia/Development/Aaru/Aaru/Aaru.Tests/Images/CDRWin.cs:line 730

Image

cdg/report_audiocd.cue
cdg/test_multi_karaoke_sampler.cue
cooked_cdg/test_multi_karaoke_sampler.cue

Originally created by @claunia on GitHub (Jan 9, 2021). ### Prerequisites * [x] Are you running the latest version? * [x] Can you reproduce the problem in the debug version? ### Check and fill as appropriate: * [x] I was running Aaru under Linux 5.9.14-arch1-1... * [x] ...in 64-bit * [x] ...using an Intel / AMD processor * **Image format**: CDRWin Cuesheet * **Application that created the image**: CDRWin 3 * [x] I was checksumming the image ### Description Invalid image size calculation when image contains subchannels. ### Exact command line used: Unit test. ### Expected behavior: Test pass. ### Actual behavior: Incorrect number of sectors detected. ### Output of command execution with debug output enabled ``` Sectors: cdg/report_audiocd.cue Expected: 247073 But was: 257157 at Aaru.Tests.Images.CDRWin.Test() in /home/claunia/Development/Aaru/Aaru/Aaru.Tests/Images/CDRWin.cs:line 730 ``` ### Image cdg/report_audiocd.cue cdg/test_multi_karaoke_sampler.cue cooked_cdg/test_multi_karaoke_sampler.cue
claunia added the bugdump image format labels 2026-01-29 15:23:12 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: aaru-dps/Aaru-aaru-dps#587