RE: OpenDKIM Segmentation when using MySQL

From: Murray S. Kucherawy <msk_at_blackops.org>
Date: Mon, 29 Oct 2012 20:36:23 -0700 (PDT)

On Mon, 29 Oct 2012, Adam M. Jacques wrote:
> I am mostly familiar with gdb, I'll see what kind of data I can get you. I
> have attached a copy of my gdb debugging session showing the application
> stepping through the code until the null reference in dkimf_db_walk(). My C
> skills are a bit rusty, but hopefully this will contain a little bit more
> information for you.

I think I've spotted it. Does the attached patch also fix the problem?
It does here.

(The real problem is that your KeyTable specification needs to return
three columns, but you're providing only one "keycol" value. That's now
caught at runtime rather than crashing.)

-MSK


Received on Tue Oct 30 2012 - 03:36:41 PST

This archive was generated by hypermail 2.3.0 : Tue Oct 30 2012 - 03:45:02 PST