mirror of
https://github.com/xemu-project/xemu.git
synced 2025-02-16 10:08:10 +00:00
![Stefan Hajnoczi](/assets/img/avatar_default.png)
Replace the assertion check with graceful failure when the socket path is too long. Programs should not crash on invalid input. Print an error message and exit properly. Cc: Shannon Zhao <zhaoshenglong@huawei.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>