aboutsummaryrefslogtreecommitdiffstats
path: root/cmake/CheckFileOffsetBits.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2017-12-31 23:19:41 -0800
committerChris Robinson <[email protected]>2017-12-31 23:19:41 -0800
commit6dd1643a701c45fa779ea6da180f120c36c31a97 (patch)
treec2281617aa0ebf9fec4c67f351bbaa3c88ae10a4 /cmake/CheckFileOffsetBits.c
parent48916ebd76811086c877e64820aaa7af4735272a (diff)
Avoid dereferencing a NULL pointer
Even though it's taking the address of a member, it's still technically a derefernce and thus undefined behavior. sizeof doesn't "execute" the expression, so derefering in it instead is fine.
Diffstat (limited to 'cmake/CheckFileOffsetBits.c')
0 files changed, 0 insertions, 0 deletions