[UB] Avoid a really broken call to realloc that would later result in
a bad call to memcpy. When we only have a buffer from one of the two reparse calls, we can just return that buffer rather than going through the realloc/memcpy dance. Found with UBsan. llvm-svn: 243950
Loading
Please register or sign in to comment