Skip to content

Allow incremental writing of more than INT_MAX bytes without error.

Previous code tracked number of bytes written using an int. Now uses size_t to track bytes written, and xmlOutputBufferClose now clamps to INT_MAX if more than INT_MAX bytes are written.

New function xmlOutputBufferCloseSizeT allows for exact number of bytes written if more than INT_MAX bytes are written.

Signed-off-by: Keith Rothman 25643-litghost@users.noreply.gitlab.gnome.org

Merge request reports