bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #30218] NSURL's initWithCoder doesn't account for rel being nil in


From: Thomas Davie
Subject: [bug #30218] NSURL's initWithCoder doesn't account for rel being nil in the archive
Date: Tue, 22 Jun 2010 16:07:18 +0000
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_4; en-us) AppleWebKit/534.1+ (KHTML, like Gecko) Version/5.0 Safari/533.16

URL:
  <http://savannah.gnu.org/bugs/?30218>

                 Summary: NSURL's initWithCoder doesn't account for rel being
nil in the archive
                 Project: GNUstep
            Submitted by: beelsebob
            Submitted on: Tue 22 Jun 2010 04:07:17 PM GMT
                Category: Base/Foundation
                Severity: 3 - Normal
              Item Group: Bug
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

Some archives produced by apple contain NSURL with no relative string, this
causes a crash, because initWithString:relativeToURL: may not accept nil as
it's first argument

I've attached a patch to fix it.

My employer Hunted Cow Studios Ltd. asked me to note that I created this
patch on their time :).



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Tue 22 Jun 2010 04:07:17 PM GMT  Name: url.diff  Size: 578B   By:
beelsebob

<http://savannah.gnu.org/bugs/download.php?file_id=20791>

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]