-
-
Notifications
You must be signed in to change notification settings - Fork 32k
gh-122431: Disallow negative values in readline.append_history_file
#122469
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
Conversation
readline.append_history_file
. readline.append_history_file
Really, this is just a commit to retrigger CI.
I'm quite confused on how the documentation tests could be related. |
Co-authored-by: Victor Stinner <vstinner@python.org>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks for the update.
Thanks @ZeroIntensity for the PR, and @vstinner for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12, 3.13. |
…_file` (pythonGH-122469) (cherry picked from commit 208b0fb) Co-authored-by: Peter Bierma <zintensitydev@gmail.com> Co-authored-by: Victor Stinner <vstinner@python.org>
…_file` (pythonGH-122469) (cherry picked from commit 208b0fb) Co-authored-by: Peter Bierma <zintensitydev@gmail.com> Co-authored-by: Victor Stinner <vstinner@python.org>
GH-127641 is a backport of this pull request to the 3.13 branch. |
GH-127642 is a backport of this pull request to the 3.12 branch. |
…_file` (python#122469) Co-authored-by: Victor Stinner <vstinner@python.org>
FWIW, this is actually a bug upstream in GNU's
append_history
function, but this is the best that Python can do in the meantime to prevent accessing out of bounds memory.