| Summary: | php-odbc double free with mysql-connector-odbc64 | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | Karel Volný <kvolny> | |
| Component: | php | Assignee: | Joe Orton <jorton> | |
| Status: | CLOSED NOTABUG | QA Contact: | BaseOS QE - Apps <qe-baseos-apps> | |
| Severity: | unspecified | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 5.8 | CC: | ddumas, jorton, tgl | |
| Target Milestone: | rc | |||
| Target Release: | --- | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | Bug Fix | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 772596 (view as bug list) | Environment: | ||
| Last Closed: | 2012-01-19 10:03:00 UTC | Type: | --- | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Bug Depends On: | ||||
| Bug Blocks: | 772596 | |||
|
Description
Karel Volný
2012-01-09 11:29:41 UTC
Is this like bug 772293, where there ODBC configuration has been specifically configured to use the "wrong" drivers? Does unixODBC have a way to verify the loaded driver is using the correct ABI? (In reply to comment #1) > Is this like bug 772293, where there ODBC configuration has been specifically > configured to use the "wrong" drivers? Sure looks like the same thing. > Does unixODBC have a way to verify the loaded driver is using the correct ABI? Not that I'm aware of :-(. If there were an ABI verification tool for ODBC, likely we'd not have this whole mess to begin with, because it would've noticed that 2.2.12 was misimplementing Microsoft's ABI spec ... (In reply to comment #2) > > Does unixODBC have a way to verify the loaded driver is using the correct ABI? > > Not that I'm aware of :-(. Thinking about that some more ... the driver shlib should have a dependency on libodbc.so.1 or libodbc.so.2 depending on which ABI it was built against. This doesn't result in any runtime failure, because AFAIK the dynamic linker will happily pull in another copy of libodbc if what the application is using is the other one. But it seems like in principle we could add a check to unixODBC to see if the driver is linked against the proper version of libodbc. I have no idea exactly how to do that though, and am not sure if it'd be worth the trouble. |