Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 211752

Summary: net-dns/bind-9.4.1_p1 USE="dlz postgres": crash when has no rights to access PostgreSQL table
Product: Gentoo Linux Reporter: Chebotarev Roman <roma>
Component: [OLD] ServerAssignee: Konstantin Arkhipov (RETIRED) <voxus>
Status: RESOLVED UPSTREAM    
Severity: trivial CC: bind+disabled, dertobi123
Priority: Lowest    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Fixes bug 211752 and cuts temporary messages.
Fixes bug 211752 and cuts temporary messages. (new version)
Fixes bug 211752 and cuts temporary messages.

Description Chebotarev Roman 2008-02-28 13:58:57 UTC
*** glibc detected *** /usr/sbin/named: double free or corruption (!prev): 0x0810bf90 ***

Reproducible: Always

Steps to Reproduce:
1. USE="dlz postgresql" emerge net-dns/bind
2. Configure bind ( http://bind-dlz.sourceforge.net/postgresql_driver.html )
3. Database were created with invalid rights. Table owner - "postgres" insetad "bind".
4. Execute any DNS query.
Actual Results:  
Bind crashes.

Expected Results:  
Return correct DNS response.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2008-02-28 14:02:10 UTC
> Doctor, it hurst when I do this!
>> So don't!

Seriously, how about reporting this upstream?
Comment 2 Chebotarev Roman 2008-02-28 14:11:23 UTC
Created attachment 144861 [details, diff]
Fixes bug 211752 and cuts temporary messages.
Comment 3 Chebotarev Roman 2008-03-02 15:41:18 UTC
Created attachment 145091 [details, diff]
Fixes bug 211752 and cuts temporary messages. (new version)
Comment 4 Chebotarev Roman 2008-03-02 18:19:24 UTC
Created attachment 145117 [details, diff]
Fixes bug 211752 and cuts temporary messages.
Comment 5 Tobias Scherbaum (RETIRED) gentoo-dev 2008-05-03 16:56:15 UTC
(In reply to comment #1)
> Seriously, how about reporting this upstream?
> 

Agreed, please report this upstream.