trusteddomainproject / OpenDKIM

Other
97 stars 52 forks source link

SEGV caused by typo in config file #197

Open mike-udel-edu opened 10 months ago

mike-udel-edu commented 10 months ago

1) IP of host in question in TrustedHosts 2) A line of the form *@a.b.school.edu was added to the SigningTable. Note that the key name was accidentally omitted. 3) The config was accepted with the typo. 4) When an address from the TrustedHost that matched the above bad config entry was processed, OpenDKIM segfaulted (SEGV).

Not a big deal. For some reason it took me far too long to spot the typo, but that's on me. If nothing else, this comment may become searchable and help someone else in the future.

Mike

futatuki commented 8 months ago

Perhaps duplicated #118, and I cannot reproduce it (opendkim detects error, and then exit without serving). What your code base? I want to know where it had already been fixed or not been fixed and could trigger in some conditions.