null terminated strings

Signed-off-by: Delian Delchev <delian.delchev@gmail.com>