Skip to content
This repository was archived by the owner on Jan 27, 2025. It is now read-only.
This repository was archived by the owner on Jan 27, 2025. It is now read-only.

Buffer overflow processing a .bin #4

@dbedrenko

Description

@dbedrenko

I doubt the file is corrupted in some way, but if it is the program shouldn't crash anyway.

  • .cue file
FILE "Simple 2000 Series Ultimate Vol. 14 - Touhai! Dramatic Mahjong - Ten - Tenhoo Doori no Kaidanji (Japan).bin" BINARY
  TRACK 01 MODE2/2352
    INDEX 01 00:00:00
  • command line used & the screen output
$ bin2iso Simple\ 2000\ Series\ Ultimate\ Vol.\ 14\ -\ Touhai\!\ Dramatic\ Mahjong\ -\ Ten\ -\ Tenhoo\ Doori\ no\ Kaidanji\ \(Japan\).cue

Aug 26 2021, 08:56:50
bin2iso V1.9b - Converts RAW format (.bin) files to ISO/WAV format
               Bob Doiron, ICQ#280251

Check for updates at http://users.andara.com/~doiron


*** buffer overflow detected ***: terminated
[1]    2197819 IOT instruction (core dumped)  bin2iso
  • directory listing of source and files created (with sizes)
$ ls -al *14* 
-rw-r--r-- 1 danb danb 49293216 Dec 24  1996 'Simple 2000 Series Ultimate Vol. 14 - Touhai! Dramatic Mahjong - Ten - Tenhoo Doori no Kaidanji (Japan).bin'
-rw-r--r-- 1 danb danb      169 Dec 24  1996 'Simple 2000 Series Ultimate Vol. 14 - Touhai! Dramatic Mahjong - Ten - Tenhoo Doori no Kaidanji (Japan).cue'
  • bchunk processes the file without issue:
$ bchunk Simple\ 2000\ Series\ Ultimate\ Vol.\ 14\ -\ Touhai\!\ Dramatic\ Mahjong\ -\ Ten\ -\ Tenhoo\ Doori\ no\ Kaidanji\ \(Japan\).bin Simple\ 2000\ Series\ Ultimate\ Vol.\ 14\ -\ Touhai\!\ Dramatic\ Mahjong\ -\ Ten\ -\ Tenhoo\ Doori\ no\ Kaidanji\ \(Japan\).cue Simple\ 2000\ Series\ Ultimate\ Vol.\ 14\ -\ Touhai\!\ Dramatic\ Mahjong\ -\ Ten\ -\ Tenhoo\ Doori\ no\ Kaidanji\ \(Japan\)
binchunker for Unix, version 1.2.2 by Heikki Hannikainen <hessu@hes.iki.fi>
        Created with the kind help of Bob Marietta <marietrg@SLU.EDU>,
        partly based on his Pascal (Delphi) implementation.
        Support for MODE2/2352 ISO tracks thanks to input from
        Godmar Back <gback@cs.utah.edu>, Colas Nahaboo <Colas@Nahaboo.com>
        and Matthew Green <mrg@eterna.com.au>.
        Released under the GNU GPL, version 2 or later (at your option).

Reading the CUE file:

Track  1: MODE2/2352    01 00:00:00

Writing tracks:

 1: Simple 2000 Series Ultimate Vol. 14 - Touhai! Dramatic Mahjong - Ten - Tenhoo Doori no Kaidanji (Japan)01.iso   40/40   MB  [********************] 100 %

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions