Projects

Ticket #605 (closed defect: fixed)

Opened 2 years ago

Last modified 21 months ago

Crash when unpacking a string

Reported by: jens.nockert@… Owned by: lsansonetti@…
Priority: minor Milestone: MacRuby 0.6
Component: MacRuby Keywords:
Cc:

Description

Executing something like p ByteString.new("AAAAAAAA").unpack('a8') crashes MacRuby.

I attached a simple patch that seems to fix the problem.

Attachments

0002-Fixed-String-unpack.patch Download (0.6 KB) - added by jens.nockert@… 2 years ago.
Patch

Change History

Changed 2 years ago by jens.nockert@…

Patch

Changed 21 months ago by lsansonetti@…

  • status changed from new to closed
  • resolution set to fixed
  • milestone set to MacRuby 0.6

The ByteString class has been removed in 0.6. The snippet above works fine on a String object.

Note: See TracTickets for help on using tickets.