Commit 5ae3bf1
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 611037d commit 5ae3bf1
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4409 | 4409 | | |
4410 | 4410 | | |
4411 | 4411 | | |
4412 | | - | |
| 4412 | + | |
| 4413 | + | |
| 4414 | + | |
4413 | 4415 | | |
4414 | 4416 | | |
4415 | 4417 | | |
| |||
0 commit comments