Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 01 Jan 1997 13:52:37 +0100
From:      Poul-Henning Kamp <phk@critter.dk.tfs.com>
To:        current@freebsd.org
Subject:   <sys/queue.h> potential for panic
Message-ID:  <12720.852123157@critter.dk.tfs.com>

next in thread | raw e-mail | index | archive | help

TAILQ_REMOVE and STAILQ_REMOVE would panic with a zero dereference
if you tried to remove something not on the queue.

Wouldn't it make sense to avoid that, or would the overhead be considered
prohibitive ?

--
Poul-Henning Kamp           | phk@FreeBSD.ORG       FreeBSD Core-team.
http://www.freebsd.org/~phk | phk@login.dknet.dk    Private mailbox.
whois: [PHK]                | phk@tfs.com	    TRW Financial Systems, Inc.
Future will arrive by its own means, progress not so.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?12720.852123157>