[DTrace-devel] [PATCH 2/2] consume: avoid a bad prid causing a core dump

Nick Alcock nick.alcock at oracle.com
Fri Mar 21 15:06:28 UTC 2025


On 21 Mar 2025, Kris Van Hees via DTrace-devel said:

> We were not guarding against prid being DTACE_IDNONE (0), which would
> cause a core dump if it was encountered in a trace record.

... hm, I had no idea that the dt_probes array was 1-based, but I guess
given that the NONE id is 0 it kind of has to be.

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

Reviewed-by: Nick Alcock <nick.alcock at oracle.com>



More information about the DTrace-devel mailing list