• Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Undefined Undefined
    • rhel-10.0.beta
    • rhel-10.0.beta
    • openscap
    • None
    • None
    • None
    • rhel-sst-security-compliance
    • ssg_security
    • None
    • False
    • Hide

      None

      Show
      None
    • No
    • None
    • None
    • None
    • Unspecified Release Note Type - Unknown
    • None

      What were you trying to do that didn't work?

      During Tier1 regression testing with openscap-1.3.10, I've hit memory leaks with file_test and with rpmverifyfile_test:

      ==5956== LEAK SUMMARY:
      ==5956==    definitely lost: 128 bytes in 2 blocks
      ==5956==    indirectly lost: 128 bytes in 3 blocks
      ==5956==      possibly lost: 33,255 bytes in 123 blocks
      ==5956==    still reachable: 59,707 bytes in 647 blocks
      ==5956==         suppressed: 513 bytes in 1 blocks 

      During openscap-1.3.9 testing, the issue was not there.

      Please provide the package NVR for which bug is seen:

      openscap-scanner-1.3.10-2.el10.x86_64

      How reproducible:

      100%

      Steps to reproduce

      1. Use attached files
      2. # valgrind --leak-check=full oscap oval eval rpmverifyfile.oval.xml
      3. # valgrind --leak-check=full oscap oval eval file.oval.xml

      Expected results

      No memory leaks.

      Actual results

      Memory leaks.

        1. file.oval.xml
          2 kB
          Milan Lysonek
        2. rpmverifyfile.oval.xml
          2 kB
          Milan Lysonek

              jcerny@redhat.com Jan Cerny
              mlysonek@redhat.com Milan Lysonek
              Jan Cerny Jan Cerny
              SSG Security QE SSG Security QE
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: