You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using an old version of the Bison parser, CoinModelUseful2.cpp, and I'm getting the following issue while scanning my code:
89646 Out-of-bounds access Memory not owned by this buffer will be accessed, causing memory corruption or incorrect computations.
In yyparse(symrec *&, char const *, char *&, int &, double const *, CoinModelHash const &, int &, double, int &, YYSTYPE &, int &): Access of memory past the end of a memory buffer (CWE-119)
This is on line 1034 of CoinModelUseful2.cpp:
YYSTACK_RELOCATE (yyss);
I'm wondering what is the best way for me to fully update my parser? I see that my one is as follows:
/* $Id: CoinModelUseful2.cpp 1396 2011-03-01 10:42:29Z forrest $ /
// Copyright (C) 2005, International Business Machines
// Corporation and others. All Rights Reserved.
/ A Bison parser, made by GNU Bison 1.875c. */
I can't even find CoinModelUseful2.cpp in the current codebase so I'm wondering if it's a non-trivial task to update it?
The text was updated successfully, but these errors were encountered:
callanac
changed the title
Need to updatemy old version of the Bison parser, using CoinModelUseful2.cpp
Need to update my old version of the Bison parser, using CoinModelUseful2.cpp
Jun 11, 2024
I'm not sure I completely understand the situation or what you're asking exactly, but CoinModelUseful2.cpp is part of [CoinUtils}(https://github.com/coin-or/CoinUtils/), not Clp. See, e.g., here. I've transferred the issue to that project. Hopefully, someone who knows more can help.
I'm using an old version of the Bison parser, CoinModelUseful2.cpp, and I'm getting the following issue while scanning my code:
89646 Out-of-bounds access Memory not owned by this buffer will be accessed, causing memory corruption or incorrect computations.
In yyparse(symrec *&, char const *, char *&, int &, double const *, CoinModelHash const &, int &, double, int &, YYSTYPE &, int &): Access of memory past the end of a memory buffer (CWE-119)
This is on line 1034 of CoinModelUseful2.cpp:
YYSTACK_RELOCATE (yyss);
I'm wondering what is the best way for me to fully update my parser? I see that my one is as follows:
/* $Id: CoinModelUseful2.cpp 1396 2011-03-01 10:42:29Z forrest $ /
// Copyright (C) 2005, International Business Machines
// Corporation and others. All Rights Reserved.
/ A Bison parser, made by GNU Bison 1.875c. */
I can't even find CoinModelUseful2.cpp in the current codebase so I'm wondering if it's a non-trivial task to update it?
The text was updated successfully, but these errors were encountered: