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 4e49d1d802cf428d8873dcb9dc3196996066'>treecommitdiff
path: root/tests/guix-environment.sh
AgeCommit message (Expand)Author
2021-10-31Merge remote-tracking branch 'origin/master' into core-updates-frozenEfraim Flashner
2021-10-25environment: Add tests for '--profile'....This is a followup to a643deac2de81755a1843a3b41dd53857678bebc. * tests/guix-environment-container.sh, tests/guix-environment.sh: Add tests for '--profile'. Ludovic Courtès
2021-07-11environment: Adjust to earlier 'gcc-bootstrap' search paths changes....This is a followup to fe6775f52b7f28a5bf74633ea4737c32a64b7e05. * tests/guix-environment.sh: Expect C_INCLUDE_PATH rather than CPATH in environment containing 'gcc-bootstrap'. Ludovic Courtès
2021-01-19environment: Fix '--root' option with relative file name....The path normalization of `--root` option of `guix environment` was buggy as it appended full argument after normalized directory. This patch fixes it. * guix/scripts/environment.scm (register-gc-root): Fix gc-root path normalization. * tests/guix-environment.sh: Add test. Co-authored-by: Ludovic Courtès <ludo@gnu.org> JOULAUD François
2020-09-28tests: Simplify shell exit status negation;...* tests/guix-archive.sh, tests/guix-build-branch.sh, tests/guix-build.sh, tests/guix-daemon.sh, tests/guix-download.sh, tests/guix-environment.sh, tests/guix-gc.sh, tests/guix-git-authenticate.sh, tests/guix-graph.sh, tests/guix-hash.sh, tests/guix-lint.sh, tests/guix-pack-relocatable.sh, tests/guix-pack.sh, tests/guix-package-aliases.sh, tests/guix-package-net.sh, tests/guix-package.sh: Use the shell '!' keyword to negate command exit status in place of 'if ...; then false; else true; fi' Eric Bavier