stevedonovan / winapi

Minimal but useful Lua bindings to the Windows API
http://stevedonovan.github.com/winapi/api.html
Other
192 stars 40 forks source link

write past buffer #16

Open peepuk opened 9 years ago

peepuk commented 9 years ago

In winapi.c : in raw_read(File *this) lcb_buf(self)[bytesread] = '\0'; Will write outside buffer when bytesread == FILE_BUFF_SIZE.