[DTrace-devel] [oracle/dtrace-utils] ba133d: cg: fix tstring leak in translator members that yi...

Kris Van Hees noreply at github.com
Sat Aug 5 02:14:58 UTC 2023


  Branch: refs/heads/kvh/2.0-branch-dev-ip
  Home:   https://github.com/oracle/dtrace-utils
  Commit: ba133d6a62580f779a98af5d4429bbd21ffad06d
      https://github.com/oracle/dtrace-utils/commit/ba133d6a62580f779a98af5d4429bbd21ffad06d
  Author: Kris Van Hees <kris.van.hees at oracle.com>
  Date:   2023-08-04 (Fri, 04 Aug 2023)

  Changed paths:
    M libdtrace/dt_cg.c

  Log Message:
  -----------
  cg: fix tstring leak in translator members that yield string values

When a translator member yields a string value, the tstring holding the
value was not properly tracked.  This resulted in an assertion failure
in test/demo/ip/ipproto.d.

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


  Commit: 8200fea4b0070117902a4665e09f4901165f80d7
      https://github.com/oracle/dtrace-utils/commit/8200fea4b0070117902a4665e09f4901165f80d7
  Author: Kris Van Hees <kris.van.hees at oracle.com>
  Date:   2023-08-04 (Fri, 04 Aug 2023)

  Changed paths:
    M libdtrace/Build
    M libdtrace/dt_open.c
    A libdtrace/dt_prov_ip.c
    M libdtrace/dt_provider.h
    M libdtrace/ip.d
    M test/demo/ip/ipproto.d
    M test/unittest/funcs/tst.inet_ntoa.d

  Log Message:
  -----------
  Implement the ip provider

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


Compare: https://github.com/oracle/dtrace-utils/compare/5f3b36ddb1a6...8200fea4b007



More information about the DTrace-devel mailing list