mirror of
https://github.com/python/cpython.git
synced 2026-07-25 19:32:01 -04:00
7c62bd571b
Fix error in assertion which causes failure if pos is equal to PY_SSIZE_T_MAX.
Fix undefined behavior in read() and readinto() if pos is larger that the size
of the underlying buffer.
(cherry picked from commit 7d54374f9c)