Use of uninitialized field (Cache_FDs) introduced in
29 Sep
2023
29 Sep
'23
12:12 a.m.
As far as I can tell https://github.com/nfs-ganesha/nfs-ganesha/commit/7180f8160043f6a990403dfd5c... introduced a use-of-unitialized bug. This causes the global bool Cache_FDs to read uninitialized memory. I assume the intent was to set it from config, but it seems it gets a random value, interpreted as a bool. I put a complete explanation of what I see in https://github.com/nfs-ganesha/nfs-ganesha/commit/7180f8160043f6a990403dfd5c... I found this with ubsan. I highly recommend regularly using the sanitizers with nfs-ganesha to uncover this sort of thing.
1127
Age (days ago)
1127
Last active (days ago)
0 comments
1 participants
participants (1)
-
David Rieber