[email protected]
[Top] [All Lists]

Bug#566573: marked as forwarded (tokyotyrant: bad error handling)

Subject: Bug#566573: marked as forwarded tokyotyrant: bad error handling
From: Debian Bug Tracking System
Date: Wed, 03 Feb 2010 23:18:10 +0000
Your message dated Thu, 4 Feb 2010 00:02:21 +0100
with message-id <[email protected]>
has caused the   report #566573,
regarding tokyotyrant: bad error handling
to be marked as having been forwarded to the upstream software
author(s) Mikio Hirabayashi <[email protected]>

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]

566573: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=566573
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Subject: [Bug#566573: tokyotyrant: bad error handling]
From: Örjan Persson
Date: Thu, 4 Feb 2010 00:02:21 +0100
Hi Mikio,

I'm the Debian maintainer of Tokyo Tyrant. I received a bug report about
error handling. Is this something you think is reasonable to be improved
in the upstream version of Tyrant?


----- Forwarded message from Sebastian Harl <[email protected]> -----

Date: Sat, 23 Jan 2010 23:34:50 +0100
From: Sebastian Harl <[email protected]>
Reply-To: Sebastian Harl <[email protected]>, [email protected]
To: Debian Bug Tracking System <[email protected]>
Subject: Bug#566573: tokyotyrant: bad error handling
User-Agent: Mutt/1.5.18 (2008-05-17)

Package: tokyotyrant
Version: 0.9.19-2
Severity: normal


some (most? all?) public functions in tokyotyrant verify their arguments
by (ab)using assert(). Thus, any user program passing an invalid
argument will abort. That's not a nice thing to do.

Also, please note that tokyotyrant is currently built using -DNDEBUG,
i.e., assert() will be a no-op. Thus, an invalid argument will probably
cause a segfault in most cases, providing no useful information to the
user about what might be the source of the problem.

I know that it will be quite some work to fix this properly, because
upstream seems to rely on that and does not do any/much error checking.
So, if upstream does not agree with my POV, feel free to mark this bug


Sebastian "tokkee" Harl +++ GnuPG-ID: 0x8501C7FC +++ http://tokkee.org/

Those who would give up Essential Liberty to purchase a little Temporary
Safety, deserve neither Liberty nor Safety.         -- Benjamin Franklin

----- End forwarded message -----

--- End Message ---
<Prev in Thread] Current Thread [Next in Thread>
  • Bug#566573: marked as forwarded (tokyotyrant: bad error handling), Debian Bug Tracking System <=