forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit037529a
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 parent544cf24 commit037529a
1 file changed
+3
-1
lines changedLines changed: 3 additions & 1 deletion
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
Comments
(0)