summaryrefslogtreecommitdiff
path: root/sys/src/libaml/aml.c
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@gmx.de>2013-09-05 00:55:58 +0200
committercinap_lenrek <cinap_lenrek@gmx.de>2013-09-05 00:55:58 +0200
commit95fac5e87304a50f7e93de94f0f682ec06565006 (patch)
tree9ee3d2f9a7d9c58f08def76087e91bf6ac47fe0f /sys/src/libaml/aml.c
parentcca9a1b52381fe2c839350226eceeb1cc987c27f (diff)
libhtml: fix potential linked list corruption
the difficulty is freeing items while parsing because items might already be linked into various linked lists like in docinfo.images or form.fiels. so we link images, tables and formfields to the docinfo as the final step of getitems() pass using the new recursive function linkitems(). as only reachable items get linked theres no danger of dangeling pointers.
Diffstat (limited to 'sys/src/libaml/aml.c')
0 files changed, 0 insertions, 0 deletions