News for hackers. Stuff that matters.
Re:Indices Point Between Elements by arielby on Monday August 24, 2015 @03:34PM (#10112449)
Except you can have a void* that does not have an end address.
Re:Indices Point Between Elements by matchu on Monday August 24, 2015 @04:56PM (#10112881)
Hmm, yeah, void pointers are weird. I'd be inclined to say that its start and end address are the same and it's a range over 0 bytes of memory, and the fact that dereferencing fails is an artifact of the dereferencing operation itself... but I don't know enough about void pointer voodoo to know whether that's actually a consistent interpretation.