[MDEV-30435] Fix code duplication w.r.t. memcpy in spd_trx.cc Created: 2023-01-20  Updated: 2023-09-12  Resolved: 2023-06-07

Status: Closed
Project: MariaDB Server
Component/s: Storage Engine - Spider
Fix Version/s: 10.4.31, 10.5.22, 10.6.15, 10.9.8, 10.10.6, 10.11.5, 11.0.3, 11.1.2

Type: Task Priority: Major
Reporter: Yuchen Pei Assignee: Yuchen Pei
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Blocks
blocks MDEV-30981 Spider UBSAN: null pointer passed as ... Closed
Epic Link: Spider Refactoring

 Description   

Suggested by holyfoot in a review for MDEV-26541.

This will also fix similar ubsan complaints as in https://jira.mariadb.org/browse/MDEV-26541?focusedCommentId=246967&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-246967



 Comments   
Comment by Yuchen Pei [ 2023-05-25 ]

Hi holyfoot, PTAL thanks:

https://github.com/MariaDB/server/commit/fae069c53b3

Comment by Alexey Botchkov [ 2023-06-06 ]

ok to push.

Comment by Yuchen Pei [ 2023-06-07 ]

Thanks for the review, pushed to 10.4

Generated at Thu Feb 08 10:16:14 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.