NUL-terminate bytevectors too.
authorTaylor R Campbell <campbell@mumble.net>
Wed, 9 Jan 2019 03:46:26 +0000 (03:46 +0000)
committerTaylor R Campbell <campbell@mumble.net>
Wed, 9 Jan 2019 03:56:35 +0000 (03:56 +0000)
commit0bbb88bff7c9e0aca150303c4e1219ec5c138fe3
treee7f0b14f9adb73aa6b350a0d2f54ac5bfccb2a59
parent4f6c2bf1e7ac38d8e4b62d95ca05aa428e2187bf
NUL-terminate bytevectors too.

This shouldn't be necessary but we use these for primitive names with
routines that expect them to be NUL-terminated, so this is more
convenient until we either length-delimit the primitive names or
explicitly NUL-terminate them or whatever.
src/microcode/bytevector.c