Subject: [Boost-bugs] [Boost C++ Libraries] #12403: wave: #include with an empty file causes a crash under Windows
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-08-20 22:31:14
#12403: wave: #include with an empty file causes a crash under Windows
------------------------------+---------------------
Reporter: anonymous | Owner: hkaiser
Type: Bugs | Status: new
Milestone: To Be Determined | Component: wave
Version: Boost 1.61.0 | Severity: Problem
Keywords: |
------------------------------+---------------------
If a file included with #include is processed by boost wave, it will crash
with an access violation under Windows. It doesn't appear to crash under
Linux, though it could still be an issue that just isn't bad enough to
bring down the whole system.
The following is an example:
{{{
#!c++
#include "Empty.h"
int foo()
{
return 0;
}
}}}
Note that Empty.h must be //completely// empty, including no terminating
newline.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/12403> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:20 UTC