mirror of
https://git.freebsd.org/ports.git
synced 2025-06-05 04:46:28 -04:00
This update fixes a number of vulnerabilities: CVE-2020-13999 (fixed in 1.0.13) CVE-2020-11863 (fixed in 1.0.12) CVE-2020-11864 (fixed in 1.0.12) CVE-2020-11865 (fixed in 1.0.12) CVE-2020-11866 (fixed in 1.0.12) PR: 259590 MFH: 2021Q4
12 lines
257 B
C++
12 lines
257 B
C++
--- libemf/libemf.cpp.orig 2021-11-01 12:21:53 UTC
|
|
+++ libemf/libemf.cpp
|
|
@@ -72,8 +72,7 @@ namespace EMF {
|
|
if ( not bigEndian() ) {
|
|
return a;
|
|
}
|
|
-#include <byteswap.h>
|
|
- return bswap_32(a);
|
|
+ return __builtin_bswap32(a);
|
|
}
|
|
|
|
/*!
|