https://bugs.exim.org/show_bug.cgi?id=3120
Bug ID: 3120
Summary: Crash in pdkim_parse_pubkey_record()
Product: Exim
Version: N/A
Hardware: x86
OS: Linux
Status: NEW
Severity: bug
Priority: medium
Component: DKIM
Assignee: tom@???
Reporter: max@???
CC: exim-dev@???
Created attachment 1494
-->
https://bugs.exim.org/attachment.cgi?id=1494&action=edit
reproducer
Pubkey record for domain in question was "v=DKIM1; p= "
Reproduced on 6061fbe9fe65b06d48ac7e8d0d2412ec1d91bbbd , eml attached, key
record for domain replaced to cause crash.
(gdb) bt
#0 pdkim_parse_pubkey_record (raw_record=raw_record@entry=0x1f3e6a18 "v=DKIM1;
p= ") at pdkim.c:650
#1 0x00000000004bf695 in pdkim_key_from_dns (ctx=ctx@entry=0x1f3d5840,
sig=sig@entry=0x1f3d5988, vctx=vctx@entry=0x7ffc759bac10,
errstr=errstr@entry=0x7ffc759bad48) at pdkim.c:1352
#2 0x00000000004c1392 in pdkim_feed_finish (ctx=0x1f3d5840,
return_signatures=return_signatures@entry=0x58e650 <dkim_signatures>,
err=err@entry=0x7ffc759bad48) at pdkim.c:1805
#3 0x00000000004bc3e0 in dkim_exim_verify_finish () at dkim.c:318
#4 0x0000000000469fdb in receive_msg (extract_recip=extract_recip@entry=0) at
receive.c:3522
#5 0x000000000041d820 in handle_smtp_call (fd_polls=<optimized out>,
listen_socket_count=<optimized out>, accept_socket=<optimized out>,
accepted=0x7ffc759bafc0) at daemon.c:564
#6 daemon_go () at daemon.c:2821
#7 0x000000000040f516 in main (argc=<optimized out>, cargv=<optimized out>) at
exim.c:5307
--
You are receiving this mail because:
You are on the CC list for the bug.
--
## subscription configuration (requires account):
##
https://lists.exim.org/mailman3/postorius/lists/exim-dev.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-dev-unsubscribe@???
## Exim details at
http://www.exim.org/
## Please use the Wiki with this list -
http://wiki.exim.org/