You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
location filetype/matchers/document
the ppt file's buf 512 and 513 is not equal 0xA0 and 0x46.
the value is 0xFD and 0xFF, file is in MAC OS and i create just now like this
The text was updated successfully, but these errors were encountered:
func Ppt(buf []byte) bool {
if len(buf) > 513 {
return buf[0] == 0xD0 && buf[1] == 0xCF &&
buf[2] == 0x11 && buf[3] == 0xE0 &&
buf[512] == 0xA0 && buf[513] == 0x46
} else {
return len(buf) > 3 &&
buf[0] == 0xD0 && buf[1] == 0xCF &&
buf[2] == 0x11 && buf[3] == 0xE0
}
}
location filetype/matchers/document
the ppt file's buf 512 and 513 is not equal 0xA0 and 0x46.
the value is 0xFD and 0xFF, file is in MAC OS and i create just now like this
The text was updated successfully, but these errors were encountered: