|
From: | Adam Fedor |
Subject: | Re: [PATCH] Fix core dumps in make_services |
Date: | Sat, 12 Jun 2004 21:06:38 -0600 |
On Jun 12, 2004, at 2:17 PM, Dirk Meyer wrote:
Do you still have these problems with gnustep-base-1.9.2? That's very odd, since the patch you sent is essentially in NSFileManager already. It does something likeI tracked down that make_services cause a core dump. 1. gnustep_base doess access an argumnet by "strlen(nil)" 2. make_services calls "createDirectoryAtPath" with usrRoot == nil. (first call in line 205) To repeat do aus user "root" $ rm -rf /root/GNUStep $ sh -c "( . /usr/local/GNUstep/System/Makefiles/GNUstep.sh )" I added a patch, to catch this exeption in gnustep_base. patch updated to apply to 1.9.2
if ([path length] == 0)but if path is nil, then the result should be 0, so it should still work even if it isn't pretty.
[Prev in Thread] | Current Thread | [Next in Thread] |