diff options
author | kwaclaw <kwaclaw> | 2012-05-15 00:28:15 +0000 |
---|---|---|
committer | kwaclaw <kwaclaw> | 2012-05-15 00:28:15 +0000 |
commit | 0644808b9222fe140f9bbcb92bb5d44b515f6a75 (patch) | |
tree | b018092c0a6a17fe39fe4456a6afdd2ada31bf52 | |
parent | e0dac70d7369d8bc553c72f8f36260a96709eb81 (diff) | |
download | libexpat-0644808b9222fe140f9bbcb92bb5d44b515f6a75.tar.gz |
-rw-r--r-- | doc/reference.html | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/doc/reference.html b/doc/reference.html index 8811a33..a4ab405 100644 --- a/doc/reference.html +++ b/doc/reference.html @@ -2151,8 +2151,12 @@ Helps in preventing DoS attacks based on predicting hash function behavior. In order to have an effect this must be called before parsing has started. Returns 1 if successful, 0 when called after <code>XML_Parse</code> or <code>XML_ParseBuffer</code>. -<p><b>Note:</b> This call is optional, as the parser will auto-generate a new -random salt value if no value has been set at the start of parsing.</p> +<p><b>Note:</b>This call is optional, as the parser will auto-generate +a new random salt value if no value has been set at the start of parsing. +<p><b>Note:</b>One should not call <code>XML_SetHashSalt</code> with a +hash salt value of 0, as this value is used as sentinel value to indicate +that <code>XML_SetHashSalt</code> has <b>not</b> been called. Consequently +such a call will have no effect, even if it returns 1.</p> </div> <pre class="fcndec" id="XML_UseForeignDTD"> |