BIND 10 #1783: auth could cause duplicate buffer free on exception
BIND 10 Development
do-not-reply at isc.org
Thu Mar 15 21:49:13 UTC 2012
#1783: auth could cause duplicate buffer free on exception
-------------------------------------+-------------------------------------
Reporter: jinmei | Owner:
Type: defect | Status: new
Priority: high | Milestone:
Component: b10-auth | Sprint-20120320
Sensitive: 0 | Keywords:
Sub-Project: DNS | Defect Severity: N/A
Estimated Difficulty: 0 | Feature Depending on Ticket: auth
Total Hours: 0 | performance
| Add Hours to Ticket: 0
| Internal?: 0
-------------------------------------+-------------------------------------
While looking into a regression due to #1600
(http://bind10.isc.org/ticket/1600#comment:36),
I noticed the deferred task of providing stronger exception guarantee
was more serious - in fact it would be a more fundamental exception
safety issue: if toWire() fails in processNotify() with an exception,
the renderer holds the buffer until the next query, but in the case of
TCP it might have been already deleted by the DNS server object.
So it could lead to a duplicate free (that should be happening in the
regression, btw).
So I'm going to fix the issue right now.
--
Ticket URL: <http://bind10.isc.org/ticket/1783>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list