I've made it a regular, public bug because 1) this was already mentioned on the ecryptfs mailing list and 2) there's no security impact.
The random_data variable does not contain random bytes used for a key or anything along those lines. It is simply being used to perform a sanity check on the newly set up eCryptfs mount point. If random_data contains zeros, it is still a valid test to verify reading and writing to the mount point.
Thanks for reporting this bug!
I've made it a regular, public bug because 1) this was already mentioned on the ecryptfs mailing list and 2) there's no security impact.
The random_data variable does not contain random bytes used for a key or anything along those lines. It is simply being used to perform a sanity check on the newly set up eCryptfs mount point. If random_data contains zeros, it is still a valid test to verify reading and writing to the mount point.