Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Dereferencing a nullopt however, gives you an uninitialized value as a pointer, which can be a serious security issue.

Is this really true? Surely it just gives you an uninitialised `int` (or whatever is in the `optional`)?



Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: