Liru/tumblr-downloader

Crash on 32-bit systems due to struct alignment

Opened this issue · 0 comments

Liru commented

Submitted by @tantalate at #30.

tl;dr To fix the crash, rearrange struct variables in a typical struct-packing way (instead of organizing by intent, as in most modern languages).

I honestly can't believe this sort of bug is present in Go, and that atomic is a LEAKY ABSTRACTION.