Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 211752 - net-dns/bind-9.4.1_p1 USE="dlz postgres": crash when has no rights to access PostgreSQL table
Summary: net-dns/bind-9.4.1_p1 USE="dlz postgres": crash when has no rights to access ...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Lowest trivial (vote)
Assignee: Konstantin Arkhipov (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-28 13:58 UTC by Chebotarev Roman
Modified: 2008-05-03 16:56 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Fixes bug 211752 and cuts temporary messages. (dlz_double-free_cut-tmp-msgs.patch,6.29 KB, patch)
2008-02-28 14:11 UTC, Chebotarev Roman
Details | Diff
Fixes bug 211752 and cuts temporary messages. (new version) (dlz_double-free_cut-tmp-msgs.patch,6.46 KB, patch)
2008-03-02 15:41 UTC, Chebotarev Roman
Details | Diff
Fixes bug 211752 and cuts temporary messages. (dlz_double-free_cut-tmp-msgs.patch,6.15 KB, patch)
2008-03-02 18:19 UTC, Chebotarev Roman
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.