Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37896771
en ru br
ALT Linux repos
S:2.6.4.0.88.9801-alt2
5.0: 2.5.33-alt3
4.1: 2.5.33-alt3
4.0: 2.5.33-alt3
3.0: 2.5.4a-ipl16mdk

Group :: Development/Other
RPM: flex

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: flex-2.5.35-alt-YY_STATE_BUF_SIZE.patch
Download


--- flex-2.5.35/flex.skl
+++ flex-2.5.35/flex.skl
@@ -1500,7 +1500,7 @@ yyFlexLexer::yyFlexLexer( std::istream* arg_yyin, std::ostream* arg_yyout )
 
 m4_ifdef( [[M4_YY_USES_REJECT]],
 [[
-	yy_state_buf = new yy_state_type[YY_STATE_BUF_SIZE];
+	yy_state_buf = new yy_state_type[YY_BUF_SIZE + 2];
 ]],
 [[
 	yy_state_buf = 0;
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin