commit | 9543656cc32fda48fc463f332ee20e91eed2b768 | [log] [tgz] |
---|---|---|
author | Alexander Monakov <amonakov@ispras.ru> | Sun Mar 06 20:22:38 2016 +0300 |
committer | Rich Felker <dalias@aerifal.cx> | Sun Mar 06 13:33:52 2016 -0500 |
tree | 84f79e285a1aa86c18bcc7015f07568afb3f61c2 | |
parent | 589aefa5b061647e8b9ad9bca3aaa8dc6222460a [diff] |
env: avoid leaving dangling pointers in __env_map This is the minimal fix for __putenv leaving a pointer to freed heap storage in __env_map array, which could later on lead to errors such as double-free.