strangest bug ever! |
||||
|
Posted by: stak so i came across this really weird bug today.. haven't quite cracked it yet, but it has something to do with aligned memory access. i write to a variable and then read it - that works fine if the variable is aligned on a word boundary. however, if it's not, then the value written gets shifted so that it IS aligned, and then when i read it back, it reads the unaligned value, which is messed up. argh.
|
|||
(c) Kartikaya Gupta, 2004-2024. User comments owned by their respective posters. All rights reserved. You are accessing this website via IPv4. Consider upgrading to IPv6! |