Uploaded image for project: 'Hot Rod Native client'
  1. Hot Rod Native client
  2. HRCPP-163

.NET hotrod client: using released memory

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Critical Critical
    • 7.0.0.CR2
    • 6.0.2.Final
    • .NET
    • None

      In C# - C++ SWIG glue (swig/hotrodcs.i) the C++ ByteArray(unsigned char *, size_t) constructor gets called from C# ByteArray(byte[]) constructor with pointer to data created by PInvoke marshaller. The ByteArray stores this pointer, but the data are released after the constructor call.
      Later, these data are used (the ByteArray is passed as argument to some functions) but the memory is already released, and the content is corrupt.

            [HRCPP-163] .NET hotrod client: using released memory

            Dave Stahl <dstahl@redhat.com> changed the Status of bug 1098041 from VERIFIED to CLOSED

            RH Bugzilla Integration added a comment - Dave Stahl <dstahl@redhat.com> changed the Status of bug 1098041 from VERIFIED to CLOSED

            Reopening to change the fix version.

            Ion Savin (Inactive) added a comment - Reopening to change the fix version.

            Radim Vansa <rvansa@redhat.com> changed the Status of bug 1098041 from MODIFIED to VERIFIED

            RH Bugzilla Integration added a comment - Radim Vansa <rvansa@redhat.com> changed the Status of bug 1098041 from MODIFIED to VERIFIED

            Radim Vansa <rvansa@redhat.com> changed the Status of bug 1098041 from ON_QA to MODIFIED

            RH Bugzilla Integration added a comment - Radim Vansa <rvansa@redhat.com> changed the Status of bug 1098041 from ON_QA to MODIFIED

            Tristan Tarrant <ttarrant@redhat.com> changed the Status of bug 1098041 from MODIFIED to ON_QA

            RH Bugzilla Integration added a comment - Tristan Tarrant <ttarrant@redhat.com> changed the Status of bug 1098041 from MODIFIED to ON_QA

            Ion Savin <isavin@redhat.com> changed the Status of bug 1098041 from NEW to MODIFIED

            RH Bugzilla Integration added a comment - Ion Savin <isavin@redhat.com> changed the Status of bug 1098041 from NEW to MODIFIED

            My first fix was not correct.

            Radim Vansa (Inactive) added a comment - My first fix was not correct.

              rvansa1@redhat.com Radim Vansa (Inactive)
              rvansa1@redhat.com Radim Vansa (Inactive)
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: