- Notifications
You must be signed in to change notification settings - Fork5
Commite7370ba
committed
Fix xslt_process() to ensure that it inserts a NULL terminator after the
last pair of parameter name/value strings, even when there are MAXPARAMSof them. Aboriginal bug in contrib/xml2, noted while studying bug #4912(though I'm not sure whether there's something else involved in thatreport).This might be thought a security issue, since it's a potential backendcrash; but considering that untrustworthy users shouldn't be allowedto get their hands on xslt_process() anyway, it's probably not worthgetting excited about.1 parentb11ce56 commite7370ba
1 file changed
+12
-8
lines changedLines changed: 12 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 |
| - | |
| 2 | + | |
3 | 3 |
| |
4 | 4 |
| |
5 | 5 |
| |
| |||
38 | 38 |
| |
39 | 39 |
| |
40 | 40 |
| |
41 |
| - | |
| 41 | + | |
| 42 | + | |
42 | 43 |
| |
43 | 44 |
| |
44 | 45 |
| |
| |||
129 | 130 |
| |
130 | 131 |
| |
131 | 132 |
| |
132 |
| - | |
| 133 | + | |
133 | 134 |
| |
134 | 135 |
| |
135 | 136 |
| |
136 | 137 |
| |
137 |
| - | |
138 | 138 |
| |
139 | 139 |
| |
140 | 140 |
| |
| |||
154 | 154 |
| |
155 | 155 |
| |
156 | 156 |
| |
157 |
| - | |
| 157 | + | |
| 158 | + | |
158 | 159 |
| |
159 | 160 |
| |
160 | 161 |
| |
161 | 162 |
| |
| 163 | + | |
162 | 164 |
| |
163 | 165 |
| |
164 | 166 |
| |
| |||
167 | 169 |
| |
168 | 170 |
| |
169 | 171 |
| |
| 172 | + | |
| 173 | + | |
170 | 174 |
| |
171 |
| - | |
| 175 | + | |
172 | 176 |
| |
173 |
| - | |
174 |
| - | |
| 177 | + | |
| 178 | + | |
175 | 179 |
|
0 commit comments
Comments
(0)