[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gawk: free_wstr() invalid write
From: |
Andrew J. Schorr |
Subject: |
Re: gawk: free_wstr() invalid write |
Date: |
Mon, 15 Jan 2007 16:32:06 -0500 |
User-agent: |
Mutt/1.4.2.1i |
Hi,
On Mon, Dec 18, 2006 at 06:27:52PM +0300, Dmitry V. Levin wrote:
> 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().
Do you have a test case showing this problem? It's not clear to me
why zeroing wstptr and wstlen even if WSTRCUR is not set is harmful
(other than being a waste of cycles)...
Thanks,
Andy