🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #6315

ObjC RTS Bug

#6315
From: Manor Askenazi
Date: Mon, 18 Dec 1995 00:00
30 lines
966 bytes
Hi.

I think there is a mistake in the archiving code of the Objective-c
runtime system...

  File: gcc-2.7.2/objc/archive.c

  Locations:

    objc_write_typeline() [line 1038]
    objc_read_type()      [line 1129]

  Offending Line (common to both locations):

    while (*type != _C_STRUCT_E);

  Incorrect Behaviour:

    The resulting behaviour is that when trying to store a struct the 
    RTS goes into an infinite loop.

  Fix:

    The fix is simply to remove the semicolon immediately after the
    conditional.

Regards,

Manor.
Technical Details
Message-ID: <9512182326.AA27561@sfi.santafe.edu>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 113d02,e1cf3fd032754e47,start
X-Google-Attributes: gid113d02,public
From: manor@santafe.edu (Manor Askenazi)
Subject: ObjC RTS Bug
Date: 1995/12/18
Message-ID: <9512182326.AA27561@sfi.santafe.edu>
X-Deja-AN: 122223921
distribution: gnu
sender: daemon@cis.ohio-state.edu
organization: GNUs Not Usenet
newsgroups: gnu.gcc.bug