Fix error in Clang UndefinedBehaviorSanitizer
Pointer Arguments to memcpy can not be null in UndefinedBehaviorSanitizer. In this case, both the memory and the size was zero. This change allows protoc to run under UndefinedBehaviorSanitizer.
Showing
Please
register
or
sign in
to comment