Issue62

Title Use correct type for lo_read() value
Priority feature Status resolved
Superseder Nosy List admin
Assigned To
Keywords Plugin - PostgreSQL

Created on 2017-08-09.18:41:49 by admin, last changed by admin.

Files
File name Uploaded Type Edit Remove
lo_read.patch admin, 2020-06-29.15:18:31 text/x-diff
Messages
msg288 (view) Author: admin Date: 2017-08-09.18:41:49
[BitBucket user: Jasper Lievisse Adriaanse]
[BitBucket date: 2017-08-09.16:41:49]

lo_read() returns an int not a size_t, this fixes a potential issue when reading a large file from PostgreSQL fails.

This was found on OpenBSD 6.1.
msg289 (view) Author: admin Date: 2020-06-29.15:18:31
[Bugzilla user: s.jodogne@gmail.com]
[Bugzilla date: 2020-06-29T13:18:31+00:00]

Created attachment 91
lo_read.patch
msg290 (view) Author: admin Date: 2017-08-11.17:58:26
[BitBucket user: Sébastien Jodogne]
[BitBucket date: 2017-08-11.15:58:26]

Thanks! This is fixed by the following changeset: https://hg.orthanc-server.com/orthanc-postgresql/changeset/5ced32a226b1946fdb9cf832373107ae0ae7aa27
History
Date User Action Args
2026-07-29 15:51:21admincreate