News for hackers. Stuff that matters.
Re:Null References: The Billion Dollar Mistake – Tony Hoare ... by ArkyBeagle on Monday May 30, 2016 @09:48AM (#11801316)
If you never dereference a null pointer, then there will be no UB of that type.
Re:Null References: The Billion Dollar Mistake – Tony Hoare ... by shultays on Monday May 30, 2016 @10:10AM (#11801418)
I guess it counts as dereferencing. Here is what standard says

"A reference shall be initialized to refer to a valid object or function. Note: in particular, a null reference cannot exist in a well-defined program, because the only way to create such a reference would be to bind it to the “object” obtained by dereferencing a null pointer, which causes undefined behavior"