Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 3b8121f

Browse files
committedJun 17, 2022
GH-93249: relax overly struct assertion on bounds->ar_start
1 parent 96464e5 commit 3b8121f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎Objects/codeobject.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -818,7 +818,7 @@ static void
818818
retreat(PyCodeAddressRange *bounds)
819819
{
820820
ASSERT_VALID_BOUNDS(bounds);
821-
assert(bounds->ar_start > 0);
821+
assert(bounds->ar_start >= 0);
822822
do {
823823
bounds->opaque.lo_next--;
824824
} while (((*bounds->opaque.lo_next) & 128) == 0);

0 commit comments

Comments
 (0)
Please sign in to comment.