mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-29 05:38:00 +00:00
ac2c14f932
- 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
12 lines
423 B
C
12 lines
423 B
C
--- ./code/ui/ui_main.c.orig Wed May 31 18:55:11 2006
|
|
+++ ./code/ui/ui_main.c Wed May 31 19:10:12 2006
|
|
@@ -4988,7 +4988,7 @@
|
|
{
|
|
filelen = strlen(fileptr);
|
|
|
|
- COM_StripExtension(fileptr,skinname);
|
|
+ COM_StripExtension(fileptr, skinname, sizeof(skinname));
|
|
|
|
// look for icon_????
|
|
if (Q_stricmpn(skinname, "icon_", 5) == 0 && !(Q_stricmp(skinname,"icon_blue") == 0 || Q_stricmp(skinname,"icon_red") == 0))
|