Skip to content

Need to update my old version of the Bison parser, using CoinModelUseful2.cpp #229

@callanac

Description

@callanac

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions