From c8f25953ad1dd38a8b2d92738f0f742ad7e0bce7 Mon Sep 17 00:00:00 2001 From: Cristy Date: Sun, 21 Mar 2021 21:21:15 -0400 Subject: [PATCH] https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=32322 --- coders/dcm.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/coders/dcm.c b/coders/dcm.c index 29eed9618..7a68ed6e8 100644 --- a/coders/dcm.c +++ b/coders/dcm.c @@ -2984,12 +2984,12 @@ static MagickBooleanType ReadDCMPixels(Image *image,DCMInfo *info, } else { - SetPixelRed(q,(Quantum) (((ssize_t) pixel.red) | - (((ssize_t) GetPixelRed(q)) << 8))); - SetPixelGreen(q,(Quantum) (((ssize_t) pixel.green) | - (((ssize_t) GetPixelGreen(q)) << 8))); - SetPixelBlue(q,(Quantum) (((ssize_t) pixel.blue) | - (((ssize_t) GetPixelBlue(q)) << 8))); + SetPixelRed(q,(Quantum) (((size_t) pixel.red) | + (((size_t) GetPixelRed(q)) << 8))); + SetPixelGreen(q,(Quantum) (((size_t) pixel.green) | + (((size_t) GetPixelGreen(q)) << 8))); + SetPixelBlue(q,(Quantum) (((size_t) pixel.blue) | + (((size_t) GetPixelBlue(q)) << 8))); } q++; } -- 2.31.0 /commit/etc/init.d?id=bdd141b713b9bcecad09a1ec93a5bb651d340eba'>commitdiff
path: root/etc/init.d
AgeCommit message (Expand)Author
2024-06-26etc: Add explicit ‘--substitute-urls’ in guix-daemon service files....Having substitute URLs explicitly listed in the service startup file makes it clearer what should be modified to permanently change the list of substitute URLs. * config-daemon.ac: Rename ‘guix_substitute_urls’ to ‘GUIX_SUBSTITUTE_URLS’ and substitute it. * nix/local.mk (etc/guix-%.service, etc/init.d/guix-daemon) (etc/guix-%.conf): Substitute it. * etc/guix-daemon.conf.in, etc/guix-daemon.service.in, etc/init.d/guix-daemon.in: Add an explicit ‘--substitute-urls’ option. Change-Id: Ie491b7fab5c42e54dca582801c03805a85de2bf9 Ludovic Courtès
2021-07-07guix-install.sh: Prompt for configuring substitutes discovery....Also ensure prompt_yes_no always print the message with a trailing space, which is more pleasing to the eye. * etc/guix-daemon.conf.in <--discover=no>: New guix-daemon option. * etc/guix-daemon.service.in: Likewise. * etc/init.d/guix-daemon.in: Likewise. * etc/openrc/guix-daemon.in: Likewise. * etc/guix-install.sh (configure_substitute_discovery): New procedure. (sys_enable_guix_daemon): Ask the user whether automatic substitute discovery should be enabled. Set the '--discover' argument accordingly. (prompt_yes_no): Add a trailing space to the message. (sys_authorize_build_farms): Remove trailing space from the message argument. * NEWS (Distribution): Add news. Maxim Cournoyer