This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author steve.dower
Recipients lukasz.langa, ned.deily, oriordan, steve.dower, vinay.sajip, xtreak
Date 2019-10-04.17:08:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1570208926.22.0.745708691166.issue38368@roundup.psfhosted.org>
In-reply-to
Content
Given this limit can easily be hit by user code, I'd like to see it turned into a proper check with an exception (or a dynamic array) rather than just an assertion. We should not segfault here.

while (length > 0) {
    actual_types[actual_type_index++] = &edict->ffi_type_pointer;
    assert(actual_type_index <= MAX_ELEMENTS);
    length--;
}
History
Date User Action Args
2019-10-04 17:08:46steve.dowersetrecipients: + steve.dower, vinay.sajip, ned.deily, lukasz.langa, xtreak, oriordan
2019-10-04 17:08:46steve.dowersetmessageid: <1570208926.22.0.745708691166.issue38368@roundup.psfhosted.org>
2019-10-04 17:08:46steve.dowerlinkissue38368 messages
2019-10-04 17:08:46steve.dowercreate