quadrilateralcowboy icon indicating copy to clipboard operation
quadrilateralcowboy copied to clipboard

Just a bunch of fixes

Open dodomorandi opened this issue 3 years ago • 0 comments

These are just some bugs I found thanks to warnings and sanitizers.

Unfortunately there are quite a lot of misalignment issues related to how memory is allocated (for instance using `R_FrameAlloc) causing UB -- luckly enough this should not be a major issue for x86/x86_64 platforms that support unaligned accesses.

There are also some null pointer dereferencing (here for instance, where ac can be null), but honestly I am not sure how some of these situations should be handled.

dodomorandi avatar Oct 30 '20 21:10 dodomorandi