Bug#416999: [EMAIL PROTECTED]: Bug#416999: mairix: segfault on invalid message header in nvp.c]

2007-04-03 Thread Richard Curnow
Hi Ken, On Sun, Apr 01, 2007 at 03:15:43PM -0400, Benj. Mako Hill wrote: > > Package: mairix > Version: 0.20-1 > Severity: important > Tags: patch > > Hello, > > make_nvp() crashes if the input string is not valid, because > nvp_next_state may return -1. Changing -1 indicates that the state m

Bug#416999: [EMAIL PROTECTED]: Bug#416999: mairix: segfault on invalid message header in nvp.c]

2007-04-01 Thread Benj. Mako Hill
Thanks Ken for the bug report and for the patch! I'm forwarding this to Richard Curnow, the author and upstream maintainer for Mairix. If he doesn't object loudly and is not planning a new release of Mairix soon, I'll probably fix this in the Debian package. Regards, Mako -- Benjamin Mako Hill

Bug#416999: mairix: segfault on invalid message header in nvp.c

2007-03-31 Thread Chung-chieh Shan
Package: mairix Version: 0.20-1 Severity: important Tags: patch Hello, make_nvp() crashes if the input string is not valid, because nvp_next_state may return -1. Changing current_state = nvp_next_state(current_state, tok); to if (0 > (current_state = nvp_next_state(current_state, tok)