Sir Mordred The Traitor <mordred@s-mail.com> writes:
Bruce Momjian <bruce@momjian.us>
Sir Mordred The Traitor <mordred@s-mail.com> writes: > Upon invoking a polygon(integer, circle) function a > src/backend/utils/adt/geo_ops.c:circle_poly() function will gets > called, which suffers from a buffer overflow. > > 2) A src/backend/adt/utils/geo_ops.c:path_encode() fails to detect a > buffer overrun condition. It is called in multiple places, the most > interesting are path_out() and poly_out() functions. > 5) A src/backend/utils/adt/geo_ops.c:path_add() also fails to detect > a simple buffer overrun. I've attached a patch which should fix these problems. Neil Conway
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/utils/adt/geo_ops.c | modified | +30 −9 |