You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When Aifc_read runs initfp, it conditionally sets self._ssnd_chunk and is not guaranteed to do so. At the bottom of the method, a check is made to see if the attribute has a false value; and if so, an error is supposed to be raised. If a SSND chunk is never found, checking self._ssnd_chunk causes an attribute error to be raised similar to this:
AttributeError: 'Aifc_read' object has no attribute '_ssnd_chunk'
The error was found on the following distribution:
Python 3.6.2 (v3.6.2:5fd33b5, Jul 8 2017, 04:57:36) [MSC v.1900 64 bit (AMD64)] on win32
Zeromannequin
added
type-crash
A hard crash of the interpreter, possibly with a core dump
tests
Tests in the Lib/test dir
stdlib
Python modules in the Lib dir
labels
Oct 23, 2017
New changeset 80d20b9 by Serhiy Storchaka (Zackery Spytz) in branch 'master': bpo-31848: Fix broken error handling in Aifc_read.initfp() when the SSND chunk is not found (bpo-5240) 80d20b9
New changeset 1d927d4 by Miss Islington (bot) in branch '3.7': bpo-31848: Fix broken error handling in Aifc_read.initfp() when the SSND chunk is not found (GH-5240) 1d927d4
New changeset 2b9726e by Miss Islington (bot) in branch '3.6': bpo-31848: Fix broken error handling in Aifc_read.initfp() when the SSND chunk is not found (GH-5240) 2b9726e
New changeset b852d8c by Serhiy Storchaka (Miss Islington (bot)) in branch '2.7':
[2.7] bpo-31848: Fix broken error handling in Aifc_read.initfp() when the SSND chunk is not found (GH-5240) (GH-5781) b852d8c
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: