Bug 2096248
Summary: | delv crashes with malformed /etc/bind.keys file | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Frantisek Sumsal <fsumsal> |
Component: | bind | Assignee: | Petr Menšík <pemensik> |
Status: | CLOSED UPSTREAM | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 36 | CC: | aegorenkov.91, anon.amish, dns-sig, mruprich, pemensik, vonsch, zdohnal |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2022-08-25 10:39:57 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: |
Description
Frantisek Sumsal
2022-06-13 11:34:16 UTC
Oh, interesting bug. delv code uses the same parser buffer on delv.c:849. But it does not ensure file is always closed on return. cfg_parse_file might return parser with unclosed lexer. Have candidate fix, just call cfg_parser_reset() on the parser after a failure. That should ensure original source would be closed. Upstream proposal was modified and merged. Would be part of 9.16.33 release, merged right after 9.16.32 release. Postponing the fix to next release rebase, I think it is not important to fix now. |