qemu: remove superfluous fix for CVE-2014-0150
This commit is contained in:
parent
20db9eca26
commit
fe4bca74c3
@ -23,10 +23,6 @@ build() {
|
||||
--disable-gtk \
|
||||
--localstatedir=/var
|
||||
|
||||
# fix CVE-2014-0150
|
||||
sed -i '/if (in_use + mac_data.entries <= MAC_TABLE_ENTRIES) {/if \
|
||||
(mac_data.entries <= MAC_TABLE_ENTRIES - in_use) {/' hw/net/virtio-net.c
|
||||
|
||||
# fix include issues with libcap
|
||||
sed -i -e '/#include "qemu\/xattr.h"/d' \
|
||||
-e 's|#include <sys/resource.h>|#include <sys/resource.h>\r\n#include "qemu\/xattr.h"|g' \
|
||||
|
@ -24,10 +24,6 @@ build() {
|
||||
--localstatedir=/var \
|
||||
--target-list=x86_64-linux-user,i386-linux-user,i386-softmmu,x86_64-softmmu
|
||||
|
||||
# fix CVE-2014-0150
|
||||
sed -i '/if (in_use + mac_data.entries <= MAC_TABLE_ENTRIES) {/if \
|
||||
(mac_data.entries <= MAC_TABLE_ENTRIES - in_use) {/' hw/net/virtio-net.c
|
||||
|
||||
# fix include issues with libcap
|
||||
sed -i -e '/#include "qemu\/xattr.h"/d' \
|
||||
-e 's|#include <sys/resource.h>|#include <sys/resource.h>\r\n#include "qemu\/xattr.h"|g' \
|
||||
|
Loading…
x
Reference in New Issue
Block a user