$OpenBSD: patch-test_parser_c,v 1.1 2013/05/03 07:32:34 bentley Exp $
--- test/parser.c.orig	Thu Apr 25 14:30:21 2013
+++ test/parser.c	Thu Apr 25 14:33:04 2013
@@ -25,7 +25,7 @@ static int run_test(int argc, char **argv, unsigned in
 	hubbub_parser_optparams params;
 	FILE *fp;
 	size_t len, origlen;
-	uint8_t *buf = alloca(CHUNK_SIZE);
+	uint8_t *buf = malloc(CHUNK_SIZE);
 	const char *charset;
 	hubbub_charset_source cssource;
 
@@ -64,6 +64,8 @@ static int run_test(int argc, char **argv, unsigned in
         assert(len == 0);
 
 	fclose(fp);
+
+	free(buf);
 
 	charset = hubbub_parser_read_charset(parser, &cssource);
 
