Definition of being a programmer: spend 2h getting a prototype of async buffered IO working, feel like a genius. Spend the next 2h debugging an issue with it, which turns out to be a silly bug in the test app, causing out-of-bound reads. Right back down to earth, idiot.
-
-
Wouldn't have helped, it was literally the silly one page test program doing reads that were larger than the device/file size. Hence they got completed with 'res == 0'. But otherwise I agree, a pass with KASAN && PROVE_LOCKING =y is always done.
-
ah, that kind of out of bounds read ^^
- 1 more reply
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.