Leafnode 1.9.43
I access a news server with a group named br.comp.so.windows and
br.comp.so.windows.2003 for example.
So Leafnode manages this as:
tux /var/spool/news/br/comp/so/windows$ ls
-2003/ 11 13 15 17 19 20 22 24 26 28 3 31 33 35 37 39
40 42 44 5 7 9 xp/
10 12 14 16 18 2 21 23 25 27 29 30 32 34 36 38 4 41
43 45 6 8 me/
putting a "-" before the group "number", right?
The problem is, when I try to access br.comp.so.windows I get:
Oct 16 14:44:48 tux leafnode[6440]: connect from tux.dummy.net
(127.0.0.1) to tux.dummy.net (127.0.0.1) (my fqdn: dummy.net)
Oct 16 14:44:49 tux leafnode[6440]: malloc(-16032) failed: allocating
overview array
Oct 16 14:44:49 tux inetd[118]: pid 6440: exit status 1
So I think leafnode is having problems with the "-2003" directory right?
Is it a bug? Thanks!
Logged In: YES
user_id=2788
Dniel,
it seems you have found a bug.
Can you try the attached patch and let me know if that fixes the
problem?
Technically, strtoul parses negative numbers rather than skipping over
them, which appears to have caused the problem.
only look at files when their first character of the name is a digit
Logged In: YES
user_id=634287
Hi! I tried the patch and it worked perfectly.
Thanks.
PS: I changed the status of this bug report to "Closed", ok?
Logged In: YES
user_id=2788
Yes, changing to "Closed" status was right.
The patch will be part of the upcoming leafnode 1.9.44 release.
Release candidates can be downloaded from
http://mandree.home.pages.de/leafnode/