Commit 037529a
committed
to_char(): prevent accesses beyond the allocated buffer
Previously very long field masks for floats could access memory
beyond the existing buffer allocated to hold the result.
Reported by Andres Freund and Peter Geoghegan. Backpatch to all
supported versions.
Security: CVE-2015-02411 parent 544cf24 commit 037529a
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4390 | 4390 | | |
4391 | 4391 | | |
4392 | 4392 | | |
4393 | | - | |
| 4393 | + | |
| 4394 | + | |
| 4395 | + | |
4394 | 4396 | | |
4395 | 4397 | | |
4396 | 4398 | | |
| |||
0 commit comments