Bug 1044026 - crash in rbtdb after two sucessive getoriginnode() calls
Summary: crash in rbtdb after two sucessive getoriginnode() calls
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: bind
Version: 7.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Tomáš Hozza
QA Contact: Jan Ščotka
URL:
Whiteboard:
Depends On:
Blocks: 829395
TreeView+ depends on / blocked
 
Reported: 2013-12-17 16:12 UTC by Petr Spacek
Modified: 2014-06-18 01:09 UTC (History)
2 users (show)

Fixed In Version: bind-9.9.4-9.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-06-13 09:54:44 UTC
Target Upstream Version:


Attachments (Terms of Use)
reproducer which demonstrates the crash (2.01 KB, text/x-csrc)
2013-12-17 16:12 UTC, Petr Spacek
no flags Details
fix from ISC (1.34 KB, patch)
2013-12-17 16:15 UTC, Petr Spacek
no flags Details | Diff

Description Petr Spacek 2013-12-17 16:12:53 UTC
Created attachment 837755 [details]
reproducer which demonstrates the crash

Description of problem:
Two calls to BIND's function dns_db_getoriginnode() are fatal if there is no data at the node.

This problem is known upstream as [ISC-Bug #35080].

Version-Release number of selected component (if applicable):
bind-9.9.4-8.el7

How reproducible:
100 %

Steps to Reproduce:
1. Use attached reproducer.

Actual results:
You will see a crash.

Expected results:
It should not crash.

Additional info:
This bug impacts bind-dyndb-ldap developement.

Comment 6 Petr Spacek 2014-04-03 13:08:59 UTC
Command to build the reproducer:
$CC -std=c99 -ldns -lisc -I/usr/include/bind9 -g -O0 -Wall -Wextra -o reproducer reproducer.c

Comment 8 Ludek Smid 2014-06-13 09:54:44 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.


Note You need to log in before you can comment on or make changes to this bug.