You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The config option "Minimum" can be set to "100%". Rationale: I do not want partial signed messages.
This setting worked well until someone sent a message with no body at all. Then, OpenDKIM fail.
In develop branch, the variable name pct has been changed to signpct but it contains same logic. Also I could confirm that it causes "SIGFPE, Arithmetic exception. Integer divide by zero.".
I think in the case bodylen == 0 the status should not be DKIM_STATUS_PARTIAL.
futatuki
added a commit
to futatuki/OpenDKIM
that referenced
this issue
Aug 24, 2024
The config option "Minimum" can be set to "100%". Rationale: I do not want partial signed messages.
This setting worked well until someone sent a message with no body at all. Then, OpenDKIM fail.
The reason is probably this code
no body mean
bodylen == 0
-> division by zero -> boom(but it's not verified by a debugger or stack trace)
Fortunately, the code allow other ways to express the same "I do not want partial signed messages":
The text was updated successfully, but these errors were encountered: