Commit b8b5801
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 fa06ce5 commit b8b5801
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4416 | 4416 | | |
4417 | 4417 | | |
4418 | 4418 | | |
4419 | | - | |
| 4419 | + | |
| 4420 | + | |
| 4421 | + | |
4420 | 4422 | | |
4421 | 4423 | | |
4422 | 4424 | | |
| |||
0 commit comments