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

jlib pointer ‘newData’ may be used after free on Ubuntu 22.10

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Not specified
    • Resolution: Fixed
    • 8.10.8
    • 8.10.12
    • JLib
    • None
    • Ubuntu 22.10 GNU 12.2.0

    Description

      09:01:23 /var/lib/jenkins/workspace/CE-Candidate-8.10.2-kinetic/CE/ubuntu-22-10/HPCC-Platform/system/jlib/jptree.cpp:1036:21: error: pointer ‘newData’ may be used after ‘void free(void*)’ [-Werror=use-after-free]09:01:23 1036 | free(newData);09:01:23 | ~~~~~~~~~09:01:23 /var/lib/jenkins/workspace/CE-Candidate-8.10.2-kinetic/CE/ubuntu-22-10/HPCC-Platform/system/jlib/jptree.cpp:1030:17: note: call to ‘void free(void*)’ here*09:01:23* 1030 | free(newData);09:01:23 | ~~~~~~~~~~~

      Attachments

        Activity

          People

            Michael-Gardner Michael Gardner
            xwang2713 Xiaoming Wang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: