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 <rep...@bugs.python.org>
<http://bugs.python.org/issue15897>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to