diff options
author | Laurent Vivier <laurent@vivier.eu> | 2016-06-16 21:01:37 +0200 |
---|---|---|
committer | Riku Voipio <riku.voipio@linaro.org> | 2016-06-26 13:17:22 +0300 |
commit | b9403979b5c51d42018f40bf568d07519edb992e (patch) | |
tree | a45a797874c860e539751840dbf64fce950d1238 /arch_init.c | |
parent | 48dc0f2c3d87c74c31a27e1d17dabf26c378b1e8 (diff) |
linux-user: don't swap NLMSG_DATA() fields
If the structure pointed by NLMSG_DATA() is bigger
than the size of NLMSG_DATA(), don't swap its fields
to avoid memory corruption.
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'arch_init.c')
0 files changed, 0 insertions, 0 deletions