those code could work well, but it will be report some runtime error under UBSAN, so refactor it to let's ubsan could running happy.
those code could work well, but it will be report some runtime error under UBSAN, so refactor it to let's ubsan could running happy.