diff --git a/src/bin/tyfuzz.c b/src/bin/tyfuzz.c index 454a8dab..e9e85cd2 100644 --- a/src/bin/tyfuzz.c +++ b/src/bin/tyfuzz.c @@ -84,6 +84,10 @@ _termpty_init(Termpty *ty) ty->fd = STDIN_FILENO; ty->fd_dev_null = open("/dev/null", O_WRONLY|O_APPEND); assert(ty->fd_dev_null >= 0); + ty->hl.bitmap = calloc(1, HL_LINKS_MAX / 8); /* bit map for 1 << 16 elements */ + assert(ty->hl.bitmap); + /* Mark id 0 as set */ + ty->hl.bitmap[0] = 1; } static void