Subject: Re: Samba core dumps.
To: Matthias Scheler <email@example.com>
From: David Gilbert <firstname.lastname@example.org>
Date: 09/28/1996 23:24:10
>>>>> "Matthias" == Matthias Scheler <email@example.com> writes:
Matthias> David Gilbert said:
>> Yeah... I know... if I'm using Samba, then I must be using
>> <censored>. Anyways... when I run nmbd, I get a core dump.
Matthias> Which version? 1.9.16p2 works fine for me.
That's the version I'm using. I've included my patch. I
havn't looked to see why this ends up here, but a) NetBSD doesn't seem
to allow you to fclose(NULL) and b) I'm using samba slightly
differently such that it tries to do this.
Now... if you look at the code above this patch, there is a
section of code protected against f == NULL, but fclose(NULL) must
work for some systems... not that this knowledge would make me ever
pass a NULL to fclose(), but still...
*** namedbname.c~ Wed Aug 21 04:34:13 1996
--- namedbname.c Sat Sep 28 23:14:54 1996
*** 262,269 ****
--- 262,270 ----
|David Gilbert, PCI, Richmond Hill, Ontario. | Two things can only be |
|Mail: firstname.lastname@example.org | equal if and only if they |
|http://www.pci.on.ca/~dgilbert | are precisely opposite. |