[issue26387] Race condition in sqlite module

2016-02-18 Thread SilentGhost

Changes by SilentGhost :


--
components: +Extension Modules
nosy: +ghaering
versions:  -Python 3.2, Python 3.3

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26387] Race condition in sqlite module

2016-02-18 Thread Filipp Andjelo

New submission from Filipp Andjelo:

Race condition in sqlite close/dealloc crashes the application with double 
free(). The pointer is set to NULL outside of mutexed zone, so if close and 
dealloc follow each other very shortly application crashes. Please see the 
attached patch.

--
components: Library (Lib)
files: sqlite_connection.c.patch
keywords: patch
messages: 260472
nosy: scorp
priority: normal
severity: normal
status: open
title: Race condition in sqlite module
type: crash
versions: Python 3.2, Python 3.3, Python 3.4, Python 3.5, Python 3.6
Added file: http://bugs.python.org/file41958/sqlite_connection.c.patch

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com