$OpenBSD: patch-test_tokeniser3_c,v 1.1 2013/05/03 07:32:34 bentley Exp $
--- test/tokeniser3.c.orig	Thu Apr 25 14:31:47 2013
+++ test/tokeniser3.c	Thu Apr 25 14:32:25 2013
@@ -141,7 +141,7 @@ void run_test(context *ctx)
 		if (ctx->last_start_tag != NULL) {
 			/* Fake up a start tag, in PCDATA state */
 			size_t len = strlen(ctx->last_start_tag) + 3;
-			uint8_t *buf = alloca(len);
+			uint8_t *buf = malloc(len);
 
 			snprintf((char *) buf, len, "<%s>",
 					ctx->last_start_tag);
@@ -150,6 +150,8 @@ void run_test(context *ctx)
 				buf, len - 1) == HUBBUB_OK);
 
 			assert(hubbub_tokeniser_run(tok) == HUBBUB_OK);
+
+			free(buf);
 		}
 
 		if (ctx->process_cdata) {
