Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Inside of AmazonS3StreamWrapper::dir_opendir infinite loop during objects list reading. Bug caused by identical operator ===
.
if (!isset($response->body->IsTruncated) || (string)$response->body->IsTruncated === 'false') {
$truncated = FALSE;
}
but in particular this case IsTruncated
is instance of the SimpleXMLEmement
P.S.:Bug detected in pair with xmlsitemap module. Every time cron were launched, site went down.
Comment | File | Size | Author |
---|---|---|---|
#7 | infinite_loop_dir_opendir-2222005-7.patch | 899 bytes | justafish |
#3 | infinite_loop_dir_opendir-2222005-3.patch | 612 bytes | k.sorokin |
Comments
Comment #1
k.sorokin CreditAttribution: k.sorokin commentedComment #2
k.sorokin CreditAttribution: k.sorokin commentedComment #3
k.sorokin CreditAttribution: k.sorokin commentedComment #4
bkonetzny CreditAttribution: bkonetzny commentedComment #5
dhenry.redhat CreditAttribution: dhenry.redhat commentedThe attached patch appears to have resolved our never ending cron issues. It also appears to have cured a behavior where some page requests would never finish loading despite having delivered all markup for a page. This was causing timeout errors on our Selenium test suite.
Comment #6
dhenry.redhat CreditAttribution: dhenry.redhat commentedComment #7
justafishLet's just make sure we convert it to a string and keep the identity check
Comment #9
justafish