From 2989c7097ae2cca136310f10b79b4c99e931df92 Mon Sep 17 00:00:00 2001 From: Murray Stokely Date: Sat, 16 Mar 2002 08:06:14 +0000 Subject: [PATCH] Update to use the HTML 4.01 Transitional DTD. ->
.

---
 en/security/advisories.xml | 10 +++++-----
 en/security/security.sgml  | 10 +++++-----
 share/sgml/advisories.xml  | 10 +++++-----
 3 files changed, 15 insertions(+), 15 deletions(-)

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 @@
-
-
+
 
  %includes;
 ]>
-
+
 
 
     &header;
@@ -499,7 +499,7 @@ function is not used correctly.
 
  • 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: - +
             char buf[1024];
             struct foo { ... };
             ...
    @@ -509,7 +509,7 @@ BAD:
     GOOD:
             xxx(buf, sizeof(buf))
             xxx(yyy, sizeof(yyy))
    -
    +
  • Be careful though with sizeof of pointers when you really want the size of where it points to!

    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 @@ - - + %includes; ]> - + &header; @@ -499,7 +499,7 @@ function is not used correctly.
  • 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: - +
             char buf[1024];
             struct foo { ... };
             ...
    @@ -509,7 +509,7 @@ BAD:
     GOOD:
             xxx(buf, sizeof(buf))
             xxx(yyy, sizeof(yyy))
    -
    + Be careful though with sizeof of pointers when you really want the size of where it points to!

  • 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 @@ - - + %includes; ]> - + &header; @@ -499,7 +499,7 @@ function is not used correctly.
  • 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: - +
             char buf[1024];
             struct foo { ... };
             ...
    @@ -509,7 +509,7 @@ BAD:
     GOOD:
             xxx(buf, sizeof(buf))
             xxx(yyy, sizeof(yyy))
    -
    + Be careful though with sizeof of pointers when you really want the size of where it points to!