jwerle/fs.c — pull request #23 by quark-zju (2014-10-13 05:54:16+00:00)
Title: fs_fnread: cut buffer using actual read size

Avoid uninitialized string buffer when the file is smaller than `len` passed to `fs_nread` and `fs_fnread`.