| ▲ | CryZe 3 days ago | |
You can buffer overflow in fil-c and it won't detect it unless the entire buffer was its own stack or heap allocation with nothing following it (and also it needs to be a multiple of 16 bytes, cause that's padding that fil-c allows you to overflow into). So it arguably isn't much different from wasm. Quick example: typedef struct Foo {
} Foo;int main(void) {
}This overflows into the float, not causing any panics, printing 0.5 for the float. | ||