Skip to content

gh-74573: document that ndbm can silently corrupt databases on macOS #113354

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Dec 23, 2023

Conversation

ronaldoussoren
Copy link
Contributor

@ronaldoussoren ronaldoussoren commented Dec 21, 2023

The system ndbm implementation on macOS has an undocumented limitation on the size of values and can silently corrupt database files when those are exceeded.


📚 Documentation preview 📚: https://cpython-previews--113354.org.readthedocs.build/

…macOS

The system ndbm implementation on macOS has an undocumented limitation
on the size of values and can silently corrupt database files when those
are exceeded.
@ronaldoussoren ronaldoussoren added needs backport to 3.11 only security fixes needs backport to 3.12 only security fixes labels Dec 23, 2023
@ronaldoussoren ronaldoussoren merged commit 593b4d8 into python:main Dec 23, 2023
@miss-islington-app
Copy link

Thanks @ronaldoussoren for the PR 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12.
🐍🍒⛏🤖

@ronaldoussoren ronaldoussoren deleted the gh-74573 branch December 23, 2023 12:33
@bedevere-app
Copy link

bedevere-app bot commented Dec 23, 2023

GH-113431 is a backport of this pull request to the 3.12 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.12 only security fixes label Dec 23, 2023
@bedevere-app
Copy link

bedevere-app bot commented Dec 23, 2023

GH-113432 is a backport of this pull request to the 3.11 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Dec 23, 2023
…macOS (pythonGH-113354)

* pythongh-74573: document that ndbm can silently corrupt databases on macOS

The system ndbm implementation on macOS has an undocumented limitation
on the size of values and can silently corrupt database files when those
are exceeded.

(cherry picked from commit 593b4d8)

Co-authored-by: Ronald Oussoren <[email protected]>
Co-authored-by: Erlend E. Aasland <[email protected]>
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Dec 23, 2023
…macOS (pythonGH-113354)

* pythongh-74573: document that ndbm can silently corrupt databases on macOS

The system ndbm implementation on macOS has an undocumented limitation
on the size of values and can silently corrupt database files when those
are exceeded.

(cherry picked from commit 593b4d8)

Co-authored-by: Ronald Oussoren <[email protected]>
Co-authored-by: Erlend E. Aasland <[email protected]>
@bedevere-app bedevere-app bot removed the needs backport to 3.11 only security fixes label Dec 23, 2023
ronaldoussoren added a commit that referenced this pull request Dec 23, 2023
… macOS (GH-113354) (#113431)

gh-74573: document that ndbm can silently corrupt databases on macOS (GH-113354)

* gh-74573: document that ndbm can silently corrupt databases on macOS

The system ndbm implementation on macOS has an undocumented limitation
on the size of values and can silently corrupt database files when those
are exceeded.

(cherry picked from commit 593b4d8)

Co-authored-by: Ronald Oussoren <[email protected]>
Co-authored-by: Erlend E. Aasland <[email protected]>
ronaldoussoren added a commit that referenced this pull request Dec 23, 2023
… macOS (GH-113354) (#113432)

gh-74573: document that ndbm can silently corrupt databases on macOS (GH-113354)

* gh-74573: document that ndbm can silently corrupt databases on macOS

The system ndbm implementation on macOS has an undocumented limitation
on the size of values and can silently corrupt database files when those
are exceeded.

(cherry picked from commit 593b4d8)

Co-authored-by: Ronald Oussoren <[email protected]>
Co-authored-by: Erlend E. Aasland <[email protected]>
ryan-duve pushed a commit to ryan-duve/cpython that referenced this pull request Dec 26, 2023
…macOS (python#113354)

* pythongh-74573: document that ndbm can silently corrupt databases on macOS

The system ndbm implementation on macOS has an undocumented limitation
on the size of values and can silently corrupt database files when those
are exceeded.

Co-authored-by: Erlend E. Aasland <[email protected]>
kulikjak pushed a commit to kulikjak/cpython that referenced this pull request Jan 22, 2024
…macOS (python#113354)

* pythongh-74573: document that ndbm can silently corrupt databases on macOS

The system ndbm implementation on macOS has an undocumented limitation
on the size of values and can silently corrupt database files when those
are exceeded.

Co-authored-by: Erlend E. Aasland <[email protected]>
aisk pushed a commit to aisk/cpython that referenced this pull request Feb 11, 2024
…macOS (python#113354)

* pythongh-74573: document that ndbm can silently corrupt databases on macOS

The system ndbm implementation on macOS has an undocumented limitation
on the size of values and can silently corrupt database files when those
are exceeded.

Co-authored-by: Erlend E. Aasland <[email protected]>
Glyphack pushed a commit to Glyphack/cpython that referenced this pull request Sep 2, 2024
…macOS (python#113354)

* pythongh-74573: document that ndbm can silently corrupt databases on macOS

The system ndbm implementation on macOS has an undocumented limitation
on the size of values and can silently corrupt database files when those
are exceeded.

Co-authored-by: Erlend E. Aasland <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir OS-mac
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants