This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug preprocessor/14461] preprocessor cause buffer overflow
- From: "zack at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Mar 2004 23:45:19 -0000
- Subject: [Bug preprocessor/14461] preprocessor cause buffer overflow
- References: <20040306175746.14461.kutara@sayuri.ne.jp>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From zack at gcc dot gnu dot org 2004-03-06 23:45 -------
Just to confirm what Andrew said:
The Single Unix Standard *requires* mmap to zero-fill to a page boundary.
Not doing this is a potential security hole. Report this to the XFS developers
as a critical bug.
GCC 3.4 does not use mmap and will not be affected by the bug.
zw
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14461