diff options
| author | tron <tron@NetBSD.org> | 2010-09-30 12:41:33 +0000 |
|---|---|---|
| committer | tron <tron@NetBSD.org> | 2010-09-30 12:41:33 +0000 |
| commit | 2445ce72d2e644cac3685cdf8730ce5371b46a25 (patch) | |
| tree | 57d0daa63643d36c78f05ae9b1ddb4ebc67794ea /sys/dev/microcode/siop | |
| parent | 06acf46b03cff87a23a4e302cadf7f6076ee63c0 (diff) | |
Be slightly more careful about freeing memory allocated for environment
variables: only free memory if the current value points to the same
memory area as the allocated block. This will prevent crashes if an
application changes the order of the environment array.
Unfortunately this is still not enough to stop zsh 4.2.* from crashing.
zsh 4.3.* works fine before and after this change.
Diffstat (limited to 'sys/dev/microcode/siop')
0 files changed, 0 insertions, 0 deletions
