FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Possible leak in double-booking cursor · Issue #31 · gitpython-developers/smmap · GitHub

This repository was archived by the owner on Jul 26, 2026. It is now read-only.
/ smmap Public archive
This repository was archived by the owner on Jul 26, 2026. It is now read-only.

Possible leak in double-booking cursor #31

Description

Probably 70fae1f made a double acounting of region-clients in smmap.mman.py#L136, where a "manual" increment_client_count() follows a _obtain_region() which it also increments the client-count.

From gitdb TC gitdb.test.test_pack:TestPack.test_pack_entity() I can see that this is indeed the case, where it is increased 2 x 3 times for 3 mmaps, while it is decremented just 3 times.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


    Back | FazBrowse Home | New Git URL