Hi Shengjing,

Quoting Shengjing Zhu (2023-03-01 06:40:38)
> I've debugged it as well and here is my write up. Though I don't have
> solution yet.

you don't have a *good* solution yet but I think you are extremely close! Thank
you so much for spending all the time debugging this *and* for this very
helpful writeup which is helpful for guys like me who could've never come this
far by themselves. Thank you! :)

Would it maybe possible to choose the correct stat struct by trying to see with
which struct the values make sense? For example it should be easy to check
which inode numbers actually exist. The other entries of the stat struct also
can be checked if they look legitimate, like the file mode (which should not be
larger than 0o4777).

What do you think?

Thanks!

cheers, josch

Reply via email to