forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitb8b5801
committed
to_char(): prevent accesses beyond the allocated buffer
Previously very long field masks for floats could access memorybeyond the existing buffer allocated to hold the result.Reported by Andres Freund and Peter Geoghegan.Backpatch to allsupported versions.Security:CVE-2015-02411 parentfa06ce5 commitb8b5801
1 file changed
+3
-1
lines changedOriginal 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
Comments
(0)