Fix dangerous memory usage for WordData and sscanf.

Signed-off-by: Jim Huang <jserv@0xlab.org>