Skip to content

MDEV-40552 UBSAN: not a valid value for wkbByteOrder Gis_multi_point - #5471

Merged
grooverdan merged 1 commit into
MariaDB:10.11from
grooverdan:MDEV-40552
Jul 30, 2026
Merged

MDEV-40552 UBSAN: not a valid value for wkbByteOrder Gis_multi_point#5471
grooverdan merged 1 commit into
MariaDB:10.11from
grooverdan:MDEV-40552

Conversation

@grooverdan

Copy link
Copy Markdown
Member

The byteorder field could contain an invalid value (> 1) on a GIS multi_point object where there byteorder was on any of the inner points.

This can occur with any of the GIS "*FromWKB" functions that contained a multipoint object.

This result in a invalid object being accepted and also potentially trigger undefined behaviour in the processing of the object.

The byteorder field could contain an invalid value (> 1) on a GIS
multi_point object where there byteorder was on any of the inner points.

This can occur with any of the GIS "*FromWKB" functions that contained
a multipoint object.

This result in a invalid object being accepted and also potentially
trigger undefined behaviour in the processing of the object.
@raghunandanbhat
raghunandanbhat self-requested a review July 30, 2026 07:47

@raghunandanbhat raghunandanbhat left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

patch looks good. thanks @grooverdan

@grooverdan
grooverdan merged commit 97967e7 into MariaDB:10.11 Jul 30, 2026
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants