diff options
| author | Adam Tkac <atkac@fedoraproject.org> | 2007-08-14 10:00:47 +0000 |
|---|---|---|
| committer | Adam Tkac <atkac@fedoraproject.org> | 2007-08-14 10:00:47 +0000 |
| commit | 2fa0ead86dc1b8036db888f8c8ff16859a0e3fa4 (patch) | |
| tree | c9df66f8d810de732320b166bd37d1e87621ff5d /bind-9.4-update.patch | |
| parent | 8850b7609577afcee2e595392037b4a3348ba996 (diff) | |
- named could crash when deleting SRV record with UPDATE (#251336)bind-9_4_1-9_P1_fc7
Diffstat (limited to 'bind-9.4-update.patch')
| -rw-r--r-- | bind-9.4-update.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/bind-9.4-update.patch b/bind-9.4-update.patch new file mode 100644 index 0000000..80eeef6 --- /dev/null +++ b/bind-9.4-update.patch @@ -0,0 +1,15 @@ +diff -up bind-9.4.1-P1/lib/dns/message.c.update bind-9.4.1-P1/lib/dns/message.c +--- bind-9.4.1-P1/lib/dns/message.c.update 2007-08-14 10:53:25.000000000 +0200 ++++ bind-9.4.1-P1/lib/dns/message.c 2007-08-14 10:54:52.000000000 +0200 +@@ -1308,6 +1308,11 @@ getsection(isc_buffer_t *source, dns_mes + rdata->type = rdtype; + rdata->flags = DNS_RDATA_UPDATE; + result = ISC_R_SUCCESS; ++ } else if (rdclass == dns_rdataclass_none && ++ msg->opcode == dns_opcode_update && ++ sectionid == DNS_SECTION_UPDATE) { ++ result = getrdata(source, msg, dctx, msg->rdclass, ++ rdtype, rdatalen, rdata); + } else + result = getrdata(source, msg, dctx, rdclass, + rdtype, rdatalen, rdata); |
