Commit 0150ab5
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 f9ee8ea commit 0150ab5
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4428 | 4428 | | |
4429 | 4429 | | |
4430 | 4430 | | |
4431 | | - | |
| 4431 | + | |
| 4432 | + | |
| 4433 | + | |
4432 | 4434 | | |
4433 | 4435 | | |
4434 | 4436 | | |
| |||
0 commit comments