buf_size: allow strncmp("foo", bar, 100) where 100 is larger than "foo"