Skip to content
GitLab
Explore
Sign in
Register
Don't use fn pointers when they can be NULL: it's UB
Code
Review changes
Check out branch
Download
Patches
Plain diff
AdminXVII
requested to merge
fix-ub-fn-pointers
into
master
Aug 11, 2019
Overview
0
Commits
1
Pipelines
1
Changes
1
Expand
Using nullable fn pointers is UB in rust. Use an option and/or an union to avoid it.
Merge request reports