Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • librsvg librsvg
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 197
    • Issues 197
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 8
    • Merge requests 8
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOME
  • librsvglibrsvg
  • Repository
Switch branch/tag
  • librsvg
  • rsvg-shapes.c
Find file BlameHistoryPermalink
  • Federico Mena Quintero's avatar
    bgo#738050 - Handle the case where a list of coordinate pairs has an odd number of elements · 40af93e6
    Federico Mena Quintero authored Feb 05, 2015
    Lists of points come in coordinate pairs, but we didn't have any checking for that.
    It was possible to try to fetch the 'last' coordinate in a list, i.e. the y coordinate
    of an x,y pair, that was in fact missing, leading to an out-of-bounds array read.
    
    In that case, we now reuse the last-known y coordinate.
    
    Fixes https://bugzilla.gnome.org/show_bug.cgi?id=738050
    
    Signed-off-by: Federico Mena Quintero's avatarFederico Mena Quintero <federico@gnome.org>
    40af93e6