[DTrace-devel] [oracle/dtrace-utils] 3a5871: Memory corruption fix during dynamic pid probe cre...

Kris Van Hees noreply at github.com
Fri Apr 16 16:23:07 PDT 2021


  Branch: refs/heads/2.0-branch-dev
  Home:   https://github.com/oracle/dtrace-utils
  Commit: 3a587150de254c4f6c572dc8986b3800f7481095
      https://github.com/oracle/dtrace-utils/commit/3a587150de254c4f6c572dc8986b3800f7481095
  Author: Kris Van Hees <kris.van.hees at oracle.com>
  Date:   2021-04-12 (Mon, 12 Apr 2021)

  Changed paths:
    M libdtrace/dt_pid.c

  Log Message:
  -----------
  Memory corruption fix during dynamic pid probe creation

The discovery and creation process for pid probes can sometimes
cause the function name to be replaced in the probe description that
is used to create pid probes.  When that probe description copies
its content from a ECB probe description, we cannot just replace the
function name value and free the original one because other code data
may still hold a reference to that function name string.

Make a copy before doing pid probe processing, and free the copy once
we are done.

Signed-off-by: Kris Van Hees <kris.van.hees at oracle.com>
Reviewed-by: Eugene Loh <eugene.loh at oracle.com>


  Commit: 14a19501cdee5da9a520af16e9afc6f169a9ce74
      https://github.com/oracle/dtrace-utils/commit/14a19501cdee5da9a520af16e9afc6f169a9ce74
  Author: Kris Van Hees <kris.van.hees at oracle.com>
  Date:   2021-04-12 (Mon, 12 Apr 2021)

  Changed paths:
    M NEWS
    M dtrace.spec

  Log Message:
  -----------
  Update NEWS and spec file for errata release 2.0.0-1.5.1

Orabug: 32748968

Signed-off-by: Kris Van Hees <kris.van.hees at oracle.com>


Compare: https://github.com/oracle/dtrace-utils/compare/6871d8dc32ec...14a19501cdee



More information about the DTrace-devel mailing list