yihui / mime

Map filenames to MIME types
https://cran.rstudio.com/package=mime
32 stars 15 forks source link

Prevent rawmatch from reading haystack beyond the end of buffer #16

Closed michalkouril closed 3 years ago

michalkouril commented 3 years ago

rawmatch was allowed to check for a match beyond the end of buffer.