Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • G GLib
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 853
    • Issues 853
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 43
    • Merge requests 43
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and 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
  • GNOMEGNOME
  • GLib
  • Merge requests
  • !2451

glib: fix buffer overflow in g_canonicalize_filename()

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Marc-André Lureau requested to merge malureau/glib:canon-fix into main Jan 24, 2022
  • Overview 7
  • Commits 2
  • Pipelines 2
  • Changes 1

The output pointer must not go past the ending \0.

warning: HEAP[testglib.exe]: warning: Heap block at 0000011EA35745A0 modified at 0000011EA35745BF past requested size of f

Fixes commit 9a30a495 "gfileutils: Improve performance of g_canonicalize_filename()"

Related to #1371

Edited Feb 09, 2022 by Marc-André Lureau
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: canon-fix