[bug #49424] [NSMiniWindowView setImage] crashes with nil as image parameter

Fred Kiefer <[email protected]>
Newsgroups gmane.comp.lib.gnustep.bugs
Message-ID <[email protected]>
Update of bug #49424 (project gnustep):

                  Status:                    None => Ready For Test         
             Assigned to:                    None => FredKiefer             
             Open/Closed:                    Open => In Test                

    _______________________________________________________

Follow-up Comment #1:

I just applied a tiny patch that should fix this issue. You should try this
code with the SVN version of GNUstep. The problem you did get was with a
method that returns a structure being sen to a nil object. On most
architectures this gets handled correctly by the Objective-C runtime but it
may cause a segmentation fault on Sparc and other special hardware. 

This change will be included in the next release of GNustep gui. I don't know
when this will happen but the version will be 0.26. This should be visible in
the library version but I am not aware of any runtime check for it. For
historical reasons base and gui are no Frameworks and this makes reporting a
version number harder.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?49424>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.