$OpenBSD: patch-test_tree_c,v 1.1 2013/05/03 07:32:34 bentley Exp $
--- test/tree.c.orig	Thu Apr 25 14:32:39 2013
+++ test/tree.c	Thu Apr 25 14:33:36 2013
@@ -91,7 +91,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;
 	bool passed = true;
@@ -143,6 +143,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);
 
