Uploaded image for project: 'HPCC'
  1. HPCC
  2. HPCC-24703

Sanitize checking catches invalid member in bison generated code

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.8.48
    • Component/s: Code Generator
    • Labels:
      None

      Description

      The bison generated code for the hql parser contains the following line:

      yyval=yyvsp[1-yylen];

      if yylen is 0 this can cause an assignment of an uninitialized member.  This class contains an enumerated member - which is then failing because of an out of range range in a copy constructor/assignment.

       

        Attachments

          Activity

            People

            • Assignee:
              ghalliday Gavin Halliday
              Reporter:
              ghalliday Gavin Halliday
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: