SIGN IN SIGN UP

lib_standard_app: avoid NULL memcpy in send_swap_error_with_buffers

Found by SDK fuzzing (UBSan): skip the buffer copy when count == 0 so a
NULL pointer is never passed to memcpy.
A
Aymeric Robert committed
338b423f22185a55fc6e46d83fb402fc08dd2344
Parent: 2a1580d