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

Re: [leafnode-list] bug in "NEXT" article id ?

Volker Apelt <va@xxxxxxxxxxxxxxxxxxxxxxxxxxx> writes:

> The article id in leafnodes reply to "NEXT" seems odd.
>         next
>         223 3221220196 <memo.200....
> id  3221220196  is ridiculous high (and doesn't exist) .
> entering "STAT" returns the correct id !

I broke it when moving global variables into the functions; I forgot to
change a artno to *artno. 

The problem went unnoticed because nntpprintf has no format checking
unlike syslog and printf (a major disadvantage of any printf-style
function which does not do type checking). Will release a new snapshort
shortly which fixes these and which introduces format string checking
for nntpprintf. Thanks for reporting this.

Matthias Andree

leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx -- mailing list for leafnode
To unsubscribe, send mail with "unsubscribe" in the subject to the list