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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment