ref: c1562daee03b1f077befb970ae3380cf52b2c679
parent: b14138c2ae17ac725bd48ab736414770aed6d656
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);
--
⑨