Skip to content

XML::Reader: Disallow attributes containing null bytes#14193

Merged
straight-shoota merged 1 commit intocrystal-lang:masterfrom
HertzDevil:bug/xml-attribute-null-byte
Jan 12, 2024
Merged

XML::Reader: Disallow attributes containing null bytes#14193
straight-shoota merged 1 commit intocrystal-lang:masterfrom
HertzDevil:bug/xml-attribute-null-byte

Conversation

@HertzDevil
Copy link
Contributor

These are the only remaining libxml2 functions which accept an arbitrary C string argument but aren't guarded by null checks yet.

@HertzDevil HertzDevil added kind:bug A bug in the code. Does not apply to documentation, specs, etc. topic:stdlib:serialization labels Jan 9, 2024
@straight-shoota straight-shoota added this to the 1.12.0 milestone Jan 9, 2024
@straight-shoota straight-shoota merged commit 5bd7cb5 into crystal-lang:master Jan 12, 2024
@HertzDevil HertzDevil deleted the bug/xml-attribute-null-byte branch January 26, 2024 22:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind:bug A bug in the code. Does not apply to documentation, specs, etc. topic:stdlib:serialization

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants