ParthDesai / freetype-go

Automatically exported from code.google.com/p/freetype-go
Other
0 stars 0 forks source link

42 crashers #17

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The attached archive contains 42 unique crashers for the package. The test 
inputs were passed through the following program:
http://play.golang.org/p/qxzq2QBtYx
The headers of crashes are provided below. Each one of them is unique, i.e. 
crash with a unique panic message and/or at different stack. I physically can't 
file separate issue for each individual crash. Some of the inputs are valid 
TTFs files taken elsewhere.

panic: runtime error: invalid memory address or nil pointer dereference
panic: truetype: hinting: division by zero
panic: truetype: hinting: nested FDEF
panic: runtime error: index out of range
panic: runtime error: index out of range
panic: truetype: hinting: point out of range
panic: truetype: hinting: invalid data
panic: truetype: hinting: undefined function
panic: runtime error: index out of range
panic: truetype: hinting: unimplemented twilight point adjustment
panic: truetype: hinting: unbalanced FDEF
panic: truetype: hinting: call stack underflow
panic: runtime error: index out of range
panic: truetype: hinting: stack underflow
panic: runtime error: invalid memory address or nil pointer dereference
panic: truetype: hinting: insufficient data
panic: runtime error: index out of range
panic: truetype: hinting: unrecognized instruction
panic: freetype: unsupported TrueType feature: negative number of contours
panic: runtime error: index out of range
panic: truetype: hinting: stack overflow
panic: runtime error: index out of range
panic: truetype: hinting: unbalanced IF or ELSE
panic: runtime error: slice bounds out of range
panic: runtime error: index out of range
panic: freetype: unsupported TrueType feature: compound glyph transform vector
panic: runtime error: index out of range
panic: runtime error: slice bounds out of range
panic: truetype: hinting: too many instructions
panic: runtime error: invalid memory address or nil pointer dereference
panic: runtime error: integer divide by zero
panic: truetype: hinting: contour out of range
panic: truetype: hinting: unsupported IDEF instruction
panic: runtime error: integer divide by zero
panic: runtime error: integer divide by zero
panic: hinting: unimplemented SHC instruction
panic: runtime error: slice bounds out of range
panic: runtime error: integer divide by zero
panic: runtime error: index out of range
panic: runtime error: index out of range
panic: runtime error: index out of range
panic: runtime error: index out of range

Original issue reported on code.google.com by dvyu...@google.com on 29 Apr 2015 at 10:25

Attachments:

GoogleCodeExporter commented 9 years ago
Hope Brad won't see this, otherwise he will delete this package.

Original comment by dvyu...@google.com on 29 Apr 2015 at 10:27

GoogleCodeExporter commented 9 years ago
My checkout is on 4ee4916a76ae

Original comment by dvyu...@google.com on 29 Apr 2015 at 10:29

GoogleCodeExporter commented 9 years ago
I haven't looked at the tarball yet, but I'm sure these are valid bugs.

Still, I'm going to hold off on fixing these until freetype-go moves to github, 
and that's blocked on doing some thinking on breaking the API [0], and that's 
blocked on higher priority interrupts, so it might be a while until I look at 
these.

[0] https://groups.google.com/d/msg/golang-nuts/a5G9tJWexVI/Ref1VktubE0J

Original comment by nigel...@golang.org on 30 Apr 2015 at 12:08