Skip to content
Commit c4736b91 authored by Richard Smith's avatar Richard Smith
Browse files

Don't memcpy from an empty ArrayRef; the base pointer could be null, and

the C rules say memcpy can't accept a null pointer.

This should fix a test failure with the ubsan buildbots.
parent 60eba816
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment