[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


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.


Attachment: gawk-3.1.5-alt-free_wstr.diff
Description: Text document

Attachment: pgp06c7VZi3ch.pgp
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]