sanyaade-g2g-repos / python-on-a-chip

Automatically exported from code.google.com/p/python-on-a-chip
Other
0 stars 0 forks source link

Improve posix64's method of finding file size #236

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
This web page mentions that my method of finding the file size on a posix FS is 
non-compliant and recommends a better method:
https://www.securecoding.cert.org/confluence/display/seccode/FIO19-C.+Do+not+use
+fseek%28%29+and+ftell%28%29+to+compute+the+size+of+a+file

Original issue reported on code.google.com by dwhall...@gmail.com on 17 May 2012 at 3:34

GoogleCodeExporter commented 8 years ago
This issue was closed by revision 2affdf9c3083.

Original comment by dwhall...@gmail.com on 17 May 2012 at 3:45