bitmaintech/cgminer — pull request #3 by jimjag (2014-01-05 15:32:25+00:00)
Title: Prevent overflow... uint32 is 4 bytes.

Likely a typo... we need the size of the dst, not the src. This prevents crashes.