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

Re: [leafnode-list] [ANNOUNCE] First Leafnode-2.0 beta version



On Fri, Oct 27, 2000 at 06:41:37PM +0200, Joerg Dietrich wrote:

Sorry for replying to myself.

> Yes. Look at the way new is calculated. If art is not present in
> the xoverinfo array new=0 is a possible outcome. If you then call
> helpfindxover( article, low, new-1 );
> new will not be -1 as it as declared as an unsigned long, but

That is, of course, not new, but high in the next instance of
helpfindxover()

> UNSIGNED_LONG_MAX, which for sure leads to a segfault when you
> try to acces xoverinfo[new].artno.

Same here.

Hope it is clear now,
	Jo:rg

-- 
Fortune cookie of the day:
One family builds a wall, two families enjoy it.

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