diff --git a/en/security/advisories.xml b/en/security/advisories.xml index 640358cebc..fd6cfc9677 100644 --- a/en/security/advisories.xml +++ b/en/security/advisories.xml @@ -1,10 +1,10 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN" [ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" [ <!ENTITY base CDATA ".."> -<!ENTITY date "$FreeBSD: www/en/security/security.sgml,v 1.84 2002/03/08 08:37:34 kuriyama Exp $"> +<!ENTITY date "$FreeBSD: www/en/security/security.sgml,v 1.85 2002/03/08 13:35:13 nectar Exp $"> <!ENTITY title "FreeBSD Security Information"> <!ENTITY % includes SYSTEM "../includes.sgml"> %includes; ]> -<!-- $FreeBSD: www/en/security/security.sgml,v 1.84 2002/03/08 08:37:34 kuriyama Exp $ --> +<!-- $FreeBSD: www/en/security/security.sgml,v 1.85 2002/03/08 13:35:13 nectar Exp $ --> <html> &header; @@ -499,7 +499,7 @@ function is not used correctly. <LI>When using fixed size buffers, use sizeof() to prevent lossage when a buffer size is changed but the code which uses it isn't. For example: -<LISTING> +<pre> char buf[1024]; struct foo { ... }; ... @@ -509,7 +509,7 @@ BAD: GOOD: xxx(buf, sizeof(buf)) xxx(yyy, sizeof(yyy)) -</LISTING> +</pre> Be careful though with sizeof of pointers when you really want the size of where it points to! <P></P></LI> diff --git a/en/security/security.sgml b/en/security/security.sgml index 640358cebc..fd6cfc9677 100644 --- a/en/security/security.sgml +++ b/en/security/security.sgml @@ -1,10 +1,10 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN" [ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" [ <!ENTITY base CDATA ".."> -<!ENTITY date "$FreeBSD: www/en/security/security.sgml,v 1.84 2002/03/08 08:37:34 kuriyama Exp $"> +<!ENTITY date "$FreeBSD: www/en/security/security.sgml,v 1.85 2002/03/08 13:35:13 nectar Exp $"> <!ENTITY title "FreeBSD Security Information"> <!ENTITY % includes SYSTEM "../includes.sgml"> %includes; ]> -<!-- $FreeBSD: www/en/security/security.sgml,v 1.84 2002/03/08 08:37:34 kuriyama Exp $ --> +<!-- $FreeBSD: www/en/security/security.sgml,v 1.85 2002/03/08 13:35:13 nectar Exp $ --> <html> &header; @@ -499,7 +499,7 @@ function is not used correctly. <LI>When using fixed size buffers, use sizeof() to prevent lossage when a buffer size is changed but the code which uses it isn't. For example: -<LISTING> +<pre> char buf[1024]; struct foo { ... }; ... @@ -509,7 +509,7 @@ BAD: GOOD: xxx(buf, sizeof(buf)) xxx(yyy, sizeof(yyy)) -</LISTING> +</pre> Be careful though with sizeof of pointers when you really want the size of where it points to! <P></P></LI> diff --git a/share/sgml/advisories.xml b/share/sgml/advisories.xml index 640358cebc..fd6cfc9677 100644 --- a/share/sgml/advisories.xml +++ b/share/sgml/advisories.xml @@ -1,10 +1,10 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN" [ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" [ <!ENTITY base CDATA ".."> -<!ENTITY date "$FreeBSD: www/en/security/security.sgml,v 1.84 2002/03/08 08:37:34 kuriyama Exp $"> +<!ENTITY date "$FreeBSD: www/en/security/security.sgml,v 1.85 2002/03/08 13:35:13 nectar Exp $"> <!ENTITY title "FreeBSD Security Information"> <!ENTITY % includes SYSTEM "../includes.sgml"> %includes; ]> -<!-- $FreeBSD: www/en/security/security.sgml,v 1.84 2002/03/08 08:37:34 kuriyama Exp $ --> +<!-- $FreeBSD: www/en/security/security.sgml,v 1.85 2002/03/08 13:35:13 nectar Exp $ --> <html> &header; @@ -499,7 +499,7 @@ function is not used correctly. <LI>When using fixed size buffers, use sizeof() to prevent lossage when a buffer size is changed but the code which uses it isn't. For example: -<LISTING> +<pre> char buf[1024]; struct foo { ... }; ... @@ -509,7 +509,7 @@ BAD: GOOD: xxx(buf, sizeof(buf)) xxx(yyy, sizeof(yyy)) -</LISTING> +</pre> Be careful though with sizeof of pointers when you really want the size of where it points to! <P></P></LI>