diff options
| author | Joakim Tjernlund | 2014-07-11 17:18:03 +0200 |
|---|---|---|
| committer | Riku Voipio | 2014-07-15 15:28:36 +0200 |
| commit | 2dd08dfd9a553af3d53c6508e436b0c2aa5a469b (patch) | |
| tree | 1757c3ca01eadf85014baf01a42a60426606aca4 /linux-user/linuxload.c | |
| parent | linux-user: handle AF_PACKET sockaddrs in target_to_host_sockaddr (diff) | |
| download | qemu-2dd08dfd9a553af3d53c6508e436b0c2aa5a469b.tar.gz qemu-2dd08dfd9a553af3d53c6508e436b0c2aa5a469b.tar.xz qemu-2dd08dfd9a553af3d53c6508e436b0c2aa5a469b.zip | |
alloca one extra byte sockets
target_to_host_sockaddr() may increase the lenth with 1 byte
for AF_UNIX sockets so allocate 1 extra byte.
Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Diffstat (limited to 'linux-user/linuxload.c')
0 files changed, 0 insertions, 0 deletions
