mirror of
https://git.freebsd.org/ports.git
synced 2025-06-21 20:50:31 -04:00
- Make portlint happy. - Allow building the VM on PowerPC. - Fix a typo in option detection code (&& -> ||). - Fix 2 security vulnerabilities [1]. PR: ports/98296 Submitted by: alepulver (myself) Approved by: Linas Valiukas <shirshegsm@gmail.com> (maintainer) Obtained from: q3icculus (http://icculus.org/quake3/) [1] Security: CVE-2006-2082
11 lines
446 B
C
11 lines
446 B
C
--- ./code/client/cl_ui.c.orig Wed May 31 18:55:11 2006
|
|
+++ ./code/client/cl_ui.c Wed May 31 18:55:13 2006
|
|
@@ -1166,7 +1166,7 @@
|
|
// init for this gamestate
|
|
VM_Call( uivm, UI_INIT, (cls.state >= CA_AUTHORIZING && cls.state < CA_ACTIVE));
|
|
}
|
|
- else if (v != UI_API_VERSION) {
|
|
+ else if (v != 0 && v != UI_API_VERSION) {
|
|
Com_Error( ERR_DROP, "User Interface is version %d, expected %d", v, UI_API_VERSION );
|
|
cls.uiStarted = qfalse;
|
|
}
|