[New-bugs-announce] [issue15897] zipimport.c doesn't check return value of fseek()
Christian Heimes
report at bugs.python.org
Mon Sep 10 02:08:38 CEST 2012
New submission from Christian Heimes:
The code im zipimport.c doesn't check the return value of fseek() in at least four places. The missing checks may hide issues with the file or file system.
Solution:
Check for -1 and return with an appropriate call to PyErr_SetFromErrno()
----------
components: Extension Modules
keywords: easy
messages: 170146
nosy: christian.heimes
priority: normal
severity: normal
status: open
title: zipimport.c doesn't check return value of fseek()
type: behavior
versions: Python 3.3, Python 3.4
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15897>
_______________________________________
More information about the New-bugs-announce
mailing list