]> git.notmuchmail.org Git - notmuch/commit
linke_message: Avoid segfault when In-Reply-to header is empty.
authorCarl Worth <cworth@cworth.org>
Wed, 18 Nov 2009 09:36:30 +0000 (01:36 -0800)
committerCarl Worth <cworth@cworth.org>
Wed, 18 Nov 2009 09:36:30 +0000 (01:36 -0800)
commitfc3a3be33716675a4169ab4265a28250764b283d
tree3be711a076a5fe8053a77829a2281eb860395837
parent024cdf8e3c2e6dd54687c814703e800788b2eebc
linke_message: Avoid segfault when In-Reply-to header is empty.

This was recently introduced in commit:

64c03ae97f2f5294c60ef25d7f41849864e6ebd3

which was adding extra checks to avoid adding a self-referencing
message.

How many times am I going to fix a dumb regression like this and say
"we really need a test suite" before I actually sit down and write the
test suite?
lib/database.cc