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 857
    • Issues 857
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 46
    • Merge requests 46
  • 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
  • !2537

Backport !2451 “glib: fix buffer overflow in g_canonicalize_filename()” to glib-2-70

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Philip Withnall requested to merge pwithnall/glib:backport-2451-canon-fix-glib-2-70 into glib-2-70 Mar 04, 2022
  • Overview 0
  • Commits 1
  • Pipelines 1
  • 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()"

Signed-off-by: Marc-André Lureau marcandre.lureau@redhat.com


Trivial backport of !2451 (merged) to glib-2-70.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: backport-2451-canon-fix-glib-2-70