Bug 1044026

Summary: crash in rbtdb after two sucessive getoriginnode() calls
Product: Red Hat Enterprise Linux 7 Reporter: Petr Spacek <pspacek>
Component: bindAssignee: Tomáš Hozza <thozza>
Status: CLOSED CURRENTRELEASE QA Contact: Jan Ščotka <jscotka>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.0CC: jscotka, ovasik
Target Milestone: rcKeywords: Patch
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: bind-9.9.4-9.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-13 09:54:44 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 829395    
Attachments:
Description Flags
reproducer which demonstrates the crash
none
fix from ISC none

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.