Stack overflow in KernelVersion parser

Summary: Caught by ASAN

Reviewed By: @ottoni

Differential Revision: D1651562

Signature: t1:1651562:1414731602:574aa61ef4b4538f26299f6694aff3c5e3bc317d