≈ the.bay.news

Return value write exceeds 4kb in single pass

Ziggit
Return value write exceeds 4kb in single pass
Hello, I was playing with some code and came across this case case where Zig performs a return value write exceeding 4KB in a single pass. However, based on what I have read in Google, it is said that performing this return value writes larger than 4KB in a single pass is a violation, because the OS places a guard page at every 4KB boundary, that makes the write skip over it and inadvertently override other memory that it doesn’t has permission to be there yet. Is this true? The code const Big...

0 comments

Sign in to join the discussion — your thebay.events account works here.

No comments yet.