bpo-44707: Fix an undefined behavior of the null pointer arithmetic (GH-27292) (GH-27442)

(cherry picked from commit e5c8ddb1714fb51ab1defa24352c98e0f01205dc)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
1 file changed