[ISO9660] Infinite directory depth creation when extracting files from HomeCD 1 coverdisc. #983

Open
opened 2026-01-29 15:35:58 +00:00 by claunia · 1 comment
Owner

Originally created by @claunia on GitHub (Feb 4, 2024).

Originally assigned to: @claunia on GitHub.

Version

Development commit

Commit hash

4825d41460

Tested debug version?

  • Yes

Which operating systems have you used?

  • Windows
  • Linux
  • macOS
  • Other

What is the architectural bit size you're using?

  • 32-bit
  • 64-bit
  • Unsure or unknown

What processor are you using?

  • An Intel or AMD
  • An ARM or Apple Silicon
  • Unsure or unknown

Image format

Raw image format

Application that created the image

dd

What were you doing when it failed?

  • I was converting the image to another format...
  • I was retrieving image information...
  • I was retrieving filesystem information...
  • I was listing the filesystem contents...
  • I was extracting the filesystem contents...
  • I was creating a metadata sidecar...
  • I was checksumming the image...
  • I was verifying the image...
  • I was calculating the image entropy...

Destination image format

Filesystem

ISO9660

Description

Tries to create infinite depth of subdirectories with empty string name.

Exact command line used

aaru fs extract homecd1.iso foo

Expected behavior

Stops creating subdirectories.

Actual behavior

Keeps trying to create a new subdirectory with `` name until stack overflows.

Output of command execution with debug output enabled

Created subdirectory at HomeCD
1_files/iso9660/HOME_CD_1/SHARE/W31/EDUCATIV/TTEACH20////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
///////


### Affected image

148209e8be701f7eadf01f3fab3456b9484ac0cfdc2f0944a16d2e5c09470f3d2a459ea70da9cd614c21927445fd3186beec22a943410f20dc0f43342d82874c  HomeCD 1.iso
Originally created by @claunia on GitHub (Feb 4, 2024). Originally assigned to: @claunia on GitHub. ### Version Development commit ### Commit hash 4825d414604fe30e23ceabc169be94f1b0dcd781 ### Tested debug version? - [X] Yes ### Which operating systems have you used? - [ ] Windows - [X] Linux - [ ] macOS - [ ] Other ### What is the architectural bit size you're using? - [ ] 32-bit - [X] 64-bit - [ ] Unsure or unknown ### What processor are you using? - [X] An Intel or AMD - [ ] An ARM or Apple Silicon - [ ] Unsure or unknown ### Image format Raw image format ### Application that created the image dd ### What were you doing when it failed? - [ ] I was converting the image to another format... - [ ] I was retrieving image information... - [ ] I was retrieving filesystem information... - [ ] I was listing the filesystem contents... - [X] I was extracting the filesystem contents... - [ ] I was creating a metadata sidecar... - [ ] I was checksumming the image... - [ ] I was verifying the image... - [ ] I was calculating the image entropy... ### Destination image format - ### Filesystem ISO9660 ### Description Tries to create infinite depth of subdirectories with empty string name. ### Exact command line used `aaru fs extract homecd1.iso foo` ### Expected behavior Stops creating subdirectories. ### Actual behavior Keeps trying to create a new subdirectory with `` name until stack overflows. ### Output of command execution with debug output enabled ```shell Created subdirectory at HomeCD 1_files/iso9660/HOME_CD_1/SHARE/W31/EDUCATIV/TTEACH20//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// /////// ``` ``` ### Affected image 148209e8be701f7eadf01f3fab3456b9484ac0cfdc2f0944a16d2e5c09470f3d2a459ea70da9cd614c21927445fd3186beec22a943410f20dc0f43342d82874c HomeCD 1.iso
claunia added the bugfilesystem labels 2026-01-29 15:35:58 +00:00
Author
Owner
@claunia commented on GitHub (Feb 4, 2024): ![](https://github.trello.services/images/mini-trello-icon.png) [[ISO9660] Infinite directory depth creation when extracting files from HomeCD 1 coverdisc](https://trello.com/c/nHSmb5pT/87-iso9660-infinite-directory-depth-creation-when-extracting-files-from-homecd-1-coverdisc)
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#983