Skip to content

Possible uninitialised values in ffi64.c

Running the clang static analyser when building ghc HEAD throws up 3 possible errors in x86/ffi64.c initialisation / out-of-bounds errors, shown in the attached annotated files showing how they could occur.

Trac metadata
Trac field Value
Version 8.5
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler (FFI)
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information