git: 9front

Download patch

ref: 2bae41326ae0244cf7e6f85ff927652739c6a5b6
parent: 215525fcef90aa1fb24ed5a9ac762327ed68fefe
author: cinap_lenrek <cinap_lenrek@gmx.de>
date: Mon Sep 2 19:18:46 EDT 2013

libhtml: fix double free of form action

--- a/sys/src/libhtml/build.c
+++ b/sys/src/libhtml/build.c
@@ -1187,7 +1187,7 @@
 				additem(ps, textit(ps, prompt), tok);
 				frm = newform(++is->nforms,
 						nil,
-						di->base,
+						_Strdup(di->base),
 						target,
 						HGet,
 						di->forms);
--