Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • L libxml2
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 88
    • Issues 88
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 5
    • Merge requests 5
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOME
  • libxml2
  • Issues
  • #200

Closed
Open
Created Oct 25, 2020 by Nick Wellnhofer@nwellnhofMaintainer

xmlParseCharDataComplex never shrinks the input buffer

See discussion in #192 (closed).

Simple fix: nwellnhof/libxml2@99bda1e1

But performance-wise, it would be best to shrink the buffer as late as possible. This means to check the actual remaining bytes instead of the crude "every nth iteration" solution. Since we're processing UTF-8, we should shrink and grow if the buffer contains less than four bytes. Ideally, hitting EOF shouldn't trigger additional shrink/grow attempts.

Edited Oct 25, 2020 by Nick Wellnhofer
Assignee
Assign to
Time tracking