diff options
| author | Stefan Hajnoczi <stefanha@redhat.com> | 2015-03-30 14:57:16 +0100 |
|---|---|---|
| committer | Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> | 2015-06-16 20:32:29 +0530 |
| commit | f8d30a4f96d6c3a12e692d2e69b8fe4734b916c6 (patch) | |
| tree | 7fe882b28651b57e1b2acd8e84b11cd5b453453c /scripts/qapi-types.py | |
| parent | bf6667d63ef4c4fbaf91051589a594ec1c235308 (diff) | |
| download | focaccia-qemu-f8d30a4f96d6c3a12e692d2e69b8fe4734b916c6.tar.gz focaccia-qemu-f8d30a4f96d6c3a12e692d2e69b8fe4734b916c6.zip | |
virtfs-proxy-helper: fail gracefully if socket path is too long
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>
Diffstat (limited to 'scripts/qapi-types.py')
0 files changed, 0 insertions, 0 deletions