a12a530
Prevent memory read outside allocated space in str_alloc(). Signed-off-by: Petr Spacek <pspacek@redhat.com>