This repository has been archived by the owner on Nov 22, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 30
zopfli: fails on non-empty input file #9
Labels
Comments
cznic
pushed a commit
to cznic/virtual
that referenced
this issue
Oct 15, 2017
Also, add position info to strace output. modified: cpu.go modified: fcntl_linux_386.go modified: fcntl_linux_amd64.go modified: stdio.go modified: stdlib.go modified: sys_mman_linux.go modified: sys_socket_linux.go modified: sys_stat_linux_386.go modified: sys_stat_linux_amd64.go modified: unistd_linux.go
The C code assumes malloc(0) cannot return NULL, but it can. Anyway,
The program still fails on non-empty input, but that's a different bug. |
cznic
changed the title
zopfli: fails on empty input file
zopfli: fails on non-empty input file
Oct 15, 2017
1-byte file passes:
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
@opennota
This looks like a bug in
ccir
orvirtual
. I'll try to invstigate later. Feel free to try to find the bug(s) by yourself if you like. The attached trace might be useful in identifying the source of the problem.trace.zip
The text was updated successfully, but these errors were encountered: