Update to use the HTML 4.01 Transitional DTD. <listing> -> <pre>.
This commit is contained in:
parent
7fece2ee33
commit
2989c7097a
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/www/; revision=12480
3 changed files with 15 additions and 15 deletions
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue