commit | 9ee02f80a4d674bac96f88b5a241825aad453a7a | [log] [tgz] |
---|---|---|
author | Daniel Veillard <veillard@redhat.com> | Mon Jul 16 19:57:42 2012 +0800 |
committer | Daniel Veillard <veillard@redhat.com> | Mon Jul 23 14:24:27 2012 +0800 |
tree | a41c7f5081efaae00192d7419f766e9954a5543f | |
parent | 00ac0d3b96459865684fc9378e420e93418f9ef9 [diff] |
Harden the buffer code and make it more compatible Mimic the old xmlBuffer strcture in xmlBuf to avaoid catastrophic failures in case of old code directly reading ctxt->input->buf->buffer Check on all buffer entry points if an error previously occured on the buffer, and fail the operation if this is the case, the buffer becomes immutable and unreadable.