Skip to content

GitLab

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

Switch branch/tag
  • glib
  • glib
  • gmarkup.c
Find file BlameHistoryPermalink
  • Philip Withnall's avatar
    gmarkup: Add a limit on the number of attributes in an element · 57fc0be8
    Philip Withnall authored Sep 18, 2019
    
    
    While the XML specification doesn’t prescribe a limit, no reasonable bit
    of XML is going to have more than 1000 attributes in a single XML
    element.
    
    Adding a limit reduces the changes of a runaway allocation loop caused
    by dodgy input.
    
    oss-fuzz#12960
    Signed-off-by: Philip Withnall's avatarPhilip Withnall <withnall@endlessm.com>
    57fc0be8

Replace gmarkup.c

Attach a file by drag & drop or click to upload


Cancel
GitLab will create a branch in your fork and start a merge request.