mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-20 00:47:28 +01:00
std/jpeg: ignore too-short COM or APPn markers
This commit is contained in:
1 parent
408ab25f04
commit
6a9347843b
6 files changed
+94
-5
No files matched your search
@@ -86,7 +86,7 @@ func main1() error {
|
||||
}
|
||||
|
||||
func posError(pos int, lenSrc int) error {
|
||||
return fmt.Errorf("bad JPEG, pos = 0x%08X = %10d, len(src) is 0x%08X = %10d",
|
||||
return fmt.Errorf("bad JPEG, pos = 0x%08X = %10d, len(src) = 0x%08X = %10d",
|
||||
pos, pos, lenSrc, lenSrc)
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user