#964: Fix unreachable!() panic in the serde deserializer when a DOCTYPE
declaration appears between two text runs inside an element (e.g. <a>x<!DOCTYPE y>z</a>). The DOCTYPE used to break drain_text's
consecutive-text merge, so two DeEvent::Text events reached read_text and tripped its "Cannot be two consequent Text events"
invariant. DOCTYPE is now treated as transparent during text drain —
it still goes through the entity resolver, but the surrounding text
is merged into one run. Discovered via libFuzzer on a real-world
SAML deserializer harness.
Misc Changes
Configuration
📅Schedule: (UTC)
Branch creation
"after 11pm on Monday"
Automerge
At any time (no schedule defined)
🚦Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕Ignore: Close this PR and you won't be reminded about this update again.
If you want to rebase/retry this PR, check this box
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [quick-xml](https://github.com/tafia/quick-xml) | dependencies | patch | `0.40.0` → `0.40.1` |
---
### Release Notes
<details>
<summary>tafia/quick-xml (quick-xml)</summary>
### [`v0.40.1`](https://github.com/tafia/quick-xml/blob/HEAD/Changelog.md#0401----2026-05-15)
[Compare Source](https://github.com/tafia/quick-xml/compare/v0.40.0...v0.40.1)
##### Bug Fixes
- [#​964]: Fix `unreachable!()` panic in the serde deserializer when a DOCTYPE
declaration appears between two text runs inside an element (e.g.
`<a>x<!DOCTYPE y>z</a>`). The DOCTYPE used to break `drain_text`'s
consecutive-text merge, so two `DeEvent::Text` events reached
`read_text` and tripped its "Cannot be two consequent Text events"
invariant. DOCTYPE is now treated as transparent during text drain —
it still goes through the entity resolver, but the surrounding text
is merged into one run. Discovered via libFuzzer on a real-world
SAML deserializer harness.
[#​964]: https://github.com/tafia/quick-xml/pull/964
##### Misc Changes
</details>
---
### Configuration
📅 **Schedule**: (UTC)
- Branch creation
- "after 11pm on Monday"
- Automerge
- At any time (no schedule defined)
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Mend Renovate](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xNjkuMyIsInVwZGF0ZWRJblZlciI6IjQzLjE1MC4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
renovate-bot
changed title from chore(deps): update rust crate quick-xml to v0.40.1 to chore(deps): update rust crate quick-xml to v0.40.1 - autoclosed2026-06-29 19:23:31 +01:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
This PR contains the following updates:
0.40.0→0.40.1Release Notes
tafia/quick-xml (quick-xml)
v0.40.1Compare Source
Bug Fixes
unreachable!()panic in the serde deserializer when a DOCTYPEdeclaration appears between two text runs inside an element (e.g.
<a>x<!DOCTYPE y>z</a>). The DOCTYPE used to breakdrain_text'sconsecutive-text merge, so two
DeEvent::Textevents reachedread_textand tripped its "Cannot be two consequent Text events"invariant. DOCTYPE is now treated as transparent during text drain —
it still goes through the entity resolver, but the surrounding text
is merged into one run. Discovered via libFuzzer on a real-world
SAML deserializer harness.
Misc Changes
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate.
fd7afb1d86to76fbb6c6de76fbb6c6deto339e360250chore(deps): update rust crate quick-xml to v0.40.1to chore(deps): update rust crate quick-xml to v0.40.1 - autoclosedPull request closed