bitcoin/bitcoin — pull request #1926 by laanwj (2012-10-12 21:53:05+00:00)
Title: Fix out-of-bounds read in main (issue #1924)

Sizeof() returned the size of a pointer instead of the size of the buffer.

Fixes issue #1924.