[med-svn] [Git][med-team/orthanc][master] 2 commits: fix FTBFS on 32bits architectures
Sebastien Jodogne (@jodogne-guest)
gitlab at salsa.debian.org
Tue Apr 14 13:31:01 BST 2026
Sebastien Jodogne pushed to branch master at Debian Med / orthanc
Commits:
518cbfa8 by jodogne-guest at 2026-04-13T08:13:13+02:00
fix FTBFS on 32bits architectures
- - - - -
7475289e by jodogne-guest at 2026-04-13T08:48:48+02:00
Upload to unstable
- - - - -
2 changed files:
- debian/changelog
- debian/patches/security
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,9 @@
+orthanc (1.12.10+dfsg-5) unstable; urgency=medium
+
+ * Fix FTBFS on 32bits architectures (i386 and armhf).
+
+ -- Sebastien Jodogne <s.jodogne at gmail.com> Mon, 13 Apr 2026 08:10:12 +0200
+
orthanc (1.12.10+dfsg-4) unstable; urgency=high
* Fix CVE-2026-5437, CVE-2026-5438, CVE-2026-5439, CVE-2026-5440,
=====================================
debian/patches/security
=====================================
@@ -432,7 +432,7 @@ Index: Orthanc-1.12.10/OrthancFramework/Sources/DicomFormat/DicomImageInformatio
#include <stdio.h>
#include <memory>
-+static const uint64_t MAX_FRAME_SIZE = 4ul * 1024ul * 1024ul * 1024ul; // defensive approach: set a reasonable max size for a frame
++static const uint64_t MAX_FRAME_SIZE = 4llu * 1024llu * 1024llu * 1024llu; // defensive approach: set a reasonable max size for a frame
+
namespace Orthanc
{
@@ -1129,7 +1129,7 @@ Index: Orthanc-1.12.10/OrthancFramework/Sources/Images/PamReader.cpp
#include <boost/algorithm/string/find.hpp>
#include <boost/lexical_cast.hpp>
-+static const uint64_t MAX_PAM_IMAGE_BUFFER_SIZE = 4ul * 1024ul * 1024ul * 1024ul; // defensive approach: set a reasonable max size for a PAM image
++static const uint64_t MAX_PAM_IMAGE_BUFFER_SIZE = 4llu * 1024llu * 1024llu * 1024llu; // defensive approach: set a reasonable max size for a PAM image
namespace Orthanc
{
@@ -1295,7 +1295,7 @@ Index: Orthanc-1.12.10/OrthancServer/Sources/main.cpp
httpServer.SetRequestTimeout(lock.GetConfiguration().GetUnsignedIntegerParameter("HttpRequestTimeout", 30));
+ // New in Orthanc 1.12.11
-+ const unsigned int maxBodySize = lock.GetConfiguration().GetUnsignedIntegerParameter("MaximumRequestBodySizeMB", 8192);
++ const unsigned int maxBodySize = lock.GetConfiguration().GetUnsignedIntegerParameter("MaximumRequestBodySizeMB", 2048);
+ if (maxBodySize != 0)
+ {
+ LOG(WARNING) << "Limiting the maximum body size in HTTP requests to " << maxBodySize << "MB";
@@ -1307,7 +1307,7 @@ Index: Orthanc-1.12.10/OrthancServer/Sources/main.cpp
+ LOG(WARNING) << "No limit on the maximum body size in HTTP requests";
+ }
+
-+ const unsigned int maxSizeInArchive = lock.GetConfiguration().GetUnsignedIntegerParameter("MaximumFileSizeInArchiveMB", 4096);
++ const unsigned int maxSizeInArchive = lock.GetConfiguration().GetUnsignedIntegerParameter("MaximumFileSizeInArchiveMB", 2048);
+ if (maxSizeInArchive != 0)
+ {
+ LOG(WARNING) << "Limiting on the maximum file size uncompressed from ZIP/gzip archives to " << maxSizeInArchive << "MB";
View it on GitLab: https://salsa.debian.org/med-team/orthanc/-/compare/d1c1ce15c90c408c5c03d27bc0b79d9a995ad610...7475289e73899cbbef87f7d77da9606b23660365
--
View it on GitLab: https://salsa.debian.org/med-team/orthanc/-/compare/d1c1ce15c90c408c5c03d27bc0b79d9a995ad610...7475289e73899cbbef87f7d77da9606b23660365
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20260414/33c5d727/attachment-0001.htm>
More information about the debian-med-commit
mailing list