Patches: Browse | Submit New | Admin

[#27220] [dbi-0.4.3] dbh.driver_name improperly freeze()s argument

Date:
2009-10-01 04:11
Priority:
1
Submitted By:
Mike Pomraning (pilcrow)
Assigned To:
Mike Pomraning (pilcrow)
Category:
DBI
State:
Open
Summary:
[dbi-0.4.3] dbh.driver_name improperly freeze()s argument

Detailed description
DBI::DatabaseHandle::driver_name= improperly calls #freeze() on its argument, which may flummox callers not expecting
that their argument (the driver name string) is modified and turned immutable.

Will attach patch w/ test case shortly.

Add A Comment: Notepad

Please login


Followup

Message
Date: 2009-10-01 04:29
Sender: Mike Pomraning

(small_fixes branch) git diff -U 1a74259 733f5e3

Attached Files:

Name Description Download
dbi-0.4.3-driver_name.patch Fix and test for improper freeze Download

Changes:

Field Old Value Date By
File Added4753: dbi-0.4.3-driver_name.patch2009-10-01 04:29pilcrow