Peter Maydell
70f2e64e4d
slirp: Convert mbufs to use g_malloc() and g_free()
...
The mbuf code currently doesn't check the result of doing a malloc()
or realloc() of its data (spotted by Coverity, CID 1238946).
Since the m_inc() API assumes that extending an mbuf must succeed,
just convert to g_malloc() and g_free().
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
2017-02-26 15:39:05 +01:00
..
2016-02-04 17:41:30 +00:00
2016-07-12 16:19:16 +02:00
2016-07-12 16:20:46 +02:00
2016-07-12 16:19:16 +02:00
2009-01-26 19:37:41 +00:00
2009-06-29 08:52:46 -05:00
2016-12-20 23:55:19 +01:00
2016-07-03 23:59:42 +02:00
2016-06-07 18:19:25 +03:00
2016-07-12 16:19:16 +02:00
2016-07-12 16:20:46 +02:00
2016-12-20 23:55:19 +01:00
2016-07-12 16:19:16 +02:00
2016-04-01 17:51:55 +02:00
2016-03-15 10:35:00 +01:00
2016-07-12 16:20:46 +02:00
2016-04-28 18:12:08 +01:00
2016-07-12 16:20:46 +02:00
2016-07-12 16:19:16 +02:00
2016-07-12 16:19:16 +02:00
2016-07-12 16:20:46 +02:00
2016-07-12 16:20:46 +02:00
2016-07-12 16:20:46 +02:00
2016-07-03 23:59:42 +02:00
2017-02-26 15:39:05 +01:00
2016-07-12 16:20:46 +02:00
2016-07-12 16:19:16 +02:00
2016-07-12 16:20:46 +02:00
2016-03-15 10:35:00 +01:00
2016-07-12 16:19:16 +02:00
2016-07-12 16:20:46 +02:00
2016-05-16 20:58:47 +02:00
2016-12-20 23:55:19 +01:00
2016-12-20 23:55:19 +01:00
2016-11-14 17:36:33 +01:00
2016-07-12 16:20:46 +02:00
2016-12-20 23:55:19 +01:00
2016-12-20 23:55:19 +01:00
2016-07-12 16:19:16 +02:00
2016-12-20 23:55:19 +01:00
2016-07-12 16:20:46 +02:00
2016-07-12 16:20:46 +02:00
2016-07-12 16:20:46 +02:00
2016-12-20 23:55:19 +01:00
2016-12-21 00:02:15 +01:00
2016-12-21 00:02:15 +01:00
2016-07-03 23:59:42 +02:00
2017-02-26 15:38:38 +01:00
2016-07-12 16:20:46 +02:00