pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
press - pr: Sync the citation translation of some sentences.
2+ messages / 2 participants
[nested] [flat]

* press - pr: Sync the citation translation of some sentences.
@ 2009-06-19 07:36  User Eulerto <eulerto@pgfoundry.org>
  0 siblings, 0 replies; 2+ messages in thread

From: eulerto@pgfoundry.org @ 2009-06-19 07:36 UTC (permalink / raw)
  To: pgsql-committers

Log Message:
-----------
Sync the citation translation of some sentences. Also, translate some more
database jargons.

Modified Files:
--------------
    pr/releases/8.4/br:
        presskit84.html.br (r1.4 -> r1.5)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/press/pr/releases/8.4/br/presskit84.html.br?r1=1.4&r...)
        release.txt.br (r1.3 -> r1.4)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/press/pr/releases/8.4/br/release.txt.br?r1=1.3&r2=1....)




^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* pgsql: Fix overflow in Windows replacement pg_pread/pg_pwrite.
@ 2024-03-02 19:47  Thomas Munro <tmunro@postgresql.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Thomas Munro @ 2024-03-02 19:47 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Fix overflow in Windows replacement pg_pread/pg_pwrite.

When calling the Windows file I/O APIs there is an implicit conversion
from size_t to DWORD, which could overflow.  Clamp the size at 1GB to
avoid that.

Not a really a live bug as we don't expect anything in PostgreSQL to
call with such large values.

Reviewed-by: Peter Eisentraut <peter@eisentraut.org>
Discussion: https://postgr.es/m/1672202.1703441340%40sss.pgh.pa.us

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/1e013746544bd1f9df70f5547894fd72719c4b85

Modified Files
--------------
src/port/win32pread.c  | 3 +++
src/port/win32pwrite.c | 3 +++
2 files changed, 6 insertions(+)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2024-03-02 19:47 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2009-06-19 07:36 press - pr: Sync the citation translation of some sentences. User Eulerto <eulerto@pgfoundry.org>
2024-03-02 19:47 pgsql: Fix overflow in Windows replacement pg_pread/pg_pwrite. Thomas Munro <tmunro@postgresql.org>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox