Movatterモバイル変換


[0]ホーム

URL:


homepage

Issue27897

This issue trackerhas been migrated toGitHub, and is currentlyread-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title:Avoid possible crash in pysqlite_connection_create_collation
Type:crashStage:resolved
Components:Library (Lib)Versions:Python 3.7, Python 3.6, Python 3.5, Python 2.7
process
Status:closedResolution:fixed
Dependencies:Superseder:
Assigned To: serhiy.storchakaNosy List: martin.panter, python-dev, serhiy.storchaka, xiang.zhang
Priority:normalKeywords:patch

Created on2016-08-30 16:22 byxiang.zhang, last changed2022-04-11 14:58 byadmin. This issue is nowclosed.

Files
File nameUploadedDescriptionEdit
create_collation.patchxiang.zhang,2016-08-30 16:22review
Pull Requests
URLStatusLinkedEdit
PR 552closeddstufft,2017-03-31 16:36
Messages (7)
msg273927 -(view)Author: Xiang Zhang (xiang.zhang)*(Python committer)Date: 2016-08-30 16:22
When supplied a custom string with upper returning a non-string, pysqlite_connection_create_collation will fail assertion and crash. Serhiy, I think we can use the same way in set_isolation_level to avoid this.
msg277470 -(view)Author: Roundup Robot (python-dev)(Python triager)Date: 2016-09-26 21:16
New changesetc739660489c1 by Serhiy Storchaka in branch '3.5':Issue#27897: Fixed possible crash in sqlite3.Connection.create_collation()https://hg.python.org/cpython/rev/c739660489c1New changesetc2eb90422aec by Serhiy Storchaka in branch '3.6':Issue#27897: Fixed possible crash in sqlite3.Connection.create_collation()https://hg.python.org/cpython/rev/c2eb90422aecNew changeset9fc2b6dba9c2 by Serhiy Storchaka in branch 'default':Issue#27897: Fixed possible crash in sqlite3.Connection.create_collation()https://hg.python.org/cpython/rev/9fc2b6dba9c2
msg277471 -(view)Author: Roundup Robot (python-dev)(Python triager)Date: 2016-09-26 21:27
New changeset1aae9b7ff321 by Serhiy Storchaka in branch '2.7':Issue#27897: Backported tests.https://hg.python.org/cpython/rev/1aae9b7ff321
msg277472 -(view)Author: Serhiy Storchaka (serhiy.storchaka)*(Python committer)Date: 2016-09-26 21:28
LGTM. Thank you for your patch.
msg277791 -(view)Author: Martin Panter (martin.panter)*(Python committer)Date: 2016-10-01 02:58
The test in 2.7 (1aae9b7ff321) seems to cause a Windows 8.1 buildbot to hang in test_sqlite. I deduced this because there is no mention of "test_sqlite" in the test log output, compared to a previous successful test log.http://buildbot.python.org/all/builders/AMD64%20Windows8.1%20Non-Debug%202.7/builds/474
msg277794 -(view)Author: Roundup Robot (python-dev)(Python triager)Date: 2016-10-01 05:25
New changeset38e954a2a37e by Serhiy Storchaka in branch '2.7':Issue#27897: Fixed possible crash in sqlite3.Connection.create_collation()https://hg.python.org/cpython/rev/38e954a2a37e
msg277795 -(view)Author: Serhiy Storchaka (serhiy.storchaka)*(Python committer)Date: 2016-10-01 05:26
Thanks Martin!
History
DateUserActionArgs
2022-04-11 14:58:35adminsetgithub: 72084
2017-03-31 16:36:35dstufftsetpull_requests: +pull_request1078
2016-10-01 05:26:03serhiy.storchakasetmessages: +msg277795
versions: + Python 2.7
2016-10-01 05:25:25python-devsetmessages: +msg277794
2016-10-01 02:58:50martin.pantersetnosy: +martin.panter
messages: +msg277791
2016-09-26 21:28:43serhiy.storchakasetstatus: open -> closed
resolution: fixed
messages: +msg277472

stage: patch review -> resolved
2016-09-26 21:27:51python-devsetmessages: +msg277471
2016-09-26 21:16:44python-devsetnosy: +python-dev
messages: +msg277470
2016-09-26 20:25:59serhiy.storchakasetassignee:serhiy.storchaka
stage: patch review
versions: + Python 3.7
2016-08-30 16:22:28xiang.zhangcreate
Supported byThe Python Software Foundation,
Powered byRoundup
Copyright © 1990-2022,Python Software Foundation
Legal Statements

[8]ページ先頭

©2009-2026 Movatter.jp