Ticket #1953 (closed bug: fixed)
platform/generic/env.c incorrectly frees string passed to putenv()
Reported by: | doughera | Owned by: | jkeenan |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | testing | Version: | 2.11.0 |
Severity: | medium | Keywords: | |
Cc: | doughera | Language: | |
Patch status: | applied | Platform: |
Description
Multiple tests in t/library/cgi_query_hash.t, t/op/gc.t, t/op/profiling/profiling.t, and t/pmc/env.t fail on a platform where putenv() is used because it frees the string envs out from under the system.
Failed Test Stat Wstat Total Fail List of Failed ------------------------------------------------------------------------------- t/library/cgi_query_hash.t 7 5 3-7 t/op/gc.t 139 101 11-111 t/pmc/env.t 16 7 2-3 6 9 15-17 t/profiling/profiling.t 1 256 13 26 1-13
The attached patch fixes this and documents why the string isn't freed.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.