[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gawk: free_wstr() invalid write
From: |
Dmitry V. Levin |
Subject: |
gawk: free_wstr() invalid write |
Date: |
Mon, 18 Dec 2006 18:27:52 +0300 |
Hi,
free_wstr() zeroes wstptr and wstlen pointers even if WSTRCUR flag is not
set, which is wrong and may lead to invalid write, similar to invalid free
in str2wstr().
Proposed fix is attached.
--
ldv
gawk-3.1.5-alt-free_wstr.diff
Description: Text document
pgp06c7VZi3ch.pgp
Description: PGP signature
- gawk: free_wstr() invalid write,
Dmitry V. Levin <=