mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
f14a57d93b
* Patch for CAN-2003-0577 was obtained via OpenBSD from http://marc.theaimsgroup.com/?l=bugtraq&m=104274357314340&w=2 * Patch for CAN-2003-0865 was obtained via OpenBSD from http://www.debian.org/security/2004/dsa-435 Submitted by: Marius Strobl <marius@alchemy.franken.de>
12 lines
353 B
C
12 lines
353 B
C
--- common.c.orig Thu Jul 17 19:20:43 2003
|
|
+++ common.c Thu Jul 17 19:22:04 2003
|
|
@@ -123,7 +123,7 @@ int head_check(unsigned long head)
|
|
return FALSE;
|
|
if(!((head>>17)&3))
|
|
return FALSE;
|
|
- if( ((head>>12)&0xf) == 0xf)
|
|
+ if( ((head>>12)&0xf) == 0xf || ((head>>12)&0xf) == 0)
|
|
return FALSE;
|
|
if( ((head>>10)&0x3) == 0x3 )
|
|
return FALSE;
|