Skip to content
GitLab
Projects Groups 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
    • Contributors
    • Graph
    • Compare
  • Issues 858
    • Issues 858
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 55
    • Merge requests 55
  • 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
  • Issues
  • #2541
Closed
Open
Issue created Nov 26, 2021 by Sebastian Wilhelmi@wilhelmiReporter

g_canonicalize_filename should work in linear time complexity

The fuzzer is complaining about this in https://oss-fuzz.com/testcase-detail/4995229954998272.

I've made a patch which works in linear time and is very similar to the solution of #2526 (closed).

The added unit test increases coverage to all lines of the new algorithm, the branch coverage is not complete, but without looking at the assembly (which I didn't) its quite hard to say what those uncovered branches are.

Assignee
Assign to
Time tracking