Package: tokyotyrant Version: 0.9.19-2 Severity: normal Hi,
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 'wontfix'. Cheers, Sebastian -- 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
signature.asc
Description: Digital signature

