Verified Commit b3e2f834 authored by Tommaso Tocci's avatar Tommaso Tocci
Browse files

Prevent random data on stat output

Some of the variables of stat struct are not initialized, thus they will
remains will unpredictable junks data from memory. This random values
could induct strange behaviours on user applications.

Even if we don't support some of the fields in the struct stat, it is
necessary to set them to some default value.
parent f91fd6ce
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment