[New-bugs-announce] [issue28527] Hack in `genericpath.commonprefix()` crashes if `m` argument is not indexable

Jonathan Hogg report at bugs.python.org
Tue Oct 25 06:23:40 EDT 2016


New submission from Jonathan Hogg:

If `genericpath.commonprefix()` is called with a non-indexable argument, then the check for passing in a list of lists/tuples will raise an exception due to the `m[0]` test.

----------
components: Library (Lib)
messages: 279386
nosy: jonathanhogg
priority: normal
severity: normal
status: open
title: Hack in `genericpath.commonprefix()` crashes if `m` argument is not indexable
type: crash
versions: Python 3.6

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28527>
_______________________________________


More information about the New-bugs-announce mailing list