[DTrace-devel] [PATCH] cg: ensure argument NULL pointer check detects constant 0 values

Eugene Loh eugene.loh at oracle.com
Mon Sep 18 16:20:59 UTC 2023


Reviewed-by: Eugene Loh <eugene.loh at oracle.com>

Is there a broader problem to solve here?  Other places where this same 
mistake is made?  (I did a quick look and didn't notice any.)

Also, both tests should have .r files.  A problem with err.* tests is 
that there are too many ways for something to fail, but the only way the 
test should pass is if the particular failure mode is observed.  This is 
easily handled by routinely adding .r files.




More information about the DTrace-devel mailing list