Why do you think it's dereferencing (not deference!) a null pointer?
The else on line 34 pairs with the if on line 17, not the if on line 13.
Why do you think it's dereferencing (not deference!) a null pointer?
The else on line 34 pairs with the if on line 17, not the if on line 13.
A little inaccuracy saves tons of explanation. - H.H. Munro
Sorry about the typo.
You are right. Thanks
I don't think it possible to debug the kernel with valgrind but there's kmemleak(which reports memory leaks). And, even if it was, it probably would have been painfully difficult to setup(as weill all other kernel debugging setups).
Thanks for you time, all the same!
Last edited by ghoul; 05-07-2022 at 06:53 AM.