Mercurial > hg > nginx
annotate docs/dtd/changes.dtd @ 7674:7731c710796f
Memcached: protect from too long responses.
If a memcached response was followed by a correct trailer, and then
the NUL character followed by some extra data - this was accepted by
the trailer checking code. This in turn resulted in ctx->rest underflow
and caused negative size buffer on the next reading from the upstream,
followed by the "negative size buf in writer" alert.
Fix is to always check for too long responses, so a correct trailer cannot
be followed by extra data.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Mon, 06 Jul 2020 18:36:17 +0300 |
parents | 5e3bda6f5208 |
children | e79c7521aaf4 |
rev | line source |
---|---|
450 | 1 |
2 <!ENTITY nbsp " " > | |
547 | 3 <!ENTITY mdash " - " > |
450 | 4 |
5 | |
6 <!ELEMENT change_log (changes)* > | |
7 <!ATTLIST change_log title CDATA #REQUIRED > | |
8 | |
9 <!ELEMENT changes (change)* > | |
10 <!ATTLIST changes ver CDATA #REQUIRED | |
11 date CDATA #REQUIRED | |
12 > | |
13 | |
14 <!ELEMENT change (para)* > | |
4831
5e3bda6f5208
Pass changes.xml thru xmllint when generating CHANGES and CHANGES.ru.
Ruslan Ermilov <ru@nginx.com>
parents:
547
diff
changeset
|
15 <!ATTLIST change type (bugfix | feature | change | security | workaround) #IMPLIED > |
450 | 16 |
17 <!ELEMENT para (#PCDATA | at | br | nobr)* > | |
4831
5e3bda6f5208
Pass changes.xml thru xmllint when generating CHANGES and CHANGES.ru.
Ruslan Ermilov <ru@nginx.com>
parents:
547
diff
changeset
|
18 <!ATTLIST para lang (ru | en) #REQUIRED > |
450 | 19 |
20 <!ELEMENT at EMPTY > | |
21 <!ELEMENT br EMPTY > | |
22 <!ELEMENT nobr (#PCDATA) > |