Flawfinder version 2.0.10, (C) 2001-2019 David A. Wheeler.
Number of rules (primarily dangerous function names) in C/C++ ruleset: 223
Examining data/imagemagick-6.9.11.24+dfsg/filters/analyze.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/hald.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/vicar.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/xcf.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/ps2.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/xtrn.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/raw.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/dib.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/ipl.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/hrz.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/psd-private.h
Examining data/imagemagick-6.9.11.24+dfsg/coders/dcm.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/meta.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/xwd.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/braille.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/hdr.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/xpm.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/rla.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/bytebuffer-private.h
Examining data/imagemagick-6.9.11.24+dfsg/coders/ps.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/emf.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/scr.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/jbig.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/wbmp.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/fax.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/miff.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/inline.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/gray.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/dds.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/pgx.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/rle.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/xbm.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/ycbcr.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/bmp.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/pattern.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/heic.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/ps3.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/pdf.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/mpr.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/xps.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/sun.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/pdb.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/stegano.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/mpeg.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/xc.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/msl.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/tga.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/cin.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/matte.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/pnm.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/mac.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/pes.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/clipboard.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/viff.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/otb.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/gif.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/html.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/svg.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/clip.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/djvu.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/pcx.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/avs.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/art.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/yuv.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/wpg.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/mat.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/x.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/mask.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/cut.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/pix.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/magick.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/psd.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/dps.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/dpx.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/png.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/null.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/plasma.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/uyvy.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/jp2.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/vips.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/preview.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/caption.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/histogram.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/sct.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/ept.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/ttf.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/palm.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/dng.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/cals.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/url.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/exr.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/tim.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/jpeg.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/gradient.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/pcd.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/jnx.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/debug.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/webp.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/mono.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/map.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/label.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/aai.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/screenshot.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/pict.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/icon.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/mpc.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/rgf.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/uil.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/sgi.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/thumbnail.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/mvg.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/wmf.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/txt.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/vid.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/pango.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/info.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/cmyk.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/sfw.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/fpx.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/sixel.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/tiff.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/fits.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/rgb.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/tile.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/flif.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/cip.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/dot.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/bgr.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/pcl.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/pwp.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/ghostscript-private.h
Examining data/imagemagick-6.9.11.24+dfsg/coders/mtv.c
Examining data/imagemagick-6.9.11.24+dfsg/coders/json.c
Examining data/imagemagick-6.9.11.24+dfsg/Magick++/lib/CoderInfo.cpp
Examining data/imagemagick-6.9.11.24+dfsg/Magick++/lib/STL.cpp
Examining data/imagemagick-6.9.11.24+dfsg/Magick++/lib/ImageRef.cpp
Examining data/imagemagick-6.9.11.24+dfsg/Magick++/lib/BlobRef.cpp
Examining data/imagemagick-6.9.11.24+dfsg/Magick++/lib/Functions.cpp
Examining data/imagemagick-6.9.11.24+dfsg/Magick++/lib/ChannelMoments.cpp
Examining data/imagemagick-6.9.11.24+dfsg/Magick++/lib/Montage.cpp
Examining data/imagemagick-6.9.11.24+dfsg/Magick++/lib/Options.cpp
Examining data/imagemagick-6.9.11.24+dfsg/Magick++/lib/Magick++/Include.h
Examining data/imagemagick-6.9.11.24+dfsg/Magick++/lib/Magick++/Pixels.h
Examining data/imagemagick-6.9.11.24+dfsg/Magick++/lib/Magick++/Options.h
Examining data/imagemagick-6.9.11.24+dfsg/Magick++/lib/Magick++/Exception.h
Examining data/imagemagick-6.9.11.24+dfsg/Magick++/lib/Magick++/CoderInfo.h
Examining data/imagemagick-6.9.11.24+dfsg/Magick++/lib/Magick++/Montage.h
Examining data/imagemagick-6.9.11.24+dfsg/Magick++/lib/Magick++/Drawable.h
Examining data/imagemagick-6.9.11.24+dfsg/Magick++/lib/Magick++/Functions.h
Examining data/imagemagick-6.9.11.24+dfsg/Magick++/lib/Magick++/ImageRef.h
Examining data/imagemagick-6.9.11.24+dfsg/Magick++/lib/Magick++/Thread.h
Examining data/imagemagick-6.9.11.24+dfsg/Magick++/lib/Magick++/Blob.h
Examining data/imagemagick-6.9.11.24+dfsg/Magick++/lib/Magick++/Color.h
Examining data/imagemagick-6.9.11.24+dfsg/Magick++/lib/Magick++/Image.h
Examining data/imagemagick-6.9.11.24+dfsg/Magick++/lib/Magick++/BlobRef.h
Examining data/imagemagick-6.9.11.24+dfsg/Magick++/lib/Magick++/TypeMetric.h
Examining data/imagemagick-6.9.11.24+dfsg/Magick++/lib/Magick++/Geometry.h
Examining data/imagemagick-6.9.11.24+dfsg/Magick++/lib/Magick++/ChannelMoments.h
Examining data/imagemagick-6.9.11.24+dfsg/Magick++/lib/Magick++/STL.h
Examining data/imagemagick-6.9.11.24+dfsg/Magick++/lib/Magick++/ResourceLimits.h
Examining data/imagemagick-6.9.11.24+dfsg/Magick++/lib/Magick++.h
Examining data/imagemagick-6.9.11.24+dfsg/Magick++/lib/Geometry.cpp
Examining data/imagemagick-6.9.11.24+dfsg/Magick++/lib/Thread.cpp
Examining data/imagemagick-6.9.11.24+dfsg/Magick++/lib/Pixels.cpp
Examining data/imagemagick-6.9.11.24+dfsg/Magick++/lib/Exception.cpp
Examining data/imagemagick-6.9.11.24+dfsg/Magick++/lib/Image.cpp
Examining data/imagemagick-6.9.11.24+dfsg/Magick++/lib/ResourceLimits.cpp
Examining data/imagemagick-6.9.11.24+dfsg/Magick++/lib/Drawable.cpp
Examining data/imagemagick-6.9.11.24+dfsg/Magick++/lib/TypeMetric.cpp
Examining data/imagemagick-6.9.11.24+dfsg/Magick++/lib/Blob.cpp
Examining data/imagemagick-6.9.11.24+dfsg/Magick++/lib/Color.cpp
Examining data/imagemagick-6.9.11.24+dfsg/Magick++/tests/coderInfo.cpp
Examining data/imagemagick-6.9.11.24+dfsg/Magick++/tests/color.cpp
Examining data/imagemagick-6.9.11.24+dfsg/Magick++/tests/readWriteBlob.cpp
Examining data/imagemagick-6.9.11.24+dfsg/Magick++/tests/attributes.cpp
Examining data/imagemagick-6.9.11.24+dfsg/Magick++/tests/readWriteImages.cpp
Examining data/imagemagick-6.9.11.24+dfsg/Magick++/tests/exceptions.cpp
Examining data/imagemagick-6.9.11.24+dfsg/Magick++/tests/coalesceImages.cpp
Examining data/imagemagick-6.9.11.24+dfsg/Magick++/tests/averageImages.cpp
Examining data/imagemagick-6.9.11.24+dfsg/Magick++/tests/colorHistogram.cpp
Examining data/imagemagick-6.9.11.24+dfsg/Magick++/tests/morphImages.cpp
Examining data/imagemagick-6.9.11.24+dfsg/Magick++/tests/montageImages.cpp
Examining data/imagemagick-6.9.11.24+dfsg/Magick++/tests/appendImages.cpp
Examining data/imagemagick-6.9.11.24+dfsg/Magick++/demo/flip.cpp
Examining data/imagemagick-6.9.11.24+dfsg/Magick++/demo/detrans.cpp
Examining data/imagemagick-6.9.11.24+dfsg/Magick++/demo/analyze.cpp
Examining data/imagemagick-6.9.11.24+dfsg/Magick++/demo/button.cpp
Examining data/imagemagick-6.9.11.24+dfsg/Magick++/demo/zoom.cpp
Examining data/imagemagick-6.9.11.24+dfsg/Magick++/demo/piddle.cpp
Examining data/imagemagick-6.9.11.24+dfsg/Magick++/demo/gravity.cpp
Examining data/imagemagick-6.9.11.24+dfsg/Magick++/demo/shapes.cpp
Examining data/imagemagick-6.9.11.24+dfsg/Magick++/demo/demo.cpp
Examining data/imagemagick-6.9.11.24+dfsg/tests/validate.c
Examining data/imagemagick-6.9.11.24+dfsg/tests/wandtest.c
Examining data/imagemagick-6.9.11.24+dfsg/tests/drawtest.c
Examining data/imagemagick-6.9.11.24+dfsg/tests/validate.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/pixel.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/locale.c
Examining data/imagemagick-6.9.11.24+dfsg/magick/distort.c
Examining data/imagemagick-6.9.11.24+dfsg/magick/fx.c
Examining data/imagemagick-6.9.11.24+dfsg/magick/mime-private.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/distribute-cache.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/compress.c
Examining data/imagemagick-6.9.11.24+dfsg/magick/compare.c
Examining data/imagemagick-6.9.11.24+dfsg/magick/draw.c
Examining data/imagemagick-6.9.11.24+dfsg/magick/mime.c
Examining data/imagemagick-6.9.11.24+dfsg/magick/resource.c
Examining data/imagemagick-6.9.11.24+dfsg/magick/pixel-private.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/ImageMagick.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/monitor-private.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/magick-baseconfig.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/memory-private.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/cache-view.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/segment.c
Examining data/imagemagick-6.9.11.24+dfsg/magick/resize.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/colormap.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/cipher.c
Examining data/imagemagick-6.9.11.24+dfsg/magick/resource_.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/channel.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/client.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/quantum.c
Examining data/imagemagick-6.9.11.24+dfsg/magick/type.c
Examining data/imagemagick-6.9.11.24+dfsg/magick/visual-effects.c
Examining data/imagemagick-6.9.11.24+dfsg/magick/string_.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/montage.c
Examining data/imagemagick-6.9.11.24+dfsg/magick/signature-private.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/static.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/histogram.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/pixel-accessor.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/quantize.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/blob.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/layer.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/attribute.c
Examining data/imagemagick-6.9.11.24+dfsg/magick/statistic.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/pixel.c
Examining data/imagemagick-6.9.11.24+dfsg/magick/composite.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/timer-private.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/exception.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/profile.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/policy-private.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/magick.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/list.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/compare.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/splay-tree.c
Examining data/imagemagick-6.9.11.24+dfsg/magick/attribute.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/profile.c
Examining data/imagemagick-6.9.11.24+dfsg/magick/vms.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/cipher.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/xml-tree-private.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/image.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/log.c
Examining data/imagemagick-6.9.11.24+dfsg/magick/signature.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/widget.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/constitute.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/stream.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/thread_.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/nt-base.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/threshold.c
Examining data/imagemagick-6.9.11.24+dfsg/magick/feature.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/matrix.c
Examining data/imagemagick-6.9.11.24+dfsg/magick/token-private.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/coder.c
Examining data/imagemagick-6.9.11.24+dfsg/magick/blob-private.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/distribute-cache-private.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/widget.c
Examining data/imagemagick-6.9.11.24+dfsg/magick/type.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/version.c
Examining data/imagemagick-6.9.11.24+dfsg/magick/monitor.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/colorspace.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/mime.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/geometry.c
Examining data/imagemagick-6.9.11.24+dfsg/magick/mutex.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/token.c
Examining data/imagemagick-6.9.11.24+dfsg/magick/xwindow-private.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/version-private.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/quantum-export.c
Examining data/imagemagick-6.9.11.24+dfsg/magick/color.c
Examining data/imagemagick-6.9.11.24+dfsg/magick/hashmap.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/identify.c
Examining data/imagemagick-6.9.11.24+dfsg/magick/animate.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/quantize.c
Examining data/imagemagick-6.9.11.24+dfsg/magick/policy.c
Examining data/imagemagick-6.9.11.24+dfsg/magick/nt-feature.c
Examining data/imagemagick-6.9.11.24+dfsg/magick/cache.c
Examining data/imagemagick-6.9.11.24+dfsg/magick/feature.c
Examining data/imagemagick-6.9.11.24+dfsg/magick/monitor.c
Examining data/imagemagick-6.9.11.24+dfsg/magick/accelerate.c
Examining data/imagemagick-6.9.11.24+dfsg/magick/list.c
Examining data/imagemagick-6.9.11.24+dfsg/magick/matrix.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/mac.c
Examining data/imagemagick-6.9.11.24+dfsg/magick/enhance.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/xwindow.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/fourier.c
Examining data/imagemagick-6.9.11.24+dfsg/magick/fx-private.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/option.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/utility.c
Examining data/imagemagick-6.9.11.24+dfsg/magick/string.c
Examining data/imagemagick-6.9.11.24+dfsg/magick/memory.c
Examining data/imagemagick-6.9.11.24+dfsg/magick/segment.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/effect.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/deprecate.c
Examining data/imagemagick-6.9.11.24+dfsg/magick/color-private.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/log.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/montage.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/magick-config.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/cache-view.c
Examining data/imagemagick-6.9.11.24+dfsg/magick/artifact.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/cache.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/property.c
Examining data/imagemagick-6.9.11.24+dfsg/magick/option-private.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/decorate.c
Examining data/imagemagick-6.9.11.24+dfsg/magick/vision.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/paint.c
Examining data/imagemagick-6.9.11.24+dfsg/magick/display-private.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/nt-feature.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/memory_.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/shear.c
Examining data/imagemagick-6.9.11.24+dfsg/magick/annotate.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/utility.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/gem.c
Examining data/imagemagick-6.9.11.24+dfsg/magick/fourier.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/magick.c
Examining data/imagemagick-6.9.11.24+dfsg/magick/threshold.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/resample.c
Examining data/imagemagick-6.9.11.24+dfsg/magick/semaphore-private.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/resize-private.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/exception.c
Examining data/imagemagick-6.9.11.24+dfsg/magick/image-view.c
Examining data/imagemagick-6.9.11.24+dfsg/magick/random_.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/MagickCore.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/cache-private.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/api.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/morphology.c
Examining data/imagemagick-6.9.11.24+dfsg/magick/locale_.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/quantum-import.c
Examining data/imagemagick-6.9.11.24+dfsg/magick/prepress.c
Examining data/imagemagick-6.9.11.24+dfsg/magick/module.c
Examining data/imagemagick-6.9.11.24+dfsg/magick/delegate.c
Examining data/imagemagick-6.9.11.24+dfsg/magick/layer.c
Examining data/imagemagick-6.9.11.24+dfsg/magick/colorspace.c
Examining data/imagemagick-6.9.11.24+dfsg/magick/methods.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/thread-private.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/blob.c
Examining data/imagemagick-6.9.11.24+dfsg/magick/statistic.c
Examining data/imagemagick-6.9.11.24+dfsg/magick/effect.c
Examining data/imagemagick-6.9.11.24+dfsg/magick/composite.c
Examining data/imagemagick-6.9.11.24+dfsg/magick/opencl-private.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/image-view.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/studio.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/transform.c
Examining data/imagemagick-6.9.11.24+dfsg/magick/composite-private.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/mac.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/constitute.c
Examining data/imagemagick-6.9.11.24+dfsg/magick/random.c
Examining data/imagemagick-6.9.11.24+dfsg/magick/magic.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/policy.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/image.c
Examining data/imagemagick-6.9.11.24+dfsg/magick/shear.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/deprecate.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/histogram.c
Examining data/imagemagick-6.9.11.24+dfsg/magick/version.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/accelerate-private.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/option.c
Examining data/imagemagick-6.9.11.24+dfsg/magick/gem.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/animate-private.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/identify.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/magick-type.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/semaphore.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/enhance.c
Examining data/imagemagick-6.9.11.24+dfsg/magick/distort.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/colorspace-private.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/geometry.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/vms.c
Examining data/imagemagick-6.9.11.24+dfsg/magick/timer.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/visual-effects.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/client.c
Examining data/imagemagick-6.9.11.24+dfsg/magick/resample.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/module.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/registry.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/annotate.c
Examining data/imagemagick-6.9.11.24+dfsg/magick/token.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/exception-private.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/resize.c
Examining data/imagemagick-6.9.11.24+dfsg/magick/xml-tree.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/animate.c
Examining data/imagemagick-6.9.11.24+dfsg/magick/prepress.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/semaphore.c
Examining data/imagemagick-6.9.11.24+dfsg/magick/draw.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/delegate-private.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/nt-base-private.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/channel.c
Examining data/imagemagick-6.9.11.24+dfsg/magick/distribute-cache.c
Examining data/imagemagick-6.9.11.24+dfsg/magick/fx.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/coder.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/opencl.c
Examining data/imagemagick-6.9.11.24+dfsg/magick/morphology-private.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/colormap-private.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/xwindow.c
Examining data/imagemagick-6.9.11.24+dfsg/magick/quantum.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/string-private.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/property.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/compress.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/timer.c
Examining data/imagemagick-6.9.11.24+dfsg/magick/signature.c
Examining data/imagemagick-6.9.11.24+dfsg/magick/stream-private.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/random-private.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/static.c
Examining data/imagemagick-6.9.11.24+dfsg/magick/paint.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/utility-private.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/hashmap.c
Examining data/imagemagick-6.9.11.24+dfsg/magick/colormap.c
Examining data/imagemagick-6.9.11.24+dfsg/magick/nt-base.c
Examining data/imagemagick-6.9.11.24+dfsg/magick/draw-private.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/image-private.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/magic.c
Examining data/imagemagick-6.9.11.24+dfsg/magick/display.c
Examining data/imagemagick-6.9.11.24+dfsg/magick/stream.c
Examining data/imagemagick-6.9.11.24+dfsg/magick/splay-tree.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/color.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/vision.c
Examining data/imagemagick-6.9.11.24+dfsg/magick/accelerate-kernels-private.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/method-attribute.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/thread.c
Examining data/imagemagick-6.9.11.24+dfsg/magick/transform.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/configure.c
Examining data/imagemagick-6.9.11.24+dfsg/magick/gem-private.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/configure.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/morphology.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/registry.c
Examining data/imagemagick-6.9.11.24+dfsg/magick/opencl.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/resample-private.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/quantum-private.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/artifact.c
Examining data/imagemagick-6.9.11.24+dfsg/magick/xml-tree.c
Examining data/imagemagick-6.9.11.24+dfsg/magick/delegate.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/decorate.h
Examining data/imagemagick-6.9.11.24+dfsg/magick/display.h
Examining data/imagemagick-6.9.11.24+dfsg/wand/wand-view.h
Examining data/imagemagick-6.9.11.24+dfsg/wand/compare.c
Examining data/imagemagick-6.9.11.24+dfsg/wand/pixel-wand.h
Examining data/imagemagick-6.9.11.24+dfsg/wand/magick-wand.c
Examining data/imagemagick-6.9.11.24+dfsg/wand/montage.c
Examining data/imagemagick-6.9.11.24+dfsg/wand/magick_wand.h
Examining data/imagemagick-6.9.11.24+dfsg/wand/composite.h
Examining data/imagemagick-6.9.11.24+dfsg/wand/compare.h
Examining data/imagemagick-6.9.11.24+dfsg/wand/conjure.h
Examining data/imagemagick-6.9.11.24+dfsg/wand/stream.h
Examining data/imagemagick-6.9.11.24+dfsg/wand/magick-property.c
Examining data/imagemagick-6.9.11.24+dfsg/wand/wand-view.c
Examining data/imagemagick-6.9.11.24+dfsg/wand/mogrify-private.h
Examining data/imagemagick-6.9.11.24+dfsg/wand/magick-wand.h
Examining data/imagemagick-6.9.11.24+dfsg/wand/magick-image.c
Examining data/imagemagick-6.9.11.24+dfsg/wand/identify.c
Examining data/imagemagick-6.9.11.24+dfsg/wand/animate.h
Examining data/imagemagick-6.9.11.24+dfsg/wand/deprecate.c
Examining data/imagemagick-6.9.11.24+dfsg/wand/montage.h
Examining data/imagemagick-6.9.11.24+dfsg/wand/conjure.c
Examining data/imagemagick-6.9.11.24+dfsg/wand/import.c
Examining data/imagemagick-6.9.11.24+dfsg/wand/drawing-wand.c
Examining data/imagemagick-6.9.11.24+dfsg/wand/convert.c
Examining data/imagemagick-6.9.11.24+dfsg/wand/pixel-wand.c
Examining data/imagemagick-6.9.11.24+dfsg/wand/pixel-wand-private.h
Examining data/imagemagick-6.9.11.24+dfsg/wand/MagickWand.h
Examining data/imagemagick-6.9.11.24+dfsg/wand/drawing-wand.h
Examining data/imagemagick-6.9.11.24+dfsg/wand/mogrify.h
Examining data/imagemagick-6.9.11.24+dfsg/wand/composite.c
Examining data/imagemagick-6.9.11.24+dfsg/wand/studio.h
Examining data/imagemagick-6.9.11.24+dfsg/wand/magick-wand-private.h
Examining data/imagemagick-6.9.11.24+dfsg/wand/mogrify.c
Examining data/imagemagick-6.9.11.24+dfsg/wand/magick-image.h
Examining data/imagemagick-6.9.11.24+dfsg/wand/pixel-iterator.c
Examining data/imagemagick-6.9.11.24+dfsg/wand/deprecate.h
Examining data/imagemagick-6.9.11.24+dfsg/wand/identify.h
Examining data/imagemagick-6.9.11.24+dfsg/wand/convert.h
Examining data/imagemagick-6.9.11.24+dfsg/wand/wand.c
Examining data/imagemagick-6.9.11.24+dfsg/wand/animate.c
Examining data/imagemagick-6.9.11.24+dfsg/wand/import.h
Examining data/imagemagick-6.9.11.24+dfsg/wand/magick-property.h
Examining data/imagemagick-6.9.11.24+dfsg/wand/display.c
Examining data/imagemagick-6.9.11.24+dfsg/wand/stream.c
Examining data/imagemagick-6.9.11.24+dfsg/wand/method-attribute.h
Examining data/imagemagick-6.9.11.24+dfsg/wand/pixel-iterator.h
Examining data/imagemagick-6.9.11.24+dfsg/wand/wand.h
Examining data/imagemagick-6.9.11.24+dfsg/wand/display.h
Examining data/imagemagick-6.9.11.24+dfsg/utilities/compare.c
Examining data/imagemagick-6.9.11.24+dfsg/utilities/montage.c
Examining data/imagemagick-6.9.11.24+dfsg/utilities/identify.c
Examining data/imagemagick-6.9.11.24+dfsg/utilities/conjure.c
Examining data/imagemagick-6.9.11.24+dfsg/utilities/import.c
Examining data/imagemagick-6.9.11.24+dfsg/utilities/convert.c
Examining data/imagemagick-6.9.11.24+dfsg/utilities/composite.c
Examining data/imagemagick-6.9.11.24+dfsg/utilities/mogrify.c
Examining data/imagemagick-6.9.11.24+dfsg/utilities/animate.c
Examining data/imagemagick-6.9.11.24+dfsg/utilities/display.c
Examining data/imagemagick-6.9.11.24+dfsg/utilities/stream.c
Examining data/imagemagick-6.9.11.24+dfsg/www/source/core.c
Examining data/imagemagick-6.9.11.24+dfsg/www/source/core/sigmoidal-contrast.c
Examining data/imagemagick-6.9.11.24+dfsg/www/source/wand/sigmoidal-contrast.c
Examining data/imagemagick-6.9.11.24+dfsg/www/source/wand.c
Examining data/imagemagick-6.9.11.24+dfsg/www/source/contrast.c
Examining data/imagemagick-6.9.11.24+dfsg/www/source/analyze.c

FINAL RESULTS:

data/imagemagick-6.9.11.24+dfsg/magick/utility.c:1019:11:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
    count=readlink(link_path,execution_path,PATH_MAX);
data/imagemagick-6.9.11.24+dfsg/magick/utility.c:1024:15:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
        count=readlink(link_path,execution_path,PATH_MAX);
data/imagemagick-6.9.11.24+dfsg/coders/meta.c:381:26:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
                  (void) strcpy(name,newstr);
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:7599:10:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
  (void) vsprintf(reason,format,operands);
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:7601:10:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
  (void) vsnprintf(reason,MaxTextExtent,format,operands);
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:7633:10:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
  (void) vsprintf(reason,format,operands);
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:7635:10:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
  (void) vsnprintf(reason,MaxTextExtent,format,operands);
data/imagemagick-6.9.11.24+dfsg/coders/pdf.c:267:16:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
        (void) sscanf(p,PDFRotate" %lf",&pdf_info->angle);
data/imagemagick-6.9.11.24+dfsg/coders/ps.c:353:16:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
        (void) sscanf(p,ImageData " %lu %lu",&ps_info->columns,&ps_info->rows);
data/imagemagick-6.9.11.24+dfsg/coders/ps.c:443:25:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
        count=(ssize_t) sscanf(p,PhotoshopProfile " %lu",&extent);
data/imagemagick-6.9.11.24+dfsg/coders/ps.c:475:25:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
        count=(ssize_t) sscanf(p,BoundingBox " %lf %lf %lf %lf",
data/imagemagick-6.9.11.24+dfsg/coders/ps.c:482:25:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
        count=(ssize_t) sscanf(p,DocumentMedia " %lf %lf %lf %lf",
data/imagemagick-6.9.11.24+dfsg/coders/ps.c:489:25:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
        count=(ssize_t) sscanf(p,HiResBoundingBox " %lf %lf %lf %lf",
data/imagemagick-6.9.11.24+dfsg/coders/ps.c:496:25:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
        count=(ssize_t) sscanf(p,PageBoundingBox " %lf %lf %lf %lf",
data/imagemagick-6.9.11.24+dfsg/coders/ps.c:503:25:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
        count=(ssize_t) sscanf(p,PageMedia " %lf %lf %lf %lf",
data/imagemagick-6.9.11.24+dfsg/coders/svg.c:3037:10:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
  (void) vsprintf(reason,format,operands);
data/imagemagick-6.9.11.24+dfsg/coders/svg.c:3039:10:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
  (void) vsnprintf(reason,MaxTextExtent,format,operands);
data/imagemagick-6.9.11.24+dfsg/coders/svg.c:3072:10:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
  (void) vsprintf(reason,format,operands);
data/imagemagick-6.9.11.24+dfsg/coders/svg.c:3074:10:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
  (void) vsnprintf(reason,MaxTextExtent,format,operands);
data/imagemagick-6.9.11.24+dfsg/coders/tiff.c:598:10:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
  (void) vsnprintf(message,MaxTextExtent-2,format,error);
data/imagemagick-6.9.11.24+dfsg/coders/tiff.c:600:10:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
  (void) vsprintf(message,format,error);
data/imagemagick-6.9.11.24+dfsg/coders/tiff.c:975:10:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
  (void) vsnprintf(message,MaxTextExtent,format,warning);
data/imagemagick-6.9.11.24+dfsg/coders/tiff.c:977:10:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
  (void) vsprintf(message,format,warning);
data/imagemagick-6.9.11.24+dfsg/coders/xbm.c:269:11:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
      if (sscanf(buffer,"static unsigned char %s = {",name) == 1)
data/imagemagick-6.9.11.24+dfsg/magick/delegate.c:381:10:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  status=system(sanitize_command);
data/imagemagick-6.9.11.24+dfsg/magick/delegate.c:385:12:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    status=system(sanitize_command);
data/imagemagick-6.9.11.24+dfsg/magick/delegate.c:396:16:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        status=system(sanitize_command);
data/imagemagick-6.9.11.24+dfsg/magick/delegate.c:400:20:  [4] (shell) execvp:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
            status=execvp(arguments[1],arguments+1);
data/imagemagick-6.9.11.24+dfsg/magick/delegate.c:452:10:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  status=system(sanitize_command);
data/imagemagick-6.9.11.24+dfsg/magick/delegate.c:454:22:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
#  error No suitable system() method.
data/imagemagick-6.9.11.24+dfsg/magick/deprecate.c:2244:5:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
  n=vsnprintf(value,MaxTextExtent,format,operands);
data/imagemagick-6.9.11.24+dfsg/magick/deprecate.c:2246:5:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
  n=vsprintf(value,format,operands);
data/imagemagick-6.9.11.24+dfsg/magick/deprecate.c:2263:5:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
  n=vsnprintf(value,MaxTextExtent,format,operands);
data/imagemagick-6.9.11.24+dfsg/magick/deprecate.c:2265:5:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
  n=vsprintf(value,format,operands);
data/imagemagick-6.9.11.24+dfsg/magick/deprecate.c:2328:5:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
  n=vsnprintf(string,length,format,operands);
data/imagemagick-6.9.11.24+dfsg/magick/deprecate.c:2330:5:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
  n=vsprintf(string,format,operands);
data/imagemagick-6.9.11.24+dfsg/magick/deprecate.c:2387:5:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
  n=vsnprintf(string,MaxTextExtent,format,operands);
data/imagemagick-6.9.11.24+dfsg/magick/deprecate.c:2389:5:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
  n=vsprintf(string,format,operands);
data/imagemagick-6.9.11.24+dfsg/magick/exception.c:1128:5:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
  n=vsnprintf(reason+length,MaxTextExtent-length,format,operands);
data/imagemagick-6.9.11.24+dfsg/magick/exception.c:1130:5:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
  n=vsprintf(reason+length,format,operands);
data/imagemagick-6.9.11.24+dfsg/magick/locale.c:370:19:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      n=(ssize_t) vfprintf(file,format,operands);
data/imagemagick-6.9.11.24+dfsg/magick/locale.c:387:19:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      n=(ssize_t) vfprintf(file,format,operands);
data/imagemagick-6.9.11.24+dfsg/magick/locale.c:391:21:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        n=(ssize_t) vfprintf(file,format,operands);
data/imagemagick-6.9.11.24+dfsg/magick/locale.c:396:15:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  n=(ssize_t) vfprintf(file,format,operands);
data/imagemagick-6.9.11.24+dfsg/magick/locale.c:461:19:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
      n=(ssize_t) vsnprintf(string,length,format,operands);
data/imagemagick-6.9.11.24+dfsg/magick/locale.c:478:19:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
      n=(ssize_t) vsnprintf(string,length,format,operands);
data/imagemagick-6.9.11.24+dfsg/magick/locale.c:482:21:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
        n=(ssize_t) vsnprintf(string,length,format,operands);
data/imagemagick-6.9.11.24+dfsg/magick/locale.c:487:15:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
  n=(ssize_t) vsnprintf(string,length,format,operands);
data/imagemagick-6.9.11.24+dfsg/magick/locale.c:490:15:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
  n=(ssize_t) vsprintf(string,format,operands);
data/imagemagick-6.9.11.24+dfsg/magick/log.c:1325:5:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
  n=vsnprintf(event,MaxTextExtent,format,operands);
data/imagemagick-6.9.11.24+dfsg/magick/log.c:1327:5:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
  n=vsprintf(event,format,operands);
data/imagemagick-6.9.11.24+dfsg/magick/nt-base.h:84:14:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
#if !defined(access)
data/imagemagick-6.9.11.24+dfsg/magick/nt-base.h:86:11:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
#  define access(path,mode)  _access_s(path,mode)
data/imagemagick-6.9.11.24+dfsg/magick/nt-base.h:192:42:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
#  define mmap(address,length,protection,access,file,offset) \
data/imagemagick-6.9.11.24+dfsg/magick/nt-base.h:193:41:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
  NTMapMemory(address,length,protection,access,file,offset)
data/imagemagick-6.9.11.24+dfsg/magick/nt-base.h:207:14:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
#if !defined(popen)
data/imagemagick-6.9.11.24+dfsg/magick/nt-base.h:208:11:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
#  define popen  _popen
data/imagemagick-6.9.11.24+dfsg/magick/nt-base.h:274:14:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#if !defined(vsnprintf)
data/imagemagick-6.9.11.24+dfsg/magick/nt-base.h:276:9:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#define vsnprintf _vsnprintf
data/imagemagick-6.9.11.24+dfsg/magick/opencl.c:259:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(buf, "%s%d\t(%d calls)   \t%d -> %d", indent, profileRecords[i].count > 0 ? (profileRecords[i].total / profileRecords[i].count) : 0, profileRecords[i].count, profileRecords[i].min, profileRecords[i].max);
data/imagemagick-6.9.11.24+dfsg/magick/opencl.c:1103:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(accelerateKernelsBuffer,"%s%s",accelerateKernels,accelerateKernels2);
data/imagemagick-6.9.11.24+dfsg/magick/string.c:344:10:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  (void) strcpy(clone_info->path,string_info->path);
data/imagemagick-6.9.11.24+dfsg/magick/studio.h:172:12:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
extern int vsnprintf(char *,size_t,const char *,va_list);
data/imagemagick-6.9.11.24+dfsg/magick/utility-private.h:80:7:  [4] (buffer) wcscpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using a function version that stops copying at the end
  of the buffer.
      wcscpy(wideChar,shortPath+4);
data/imagemagick-6.9.11.24+dfsg/magick/utility-private.h:99:10:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
  return(access(path,mode));
data/imagemagick-6.9.11.24+dfsg/magick/utility-private.h:189:10:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  return(popen(command,type));
data/imagemagick-6.9.11.24+dfsg/tests/validate.c:1565:14:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
      (void) system(SystemCommand);
data/imagemagick-6.9.11.24+dfsg/tests/wandtest.c:5232:16:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        (void) strcpy(path,p);
data/imagemagick-6.9.11.24+dfsg/wand/drawing-wand.c:160:6:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    (printf,2,3))),
data/imagemagick-6.9.11.24+dfsg/wand/drawing-wand.c:162:6:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    (printf,2,3)));
data/imagemagick-6.9.11.24+dfsg/wand/drawing-wand.c:228:15:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
        count=vsnprintf(wand->mvg+wand->mvg_length,(size_t) offset,format,argp);
data/imagemagick-6.9.11.24+dfsg/wand/drawing-wand.c:230:15:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
        count=vsprintf(wand->mvg+wand->mvg_length,format,argp);
data/imagemagick-6.9.11.24+dfsg/wand/drawing-wand.c:262:9:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
  count=vsnprintf(buffer,sizeof(buffer)-1,format,argp);
data/imagemagick-6.9.11.24+dfsg/wand/drawing-wand.c:264:9:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
  count=vsprintf(buffer,format,argp);
data/imagemagick-6.9.11.24+dfsg/wand/studio.h:164:12:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
extern int vsnprintf(char *,size_t,const char *,va_list);
data/imagemagick-6.9.11.24+dfsg/www/source/core.c:32:10:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  (void) strcpy(image_info->filename,argv[1]);
data/imagemagick-6.9.11.24+dfsg/www/source/core.c:53:10:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  (void) strcpy(thumbnails->filename,argv[2]);
data/imagemagick-6.9.11.24+dfsg/Magick++/demo/button.cpp:24:8:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    if(getenv("SRCDIR") != 0)
data/imagemagick-6.9.11.24+dfsg/Magick++/demo/button.cpp:25:16:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
      srcdir = getenv("SRCDIR");
data/imagemagick-6.9.11.24+dfsg/Magick++/demo/button.cpp:70:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    if (getenv("MAGICK_FONT") != 0)
data/imagemagick-6.9.11.24+dfsg/Magick++/demo/button.cpp:71:26:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
      button.font(string(getenv("MAGICK_FONT")));
data/imagemagick-6.9.11.24+dfsg/Magick++/demo/demo.cpp:31:8:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    if(getenv("SRCDIR") != 0)
data/imagemagick-6.9.11.24+dfsg/Magick++/demo/demo.cpp:32:16:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
      srcdir = getenv("SRCDIR");
data/imagemagick-6.9.11.24+dfsg/Magick++/demo/demo.cpp:85:11:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
      if (getenv("MAGICK_FONT") != 0)
data/imagemagick-6.9.11.24+dfsg/Magick++/demo/demo.cpp:86:29:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
        example.font(string(getenv("MAGICK_FONT")));
data/imagemagick-6.9.11.24+dfsg/Magick++/demo/flip.cpp:31:8:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    if(getenv("SRCDIR") != 0)
data/imagemagick-6.9.11.24+dfsg/Magick++/demo/flip.cpp:32:16:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
      srcdir = getenv("SRCDIR");
data/imagemagick-6.9.11.24+dfsg/Magick++/demo/gravity.cpp:33:8:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    if(getenv("SRCDIR") != 0)
data/imagemagick-6.9.11.24+dfsg/Magick++/demo/gravity.cpp:34:16:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
      srcdir = getenv("SRCDIR");
data/imagemagick-6.9.11.24+dfsg/Magick++/demo/piddle.cpp:26:8:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    if(getenv("SRCDIR") != 0)
data/imagemagick-6.9.11.24+dfsg/Magick++/demo/piddle.cpp:27:16:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
      srcdir = getenv("SRCDIR");
data/imagemagick-6.9.11.24+dfsg/Magick++/demo/piddle.cpp:146:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    if (getenv("MAGICK_FONT") != 0)
data/imagemagick-6.9.11.24+dfsg/Magick++/demo/piddle.cpp:147:46:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
      drawList.push_back(DrawableFont(string(getenv("MAGICK_FONT"))));
data/imagemagick-6.9.11.24+dfsg/Magick++/demo/shapes.cpp:27:8:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    if(getenv("SRCDIR") != 0)
data/imagemagick-6.9.11.24+dfsg/Magick++/demo/shapes.cpp:28:16:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
      srcdir = getenv("SRCDIR");
data/imagemagick-6.9.11.24+dfsg/Magick++/demo/shapes.cpp:87:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    if (getenv("MAGICK_FONT") != 0)
data/imagemagick-6.9.11.24+dfsg/Magick++/demo/shapes.cpp:88:25:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
      image.font(string(getenv("MAGICK_FONT")));
data/imagemagick-6.9.11.24+dfsg/Magick++/tests/appendImages.cpp:29:8:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    if(getenv("SRCDIR") != 0)
data/imagemagick-6.9.11.24+dfsg/Magick++/tests/appendImages.cpp:30:16:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
      srcdir = getenv("SRCDIR");
data/imagemagick-6.9.11.24+dfsg/Magick++/tests/averageImages.cpp:29:8:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    if(getenv("SRCDIR") != 0)
data/imagemagick-6.9.11.24+dfsg/Magick++/tests/averageImages.cpp:30:16:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
      srcdir = getenv("SRCDIR");
data/imagemagick-6.9.11.24+dfsg/Magick++/tests/coalesceImages.cpp:29:8:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    if(getenv("SRCDIR") != 0)
data/imagemagick-6.9.11.24+dfsg/Magick++/tests/coalesceImages.cpp:30:16:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
      srcdir = getenv("SRCDIR");
data/imagemagick-6.9.11.24+dfsg/Magick++/tests/colorHistogram.cpp:38:8:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    if(getenv("SRCDIR") != 0)
data/imagemagick-6.9.11.24+dfsg/Magick++/tests/colorHistogram.cpp:39:16:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
      srcdir = getenv("SRCDIR");
data/imagemagick-6.9.11.24+dfsg/Magick++/tests/montageImages.cpp:30:8:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    if(getenv("SRCDIR") != 0)
data/imagemagick-6.9.11.24+dfsg/Magick++/tests/montageImages.cpp:31:16:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
      srcdir = getenv("SRCDIR");
data/imagemagick-6.9.11.24+dfsg/Magick++/tests/morphImages.cpp:29:8:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    if(getenv("SRCDIR") != 0)
data/imagemagick-6.9.11.24+dfsg/Magick++/tests/morphImages.cpp:30:16:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
      srcdir = getenv("SRCDIR");
data/imagemagick-6.9.11.24+dfsg/Magick++/tests/readWriteBlob.cpp:63:10:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
      if(getenv("SRCDIR") != 0)
data/imagemagick-6.9.11.24+dfsg/Magick++/tests/readWriteBlob.cpp:64:18:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
        srcdir = getenv("SRCDIR");
data/imagemagick-6.9.11.24+dfsg/Magick++/tests/readWriteImages.cpp:34:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    if (getenv("SRCDIR") != 0)
data/imagemagick-6.9.11.24+dfsg/Magick++/tests/readWriteImages.cpp:35:14:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
      srcdir=getenv("SRCDIR");
data/imagemagick-6.9.11.24+dfsg/magick/constitute.c:817:27:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
        source_date_epoch=getenv("SOURCE_DATE_EPOCH");
data/imagemagick-6.9.11.24+dfsg/magick/module.c:588:15:  [3] (buffer) realpath:
  This function does not protect against buffer overflows, and some
  implementations can overflow internally (CWE-120/CWE-785!). Ensure that the
  destination buffer is at least of size MAXPATHLEN, andto protect against
  implementation problems, the input argument should also be checked to
  ensure it is no larger than MAXPATHLEN.
          if (realpath(path,resolved_path) != (char *) NULL)
data/imagemagick-6.9.11.24+dfsg/magick/nt-base.c:764:18:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  unsigned char *random)
data/imagemagick-6.9.11.24+dfsg/magick/nt-base.c:781:47:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  status=CryptGenRandom(handle,(DWORD) length,random);
data/imagemagick-6.9.11.24+dfsg/magick/nt-base.c:791:10:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  (void) random;
data/imagemagick-6.9.11.24+dfsg/magick/nt-base.h:253:14:  [3] (tmpfile) tempnam:
  Temporary file race condition (CWE-377).
#if !defined(tempnam)
data/imagemagick-6.9.11.24+dfsg/magick/nt-base.h:254:11:  [3] (tmpfile) tempnam:
  Temporary file race condition (CWE-377).
#  define tempnam  _tempnam_s
data/imagemagick-6.9.11.24+dfsg/magick/opencl.c:1113:13:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
        && !getenv("MAGICK_OCL_REC"))
data/imagemagick-6.9.11.24+dfsg/magick/opencl.c:1212:23:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  MAGICK_OCL_DEVICE = getenv("MAGICK_OCL_DEVICE");
data/imagemagick-6.9.11.24+dfsg/magick/opencl.c:2985:7:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  if (getenv("MAGICK_OCL_LOG"))
data/imagemagick-6.9.11.24+dfsg/magick/semaphore.c:321:3:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
  EnterCriticalSection(&semaphore_info->mutex);
data/imagemagick-6.9.11.24+dfsg/magick/string.c:1157:15:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  environment=getenv(name);
data/imagemagick-6.9.11.24+dfsg/magick/timer.c:337:25:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
      source_date_epoch=getenv("SOURCE_DATE_EPOCH");
data/imagemagick-6.9.11.24+dfsg/magick/utility.c:1044:10:  [3] (buffer) realpath:
  This function does not protect against buffer overflows, and some
  implementations can overflow internally (CWE-120/CWE-785!). Ensure that the
  destination buffer is at least of size MAXPATHLEN, andto protect against
  implementation problems, the input argument should also be checked to
  ensure it is no larger than MAXPATHLEN.
        (realpath(executable_path,execution_path) != (char *) NULL))
data/imagemagick-6.9.11.24+dfsg/magick/utility.c:1093:13:  [3] (buffer) realpath:
  This function does not protect against buffer overflows, and some
  implementations can overflow internally (CWE-120/CWE-785!). Ensure that the
  destination buffer is at least of size MAXPATHLEN, andto protect against
  implementation problems, the input argument should also be checked to
  ensure it is no larger than MAXPATHLEN.
        if (realpath(program_name,execution_path) != (char *) NULL)
data/imagemagick-6.9.11.24+dfsg/tests/wandtest.c:5229:7:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    p=getenv("SRCDIR");
data/imagemagick-6.9.11.24+dfsg/tests/wandtest.c:5311:7:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  if (getenv("MAGICK_FONT") != 0)
data/imagemagick-6.9.11.24+dfsg/tests/wandtest.c:5312:37:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    (void) DrawSetFont(drawing_wand,getenv("MAGICK_FONT"));
data/imagemagick-6.9.11.24+dfsg/Magick++/lib/BlobRef.cpp:28:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(_data,data_,length_);
data/imagemagick-6.9.11.24+dfsg/Magick++/lib/Color.cpp:230:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/Magick++/lib/Geometry.cpp:195:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/Magick++/lib/Geometry.cpp:288:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/Magick++/lib/Image.cpp:365:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/Magick++/lib/Image.cpp:1556:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/Magick++/lib/Image.cpp:1923:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/Magick++/lib/Image.cpp:2352:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/Magick++/lib/Image.cpp:3196:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/Magick++/lib/Image.cpp:3208:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/Magick++/lib/Image.cpp:3376:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/Magick++/lib/Image.cpp:3577:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/Magick++/lib/Image.cpp:4620:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/Magick++/lib/Options.cpp:613:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(_drawInfo->dash_pattern,strokeDashArray_,(x+1)*sizeof(double));
data/imagemagick-6.9.11.24+dfsg/Magick++/lib/Options.cpp:1048:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/bmp.c:559:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char
data/imagemagick-6.9.11.24+dfsg/coders/braille.c:188:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/braille.c:334:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          unsigned char
data/imagemagick-6.9.11.24+dfsg/coders/braille.c:354:33:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          static const unsigned char
data/imagemagick-6.9.11.24+dfsg/coders/bytebuffer-private.h:30:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char
data/imagemagick-6.9.11.24+dfsg/coders/cals.c:146:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/cals.c:406:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/cals.c:438:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/caption.c:98:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/caption.c:303:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char
data/imagemagick-6.9.11.24+dfsg/coders/cin.c:90:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char
data/imagemagick-6.9.11.24+dfsg/coders/cin.c:104:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/cin.c:124:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/cin.c:133:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/cin.c:141:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char
data/imagemagick-6.9.11.24+dfsg/coders/cin.c:159:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char
data/imagemagick-6.9.11.24+dfsg/coders/cin.c:173:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/cin.c:184:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/cin.c:197:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/cin.c:203:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/cin.c:385:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/cin.c:419:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char
data/imagemagick-6.9.11.24+dfsg/coders/cin.c:898:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/cip.c:161:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/cip.c:201:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char
data/imagemagick-6.9.11.24+dfsg/coders/clipboard.c:185:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  (void) memcpy(p,clip_mem,clip_size);
data/imagemagick-6.9.11.24+dfsg/coders/clipboard.c:372:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  (void) memcpy(clip_mem,p,length-BMP_HEADER_SIZE);
data/imagemagick-6.9.11.24+dfsg/coders/cut.c:83:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char FileId[2];
data/imagemagick-6.9.11.24+dfsg/coders/cut.c:94:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char PaletteId[20];
data/imagemagick-6.9.11.24+dfsg/coders/dcm.c:3031:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/dcm.c:3346:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              char
data/imagemagick-6.9.11.24+dfsg/coders/dcm.c:3852:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char
data/imagemagick-6.9.11.24+dfsg/coders/dds.c:144:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char
data/imagemagick-6.9.11.24+dfsg/coders/dds.c:933:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char
data/imagemagick-6.9.11.24+dfsg/coders/dds.c:1020:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char
data/imagemagick-6.9.11.24+dfsg/coders/dds.c:1246:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char
data/imagemagick-6.9.11.24+dfsg/coders/dds.c:2503:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char
data/imagemagick-6.9.11.24+dfsg/coders/dds.c:2569:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char
data/imagemagick-6.9.11.24+dfsg/coders/dds.c:2708:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/dds.c:2975:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char
data/imagemagick-6.9.11.24+dfsg/coders/dds.c:3061:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char
data/imagemagick-6.9.11.24+dfsg/coders/debug.c:167:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/debug.c:240:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char
data/imagemagick-6.9.11.24+dfsg/coders/debug.c:249:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char
data/imagemagick-6.9.11.24+dfsg/coders/djvu.c:151:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char data[BLOCKSIZE];
data/imagemagick-6.9.11.24+dfsg/coders/djvu.c:169:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char data[BLOCKSIZE];
data/imagemagick-6.9.11.24+dfsg/coders/djvu.c:937:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/dng.c:159:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/dng.c:275:7:  [2] (buffer) wchar_t:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      wchar_t
data/imagemagick-6.9.11.24+dfsg/coders/dng.c:278:7:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
      MultiByteToWideChar(CP_UTF8,0,image->filename,-1,fileName,
data/imagemagick-6.9.11.24+dfsg/coders/dng.c:446:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char
data/imagemagick-6.9.11.24+dfsg/coders/dng.c:470:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                char
data/imagemagick-6.9.11.24+dfsg/coders/dot.c:101:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/dpx.c:145:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/dpx.c:155:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/dpx.c:165:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/dpx.c:171:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/dpx.c:188:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/dpx.c:224:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char
data/imagemagick-6.9.11.24+dfsg/coders/dpx.c:241:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char
data/imagemagick-6.9.11.24+dfsg/coders/dpx.c:259:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/dpx.c:271:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char
data/imagemagick-6.9.11.24+dfsg/coders/dpx.c:299:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/dpx.c:305:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/dpx.c:656:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/dpx.c:829:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char
data/imagemagick-6.9.11.24+dfsg/coders/dpx.c:1434:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/emf.c:703:3:  [2] (buffer) wchar_t:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  wchar_t
data/imagemagick-6.9.11.24+dfsg/coders/emf.c:717:3:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
  MultiByteToWideChar(CP_UTF8,0,image->filename,-1,fileName,MaxTextExtent);
data/imagemagick-6.9.11.24+dfsg/coders/ept.c:391:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/exr.c:331:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/fax.c:152:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/fits.c:248:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/fits.c:641:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/flif.c:306:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/ghostscript-private.h:43:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  (void) memcpy(*messages+offset,message,length);
data/imagemagick-6.9.11.24+dfsg/coders/gif.c:84:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char
data/imagemagick-6.9.11.24+dfsg/coders/gif.c:943:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char
data/imagemagick-6.9.11.24+dfsg/coders/gif.c:1015:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char
data/imagemagick-6.9.11.24+dfsg/coders/gif.c:1157:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                char
data/imagemagick-6.9.11.24+dfsg/coders/gif.c:1795:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char
data/imagemagick-6.9.11.24+dfsg/coders/gif.c:1884:24:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                       char
data/imagemagick-6.9.11.24+dfsg/coders/gradient.c:177:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/hdr.c:137:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/hdr.c:170:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char
data/imagemagick-6.9.11.24+dfsg/coders/hdr.c:425:20:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            (void) memcpy(pixels,pixel,4*sizeof(*pixel));
data/imagemagick-6.9.11.24+dfsg/coders/hdr.c:615:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char
data/imagemagick-6.9.11.24+dfsg/coders/hdr.c:666:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/hdr.c:689:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char
data/imagemagick-6.9.11.24+dfsg/coders/histogram.c:180:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/html.c:214:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/icon.c:370:16:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        (void) memcpy(png,"\211PNG\r\n\032\n\000\000\000\015",12);
data/imagemagick-6.9.11.24+dfsg/coders/inline.c:282:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/ipl.c:186:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char magick[12], *pixels;
data/imagemagick-6.9.11.24+dfsg/coders/jbig.c:311:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/jp2.c:286:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char
data/imagemagick-6.9.11.24+dfsg/coders/jp2.c:579:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/jpeg.c:314:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/jpeg.c:370:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/jpeg.c:486:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/jpeg.c:596:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/jpeg.c:721:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/jpeg.c:830:14:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      (void) memcpy(GetStringInfoDatum(profile),
data/imagemagick-6.9.11.24+dfsg/coders/jpeg.c:1029:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/jpeg.c:1093:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/jpeg.c:1644:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/jpeg.c:2122:16:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        (void) memcpy(p,ICC_PROFILE,tag_length);
data/imagemagick-6.9.11.24+dfsg/coders/jpeg.c:2129:18:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          (void) memcpy(p+tag_length+3,GetStringInfoDatum(profile)+i,
data/imagemagick-6.9.11.24+dfsg/coders/jpeg.c:2148:22:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
              (void) memcpy(p,"Photoshop 3.0 ",14);
data/imagemagick-6.9.11.24+dfsg/coders/jpeg.c:2153:22:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
              (void) memcpy(p,"Photoshop 3.0 8BIM\04\04\0\0\0\0",24);
data/imagemagick-6.9.11.24+dfsg/coders/jpeg.c:2159:18:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          (void) memcpy(p+tag_length,GetStringInfoDatum(profile)+i,length);
data/imagemagick-6.9.11.24+dfsg/coders/jpeg.c:2659:25:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            factors[i]=(char *) RelinquishMagickMemory(factors[i]);
data/imagemagick-6.9.11.24+dfsg/coders/json.c:90:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/json.c:318:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/json.c:963:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/json.c:1032:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char
data/imagemagick-6.9.11.24+dfsg/coders/json.c:1086:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char
data/imagemagick-6.9.11.24+dfsg/coders/label.c:94:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/label.c:268:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char
data/imagemagick-6.9.11.24+dfsg/coders/magick.c:12980:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/magick.c:13226:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/mat.c:98:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char identific[124];
data/imagemagick-6.9.11.24+dfsg/coders/mat.c:100:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char EndianIndicator[2];
data/imagemagick-6.9.11.24+dfsg/coders/mat.c:120:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char
data/imagemagick-6.9.11.24+dfsg/coders/mat.c:123:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char
data/imagemagick-6.9.11.24+dfsg/coders/mat.c:586:24:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if((clone_info->file=fopen(clone_info->filename,"rb"))==NULL) goto UnlinkFile;
data/imagemagick-6.9.11.24+dfsg/coders/mat.c:608:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char Type[4];
data/imagemagick-6.9.11.24+dfsg/coders/mat.c:1602:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/meta.c:149:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char
data/imagemagick-6.9.11.24+dfsg/coders/meta.c:1275:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char
data/imagemagick-6.9.11.24+dfsg/coders/meta.c:1798:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/meta.c:1909:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/meta.c:1970:28:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      readable = (unsigned char *) tags[i].name;
data/imagemagick-6.9.11.24+dfsg/coders/meta.c:2033:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char
data/imagemagick-6.9.11.24+dfsg/coders/meta.c:2052:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/meta.c:2107:26:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      readable=(unsigned char *) tags[i].name;
data/imagemagick-6.9.11.24+dfsg/coders/meta.c:2164:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/meta.c:2191:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char
data/imagemagick-6.9.11.24+dfsg/coders/miff.c:438:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/miff.c:1759:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/miff.c:2003:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/mpc.c:148:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/mpc.c:1103:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/mpeg.c:499:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/mpeg.c:561:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:203:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:619:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:704:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              keyword=(const char *) attributes[i++];
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:706:48:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                msl_info->attributes[n],(const char *) attributes[i]);
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:762:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:782:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              keyword=(const char *) attributes[i++];
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:784:48:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                msl_info->attributes[n],(const char *) attributes[i]);
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:1114:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              keyword=(const char *) attributes[i++];
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:1116:48:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                msl_info->attributes[n],(const char *) attributes[i]);
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:1177:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              keyword=(const char *) attributes[i++];
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:1179:48:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                msl_info->attributes[n],(const char *) attributes[i]);
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:1273:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              keyword=(const char *) attributes[i++];
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:1275:48:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                msl_info->attributes[n],(const char *) attributes[i]);
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:1372:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:1395:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              keyword=(const char *) attributes[i++];
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:1397:48:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                msl_info->attributes[n],(const char *) attributes[i]);
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:1461:28:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            keyword=(const char *) attributes[i++];
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:1463:46:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              msl_info->attributes[n],(const char *) attributes[i]);
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:1533:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              keyword=(const char *) attributes[i++];
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:1535:48:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                msl_info->attributes[n],(const char *) attributes[i]);
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:1643:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              keyword=(const char *) attributes[i++];
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:1645:48:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                msl_info->attributes[n],(const char *) attributes[i]);
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:1745:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:1772:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              keyword=(const char *) attributes[i++];
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:1774:48:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                msl_info->attributes[n],(const char *) attributes[i]);
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:1825:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              keyword=(const char *) attributes[i++];
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:1827:48:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                msl_info->attributes[n],(const char *) attributes[i]);
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:2113:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              keyword=(const char *) attributes[i++];
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:2115:48:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                msl_info->attributes[n],(const char *) attributes[i]);
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:2166:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              keyword=(const char *) attributes[i++];
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:2168:48:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                msl_info->attributes[n],(const char *) attributes[i]);
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:2268:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              keyword=(const char *) attributes[i++];
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:2270:48:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                msl_info->attributes[n],(const char *) attributes[i]);
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:2320:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              keyword=(const char *) attributes[i++];
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:2322:48:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                msl_info->attributes[n],(const char *) attributes[i]);
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:2346:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              keyword=(const char *) attributes[i++];
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:2348:48:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                msl_info->attributes[n],(const char *) attributes[i]);
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:2366:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:2386:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              keyword=(const char *) attributes[i++];
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:2388:48:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                msl_info->attributes[n],(const char *) attributes[i]);
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:2743:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              keyword=(const char *) attributes[i++];
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:2745:48:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                msl_info->attributes[n],(const char *) attributes[i]);
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:2810:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              keyword=(const char *) attributes[i++];
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:2812:48:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                msl_info->attributes[n],(const char *) attributes[i]);
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:2889:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              keyword=(const char *) attributes[i++];
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:2891:48:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                msl_info->attributes[n],(const char *) attributes[i]);
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:2918:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              keyword=(const char *) attributes[i++];
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:2920:48:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                msl_info->attributes[n],(const char *) attributes[i]);
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:2983:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              keyword=(const char *) attributes[i++];
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:2985:48:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                msl_info->attributes[n],(const char *) attributes[i]);
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:3015:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              keyword=(const char *) attributes[i++];
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:3017:48:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                msl_info->attributes[n],(const char *) attributes[i]);
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:3052:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              keyword=(const char *) attributes[i++];
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:3054:48:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                msl_info->attributes[n],(const char *) attributes[i]);
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:3183:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:3206:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              keyword=(const char *) attributes[i++];
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:3208:48:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                msl_info->attributes[n],(const char *) attributes[i]);
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:3320:28:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            keyword=(const char *) attributes[i++];
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:3321:39:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            CloneString(&value,(const char *) attributes[i]);
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:3378:28:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            keyword=(const char *) attributes[i++];
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:3380:46:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              msl_info->attributes[n],(const char *) attributes[i]);
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:3448:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              keyword=(const char *) attributes[i++];
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:3450:48:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                msl_info->attributes[n],(const char *) attributes[i]);
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:3520:26:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          keyword=(const char *) attributes[i++];
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:3521:37:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          CloneString(&value,(const char *) attributes[i]);
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:3568:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char level[MaxTextExtent + 1];
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:3596:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              keyword=(const char *) attributes[i++];
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:3598:48:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                msl_info->attributes[n],(const char *) attributes[i]);
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:3636:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              keyword=(const char *) attributes[i++];
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:3638:48:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                msl_info->attributes[n],(const char *) attributes[i]);
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:3722:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              keyword=(const char *) attributes[i++];
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:3724:48:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                msl_info->attributes[n],(const char *) attributes[i]);
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:3846:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              keyword=(const char *) attributes[i++];
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:3848:48:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                msl_info->attributes[n],(const char *) attributes[i]);
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:3914:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              keyword=(const char *) attributes[i++];
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:3916:48:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                msl_info->attributes[n],(const char *) attributes[i]);
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:3933:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:3951:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              keyword=(const char *) attributes[i++];
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:3953:48:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                msl_info->attributes[n],(const char *) attributes[i]);
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:4077:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              keyword=(const char *) attributes[i++];
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:4079:48:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                msl_info->attributes[n],(const char *) attributes[i]);
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:4142:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              keyword=(const char *) attributes[i++];
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:4144:48:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                msl_info->attributes[n],(const char *) attributes[i]);
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:4198:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              keyword=(const char *) attributes[i++];
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:4200:48:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                msl_info->attributes[n],(const char *) attributes[i]);
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:4268:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              keyword=(const char *) attributes[i++];
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:4270:48:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                msl_info->attributes[n],(const char *) attributes[i]);
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:4332:28:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            keyword=(const char *) attributes[i++];
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:4334:46:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              msl_info->attributes[n],(const char *) attributes[i]);
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:4383:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              keyword=(const char *) attributes[i++];
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:4385:48:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                msl_info->attributes[n],(const char *) attributes[i]);
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:4408:19:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                  char
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:4484:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              keyword=(const char *) attributes[i++];
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:4486:48:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                msl_info->attributes[n],(const char *) attributes[i]);
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:4572:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:4592:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              keyword=(const char *) attributes[i++];
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:4594:48:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                msl_info->attributes[n],(const char *) attributes[i]);
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:4962:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              keyword=(const char *) attributes[i++];
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:4964:48:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                msl_info->attributes[n],(const char *) attributes[i]);
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:5042:28:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            keyword=(const char *) attributes[i++];
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:5044:46:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              msl_info->attributes[n],(const char *) attributes[i]);
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:5097:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              keyword=(const char *) attributes[i++];
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:5099:48:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                msl_info->attributes[n],(const char *) attributes[i]);
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:5166:24:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        keyword=(const char *) attributes[i++];
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:5168:42:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          msl_info->attributes[n],(const char *) attributes[i]);
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:5295:24:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        keyword=(const char *) attributes[i++];
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:5297:42:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          msl_info->attributes[n],(const char *) attributes[i]);
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:5414:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              keyword=(const char *) attributes[i++];
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:5416:48:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                msl_info->attributes[n],(const char *) attributes[i]);
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:5521:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              keyword=(const char *) attributes[i++];
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:5523:48:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                msl_info->attributes[n],(const char *) attributes[i]);
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:5600:26:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          keyword=(const char *) attributes[i++];
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:5602:44:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            msl_info->attributes[n],(const char *) attributes[i]);
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:5681:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              keyword=(const char *) attributes[i++];
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:5683:48:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                msl_info->attributes[n],(const char *) attributes[i]);
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:5746:24:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        keyword=(const char *) attributes[i++];
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:5748:42:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          msl_info->attributes[n],(const char *) attributes[i]);
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:5810:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              keyword=(const char *) attributes[i++];
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:5812:48:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                msl_info->attributes[n],(const char *) attributes[i]);
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:5887:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              keyword=(const char *) attributes[i++];
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:5889:48:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                msl_info->attributes[n],(const char *) attributes[i]);
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:5971:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              keyword=(const char *) attributes[i++];
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:5973:48:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                msl_info->attributes[n],(const char *) attributes[i]);
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:6052:26:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          keyword=(const char *) attributes[i++];
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:6054:44:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            msl_info->attributes[n],(const char *) attributes[i]);
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:6138:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                    char  tmp[100];
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:6156:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                char
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:6219:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              keyword=(const char *) attributes[i++];
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:6221:48:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                msl_info->attributes[n],(const char *) attributes[i]);
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:6309:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              keyword=(const char *) attributes[i++];
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:6311:48:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                msl_info->attributes[n],(const char *) attributes[i]);
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:6412:26:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          keyword=(const char *) attributes[i++];
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:6414:44:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            msl_info->attributes[n],(const char *) attributes[i]);
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:6481:26:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          keyword=(const char *) attributes[i++];
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:6483:44:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            msl_info->attributes[n],(const char *) attributes[i]);
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:6571:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              keyword=(const char *) attributes[i++];
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:6573:48:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                msl_info->attributes[n],(const char *) attributes[i]);
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:6660:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              keyword=(const char *) attributes[i++];
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:6662:48:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                msl_info->attributes[n],(const char *) attributes[i]);
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:6693:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              keyword=(const char *) attributes[i++];
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:6695:48:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                msl_info->attributes[n],(const char *) attributes[i]);
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:6753:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              keyword=(const char *) attributes[i++];
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:6755:48:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                msl_info->attributes[n],(const char *) attributes[i]);
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:6818:26:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          keyword=(const char *) attributes[i++];
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:6820:44:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            msl_info->attributes[n],(const char *) attributes[i]);
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:6884:26:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          keyword=(const char *) attributes[i++];
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:6886:44:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            msl_info->attributes[n],(const char *) attributes[i]);
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:6950:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              keyword=(const char *) attributes[i++];
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:6952:48:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                msl_info->attributes[n],(const char *) attributes[i]);
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:6982:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              keyword=(const char *) attributes[i++];
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:6984:48:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                msl_info->attributes[n],(const char *) attributes[i]);
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:7045:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              keyword=(const char *) attributes[i++];
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:7047:48:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                msl_info->attributes[n],(const char *) attributes[i]);
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:7109:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              keyword=(const char *) attributes[i++];
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:7111:48:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                msl_info->attributes[n],(const char *) attributes[i]);
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:7150:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              keyword=(const char *) attributes[i++];
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:7152:48:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                msl_info->attributes[n],(const char *) attributes[i]);
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:7203:26:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          keyword=(const char *) attributes[i++];
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:7205:44:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            msl_info->attributes[n],(const char *) attributes[i]);
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:7250:26:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          keyword=(const char *) attributes[i++];
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:7252:44:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            msl_info->attributes[n],(const char *) attributes[i]);
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:7328:28:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            keyword=(const char *) attributes[i++];
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:7330:46:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              msl_info->attributes[n],(const char *) attributes[i]);
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:7579:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:7614:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:7745:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/mtv.c:97:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/mtv.c:335:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/mvg.c:160:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char
data/imagemagick-6.9.11.24+dfsg/coders/mvg.c:226:15:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
              memcpy(draw_info->primitive,GetBlobStreamData(image),(size_t)
data/imagemagick-6.9.11.24+dfsg/coders/palm.c:92:23:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const unsigned char
data/imagemagick-6.9.11.24+dfsg/coders/palm.c:487:22:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
              (void) memcpy(last_row, one_row, bytes_per_row);
data/imagemagick-6.9.11.24+dfsg/coders/palm.c:971:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char
data/imagemagick-6.9.11.24+dfsg/coders/palm.c:989:20:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            (void) memcpy(last_row,one_row,bytes_per_row);
data/imagemagick-6.9.11.24+dfsg/coders/pango.c:511:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/pattern.c:847:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/pcd.c:479:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  (void) memcpy(q,p,(size_t) (2*width));
data/imagemagick-6.9.11.24+dfsg/coders/pcl.c:153:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/pcl.c:573:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char
data/imagemagick-6.9.11.24+dfsg/coders/pcl.c:661:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/pcl.c:956:18:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          (void) memcpy(previous_pixels,pixels,length*
data/imagemagick-6.9.11.24+dfsg/coders/pcx.c:261:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char
data/imagemagick-6.9.11.24+dfsg/coders/pcx.c:623:22:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
              (void) memcpy(r,p,image->columns);
data/imagemagick-6.9.11.24+dfsg/coders/pdb.c:83:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/pdb.c:98:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/pdb.c:112:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/pdb.c:272:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char
data/imagemagick-6.9.11.24+dfsg/coders/pdb.c:735:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  (void) memcpy(destination,source,literal);
data/imagemagick-6.9.11.24+dfsg/coders/pdb.c:747:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/pdb.c:827:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  (void) memcpy(pdb_info.type,"vIMG",4);
data/imagemagick-6.9.11.24+dfsg/coders/pdb.c:828:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  (void) memcpy(pdb_info.id,"View",4);
data/imagemagick-6.9.11.24+dfsg/coders/pdf.c:201:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/pdf.c:281:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char
data/imagemagick-6.9.11.24+dfsg/coders/pdf.c:373:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/pdf.c:592:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char
data/imagemagick-6.9.11.24+dfsg/coders/pdf.c:603:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char
data/imagemagick-6.9.11.24+dfsg/coders/pdf.c:1197:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/pdf.c:1377:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char
data/imagemagick-6.9.11.24+dfsg/coders/pdf.c:2901:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          unsigned char
data/imagemagick-6.9.11.24+dfsg/coders/pes.c:424:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/pes.c:468:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char
data/imagemagick-6.9.11.24+dfsg/coders/pgx.c:134:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/pgx.c:331:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/pict.c:427:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char
data/imagemagick-6.9.11.24+dfsg/coders/pict.c:492:16:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        (void) memcpy(q,p,(size_t) number_pixels);
data/imagemagick-6.9.11.24+dfsg/coders/pict.c:528:20:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            (void) memcpy(q,p,(size_t) number_pixels);
data/imagemagick-6.9.11.24+dfsg/coders/pict.c:541:22:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
              (void) memcpy(q,p,(size_t) number_pixels);
data/imagemagick-6.9.11.24+dfsg/coders/pict.c:833:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/png.c:1190:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char
data/imagemagick-6.9.11.24+dfsg/coders/png.c:1226:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  (void) memcpy(p,type,4*sizeof(png_byte));
data/imagemagick-6.9.11.24+dfsg/coders/png.c:1353:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char
data/imagemagick-6.9.11.24+dfsg/coders/png.c:1725:25:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static const unsigned char
data/imagemagick-6.9.11.24+dfsg/coders/png.c:1969:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char
data/imagemagick-6.9.11.24+dfsg/coders/png.c:2134:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char
data/imagemagick-6.9.11.24+dfsg/coders/png.c:2465:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char
data/imagemagick-6.9.11.24+dfsg/coders/png.c:3182:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char
data/imagemagick-6.9.11.24+dfsg/coders/png.c:3793:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                char
data/imagemagick-6.9.11.24+dfsg/coders/png.c:3940:6:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
     char
data/imagemagick-6.9.11.24+dfsg/coders/png.c:4078:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/png.c:4353:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char
data/imagemagick-6.9.11.24+dfsg/coders/png.c:4584:26:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                unsigned char
data/imagemagick-6.9.11.24+dfsg/coders/png.c:4897:12:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    (void) memcpy(q,s,length);
data/imagemagick-6.9.11.24+dfsg/coders/png.c:5042:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/png.c:5124:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/png.c:5225:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char
data/imagemagick-6.9.11.24+dfsg/coders/png.c:5267:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char
data/imagemagick-6.9.11.24+dfsg/coders/png.c:6837:24:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                (void) memcpy(next,n,length);
data/imagemagick-6.9.11.24+dfsg/coders/png.c:6864:30:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                      (void) memcpy(next,n,length);
data/imagemagick-6.9.11.24+dfsg/coders/png.c:7617:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/png.c:7959:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   unsigned char
data/imagemagick-6.9.11.24+dfsg/coders/png.c:8155:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/png.c:8158:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/png.c:11116:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          unsigned char
data/imagemagick-6.9.11.24+dfsg/coders/png.c:11599:26:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                unsigned char
data/imagemagick-6.9.11.24+dfsg/coders/png.c:11655:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          unsigned char
data/imagemagick-6.9.11.24+dfsg/coders/png.c:12573:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char
data/imagemagick-6.9.11.24+dfsg/coders/png.c:13249:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char
data/imagemagick-6.9.11.24+dfsg/coders/pnm.c:321:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char
data/imagemagick-6.9.11.24+dfsg/coders/pnm.c:337:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char
data/imagemagick-6.9.11.24+dfsg/coders/pnm.c:1524:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/pnm.c:1676:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char
data/imagemagick-6.9.11.24+dfsg/coders/pnm.c:1737:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char
data/imagemagick-6.9.11.24+dfsg/coders/pnm.c:1789:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char
data/imagemagick-6.9.11.24+dfsg/coders/pnm.c:1834:20:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            (void) memcpy((char *) q,buffer,extent);
data/imagemagick-6.9.11.24+dfsg/coders/pnm.c:1858:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char
data/imagemagick-6.9.11.24+dfsg/coders/pnm.c:1909:20:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            (void) memcpy((char *) q,buffer,extent);
data/imagemagick-6.9.11.24+dfsg/coders/ps.c:226:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/ps.c:376:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char
data/imagemagick-6.9.11.24+dfsg/coders/ps.c:532:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/ps.c:711:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char
data/imagemagick-6.9.11.24+dfsg/coders/ps.c:748:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char
data/imagemagick-6.9.11.24+dfsg/coders/ps.c:1347:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/ps.c:1424:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char
data/imagemagick-6.9.11.24+dfsg/coders/ps2.c:376:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/ps3.c:442:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/ps3.c:816:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/psd-private.h:27:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/psd-private.h:34:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char
data/imagemagick-6.9.11.24+dfsg/coders/psd.c:145:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/psd.c:164:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char
data/imagemagick-6.9.11.24+dfsg/coders/psd.c:781:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char
data/imagemagick-6.9.11.24+dfsg/coders/psd.c:1437:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/psd.c:1600:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/psd.c:1640:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/psd.c:3199:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/psd.c:3203:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char
data/imagemagick-6.9.11.24+dfsg/coders/psd.c:3296:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/pwp.c:124:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/pwp.c:158:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char
data/imagemagick-6.9.11.24+dfsg/coders/rla.c:115:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char
data/imagemagick-6.9.11.24+dfsg/coders/rla.c:125:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char
data/imagemagick-6.9.11.24+dfsg/coders/rla.c:139:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char
data/imagemagick-6.9.11.24+dfsg/coders/rla.c:150:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char
data/imagemagick-6.9.11.24+dfsg/coders/rle.c:145:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/rle.c:197:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char
data/imagemagick-6.9.11.24+dfsg/coders/scr.c:89:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char zxscr[6144];
data/imagemagick-6.9.11.24+dfsg/coders/scr.c:90:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char zxattr[768];
data/imagemagick-6.9.11.24+dfsg/coders/sct.c:124:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/sct.c:157:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char
data/imagemagick-6.9.11.24+dfsg/coders/sfw.c:283:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  (void) memcpy(header+6,"JFIF\0\001\0",7);  /* JFIF magic */
data/imagemagick-6.9.11.24+dfsg/coders/sgi.c:91:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/sgi.c:97:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char
data/imagemagick-6.9.11.24+dfsg/coders/sixel.c:118:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char buffer[1];
data/imagemagick-6.9.11.24+dfsg/coders/sixel.c:376:28:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                    (void) memcpy(dmbuf + dmsx * y, imbuf + (size_t) imsx * y, imsx);
data/imagemagick-6.9.11.24+dfsg/coders/sixel.c:454:28:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                    (void) memcpy(dmbuf + dmsx * y, imbuf + (size_t) imsx * y, imsx);
data/imagemagick-6.9.11.24+dfsg/coders/sixel.c:552:20:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            (void) memcpy(dmbuf + dmsx * y, imbuf + imsx * y, dmsx);
data/imagemagick-6.9.11.24+dfsg/coders/sixel.c:623:18:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        nwrite = sprintf((char *)context->buffer + context->pos, "!%d%c", context->save_count, context->save_pixel);
data/imagemagick-6.9.11.24+dfsg/coders/sixel.c:688:22:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            nwrite = sprintf((char *)context->buffer + context->pos,
data/imagemagick-6.9.11.24+dfsg/coders/sixel.c:741:18:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        nwrite = sprintf((char *)context->buffer, "\x90" "0;0;0" "q");
data/imagemagick-6.9.11.24+dfsg/coders/sixel.c:743:18:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        nwrite = sprintf((char *)context->buffer, "\x1bP" "0;0;0" "q");
data/imagemagick-6.9.11.24+dfsg/coders/sixel.c:749:14:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    nwrite = sprintf((char *)context->buffer + context->pos, "\"1;1;%d;%d", (int) width, (int) height);
data/imagemagick-6.9.11.24+dfsg/coders/sixel.c:759:22:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            nwrite = sprintf((char *)context->buffer + context->pos, "#%d;2;%d;%d;%d",
data/imagemagick-6.9.11.24+dfsg/coders/sixel.c:1246:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char
data/imagemagick-6.9.11.24+dfsg/coders/sun.c:503:16:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        (void) memcpy(sun_pixels,sun_data,sun_info.length);
data/imagemagick-6.9.11.24+dfsg/coders/svg.c:278:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/svg.c:391:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/svg.c:806:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/svg.c:832:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    keyword=(char *) tokens[i];
data/imagemagick-6.9.11.24+dfsg/coders/svg.c:833:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    value=(char *) tokens[i+1];
data/imagemagick-6.9.11.24+dfsg/coders/svg.c:844:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    keyword=(char *) tokens[i];
data/imagemagick-6.9.11.24+dfsg/coders/svg.c:845:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    value=(char *) tokens[i+1];
data/imagemagick-6.9.11.24+dfsg/coders/svg.c:922:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char
data/imagemagick-6.9.11.24+dfsg/coders/svg.c:1237:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/svg.c:1295:22:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      keyword=(const char *) attributes[i];
data/imagemagick-6.9.11.24+dfsg/coders/svg.c:1296:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      value=(const char *) attributes[i+1];
data/imagemagick-6.9.11.24+dfsg/coders/svg.c:1648:22:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      keyword=(const char *) attributes[i];
data/imagemagick-6.9.11.24+dfsg/coders/svg.c:1649:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      value=(const char *) attributes[i+1];
data/imagemagick-6.9.11.24+dfsg/coders/svg.c:1851:26:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                keyword=(char *) tokens[j];
data/imagemagick-6.9.11.24+dfsg/coders/svg.c:1854:24:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                value=(char *) tokens[j+1];
data/imagemagick-6.9.11.24+dfsg/coders/svg.c:2250:26:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                keyword=(char *) tokens[j];
data/imagemagick-6.9.11.24+dfsg/coders/svg.c:2251:24:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                value=(char *) tokens[j+1];
data/imagemagick-6.9.11.24+dfsg/coders/svg.c:2810:22:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            keyword=(char *) tokens[j];
data/imagemagick-6.9.11.24+dfsg/coders/svg.c:2811:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            value=(char *) tokens[j+1];
data/imagemagick-6.9.11.24+dfsg/coders/svg.c:3018:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/svg.c:3053:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/svg.c:3184:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/svg.c:3207:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char
data/imagemagick-6.9.11.24+dfsg/coders/svg.c:3744:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/svg.c:3868:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/svg.c:4011:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char
data/imagemagick-6.9.11.24+dfsg/coders/svg.c:4118:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/svg.c:4770:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char
data/imagemagick-6.9.11.24+dfsg/coders/tga.c:182:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char
data/imagemagick-6.9.11.24+dfsg/coders/tiff.c:331:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char
data/imagemagick-6.9.11.24+dfsg/coders/tiff.c:344:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/tiff.c:591:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/tiff.c:684:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/tiff.c:776:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/tiff.c:968:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/tiff.c:1019:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char
data/imagemagick-6.9.11.24+dfsg/coders/tiff.c:1513:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
           char
data/imagemagick-6.9.11.24+dfsg/coders/tiff.c:1698:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char
data/imagemagick-6.9.11.24+dfsg/coders/tiff.c:2262:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/tiff.c:2449:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/tiff.c:2894:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  (void) memcpy(tiff_info->scanlines+i,(char *) tiff_info->scanline,
data/imagemagick-6.9.11.24+dfsg/coders/ttf.c:171:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/ttf.c:324:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/txt.c:107:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/txt.c:163:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/txt.c:389:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/txt.c:743:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/uil.c:162:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/uil.c:202:16:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static const char
data/imagemagick-6.9.11.24+dfsg/coders/url.c:137:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/url.c:244:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char
data/imagemagick-6.9.11.24+dfsg/coders/vicar.c:147:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/vicar.c:435:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/viff.c:169:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char
data/imagemagick-6.9.11.24+dfsg/coders/viff.c:177:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char
data/imagemagick-6.9.11.24+dfsg/coders/viff.c:906:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char
data/imagemagick-6.9.11.24+dfsg/coders/vips.c:369:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/wbmp.c:337:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char
data/imagemagick-6.9.11.24+dfsg/coders/webp.c:492:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char
data/imagemagick-6.9.11.24+dfsg/coders/webp.c:537:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  (void) memcpy(stream,header,12);
data/imagemagick-6.9.11.24+dfsg/coders/webp.c:629:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/wmf.c:121:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/wmf.c:530:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/wmf.c:757:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char
data/imagemagick-6.9.11.24+dfsg/coders/wmf.c:774:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char
data/imagemagick-6.9.11.24+dfsg/coders/wmf.c:849:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/wmf.c:911:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char
data/imagemagick-6.9.11.24+dfsg/coders/wmf.c:1369:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char
data/imagemagick-6.9.11.24+dfsg/coders/wmf.c:1853:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char
data/imagemagick-6.9.11.24+dfsg/coders/wmf.c:1966:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              char
data/imagemagick-6.9.11.24+dfsg/coders/wmf.c:2440:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char
data/imagemagick-6.9.11.24+dfsg/coders/wpg.c:587:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char
data/imagemagick-6.9.11.24+dfsg/coders/wpg.c:770:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/wpg.c:791:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char
data/imagemagick-6.9.11.24+dfsg/coders/wpg.c:1282:30:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                      (void) memcpy(image->colormap,colormap,MagickMin(
data/imagemagick-6.9.11.24+dfsg/coders/xbm.c:173:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/xbm.c:511:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/xcf.c:135:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/xcf.c:1055:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/xcf.c:1287:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char  unit_string[1000];
data/imagemagick-6.9.11.24+dfsg/coders/xpm.c:200:16:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static const char
data/imagemagick-6.9.11.24+dfsg/coders/xpm.c:248:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/xpm.c:398:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char
data/imagemagick-6.9.11.24+dfsg/coders/xpm.c:444:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    if (grey != (char *) NULL)
data/imagemagick-6.9.11.24+dfsg/coders/xpm.c:672:16:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static const char
data/imagemagick-6.9.11.24+dfsg/coders/xpm.c:676:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/xpm.c:961:16:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static const char
data/imagemagick-6.9.11.24+dfsg/coders/xpm.c:965:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/xps.c:107:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/xtrn.c:107:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/coders/xtrn.c:300:14:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      (void) memcpy(pReturnBuffer+lCount,(unsigned char *) data,length);
data/imagemagick-6.9.11.24+dfsg/coders/xtrn.c:316:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/filters/analyze.c:83:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/accelerate.c:489:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/accelerate.c:4583:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/accelerate.c:4863:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/animate.c:180:23:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const unsigned char
data/imagemagick-6.9.11.24+dfsg/magick/animate.c:277:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/animate.c:407:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      static char
data/imagemagick-6.9.11.24+dfsg/magick/animate.c:481:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char
data/imagemagick-6.9.11.24+dfsg/magick/animate.c:550:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char
data/imagemagick-6.9.11.24+dfsg/magick/animate.c:618:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char
data/imagemagick-6.9.11.24+dfsg/magick/animate.c:735:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/animate.c:1006:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char
data/imagemagick-6.9.11.24+dfsg/magick/animate.c:1253:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char
data/imagemagick-6.9.11.24+dfsg/magick/animate.c:1307:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/animate.c:1347:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char
data/imagemagick-6.9.11.24+dfsg/magick/animate.c:1668:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char
data/imagemagick-6.9.11.24+dfsg/magick/animate.c:1979:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char
data/imagemagick-6.9.11.24+dfsg/magick/animate.c:2099:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              char
data/imagemagick-6.9.11.24+dfsg/magick/animate.c:2904:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/animate.c:2921:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char
data/imagemagick-6.9.11.24+dfsg/magick/animate.c:2957:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char
data/imagemagick-6.9.11.24+dfsg/magick/animate.c:2981:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char
data/imagemagick-6.9.11.24+dfsg/magick/annotate.c:214:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/annotate.c:1189:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/annotate.c:1205:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/annotate.c:1220:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/annotate.c:1236:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/annotate.c:1893:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/artifact.c:150:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/blob.c:371:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char
data/imagemagick-6.9.11.24+dfsg/magick/blob.c:463:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  (void) memcpy(clone_info,blob_info,sizeof(*clone_info));
data/imagemagick-6.9.11.24+dfsg/magick/blob.c:851:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char
data/imagemagick-6.9.11.24+dfsg/magick/blob.c:1220:14:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      (void) memcpy(blob,map,*length);
data/imagemagick-6.9.11.24+dfsg/magick/blob.c:1307:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  (void) memcpy(q,data,length);
data/imagemagick-6.9.11.24+dfsg/magick/blob.c:1775:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char
data/imagemagick-6.9.11.24+dfsg/magick/blob.c:2035:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char
data/imagemagick-6.9.11.24+dfsg/magick/blob.c:2108:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/blob.c:2609:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/blob.c:2690:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char
data/imagemagick-6.9.11.24+dfsg/magick/blob.c:2712:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char
data/imagemagick-6.9.11.24+dfsg/magick/blob.c:2770:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              char
data/imagemagick-6.9.11.24+dfsg/magick/blob.c:2802:22:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            unsigned char
data/imagemagick-6.9.11.24+dfsg/magick/blob.c:3026:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char
data/imagemagick-6.9.11.24+dfsg/magick/blob.c:3310:14:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      (void) memcpy(q,p,(size_t) count);
data/imagemagick-6.9.11.24+dfsg/magick/blob.c:3347:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char
data/imagemagick-6.9.11.24+dfsg/magick/blob.c:3494:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char
data/imagemagick-6.9.11.24+dfsg/magick/blob.c:3555:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char
data/imagemagick-6.9.11.24+dfsg/magick/blob.c:3621:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char
data/imagemagick-6.9.11.24+dfsg/magick/blob.c:3675:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char
data/imagemagick-6.9.11.24+dfsg/magick/blob.c:3763:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char
data/imagemagick-6.9.11.24+dfsg/magick/blob.c:3849:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char
data/imagemagick-6.9.11.24+dfsg/magick/blob.c:3899:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char
data/imagemagick-6.9.11.24+dfsg/magick/blob.c:3953:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char
data/imagemagick-6.9.11.24+dfsg/magick/blob.c:4993:14:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      (void) memcpy(q,p,length);
data/imagemagick-6.9.11.24+dfsg/magick/blob.c:5140:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char
data/imagemagick-6.9.11.24+dfsg/magick/blob.c:5187:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char
data/imagemagick-6.9.11.24+dfsg/magick/blob.c:5230:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char
data/imagemagick-6.9.11.24+dfsg/magick/blob.c:5269:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char
data/imagemagick-6.9.11.24+dfsg/magick/blob.c:5315:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char
data/imagemagick-6.9.11.24+dfsg/magick/blob.c:5365:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char
data/imagemagick-6.9.11.24+dfsg/magick/blob.c:5403:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char
data/imagemagick-6.9.11.24+dfsg/magick/blob.c:5443:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char
data/imagemagick-6.9.11.24+dfsg/magick/blob.c:5486:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char
data/imagemagick-6.9.11.24+dfsg/magick/blob.c:5532:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char
data/imagemagick-6.9.11.24+dfsg/magick/blob.c:5582:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char
data/imagemagick-6.9.11.24+dfsg/magick/cache-private.h:208:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/cache.c:877:18:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          (void) memcpy(clone_info->pixels,cache_info->pixels,
data/imagemagick-6.9.11.24+dfsg/magick/cache.c:881:20:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            (void) memcpy(clone_info->indexes,cache_info->indexes,
data/imagemagick-6.9.11.24+dfsg/magick/cache.c:925:12:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    (void) memcpy(clone_nexus[id]->pixels,cache_nexus[id]->pixels,length);
data/imagemagick-6.9.11.24+dfsg/magick/cache.c:963:16:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        (void) memcpy(clone_nexus[id]->indexes,cache_nexus[id]->indexes,length);
data/imagemagick-6.9.11.24+dfsg/magick/cache.c:971:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char
data/imagemagick-6.9.11.24+dfsg/magick/cache.c:1170:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char
data/imagemagick-6.9.11.24+dfsg/magick/cache.c:3270:14:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      (void) memcpy(q,p,(size_t) length*sizeof(*p));
data/imagemagick-6.9.11.24+dfsg/magick/cache.c:3275:18:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          (void) memcpy(indexes,virtual_indexes,(size_t) length*
data/imagemagick-6.9.11.24+dfsg/magick/cache.c:3802:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char
data/imagemagick-6.9.11.24+dfsg/magick/cache.c:3843:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/cache.c:4655:16:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        (void) memcpy(q,p,(size_t) length);
data/imagemagick-6.9.11.24+dfsg/magick/cache.c:4827:16:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        (void) memcpy(q,p,(size_t) length);
data/imagemagick-6.9.11.24+dfsg/magick/cache.c:5756:16:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        (void) memcpy(q,p,(size_t) length);
data/imagemagick-6.9.11.24+dfsg/magick/cache.c:5922:16:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        (void) memcpy(q,p,(size_t) length);
data/imagemagick-6.9.11.24+dfsg/magick/cipher.c:92:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static unsigned char
data/imagemagick-6.9.11.24+dfsg/magick/cipher.c:598:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char
data/imagemagick-6.9.11.24+dfsg/magick/cipher.c:642:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  (void) memcpy(input_block,digest,MagickMin(AESBlocksize,
data/imagemagick-6.9.11.24+dfsg/magick/cipher.c:810:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char
data/imagemagick-6.9.11.24+dfsg/magick/cipher.c:856:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  (void) memcpy(input_block,digest,MagickMin(AESBlocksize,
data/imagemagick-6.9.11.24+dfsg/magick/cipher.c:1033:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  (void) memcpy(datum,GetStringInfoDatum(key),MagickMin(
data/imagemagick-6.9.11.24+dfsg/magick/client.c:117:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char
data/imagemagick-6.9.11.24+dfsg/magick/client.c:154:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char
data/imagemagick-6.9.11.24+dfsg/magick/coder.c:805:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/coder.c:878:19:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                  char
data/imagemagick-6.9.11.24+dfsg/magick/color.c:82:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char
data/imagemagick-6.9.11.24+dfsg/magick/color.c:1013:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/color.c:1155:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/color.c:1447:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/color.c:2113:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/color.c:2204:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/color.c:2277:19:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                  char
data/imagemagick-6.9.11.24+dfsg/magick/color.c:2693:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char
data/imagemagick-6.9.11.24+dfsg/magick/composite.c:1730:16:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        (void) memcpy(q,p,source_image->columns*sizeof(*p));
data/imagemagick-6.9.11.24+dfsg/magick/composite.c:1733:18:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          (void) memcpy(indexes,source_indexes,
data/imagemagick-6.9.11.24+dfsg/magick/composite.c:3024:14:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      (void) memcpy(q,p,width*sizeof(*p));
data/imagemagick-6.9.11.24+dfsg/magick/composite.c:3028:18:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          (void) memcpy(indexes,texture_indexes,width*
data/imagemagick-6.9.11.24+dfsg/magick/compress.c:75:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/compress.c:78:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char
data/imagemagick-6.9.11.24+dfsg/magick/configure.c:625:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/configure.c:720:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/configure.c:832:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char
data/imagemagick-6.9.11.24+dfsg/magick/configure.c:900:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char
data/imagemagick-6.9.11.24+dfsg/magick/configure.c:1128:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/configure.c:1199:19:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                  char
data/imagemagick-6.9.11.24+dfsg/magick/constitute.c:317:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/constitute.c:422:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/constitute.c:656:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char
data/imagemagick-6.9.11.24+dfsg/magick/constitute.c:897:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/constitute.c:1065:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/constitute.c:1177:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char
data/imagemagick-6.9.11.24+dfsg/magick/constitute.c:1249:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              char
data/imagemagick-6.9.11.24+dfsg/magick/delegate.c:543:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/delegate.c:1718:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/delegate.c:2001:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/delegate.c:2039:38:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    if (delegate_info[i]->encode != (char *) NULL)
data/imagemagick-6.9.11.24+dfsg/magick/delegate.c:2101:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/delegate.c:2174:19:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                  char
data/imagemagick-6.9.11.24+dfsg/magick/delegate.c:2245:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                char
data/imagemagick-6.9.11.24+dfsg/magick/deprecate.c:1098:12:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    return(memcpy(destination,source,size));
data/imagemagick-6.9.11.24+dfsg/magick/deprecate.c:1740:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/deprecate.c:2237:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/deprecate.c:2256:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/deprecate.c:2275:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/deprecate.c:2660:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char
data/imagemagick-6.9.11.24+dfsg/magick/deprecate.c:3029:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/deprecate.c:5601:10:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    file=fopen(path,mode);
data/imagemagick-6.9.11.24+dfsg/magick/deprecate.c:6967:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/deprecate.c:7224:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  (void) memcpy(message,p,(size_t) (q-p+1));
data/imagemagick-6.9.11.24+dfsg/magick/display.c:107:23:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const unsigned char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:1604:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:1802:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:1806:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:1898:19:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            const char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:1920:24:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                static char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:1969:24:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                static char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:2014:24:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                static char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:2056:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            static char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:2736:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:2823:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:2898:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:2961:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:3254:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:3362:19:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            const char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:3384:24:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                static char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:3408:19:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            const char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:3430:24:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                static char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:3450:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            static char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:3848:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:3865:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:3973:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:3993:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            static char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:4098:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:4327:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:4531:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:5371:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:5508:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              const char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:5544:26:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                  static char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:5592:22:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              static char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:5701:22:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              static char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:6378:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:6633:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:7022:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:7053:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:7127:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:7148:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:7163:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      static char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:7182:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      static char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:7341:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:7538:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      static char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:7584:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      static char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:7621:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      static char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:7647:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      static char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:7675:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      static char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:7703:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      static char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:7730:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      static char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:7789:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      static char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:7824:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      static char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:7913:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      static char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:7947:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      static char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:8001:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      static char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:8039:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      static char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:8078:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      static char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:8115:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      static char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:8151:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      static char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:8187:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      static char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:8216:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      static char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:8251:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      static char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:8289:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      static char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:8324:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      static char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:8351:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      static char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:8386:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      static char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:8421:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      static char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:8450:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      static char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:8485:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      static char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:8520:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      static char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:8563:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      static char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:8601:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      static char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:8636:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      static char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:8745:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      static char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:8792:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      static char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:8961:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      static char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:9094:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      static char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:9149:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:9226:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:9543:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:9564:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:9666:19:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            const char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:9688:24:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                static char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:9720:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            static char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:9757:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            static char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:9853:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:10129:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:10185:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:10202:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:10242:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:10293:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:10484:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:10582:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:10676:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:10832:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:11033:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:11143:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:11576:28:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                    (const char **) Menus[id],command);
data/imagemagick-6.9.11.24+dfsg/magick/display.c:11915:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:11995:23:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                const char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:12020:28:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                    static char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:12107:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:12391:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:12412:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:12449:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:12472:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:12726:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:12838:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:12953:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:13212:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:13502:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:13660:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:13847:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:14112:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:14293:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:14323:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char
data/imagemagick-6.9.11.24+dfsg/magick/display.c:14585:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char
data/imagemagick-6.9.11.24+dfsg/magick/distort.c:1973:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char image_gen[MaxTextExtent];
data/imagemagick-6.9.11.24+dfsg/magick/distribute-cache-private.h:36:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/distribute-cache.c:180:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/distribute-cache.c:199:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char
data/imagemagick-6.9.11.24+dfsg/magick/distribute-cache.c:255:14:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      (void) memcpy(GetStringInfoDatum(nonce),secret,(size_t) count);
data/imagemagick-6.9.11.24+dfsg/magick/distribute-cache.c:490:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char
data/imagemagick-6.9.11.24+dfsg/magick/distribute-cache.c:548:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char
data/imagemagick-6.9.11.24+dfsg/magick/distribute-cache.c:605:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char
data/imagemagick-6.9.11.24+dfsg/magick/distribute-cache.c:669:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char
data/imagemagick-6.9.11.24+dfsg/magick/distribute-cache.c:726:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char
data/imagemagick-6.9.11.24+dfsg/magick/distribute-cache.c:794:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char
data/imagemagick-6.9.11.24+dfsg/magick/distribute-cache.c:810:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  (void) memcpy(p,GetStringInfoDatum(secret),DPCSessionKeyLength);
data/imagemagick-6.9.11.24+dfsg/magick/distribute-cache.c:885:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/distribute-cache.c:1133:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char
data/imagemagick-6.9.11.24+dfsg/magick/distribute-cache.c:1148:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  (void) memcpy(p,&server_info->session_key,sizeof(server_info->session_key));
data/imagemagick-6.9.11.24+dfsg/magick/distribute-cache.c:1150:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  (void) memcpy(p,&image->storage_class,sizeof(image->storage_class));
data/imagemagick-6.9.11.24+dfsg/magick/distribute-cache.c:1152:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  (void) memcpy(p,&image->colorspace,sizeof(image->colorspace));
data/imagemagick-6.9.11.24+dfsg/magick/distribute-cache.c:1154:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  (void) memcpy(p,&image->channels,sizeof(image->channels));
data/imagemagick-6.9.11.24+dfsg/magick/distribute-cache.c:1156:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  (void) memcpy(p,&image->columns,sizeof(image->columns));
data/imagemagick-6.9.11.24+dfsg/magick/distribute-cache.c:1158:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  (void) memcpy(p,&image->rows,sizeof(image->rows));
data/imagemagick-6.9.11.24+dfsg/magick/distribute-cache.c:1213:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char
data/imagemagick-6.9.11.24+dfsg/magick/distribute-cache.c:1227:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  (void) memcpy(p,&server_info->session_key,sizeof(server_info->session_key));
data/imagemagick-6.9.11.24+dfsg/magick/distribute-cache.c:1229:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  (void) memcpy(p,&region->width,sizeof(region->width));
data/imagemagick-6.9.11.24+dfsg/magick/distribute-cache.c:1231:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  (void) memcpy(p,&region->height,sizeof(region->height));
data/imagemagick-6.9.11.24+dfsg/magick/distribute-cache.c:1233:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  (void) memcpy(p,&region->x,sizeof(region->x));
data/imagemagick-6.9.11.24+dfsg/magick/distribute-cache.c:1235:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  (void) memcpy(p,&region->y,sizeof(region->y));
data/imagemagick-6.9.11.24+dfsg/magick/distribute-cache.c:1237:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  (void) memcpy(p,&length,sizeof(length));
data/imagemagick-6.9.11.24+dfsg/magick/distribute-cache.c:1288:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char
data/imagemagick-6.9.11.24+dfsg/magick/distribute-cache.c:1302:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  (void) memcpy(p,&server_info->session_key,sizeof(server_info->session_key));
data/imagemagick-6.9.11.24+dfsg/magick/distribute-cache.c:1304:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  (void) memcpy(p,&region->width,sizeof(region->width));
data/imagemagick-6.9.11.24+dfsg/magick/distribute-cache.c:1306:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  (void) memcpy(p,&region->height,sizeof(region->height));
data/imagemagick-6.9.11.24+dfsg/magick/distribute-cache.c:1308:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  (void) memcpy(p,&region->x,sizeof(region->x));
data/imagemagick-6.9.11.24+dfsg/magick/distribute-cache.c:1310:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  (void) memcpy(p,&region->y,sizeof(region->y));
data/imagemagick-6.9.11.24+dfsg/magick/distribute-cache.c:1312:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  (void) memcpy(p,&length,sizeof(length));
data/imagemagick-6.9.11.24+dfsg/magick/distribute-cache.c:1360:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char
data/imagemagick-6.9.11.24+dfsg/magick/distribute-cache.c:1370:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  (void) memcpy(p,&server_info->session_key,sizeof(server_info->session_key));
data/imagemagick-6.9.11.24+dfsg/magick/distribute-cache.c:1424:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char
data/imagemagick-6.9.11.24+dfsg/magick/distribute-cache.c:1438:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  (void) memcpy(p,&server_info->session_key,sizeof(server_info->session_key));
data/imagemagick-6.9.11.24+dfsg/magick/distribute-cache.c:1440:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  (void) memcpy(p,&region->width,sizeof(region->width));
data/imagemagick-6.9.11.24+dfsg/magick/distribute-cache.c:1442:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  (void) memcpy(p,&region->height,sizeof(region->height));
data/imagemagick-6.9.11.24+dfsg/magick/distribute-cache.c:1444:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  (void) memcpy(p,&region->x,sizeof(region->x));
data/imagemagick-6.9.11.24+dfsg/magick/distribute-cache.c:1446:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  (void) memcpy(p,&region->y,sizeof(region->y));
data/imagemagick-6.9.11.24+dfsg/magick/distribute-cache.c:1448:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  (void) memcpy(p,&length,sizeof(length));
data/imagemagick-6.9.11.24+dfsg/magick/distribute-cache.c:1500:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char
data/imagemagick-6.9.11.24+dfsg/magick/distribute-cache.c:1514:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  (void) memcpy(p,&server_info->session_key,sizeof(server_info->session_key));
data/imagemagick-6.9.11.24+dfsg/magick/distribute-cache.c:1516:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  (void) memcpy(p,&region->width,sizeof(region->width));
data/imagemagick-6.9.11.24+dfsg/magick/distribute-cache.c:1518:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  (void) memcpy(p,&region->height,sizeof(region->height));
data/imagemagick-6.9.11.24+dfsg/magick/distribute-cache.c:1520:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  (void) memcpy(p,&region->x,sizeof(region->x));
data/imagemagick-6.9.11.24+dfsg/magick/distribute-cache.c:1522:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  (void) memcpy(p,&region->y,sizeof(region->y));
data/imagemagick-6.9.11.24+dfsg/magick/distribute-cache.c:1524:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  (void) memcpy(p,&length,sizeof(length));
data/imagemagick-6.9.11.24+dfsg/magick/draw.c:351:14:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      (void) memcpy(clone_info->dash_pattern,draw_info->dash_pattern,(size_t)
data/imagemagick-6.9.11.24+dfsg/magick/draw.c:366:14:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      (void) memcpy(clone_info->gradient.stops,draw_info->gradient.stops,
data/imagemagick-6.9.11.24+dfsg/magick/draw.c:2332:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char
data/imagemagick-6.9.11.24+dfsg/magick/draw.c:2413:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/draw.c:2724:38:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                    clip_path=(const char *) GetValueFromSplayTree(macros,
data/imagemagick-6.9.11.24+dfsg/magick/draw.c:2726:45:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                    if (clip_path != (const char *) NULL)
data/imagemagick-6.9.11.24+dfsg/magick/draw.c:2928:41:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              graphic_context[n]->font=(char *) RelinquishMagickMemory(
data/imagemagick-6.9.11.24+dfsg/magick/draw.c:3296:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                char
data/imagemagick-6.9.11.24+dfsg/magick/draw.c:3903:40:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        if (primitive_info[i].text != (char *) NULL)
data/imagemagick-6.9.11.24+dfsg/magick/draw.c:4268:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char
data/imagemagick-6.9.11.24+dfsg/magick/draw.c:4370:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            clip_path=(const char *) GetValueFromSplayTree(macros,
data/imagemagick-6.9.11.24+dfsg/magick/draw.c:4372:37:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            if (clip_path != (const char *) NULL)
data/imagemagick-6.9.11.24+dfsg/magick/draw.c:4399:42:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          if (primitive_info[i].text != (char *) NULL)
data/imagemagick-6.9.11.24+dfsg/magick/draw.c:4450:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/draw.c:5360:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char
data/imagemagick-6.9.11.24+dfsg/magick/draw.c:5411:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char
data/imagemagick-6.9.11.24+dfsg/magick/draw.c:5471:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char
data/imagemagick-6.9.11.24+dfsg/magick/draw.c:6326:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/draw.c:7113:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  (void) memcpy(polygon_primitive,primitive_info,(size_t) number_vertices*
data/imagemagick-6.9.11.24+dfsg/magick/effect.c:796:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/effect.c:1527:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char
data/imagemagick-6.9.11.24+dfsg/magick/effect.c:1867:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/effect.c:2713:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(pixels,interImage+(y*(image->columns+(2*width))),(image->columns+
data/imagemagick-6.9.11.24+dfsg/magick/effect.c:2796:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/effect.c:3184:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char
data/imagemagick-6.9.11.24+dfsg/magick/effect.c:3702:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char
data/imagemagick-6.9.11.24+dfsg/magick/enhance.c:384:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/exception.c:532:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/exception.c:651:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/exception.c:1103:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/feature.c:254:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/feature.c:1846:18:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          (void) memcpy(draw_info->primitive,GetBlobStreamData(image),
data/imagemagick-6.9.11.24+dfsg/magick/feature.c:1865:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/fourier.c:531:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  (void) memcpy(roll_pixels,source_pixels,height*width*
data/imagemagick-6.9.11.24+dfsg/magick/fourier.c:1317:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  (void) memcpy(magnitude_pixels,inverse_pixels,fourier_info->height*
data/imagemagick-6.9.11.24+dfsg/magick/fourier.c:1384:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  (void) memcpy(phase_pixels,inverse_pixels,fourier_info->height*
data/imagemagick-6.9.11.24+dfsg/magick/fx.c:187:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char
data/imagemagick-6.9.11.24+dfsg/magick/fx.c:377:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/fx.c:540:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/fx.c:701:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char
data/imagemagick-6.9.11.24+dfsg/magick/geometry.c:100:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/geometry.c:374:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char
data/imagemagick-6.9.11.24+dfsg/magick/geometry.c:380:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char
data/imagemagick-6.9.11.24+dfsg/magick/geometry.c:468:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/geometry.c:755:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/geometry.c:864:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/histogram.c:1177:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/histogram.c:1243:12:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    (void) sprintf(count,"%g:",(double) ((MagickOffsetType) p->count));
data/imagemagick-6.9.11.24+dfsg/magick/identify.c:479:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/identify.c:694:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char
data/imagemagick-6.9.11.24+dfsg/magick/identify.c:1010:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              char
data/imagemagick-6.9.11.24+dfsg/magick/identify.c:1046:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char
data/imagemagick-6.9.11.24+dfsg/magick/identify.c:1085:20:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            (void) sprintf(index,"%g:",(double) i);
data/imagemagick-6.9.11.24+dfsg/magick/identify.c:1372:44:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                        attribute_list[j]=(char *) RelinquishMagickMemory(
data/imagemagick-6.9.11.24+dfsg/magick/image.c:853:14:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      (void) memcpy(clone_image->colormap,image->colormap,length*
data/imagemagick-6.9.11.24+dfsg/magick/image.c:1705:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char
data/imagemagick-6.9.11.24+dfsg/magick/image.c:1956:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/image.c:2736:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/image.c:2764:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char
data/imagemagick-6.9.11.24+dfsg/magick/image.c:2830:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char
data/imagemagick-6.9.11.24+dfsg/magick/image.c:2842:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char
data/imagemagick-6.9.11.24+dfsg/magick/image.c:3796:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/image.h:277:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/image.h:469:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/locale.c:773:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/locale.c:822:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/locale.c:1177:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/locale.c:1276:19:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                  char
data/imagemagick-6.9.11.24+dfsg/magick/log.c:99:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char
data/imagemagick-6.9.11.24+dfsg/magick/log.c:207:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char
data/imagemagick-6.9.11.24+dfsg/magick/log.c:993:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char
data/imagemagick-6.9.11.24+dfsg/magick/log.c:1296:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/log.c:1472:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/log.c:1542:19:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                  char
data/imagemagick-6.9.11.24+dfsg/magick/mac.c:503:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/mac.c:562:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/mac.c:956:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/mac.c:1123:19:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static unsigned char
data/imagemagick-6.9.11.24+dfsg/magick/mac.h:55:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/magic.c:70:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char
data/imagemagick-6.9.11.24+dfsg/magick/magic.c:286:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char
data/imagemagick-6.9.11.24+dfsg/magick/magic.c:785:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/magic.c:858:19:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                  char
data/imagemagick-6.9.11.24+dfsg/magick/magick.c:972:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char
data/imagemagick-6.9.11.24+dfsg/magick/magick.c:976:45:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      if (magick_info[i]->magick_module != (char *) NULL)
data/imagemagick-6.9.11.24+dfsg/magick/magick.c:1232:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/matrix.c:76:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/matrix.c:715:14:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      (void) memcpy(value,(unsigned char *) matrix_info->elements+i*
data/imagemagick-6.9.11.24+dfsg/magick/matrix.c:1123:14:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      (void) memcpy((unsigned char *) matrix_info->elements+i*
data/imagemagick-6.9.11.24+dfsg/magick/memory.c:137:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/memory.c:816:23:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      default: return(memcpy(destination,source,size));
data/imagemagick-6.9.11.24+dfsg/magick/memory.c:1340:12:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    (void) memcpy(memory,block,size);
data/imagemagick-6.9.11.24+dfsg/magick/memory.c:1342:12:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    (void) memcpy(memory,block,SizeOfBlock(block)-sizeof(size_t));
data/imagemagick-6.9.11.24+dfsg/magick/mime.c:841:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char
data/imagemagick-6.9.11.24+dfsg/magick/mime.c:1009:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/module.c:390:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/module.c:585:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char
data/imagemagick-6.9.11.24+dfsg/magick/module.c:732:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char
data/imagemagick-6.9.11.24+dfsg/magick/module.c:963:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/module.c:1093:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/module.c:1252:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/module.c:1583:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/module.c:1596:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char
data/imagemagick-6.9.11.24+dfsg/magick/monitor.c:139:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/montage.c:326:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/montage.c:491:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char
data/imagemagick-6.9.11.24+dfsg/magick/montage.c:675:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char
data/imagemagick-6.9.11.24+dfsg/magick/montage.c:824:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              char
data/imagemagick-6.9.11.24+dfsg/magick/montage.h:62:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/morphology.c:218:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/morphology.c:264:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(token, kernel_string, (size_t) (p-kernel_string));
data/imagemagick-6.9.11.24+dfsg/magick/morphology.c:374:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/morphology.c:408:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(token, p, (size_t) (end-p));
data/imagemagick-6.9.11.24+dfsg/magick/morphology.c:490:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/morphology.c:3893:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/nt-base-private.h:35:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/nt-base.c:683:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/nt-base.c:824:3:  [2] (buffer) wchar_t:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  wchar_t
data/imagemagick-6.9.11.24+dfsg/magick/nt-base.c:897:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char
data/imagemagick-6.9.11.24+dfsg/magick/nt-base.c:973:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/nt-base.c:1069:16:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static const char
data/imagemagick-6.9.11.24+dfsg/magick/nt-base.c:1088:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char
data/imagemagick-6.9.11.24+dfsg/magick/nt-base.c:1155:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/nt-base.c:1255:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char
data/imagemagick-6.9.11.24+dfsg/magick/nt-base.c:1335:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char
data/imagemagick-6.9.11.24+dfsg/magick/nt-base.c:1402:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/nt-base.c:1476:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/nt-base.c:1799:3:  [2] (buffer) wchar_t:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  wchar_t
data/imagemagick-6.9.11.24+dfsg/magick/nt-base.c:1804:10:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
  length=MultiByteToWideChar(CP_UTF8,0,path,-1,file_specification,
data/imagemagick-6.9.11.24+dfsg/magick/nt-base.c:1808:10:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
  length=MultiByteToWideChar(CP_UTF8,0,DirectorySeparator,-1,
data/imagemagick-6.9.11.24+dfsg/magick/nt-base.c:1902:3:  [2] (buffer) wchar_t:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  wchar_t
data/imagemagick-6.9.11.24+dfsg/magick/nt-base.c:1905:10:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
  length=MultiByteToWideChar(CP_UTF8,0,filename,-1,path,MaxTextExtent);
data/imagemagick-6.9.11.24+dfsg/magick/nt-base.c:1913:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/nt-base.c:2033:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/nt-base.c:2118:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char
data/imagemagick-6.9.11.24+dfsg/magick/nt-base.c:2166:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/nt-base.c:2217:14:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      (void) memcpy(blob,value,length);
data/imagemagick-6.9.11.24+dfsg/magick/nt-base.c:2309:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/nt-base.c:2646:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/nt-base.c:2728:9:  [2] (buffer) wchar_t:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        wchar_t
data/imagemagick-6.9.11.24+dfsg/magick/nt-base.c:2731:16:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
        length=MultiByteToWideChar(CP_UTF8,0,(char *) path,-1,lib_path,
data/imagemagick-6.9.11.24+dfsg/magick/nt-base.h:201:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
#if !defined(open)
data/imagemagick-6.9.11.24+dfsg/magick/nt-base.h:202:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
#  define open  _open
data/imagemagick-6.9.11.24+dfsg/magick/nt-feature.c:137:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/nt-feature.c:197:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char
data/imagemagick-6.9.11.24+dfsg/magick/nt-feature.c:205:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char
data/imagemagick-6.9.11.24+dfsg/magick/opencl-private.h:429:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char message[MaxTextExtent];
data/imagemagick-6.9.11.24+dfsg/magick/opencl.c:236:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buff[2048];
data/imagemagick-6.9.11.24+dfsg/magick/opencl.c:255:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[4096];
data/imagemagick-6.9.11.24+dfsg/magick/opencl.c:256:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char indent[160];
data/imagemagick-6.9.11.24+dfsg/magick/opencl.c:257:5:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
    strcpy(indent, "                              ");
data/imagemagick-6.9.11.24+dfsg/magick/opencl.c:841:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char path[MaxTextExtent];
data/imagemagick-6.9.11.24+dfsg/magick/opencl.c:842:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char deviceName[MaxTextExtent];
data/imagemagick-6.9.11.24+dfsg/magick/opencl.c:947:37:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        binary_program[i]=(unsigned char *) RelinquishMagickMemory(
data/imagemagick-6.9.11.24+dfsg/magick/opencl.c:971:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fileHandle = fopen(binaryFileName, "rb");
data/imagemagick-6.9.11.24+dfsg/magick/opencl.c:1042:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char padded[4];
data/imagemagick-6.9.11.24+dfsg/magick/opencl.c:1075:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char options[MaxTextExtent];
data/imagemagick-6.9.11.24+dfsg/magick/opencl.c:1138:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char path[MaxTextExtent];
data/imagemagick-6.9.11.24+dfsg/magick/opencl.c:1145:22:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        fileHandle = fopen(path, "wb");	
data/imagemagick-6.9.11.24+dfsg/magick/opencl.c:1163:24:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
          fileHandle = fopen(path, "wb");	
data/imagemagick-6.9.11.24+dfsg/magick/opencl.c:1304:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char version[MaxTextExtent];
data/imagemagick-6.9.11.24+dfsg/magick/opencl.c:1995:17:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  profileFile = fopen(file, "wb");
data/imagemagick-6.9.11.24+dfsg/magick/opencl.c:2031:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char tmp[16];
data/imagemagick-6.9.11.24+dfsg/magick/opencl.c:2042:11:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
          sprintf(tmp,"%d",profile->devices[i].oclMaxComputeUnits);
data/imagemagick-6.9.11.24+dfsg/magick/opencl.c:2047:11:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
          sprintf(tmp,"%d",profile->devices[i].oclMaxClockFrequency);
data/imagemagick-6.9.11.24+dfsg/magick/opencl.c:2083:11:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  input = fopen(fileName, "rb");
data/imagemagick-6.9.11.24+dfsg/magick/opencl.c:2204:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char tmp[16];
data/imagemagick-6.9.11.24+dfsg/magick/opencl.c:2233:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(&deviceType, deviceTypeStart, sizeof(ds_device_type));
data/imagemagick-6.9.11.24+dfsg/magick/opencl.c:2276:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(tmp,tmpStart,tmpEnd-tmpStart);
data/imagemagick-6.9.11.24+dfsg/magick/opencl.c:2292:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(tmp,tmpStart,tmpEnd-tmpStart);
data/imagemagick-6.9.11.24+dfsg/magick/opencl.c:2528:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(s,"%.4f",*((AccelerateScoreType*)device->score));
data/imagemagick-6.9.11.24+dfsg/magick/opencl.c:2542:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(s, serializedScore, serializedScoreSize);
data/imagemagick-6.9.11.24+dfsg/magick/opencl.c:2564:23:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  FILE* profileFile = fopen(path, "ab");
data/imagemagick-6.9.11.24+dfsg/magick/opencl.c:2585:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char path[MaxTextExtent];
data/imagemagick-6.9.11.24+dfsg/magick/opencl.c:2819:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buffer[MaxTextExtent];
data/imagemagick-6.9.11.24+dfsg/magick/opencl.c:2862:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char path[MaxTextExtent];
data/imagemagick-6.9.11.24+dfsg/magick/opencl.c:2988:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char path[MaxTextExtent];
data/imagemagick-6.9.11.24+dfsg/magick/opencl.c:3001:13:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      log = fopen(path, "ab");
data/imagemagick-6.9.11.24+dfsg/magick/option.c:1832:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/option.c:2069:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/option.c:2588:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/policy.c:268:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/policy.c:765:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/policy.c:838:19:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                  char
data/imagemagick-6.9.11.24+dfsg/magick/profile.c:1396:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char
data/imagemagick-6.9.11.24+dfsg/magick/profile.c:1403:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  (void) memcpy(p,buffer,4);
data/imagemagick-6.9.11.24+dfsg/magick/profile.c:1491:20:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            (void) memcpy(extract_profile->datum,datum,offset);
data/imagemagick-6.9.11.24+dfsg/magick/profile.c:1500:20:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            (void) memcpy(extract_profile->datum,datum,offset-4);
data/imagemagick-6.9.11.24+dfsg/magick/profile.c:1503:20:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            (void) memcpy(extract_profile->datum+offset,
data/imagemagick-6.9.11.24+dfsg/magick/profile.c:1506:16:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        (void) memcpy(extract_profile->datum+offset+extract_extent,
data/imagemagick-6.9.11.24+dfsg/magick/profile.c:1688:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/profile.c:1887:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char
data/imagemagick-6.9.11.24+dfsg/magick/profile.c:1896:14:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      (void) memcpy(p,buffer,4);
data/imagemagick-6.9.11.24+dfsg/magick/profile.c:1903:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  (void) memcpy(p,buffer,4);
data/imagemagick-6.9.11.24+dfsg/magick/profile.c:1909:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char
data/imagemagick-6.9.11.24+dfsg/magick/profile.c:1916:14:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      (void) memcpy(p,buffer,2);
data/imagemagick-6.9.11.24+dfsg/magick/profile.c:1921:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  (void) memcpy(p,buffer,2);
data/imagemagick-6.9.11.24+dfsg/magick/property.c:230:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/property.c:352:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/property.c:501:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char
data/imagemagick-6.9.11.24+dfsg/magick/property.c:541:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char
data/imagemagick-6.9.11.24+dfsg/magick/property.c:563:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/property.c:683:16:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        (void) memcpy(attribute,(char *) info,(size_t) count);
data/imagemagick-6.9.11.24+dfsg/magick/property.c:901:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char
data/imagemagick-6.9.11.24+dfsg/magick/property.c:1457:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char
data/imagemagick-6.9.11.24+dfsg/magick/property.c:1698:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char
data/imagemagick-6.9.11.24+dfsg/magick/property.c:2303:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              char
data/imagemagick-6.9.11.24+dfsg/magick/property.c:2347:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              char
data/imagemagick-6.9.11.24+dfsg/magick/property.c:2404:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              char
data/imagemagick-6.9.11.24+dfsg/magick/property.c:2543:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/property.c:3021:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/property.c:3842:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char
data/imagemagick-6.9.11.24+dfsg/magick/property.c:3928:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              char
data/imagemagick-6.9.11.24+dfsg/magick/quantum-export.c:120:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char
data/imagemagick-6.9.11.24+dfsg/magick/quantum-export.c:155:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char
data/imagemagick-6.9.11.24+dfsg/magick/quantum-import.c:129:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char
data/imagemagick-6.9.11.24+dfsg/magick/quantum-import.c:182:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char
data/imagemagick-6.9.11.24+dfsg/magick/quantum-import.c:207:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char
data/imagemagick-6.9.11.24+dfsg/magick/random.c:454:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char
data/imagemagick-6.9.11.24+dfsg/magick/random.c:460:12:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
    (void) strcpy(path,"XXXXXX");
data/imagemagick-6.9.11.24+dfsg/magick/random.c:461:10:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
    file=mkstemp(path);
data/imagemagick-6.9.11.24+dfsg/magick/random.c:534:46:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          SetStringInfoDatum(chaos,(unsigned char *) environ[i]);
data/imagemagick-6.9.11.24+dfsg/magick/random.c:909:12:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    (void) memcpy(p,GetStringInfoDatum(GetSignatureDigest(
data/imagemagick-6.9.11.24+dfsg/magick/registry.c:109:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/resize.c:3709:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/resource.c:190:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/resource.c:619:16:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static const char
data/imagemagick-6.9.11.24+dfsg/magick/resource.c:660:10:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
    file=mkstemp(path);
data/imagemagick-6.9.11.24+dfsg/magick/resource.c:996:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/resource.c:1077:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/resource.c:1289:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/shear.c:635:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char
data/imagemagick-6.9.11.24+dfsg/magick/signature.c:782:14:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      (void) memcpy(GetStringInfoDatum(signature_info->message)+
data/imagemagick-6.9.11.24+dfsg/magick/signature.c:799:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  (void) memcpy(GetStringInfoDatum(signature_info->message),p,n);
data/imagemagick-6.9.11.24+dfsg/magick/static.c:378:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/string.c:144:12:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    (void) memcpy(destination,source,length*sizeof(*destination));
data/imagemagick-6.9.11.24+dfsg/magick/string.c:244:12:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    (void) memcpy(string_info->datum,blob,length);
data/imagemagick-6.9.11.24+dfsg/magick/string.c:309:12:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    (void) memcpy(*destination,source,length*sizeof(**destination));
data/imagemagick-6.9.11.24+dfsg/magick/string.c:347:12:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    (void) memcpy(clone_info->datum,string_info->datum,string_info->length+1);
data/imagemagick-6.9.11.24+dfsg/magick/string.c:521:12:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    (void) memcpy((*destination)+destination_length,source,source_length);
data/imagemagick-6.9.11.24+dfsg/magick/string.c:565:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  (void) memcpy(string_info->datum+length,source->datum,source->length);
data/imagemagick-6.9.11.24+dfsg/magick/string.c:634:14:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      (void) memcpy(string,map,length);
data/imagemagick-6.9.11.24+dfsg/magick/string.c:717:12:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    (void) memcpy(destination,source,length*sizeof(*destination));
data/imagemagick-6.9.11.24+dfsg/magick/string.c:1075:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/string.c:1653:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  (void) memcpy(string_info->datum,source->datum,MagickMin(string_info->length,
data/imagemagick-6.9.11.24+dfsg/magick/string.c:1689:12:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    (void) memcpy(string_info->datum,source,string_info->length);
data/imagemagick-6.9.11.24+dfsg/magick/string.c:1876:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  (void) memcpy(string,(char *) string_info->datum,length*sizeof(*string));
data/imagemagick-6.9.11.24+dfsg/magick/string.c:1920:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char
data/imagemagick-6.9.11.24+dfsg/magick/string.c:2061:12:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    (void) memcpy(argv[i],p,(size_t) (q-p));
data/imagemagick-6.9.11.24+dfsg/magick/string.c:2349:16:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        (void) memcpy(textlist[i],p,(size_t) (q-p));
data/imagemagick-6.9.11.24+dfsg/magick/string.c:2358:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char
data/imagemagick-6.9.11.24+dfsg/magick/string.c:2414:22:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        textlist[i]=(char *) ResizeQuantumMemory(textlist[i],(size_t) (q-
data/imagemagick-6.9.11.24+dfsg/magick/string.c:2595:12:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    (void) memcpy(p,replace,replace_extent);
data/imagemagick-6.9.11.24+dfsg/magick/string_.h:31:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/threshold.c:673:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/threshold.c:1867:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char
data/imagemagick-6.9.11.24+dfsg/magick/timer-private.h:36:14:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      (void) memcpy(result,my_time,sizeof(*my_time));
data/imagemagick-6.9.11.24+dfsg/magick/timer-private.h:52:14:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      (void) memcpy(result,my_time,sizeof(*my_time));
data/imagemagick-6.9.11.24+dfsg/magick/transform.c:776:12:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    (void) memcpy(q,p,(size_t) crop_image->columns*sizeof(*p));
data/imagemagick-6.9.11.24+dfsg/magick/transform.c:779:14:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      (void) memcpy(crop_indexes,indexes,(size_t) crop_image->columns*
data/imagemagick-6.9.11.24+dfsg/magick/transform.c:1120:12:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    (void) memcpy(q,p,(size_t) excerpt_image->columns*sizeof(*q));
data/imagemagick-6.9.11.24+dfsg/magick/transform.c:1126:18:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          (void) memcpy(excerpt_indexes,indexes,(size_t)
data/imagemagick-6.9.11.24+dfsg/magick/transform.c:1317:12:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    (void) memcpy(q,p,(size_t) image->columns*sizeof(*q));
data/imagemagick-6.9.11.24+dfsg/magick/transform.c:1323:18:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          (void) memcpy(flip_indexes,indexes,(size_t) image->columns*
data/imagemagick-6.9.11.24+dfsg/magick/transform.c:1569:12:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    (void) memcpy(q,p,(size_t) columns*sizeof(*p));
data/imagemagick-6.9.11.24+dfsg/magick/transform.c:1574:18:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          (void) memcpy(destination_indexes,indexes,(size_t)
data/imagemagick-6.9.11.24+dfsg/magick/transform.c:2278:12:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    (void) memcpy(q,p,(size_t) image->columns*sizeof(*q));
data/imagemagick-6.9.11.24+dfsg/magick/transform.c:2284:18:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          (void) memcpy(transpose_indexes,indexes,(size_t)
data/imagemagick-6.9.11.24+dfsg/magick/type.c:203:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char
data/imagemagick-6.9.11.24+dfsg/magick/type.c:327:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char
data/imagemagick-6.9.11.24+dfsg/magick/type.c:722:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/type.c:935:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/type.c:1067:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/type.c:1149:19:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                  char
data/imagemagick-6.9.11.24+dfsg/magick/utility-private.h:58:9:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
  count=MultiByteToWideChar(CP_UTF8,0,utf8,-1,NULL,0);
data/imagemagick-6.9.11.24+dfsg/magick/utility-private.h:61:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char
data/imagemagick-6.9.11.24+dfsg/magick/utility-private.h:64:7:  [2] (buffer) wchar_t:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      wchar_t
data/imagemagick-6.9.11.24+dfsg/magick/utility-private.h:73:13:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
      count=MultiByteToWideChar(CP_UTF8,0,buffer,-1,longPath,count);
data/imagemagick-6.9.11.24+dfsg/magick/utility-private.h:86:9:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
  count=MultiByteToWideChar(CP_UTF8,0,utf8,-1,wideChar,count);
data/imagemagick-6.9.11.24+dfsg/magick/utility-private.h:119:10:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  return(fopen(path,mode));
data/imagemagick-6.9.11.24+dfsg/magick/utility-private.h:153:3:  [2] (buffer) wchar_t:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  wchar_t
data/imagemagick-6.9.11.24+dfsg/magick/utility-private.h:169:10:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  return(open(path,flags,mode));
data/imagemagick-6.9.11.24+dfsg/magick/utility.c:195:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char
data/imagemagick-6.9.11.24+dfsg/magick/utility.c:281:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/utility.c:292:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char
data/imagemagick-6.9.11.24+dfsg/magick/utility.c:535:16:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      unsigned char
data/imagemagick-6.9.11.24+dfsg/magick/utility.c:615:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/utility.c:747:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/utility.c:779:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char
data/imagemagick-6.9.11.24+dfsg/magick/utility.c:917:27:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      if (filelist[j] != (char *) NULL)
data/imagemagick-6.9.11.24+dfsg/magick/utility.c:924:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char
data/imagemagick-6.9.11.24+dfsg/magick/utility.c:1010:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char
data/imagemagick-6.9.11.24+dfsg/magick/utility.c:1035:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char
data/imagemagick-6.9.11.24+dfsg/magick/utility.c:1090:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char
data/imagemagick-6.9.11.24+dfsg/magick/version.c:307:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/version.c:553:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  (void) memcpy(p,&signature,sizeof(signature));
data/imagemagick-6.9.11.24+dfsg/magick/version.c:556:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  (void) memcpy(p,&signature,sizeof(signature));
data/imagemagick-6.9.11.24+dfsg/magick/version.c:559:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  (void) memcpy(p,&signature,sizeof(signature));
data/imagemagick-6.9.11.24+dfsg/magick/version.c:562:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  (void) memcpy(p,&signature,sizeof(signature));
data/imagemagick-6.9.11.24+dfsg/magick/vision.c:496:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char
data/imagemagick-6.9.11.24+dfsg/magick/vision.c:569:14:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      (void) memcpy(top_objects,object,component_image->colors*sizeof(*object));
data/imagemagick-6.9.11.24+dfsg/magick/vision.c:587:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char
data/imagemagick-6.9.11.24+dfsg/magick/vision.c:852:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char
data/imagemagick-6.9.11.24+dfsg/magick/visual-effects.c:813:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char
data/imagemagick-6.9.11.24+dfsg/magick/visual-effects.c:1723:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char
data/imagemagick-6.9.11.24+dfsg/magick/visual-effects.c:3175:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/vms.c:168:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/vms.h:943:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/widget.c:1608:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/widget.c:1624:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char
data/imagemagick-6.9.11.24+dfsg/magick/widget.c:2076:16:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        static char
data/imagemagick-6.9.11.24+dfsg/magick/widget.c:2449:16:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        static char
data/imagemagick-6.9.11.24+dfsg/magick/widget.c:2558:16:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        static char
data/imagemagick-6.9.11.24+dfsg/magick/widget.c:2930:42:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        width=WidgetTextWidth(font_info,(char *) selections[i]);
data/imagemagick-6.9.11.24+dfsg/magick/widget.c:3360:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char
data/imagemagick-6.9.11.24+dfsg/magick/widget.c:3510:16:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        static char
data/imagemagick-6.9.11.24+dfsg/magick/widget.c:3629:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/widget.c:3969:16:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        static char
data/imagemagick-6.9.11.24+dfsg/magick/widget.c:4022:16:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        static char
data/imagemagick-6.9.11.24+dfsg/magick/widget.c:4210:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/widget.c:4225:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char
data/imagemagick-6.9.11.24+dfsg/magick/widget.c:5076:16:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        static char
data/imagemagick-6.9.11.24+dfsg/magick/widget.c:5193:16:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        static char
data/imagemagick-6.9.11.24+dfsg/magick/widget.c:5469:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/widget.c:5485:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char
data/imagemagick-6.9.11.24+dfsg/magick/widget.c:6315:16:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        static char
data/imagemagick-6.9.11.24+dfsg/magick/widget.c:6421:16:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        static char
data/imagemagick-6.9.11.24+dfsg/magick/widget.c:6745:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/widget.c:6823:36:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    if (WidgetTextWidth(font_info,(char *) list[i]) > text_width)
data/imagemagick-6.9.11.24+dfsg/magick/widget.c:6824:45:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      text_width=WidgetTextWidth(font_info,(char *) list[i]);
data/imagemagick-6.9.11.24+dfsg/magick/widget.c:7031:38:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                selection_info.text=(char *) list[slider_info.id+i];
data/imagemagick-6.9.11.24+dfsg/magick/widget.c:7342:16:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        static char
data/imagemagick-6.9.11.24+dfsg/magick/widget.c:7447:16:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        static char
data/imagemagick-6.9.11.24+dfsg/magick/widget.c:7703:38:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    width=WidgetTextWidth(font_info,(char *) selections[id]);
data/imagemagick-6.9.11.24+dfsg/magick/widget.c:7814:32:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          selection_info.text=(char *) selections[id];
data/imagemagick-6.9.11.24+dfsg/magick/widget.c:7869:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        selection_info.text=(char *) selections[id];
data/imagemagick-6.9.11.24+dfsg/magick/widget.c:7925:34:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            selection_info.text=(char *) selections[selection_info.id];
data/imagemagick-6.9.11.24+dfsg/magick/widget.c:7936:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        selection_info.text=(char *) selections[selection_info.id];
data/imagemagick-6.9.11.24+dfsg/magick/widget.c:7964:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        selection_info.text=(char *) selections[id];
data/imagemagick-6.9.11.24+dfsg/magick/widget.c:8011:34:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            selection_info.text=(char *) selections[selection_info.id];
data/imagemagick-6.9.11.24+dfsg/magick/widget.c:8021:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        selection_info.text=(char *) selections[id];
data/imagemagick-6.9.11.24+dfsg/magick/widget.c:8322:16:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        static char
data/imagemagick-6.9.11.24+dfsg/magick/widget.c:8431:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/widget.c:8481:36:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    if (WidgetTextWidth(font_info,(char *) Preferences[i]) > text_width)
data/imagemagick-6.9.11.24+dfsg/magick/widget.c:8482:45:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      text_width=WidgetTextWidth(font_info,(char *) Preferences[i]);
data/imagemagick-6.9.11.24+dfsg/magick/widget.c:8740:16:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        static char
data/imagemagick-6.9.11.24+dfsg/magick/widget.c:8953:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/widget.c:9026:36:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    if (WidgetTextWidth(text_info,(char *) textlist[i]) > text_width)
data/imagemagick-6.9.11.24+dfsg/magick/widget.c:9027:55:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      text_width=(unsigned int) XTextWidth(text_info,(char *) textlist[i],
data/imagemagick-6.9.11.24+dfsg/magick/widget.c:9205:38:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                selection_info.text=(char *) textlist[slider_info.id+i];
data/imagemagick-6.9.11.24+dfsg/magick/widget.c:9467:16:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        static char
data/imagemagick-6.9.11.24+dfsg/magick/xml-tree.c:217:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/xml-tree.c:453:27:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    if (attributes[i] != (char *) NULL)
data/imagemagick-6.9.11.24+dfsg/magick/xml-tree.c:455:29:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    if (attributes[i+1] != (char *) NULL)
data/imagemagick-6.9.11.24+dfsg/magick/xml-tree.c:525:27:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    if (attributes[0] != (char *) NULL)
data/imagemagick-6.9.11.24+dfsg/magick/xml-tree.c:529:29:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      if (attributes[j] != (char *) NULL)
data/imagemagick-6.9.11.24+dfsg/magick/xml-tree.c:531:31:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      if (attributes[j+1] != (char *) NULL)
data/imagemagick-6.9.11.24+dfsg/magick/xml-tree.c:533:31:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      if (attributes[j+2] != (char *) NULL)
data/imagemagick-6.9.11.24+dfsg/magick/xml-tree.c:690:14:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      (void) memcpy(xml,map,length);
data/imagemagick-6.9.11.24+dfsg/magick/xml-tree.c:1004:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/xml-tree.c:1317:14:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      (void) memcpy(utf8,content,*length*sizeof(*utf8));
data/imagemagick-6.9.11.24+dfsg/magick/xml-tree.c:1364:16:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  if (utf8 != (char *) NULL)
data/imagemagick-6.9.11.24+dfsg/magick/xml-tree.c:1512:24:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                (void) memcpy(xml,entities[i],length);
data/imagemagick-6.9.11.24+dfsg/magick/xml-tree.c:1715:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  (void) memcpy(predefined_entitites,sentinel,sizeof(sentinel));
data/imagemagick-6.9.11.24+dfsg/magick/xml-tree.c:1934:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char
data/imagemagick-6.9.11.24+dfsg/magick/xml-tree.c:2365:16:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static const char
data/imagemagick-6.9.11.24+dfsg/magick/xml-tree.c:2387:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  (void) memcpy(root->entities,predefined_entities,sizeof(predefined_entities));
data/imagemagick-6.9.11.24+dfsg/magick/xwindow-private.h:144:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/xwindow-private.h:185:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/xwindow-private.h:266:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/xwindow-private.h:294:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/xwindow-private.h:326:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/xwindow.c:273:37:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    if (magick_windows[i]->name != (char *) NULL)
data/imagemagick-6.9.11.24+dfsg/magick/xwindow.c:274:32:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      magick_windows[i]->name=(char *)
data/imagemagick-6.9.11.24+dfsg/magick/xwindow.c:276:42:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    if (magick_windows[i]->icon_name != (char *) NULL)
data/imagemagick-6.9.11.24+dfsg/magick/xwindow.c:277:37:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      magick_windows[i]->icon_name=(char *)
data/imagemagick-6.9.11.24+dfsg/magick/xwindow.c:610:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char
data/imagemagick-6.9.11.24+dfsg/magick/xwindow.c:1257:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char
data/imagemagick-6.9.11.24+dfsg/magick/xwindow.c:1295:24:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          static const char
data/imagemagick-6.9.11.24+dfsg/magick/xwindow.c:1312:47:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            map_property=XInternAtom(display,(char *) colormap[i],MagickTrue);
data/imagemagick-6.9.11.24+dfsg/magick/xwindow.c:1907:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/xwindow.c:2018:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char
data/imagemagick-6.9.11.24+dfsg/magick/xwindow.c:2110:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char
data/imagemagick-6.9.11.24+dfsg/magick/xwindow.c:2198:33:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      green_map[i][j]=(unsigned char *) RelinquishMagickMemory(green_map[i][j]);
data/imagemagick-6.9.11.24+dfsg/magick/xwindow.c:2199:32:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      blue_map[i][j]=(unsigned char *) RelinquishMagickMemory(blue_map[i][j]);
data/imagemagick-6.9.11.24+dfsg/magick/xwindow.c:2200:31:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      red_map[i][j]=(unsigned char *) RelinquishMagickMemory(red_map[i][j]);
data/imagemagick-6.9.11.24+dfsg/magick/xwindow.c:2468:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char
data/imagemagick-6.9.11.24+dfsg/magick/xwindow.c:2964:16:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static const char
data/imagemagick-6.9.11.24+dfsg/magick/xwindow.c:3122:42:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    (void) XParseColor(display,colormap,(char *) PenColors[i],
data/imagemagick-6.9.11.24+dfsg/magick/xwindow.c:3213:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/xwindow.c:3302:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/xwindow.c:3602:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/xwindow.c:3654:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/xwindow.c:5461:34:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        segment_info[1].shmaddr=(char *) shmat(segment_info[1].shmid,0,0);
data/imagemagick-6.9.11.24+dfsg/magick/xwindow.c:5604:47:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              if (segment_info[0].shmaddr != (char *) NULL)
data/imagemagick-6.9.11.24+dfsg/magick/xwindow.c:5819:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char
data/imagemagick-6.9.11.24+dfsg/magick/xwindow.c:6427:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char
data/imagemagick-6.9.11.24+dfsg/magick/xwindow.c:6645:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          unsigned char
data/imagemagick-6.9.11.24+dfsg/magick/xwindow.c:6984:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/xwindow.c:8286:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char
data/imagemagick-6.9.11.24+dfsg/magick/xwindow.c:8476:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/xwindow.c:9400:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/magick/xwindow.c:9527:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/tests/drawtest.c:411:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/tests/validate.c:937:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/tests/validate.c:1028:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/tests/validate.c:1120:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/tests/validate.c:1213:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/tests/validate.c:1615:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/tests/validate.c:2027:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/tests/validate.c:2119:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/tests/validate.c:2238:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/tests/wandtest.c:5224:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char
data/imagemagick-6.9.11.24+dfsg/tests/wandtest.c:5236:12:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
    (void) strcat(path,"sequence.miff");
data/imagemagick-6.9.11.24+dfsg/tests/wandtest.c:5326:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char
data/imagemagick-6.9.11.24+dfsg/tests/wandtest.c:5428:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        options[i]=(char *) MagickRelinquishMemory(options[i]);
data/imagemagick-6.9.11.24+dfsg/tests/wandtest.c:5456:24:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        properties[i]=(char *) MagickRelinquishMemory(properties[i]);
data/imagemagick-6.9.11.24+dfsg/tests/wandtest.c:5483:22:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        profiles[i]=(char *) MagickRelinquishMemory(profiles[i]);
data/imagemagick-6.9.11.24+dfsg/wand/compare.c:1150:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char
data/imagemagick-6.9.11.24+dfsg/wand/convert.c:2175:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char
data/imagemagick-6.9.11.24+dfsg/wand/deprecate.c:63:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/wand/deprecate.c:2329:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/wand/display.c:1362:20:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
            (void) strcpy(argv[i]+1,"san");
data/imagemagick-6.9.11.24+dfsg/wand/display.c:1842:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                char
data/imagemagick-6.9.11.24+dfsg/wand/drawing-wand.c:95:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/wand/drawing-wand.c:251:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/wand/drawing-wand.c:288:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char
data/imagemagick-6.9.11.24+dfsg/wand/drawing-wand.c:930:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char
data/imagemagick-6.9.11.24+dfsg/wand/drawing-wand.c:2397:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/wand/drawing-wand.c:4036:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/wand/drawing-wand.c:4821:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/wand/drawing-wand.c:4908:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/wand/drawing-wand.c:5351:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/wand/drawing-wand.c:6361:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char
data/imagemagick-6.9.11.24+dfsg/wand/magick-image.c:646:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/wand/magick-image.c:951:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/wand/magick-image.c:1648:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/wand/magick-image.c:6569:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/wand/magick-image.c:7373:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/wand/magick-image.c:8832:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/wand/magick-image.c:9881:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/wand/magick-image.c:12737:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/wand/magick-image.c:13309:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/wand/magick-property.c:709:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  (void) memcpy(datum,GetStringInfoDatum(profile),
data/imagemagick-6.9.11.24+dfsg/wand/magick-property.c:1788:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  (void) memcpy(datum,GetStringInfoDatum(profile),
data/imagemagick-6.9.11.24+dfsg/wand/magick-property.c:2545:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/wand/magick-property.c:2745:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/wand/magick-property.c:2789:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/wand/magick-property.c:2885:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/wand/magick-property.c:2932:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/wand/magick-wand-private.h:55:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/wand/mogrify.c:345:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/wand/mogrify.c:389:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/wand/mogrify.c:434:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/wand/mogrify.c:810:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char
data/imagemagick-6.9.11.24+dfsg/wand/mogrify.c:1374:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char
data/imagemagick-6.9.11.24+dfsg/wand/mogrify.c:1694:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char
data/imagemagick-6.9.11.24+dfsg/wand/mogrify.c:1766:47:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                if (strchr(argv[i+1],',') != (char *) NULL)
data/imagemagick-6.9.11.24+dfsg/wand/mogrify.c:2005:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char
data/imagemagick-6.9.11.24+dfsg/wand/mogrify.c:2015:22:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            p=(const char *) argv[i+1];
data/imagemagick-6.9.11.24+dfsg/wand/mogrify.c:2248:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char
data/imagemagick-6.9.11.24+dfsg/wand/mogrify.c:3889:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char
data/imagemagick-6.9.11.24+dfsg/wand/mogrify.c:3942:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char
data/imagemagick-6.9.11.24+dfsg/wand/mogrify.c:5480:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char
data/imagemagick-6.9.11.24+dfsg/wand/mogrify.c:7314:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char
data/imagemagick-6.9.11.24+dfsg/wand/mogrify.c:8578:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char
data/imagemagick-6.9.11.24+dfsg/wand/mogrify.c:8816:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char
data/imagemagick-6.9.11.24+dfsg/wand/montage.c:394:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              char
data/imagemagick-6.9.11.24+dfsg/wand/pixel-iterator.c:69:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/wand/pixel-wand.c:68:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/wand/pixel-wand.c:743:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/wand/wand-view.c:67:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/www/source/analyze.c:83:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char
data/imagemagick-6.9.11.24+dfsg/Magick++/demo/button.cpp:61:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    button.read( backGround );
data/imagemagick-6.9.11.24+dfsg/Magick++/demo/demo.cpp:59:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      null.read( "NULL:black" );
data/imagemagick-6.9.11.24+dfsg/Magick++/demo/demo.cpp:230:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      gradient.read( "gradient:#20a0ff-#ffff00" );
data/imagemagick-6.9.11.24+dfsg/Magick++/demo/demo.cpp:331:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      plasma.read( "plasma:fractal" );
data/imagemagick-6.9.11.24+dfsg/Magick++/lib/Image.cpp:90:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read(blob_);
data/imagemagick-6.9.11.24+dfsg/Magick++/lib/Image.cpp:108:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read(blob_,size_);
data/imagemagick-6.9.11.24+dfsg/Magick++/lib/Image.cpp:127:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read(blob_,size_,depth_);
data/imagemagick-6.9.11.24+dfsg/Magick++/lib/Image.cpp:146:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read(blob_,size_,depth_,magick_);
data/imagemagick-6.9.11.24+dfsg/Magick++/lib/Image.cpp:165:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read(blob_,size_,magick_);
data/imagemagick-6.9.11.24+dfsg/Magick++/lib/Image.cpp:190:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read(imageSpec);
data/imagemagick-6.9.11.24+dfsg/Magick++/lib/Image.cpp:241:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read(width_,height_,map_,type_,pixels_);
data/imagemagick-6.9.11.24+dfsg/Magick++/lib/Image.cpp:259:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read(imageSpec_);
data/imagemagick-6.9.11.24+dfsg/Magick++/lib/Image.cpp:1046:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      read("xc:black");
data/imagemagick-6.9.11.24+dfsg/Magick++/lib/Image.cpp:3804:3:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  read(newImage,exceptionInfo);
data/imagemagick-6.9.11.24+dfsg/Magick++/lib/Image.cpp:3815:3:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  read(newImage,exceptionInfo);
data/imagemagick-6.9.11.24+dfsg/Magick++/lib/Image.cpp:4024:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void Magick::Image::read(const Blob &blob_)
data/imagemagick-6.9.11.24+dfsg/Magick++/lib/Image.cpp:4032:3:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  read(newImage,exceptionInfo);
data/imagemagick-6.9.11.24+dfsg/Magick++/lib/Image.cpp:4035:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void Magick::Image::read(const Blob &blob_,const Geometry &size_)
data/imagemagick-6.9.11.24+dfsg/Magick++/lib/Image.cpp:4038:3:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  read(blob_);
data/imagemagick-6.9.11.24+dfsg/Magick++/lib/Image.cpp:4041:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void Magick::Image::read(const Blob &blob_,const Geometry &size_,
data/imagemagick-6.9.11.24+dfsg/Magick++/lib/Image.cpp:4046:3:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  read(blob_);
data/imagemagick-6.9.11.24+dfsg/Magick++/lib/Image.cpp:4049:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void Magick::Image::read(const Blob &blob_,const Geometry &size_,
data/imagemagick-6.9.11.24+dfsg/Magick++/lib/Image.cpp:4056:3:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  read(blob_);
data/imagemagick-6.9.11.24+dfsg/Magick++/lib/Image.cpp:4059:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void Magick::Image::read(const Blob &blob_,const Geometry &size_,
data/imagemagick-6.9.11.24+dfsg/Magick++/lib/Image.cpp:4065:3:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  read(blob_);
data/imagemagick-6.9.11.24+dfsg/Magick++/lib/Image.cpp:4068:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void Magick::Image::read(const Geometry &size_,const std::string &imageSpec_)
data/imagemagick-6.9.11.24+dfsg/Magick++/lib/Image.cpp:4071:3:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  read(imageSpec_);
data/imagemagick-6.9.11.24+dfsg/Magick++/lib/Image.cpp:4074:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void Magick::Image::read(const size_t width_,const size_t height_,
data/imagemagick-6.9.11.24+dfsg/Magick++/lib/Image.cpp:4089:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void Magick::Image::read(const std::string &imageSpec_)
data/imagemagick-6.9.11.24+dfsg/Magick++/lib/Image.cpp:4098:3:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  read(newImage,exceptionInfo);
data/imagemagick-6.9.11.24+dfsg/Magick++/lib/Image.cpp:5128:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void Magick::Image::read(MagickCore::Image *image,
data/imagemagick-6.9.11.24+dfsg/Magick++/lib/Magick++/Image.h:1276:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    void read(const Blob &blob_);
data/imagemagick-6.9.11.24+dfsg/Magick++/lib/Magick++/Image.h:1279:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    void read(const Blob &blob_,const Geometry &size_);
data/imagemagick-6.9.11.24+dfsg/Magick++/lib/Magick++/Image.h:1283:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    void read(const Blob &blob_,const Geometry &size_,const size_t depth_);
data/imagemagick-6.9.11.24+dfsg/Magick++/lib/Magick++/Image.h:1287:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    void read(const Blob &blob_,const Geometry &size_,const size_t depth_,
data/imagemagick-6.9.11.24+dfsg/Magick++/lib/Magick++/Image.h:1292:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    void read(const Blob &blob_,const Geometry &size_,
data/imagemagick-6.9.11.24+dfsg/Magick++/lib/Magick++/Image.h:1296:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    void read(const Geometry &size_,const std::string &imageSpec_);
data/imagemagick-6.9.11.24+dfsg/Magick++/lib/Magick++/Image.h:1301:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    void read(const size_t width_,const size_t height_,const std::string &map_,
data/imagemagick-6.9.11.24+dfsg/Magick++/lib/Magick++/Image.h:1305:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    void read(const std::string &imageSpec_);
data/imagemagick-6.9.11.24+dfsg/Magick++/lib/Magick++/Image.h:1602:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    void read(MagickCore::Image *image,
data/imagemagick-6.9.11.24+dfsg/Magick++/tests/colorHistogram.cpp:43:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    image.read( srcdir + "test_image.miff" );
data/imagemagick-6.9.11.24+dfsg/Magick++/tests/readWriteBlob.cpp:137:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
          image.read( blob );
data/imagemagick-6.9.11.24+dfsg/Magick++/tests/readWriteBlob.cpp:153:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
          image.read( blob, Geometry(148,99) );
data/imagemagick-6.9.11.24+dfsg/Magick++/tests/readWriteImages.cpp:99:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    fourth.read("testmagick_anim_out");
data/imagemagick-6.9.11.24+dfsg/Magick++/tests/readWriteImages.cpp:111:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    fourth.read("testmagick_anim_out.ico");
data/imagemagick-6.9.11.24+dfsg/Magick++/tests/readWriteImages.cpp:124:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    fourth.read("testmagick_anim_out.ico");
data/imagemagick-6.9.11.24+dfsg/Magick++/tests/readWriteImages.cpp:136:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    fourth.read("testmagick_anim_out.ico");
data/imagemagick-6.9.11.24+dfsg/Magick++/tests/readWriteImages.cpp:149:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    fourth.read("testmagick_anim_out.ico");
data/imagemagick-6.9.11.24+dfsg/coders/caption.c:157:45:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  width=(size_t) floor(draw_info->pointsize*strlen(caption)+0.5);
data/imagemagick-6.9.11.24+dfsg/coders/caption.c:217:57:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if ((fabs(image_info->pointsize) < MagickEpsilon) && (strlen(caption) > 0))
data/imagemagick-6.9.11.24+dfsg/coders/cut.c:439:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  i=(ssize_t) strlen(clone_info->filename);
data/imagemagick-6.9.11.24+dfsg/coders/dcm.c:3379:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                  if (strlen(transfer_syntax) > 17)
data/imagemagick-6.9.11.24+dfsg/coders/dng.c:498:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                      (strlen(content) != 0))
data/imagemagick-6.9.11.24+dfsg/coders/dpx.c:644:50:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    (void) FormatLocaleString(code,MaxTextExtent-strlen(code),"%x",
data/imagemagick-6.9.11.24+dfsg/coders/dpx.c:1578:10:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
  (void) strncpy(dpx.file.version,"V2.0",sizeof(dpx.file.version)-1);
data/imagemagick-6.9.11.24+dfsg/coders/dpx.c:1603:12:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    (void) strncpy(dpx.file.filename,value,sizeof(dpx.file.filename)-1);
data/imagemagick-6.9.11.24+dfsg/coders/dpx.c:1611:10:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  (void) strncpy(dpx.file.creator,MagickAuthoritativeURL,
data/imagemagick-6.9.11.24+dfsg/coders/dpx.c:1615:12:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    (void) strncpy(dpx.file.creator,value,sizeof(dpx.file.creator)-1);
data/imagemagick-6.9.11.24+dfsg/coders/dpx.c:1620:12:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    (void) strncpy(dpx.file.project,value,sizeof(dpx.file.project)-1);
data/imagemagick-6.9.11.24+dfsg/coders/dpx.c:1625:12:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    (void) strncpy(dpx.file.copyright,value,sizeof(dpx.file.copyright)-1);
data/imagemagick-6.9.11.24+dfsg/coders/dpx.c:1772:12:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    (void) strncpy(dpx.orientation.filename,value,
data/imagemagick-6.9.11.24+dfsg/coders/dpx.c:1780:12:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    (void) strncpy(dpx.orientation.device,value,
data/imagemagick-6.9.11.24+dfsg/coders/dpx.c:1786:12:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    (void) strncpy(dpx.orientation.serial,value,
data/imagemagick-6.9.11.24+dfsg/coders/dpx.c:1826:12:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    (void) strncpy(dpx.film.id,value,sizeof(dpx.film.id)-1);
data/imagemagick-6.9.11.24+dfsg/coders/dpx.c:1831:12:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    (void) strncpy(dpx.film.type,value,sizeof(dpx.film.type)-1);
data/imagemagick-6.9.11.24+dfsg/coders/dpx.c:1837:12:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    (void) strncpy(dpx.film.offset,value,sizeof(dpx.film.offset)-1);
data/imagemagick-6.9.11.24+dfsg/coders/dpx.c:1843:12:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    (void) strncpy(dpx.film.prefix,value,sizeof(dpx.film.prefix)-1);
data/imagemagick-6.9.11.24+dfsg/coders/dpx.c:1849:12:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    (void) strncpy(dpx.film.count,value,sizeof(dpx.film.count)-1);
data/imagemagick-6.9.11.24+dfsg/coders/dpx.c:1855:12:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    (void) strncpy(dpx.film.format,value,sizeof(dpx.film.format)-1);
data/imagemagick-6.9.11.24+dfsg/coders/dpx.c:1886:12:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    (void) strncpy(dpx.film.frame_id,value,sizeof(dpx.film.frame_id)-1);
data/imagemagick-6.9.11.24+dfsg/coders/dpx.c:1891:12:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    (void) strncpy(dpx.film.slate,value,sizeof(dpx.film.slate)-1);
data/imagemagick-6.9.11.24+dfsg/coders/dpx.c:1984:12:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    (void) strncpy(dpx.user.id,value,sizeof(dpx.user.id)-1);
data/imagemagick-6.9.11.24+dfsg/coders/emf.c:275:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      length=strlen((char *) source);
data/imagemagick-6.9.11.24+dfsg/coders/fits.c:632:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  length=MagickMin(strlen(data),80);
data/imagemagick-6.9.11.24+dfsg/coders/fits.c:635:10:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  (void) strncpy(buffer+offset,data,length);
data/imagemagick-6.9.11.24+dfsg/coders/fits.c:751:10:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
  (void) strncpy(header,"END",FITSBlocksize);
data/imagemagick-6.9.11.24+dfsg/coders/fpx.c:918:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      length=strlen(label);
data/imagemagick-6.9.11.24+dfsg/coders/fpx.c:936:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      summary_info.comments.length=strlen(comment);
data/imagemagick-6.9.11.24+dfsg/coders/ghostscript-private.h:37:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      offset=strlen(*messages);
data/imagemagick-6.9.11.24+dfsg/coders/ghostscript-private.h:233:56:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  status=CompareMagickByteBuffer(buffer,BeginXMPPacket,strlen(BeginXMPPacket));
data/imagemagick-6.9.11.24+dfsg/coders/ghostscript-private.h:254:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        strlen(EndXMPPacket));
data/imagemagick-6.9.11.24+dfsg/coders/gif.c:1767:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
              count=MagickMin(strlen(p),255);
data/imagemagick-6.9.11.24+dfsg/coders/hdr.c:235:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
              p=comment+strlen(comment);
data/imagemagick-6.9.11.24+dfsg/coders/html.c:264:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          url[strlen(url)+p-image->filename]='\0';
data/imagemagick-6.9.11.24+dfsg/coders/jpeg.c:2120:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        tag_length=strlen(ICC_PROFILE);
data/imagemagick-6.9.11.24+dfsg/coders/jpeg.c:2842:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      length=strlen(value);
data/imagemagick-6.9.11.24+dfsg/coders/jpeg.c:2845:45:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          (unsigned int) MagickMin((size_t) strlen(value+i),65533L));
data/imagemagick-6.9.11.24+dfsg/coders/json.c:210:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  length=strlen(value)+2;
data/imagemagick-6.9.11.24+dfsg/coders/json.c:897:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        (void) CopyMagickString(value->tag,tag,strlen(tag)+1);
data/imagemagick-6.9.11.24+dfsg/coders/json.c:1713:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen(format) > 1)
data/imagemagick-6.9.11.24+dfsg/coders/json.c:1714:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    format[strlen(format)-1]='\0';
data/imagemagick-6.9.11.24+dfsg/coders/label.c:133:45:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  width=(size_t) floor(draw_info->pointsize*strlen(label)+0.5);
data/imagemagick-6.9.11.24+dfsg/coders/label.c:149:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if ((status != MagickFalse) && (strlen(label) > 0) &&
data/imagemagick-6.9.11.24+dfsg/coders/meta.c:228:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        (void) memmove(s+1,s+1+o,strlen(s+1+o)+1);
data/imagemagick-6.9.11.24+dfsg/coders/meta.c:237:50:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          (void) memmove(s+1,s+html_codes[i].len,strlen(s+html_codes[i].len)+1);
data/imagemagick-6.9.11.24+dfsg/coders/meta.c:378:52:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                name=(char *) AcquireQuantumMemory(strlen(newstr)+MaxTextExtent,
data/imagemagick-6.9.11.24+dfsg/coders/meta.c:401:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            len = (ssize_t) strlen(token);
data/imagemagick-6.9.11.24+dfsg/coders/meta.c:465:42:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                  nlen = (unsigned char) strlen(name);
data/imagemagick-6.9.11.24+dfsg/coders/meta.c:690:52:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                name=(char *) AcquireQuantumMemory(strlen(newstr)+MaxTextExtent,
data/imagemagick-6.9.11.24+dfsg/coders/meta.c:693:55:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                  (void) CopyMagickString(name,newstr,strlen(newstr)+MaxTextExtent);
data/imagemagick-6.9.11.24+dfsg/coders/meta.c:713:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            len = (ssize_t) strlen(token);
data/imagemagick-6.9.11.24+dfsg/coders/meta.c:768:42:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                  nlen = (unsigned char) strlen(name);
data/imagemagick-6.9.11.24+dfsg/coders/meta.c:2014:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strlen((char *)readable) > 0)
data/imagemagick-6.9.11.24+dfsg/coders/meta.c:2147:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strlen((char *)readable) > 0)
data/imagemagick-6.9.11.24+dfsg/coders/meta.c:2285:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if (strlen((const char *)PString) > 0)
data/imagemagick-6.9.11.24+dfsg/coders/miff.c:591:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                p=comment+strlen(comment);
data/imagemagick-6.9.11.24+dfsg/coders/miff.c:641:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                      p=options+strlen(options);
data/imagemagick-6.9.11.24+dfsg/coders/miff.c:664:57:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
              (void) CopyMagickString(options,options+1,strlen(options));
data/imagemagick-6.9.11.24+dfsg/coders/miff.c:2356:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          length=strlen(value);
data/imagemagick-6.9.11.24+dfsg/coders/miff.c:2388:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          (void) WriteBlob(image,strlen(image->directory),(unsigned char *)
data/imagemagick-6.9.11.24+dfsg/coders/mpc.c:263:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                p=comment+strlen(comment);
data/imagemagick-6.9.11.24+dfsg/coders/mpc.c:314:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                      p=options+strlen(options);
data/imagemagick-6.9.11.24+dfsg/coders/mpc.c:337:57:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
              (void) CopyMagickString(options,options+1,strlen(options));
data/imagemagick-6.9.11.24+dfsg/coders/mpc.c:1365:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          length=strlen(value);
data/imagemagick-6.9.11.24+dfsg/coders/mpeg.c:479:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    count=(ssize_t) read(source_file,buffer,quantum);
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:6135:43:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                  ssize_t len = (ssize_t) strlen( value );
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:7490:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      strlen(msl_info->content)+length+MaxTextExtent,
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:7503:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  p=msl_info->content+strlen(msl_info->content);
data/imagemagick-6.9.11.24+dfsg/coders/msl.c:7850:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    n=(ssize_t) strlen(message);
data/imagemagick-6.9.11.24+dfsg/coders/mvg.c:176:42:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if (LocaleNCompare(BoundingBox,p,strlen(BoundingBox)) != 0)
data/imagemagick-6.9.11.24+dfsg/coders/mvg.c:362:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  (void) WriteBlob(image,strlen(value),(const unsigned char *) value);
data/imagemagick-6.9.11.24+dfsg/coders/pcl.c:268:43:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (LocaleNCompare(DeviceCMYK,command,strlen(DeviceCMYK)) == 0)
data/imagemagick-6.9.11.24+dfsg/coders/pcl.c:270:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (LocaleNCompare(CropBox,command,strlen(CropBox)) == 0)
data/imagemagick-6.9.11.24+dfsg/coders/pcl.c:281:41:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (LocaleNCompare(MediaBox,command,strlen(MediaBox)) == 0)
data/imagemagick-6.9.11.24+dfsg/coders/pdb.c:627:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            p=comment+strlen(comment);
data/imagemagick-6.9.11.24+dfsg/coders/pdf.c:264:51:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (CompareMagickByteBuffer(&buffer,PDFRotate,strlen(PDFRotate)) != MagickFalse)
data/imagemagick-6.9.11.24+dfsg/coders/pdf.c:271:58:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if ((CompareMagickByteBuffer(&buffer,DefaultCMYK,strlen(DefaultCMYK)) != MagickFalse) ||
data/imagemagick-6.9.11.24+dfsg/coders/pdf.c:272:57:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            (CompareMagickByteBuffer(&buffer,DeviceCMYK,strlen(DeviceCMYK)) != MagickFalse) ||
data/imagemagick-6.9.11.24+dfsg/coders/pdf.c:273:63:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            (CompareMagickByteBuffer(&buffer,CMYKProcessColor,strlen(CMYKProcessColor)) != MagickFalse))
data/imagemagick-6.9.11.24+dfsg/coders/pdf.c:279:51:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (CompareMagickByteBuffer(&buffer,SpotColor,strlen(SpotColor)) != MagickFalse)
data/imagemagick-6.9.11.24+dfsg/coders/pdf.c:292:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        SkipMagickByteBuffer(&buffer,strlen(SpotColor)+1);
data/imagemagick-6.9.11.24+dfsg/coders/pdf.c:312:53:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if (CompareMagickByteBuffer(&buffer,CropBox,strlen(CropBox)) != MagickFalse)
data/imagemagick-6.9.11.24+dfsg/coders/pdf.c:328:55:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          if (CompareMagickByteBuffer(&buffer,TrimBox,strlen(TrimBox)) != MagickFalse)
data/imagemagick-6.9.11.24+dfsg/coders/pdf.c:342:54:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if (CompareMagickByteBuffer(&buffer,MediaBox,strlen(MediaBox)) != MagickFalse)
data/imagemagick-6.9.11.24+dfsg/coders/pdf.c:1004:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      *length=strlen((const char *) source);
data/imagemagick-6.9.11.24+dfsg/coders/pgx.c:183:19:  [1] (buffer) sscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
  count=(ssize_t) sscanf(buffer,"PG%[ \t]%2s%[ \t+-]%d%[ \t]%d%[ \t]%d",sans,
data/imagemagick-6.9.11.24+dfsg/coders/pgx.c:373:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  (void) WriteBlob(image,strlen(buffer),(unsigned char *) buffer);
data/imagemagick-6.9.11.24+dfsg/coders/png.c:3746:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if (strlen(text[i].key) > 16 &&
data/imagemagick-6.9.11.24+dfsg/coders/png.c:7979:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   description_length=(png_uint_32) strlen((const char *) profile_description);
data/imagemagick-6.9.11.24+dfsg/coders/png.c:11545:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            text[0].text_length=strlen(value);
data/imagemagick-6.9.11.24+dfsg/coders/pnm.c:163:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  p=comment_info->comment+strlen(comment_info->comment);
data/imagemagick-6.9.11.24+dfsg/coders/pnm.c:174:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        p=comment_info->comment+strlen(comment_info->comment);
data/imagemagick-6.9.11.24+dfsg/coders/ps.c:332:55:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (CompareMagickByteBuffer(&buffer,BeginDocument,strlen(BeginDocument)) != MagickFalse)
data/imagemagick-6.9.11.24+dfsg/coders/ps.c:334:53:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (CompareMagickByteBuffer(&buffer,EndDocument,strlen(EndDocument)) != MagickFalse)
data/imagemagick-6.9.11.24+dfsg/coders/ps.c:339:58:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        (CompareMagickByteBuffer(&buffer,PostscriptLevel,strlen(PostscriptLevel)) != MagickFalse))
data/imagemagick-6.9.11.24+dfsg/coders/ps.c:350:51:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (CompareMagickByteBuffer(&buffer,ImageData,strlen(ImageData)) != MagickFalse)
data/imagemagick-6.9.11.24+dfsg/coders/ps.c:358:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    length=strlen(DocumentProcessColors);
data/imagemagick-6.9.11.24+dfsg/coders/ps.c:367:57:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (CompareMagickByteBuffer(&buffer,CMYKCustomColor,strlen(CMYKCustomColor)) != MagickFalse)
data/imagemagick-6.9.11.24+dfsg/coders/ps.c:369:58:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (CompareMagickByteBuffer(&buffer,CMYKProcessColor,strlen(CMYKProcessColor)) != MagickFalse)
data/imagemagick-6.9.11.24+dfsg/coders/ps.c:371:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    length=strlen(DocumentCustomColors);
data/imagemagick-6.9.11.24+dfsg/coders/ps.c:373:58:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        (CompareMagickByteBuffer(&buffer,CMYKCustomColor,strlen(CMYKCustomColor)) != MagickFalse) ||
data/imagemagick-6.9.11.24+dfsg/coders/ps.c:374:52:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        (CompareMagickByteBuffer(&buffer,SpotColor,strlen(SpotColor)) != MagickFalse))
data/imagemagick-6.9.11.24+dfsg/coders/ps.c:404:53:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        (CompareMagickByteBuffer(&buffer,ICCProfile,strlen(ICCProfile)) != MagickFalse))
data/imagemagick-6.9.11.24+dfsg/coders/ps.c:430:59:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        (CompareMagickByteBuffer(&buffer,PhotoshopProfile,strlen(PhotoshopProfile)) != MagickFalse))
data/imagemagick-6.9.11.24+dfsg/coders/ps.c:472:53:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (CompareMagickByteBuffer(&buffer,BoundingBox,strlen(BoundingBox)) != MagickFalse)
data/imagemagick-6.9.11.24+dfsg/coders/ps.c:479:55:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (CompareMagickByteBuffer(&buffer,DocumentMedia,strlen(DocumentMedia)) != MagickFalse)
data/imagemagick-6.9.11.24+dfsg/coders/ps.c:486:58:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (CompareMagickByteBuffer(&buffer,HiResBoundingBox,strlen(HiResBoundingBox)) != MagickFalse)
data/imagemagick-6.9.11.24+dfsg/coders/ps.c:493:57:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (CompareMagickByteBuffer(&buffer,PageBoundingBox,strlen(PageBoundingBox)) != MagickFalse)
data/imagemagick-6.9.11.24+dfsg/coders/ps.c:500:51:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (CompareMagickByteBuffer(&buffer,PageMedia,strlen(PageMedia)) != MagickFalse)
data/imagemagick-6.9.11.24+dfsg/coders/ps.c:708:43:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  count=write(file,command,(unsigned int) strlen(command));
data/imagemagick-6.9.11.24+dfsg/coders/ps.c:717:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        strlen(translate_geometry));
data/imagemagick-6.9.11.24+dfsg/coders/ps2.c:651:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        (void) WriteBlob(image,strlen(buffer),(const unsigned char *) buffer);
data/imagemagick-6.9.11.24+dfsg/coders/psd.c:3024:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  length=(strlen(value) > 255UL ) ? 255UL : strlen(value);
data/imagemagick-6.9.11.24+dfsg/coders/psd.c:3024:45:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  length=(strlen(value) > 255UL ) ? 255UL : strlen(value);
data/imagemagick-6.9.11.24+dfsg/coders/psd.c:3514:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        default_color=(unsigned char) (strlen(property) == 9 ? 255 : 0);
data/imagemagick-6.9.11.24+dfsg/coders/psd.c:3568:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    name_length=strlen(property)+1;
data/imagemagick-6.9.11.24+dfsg/coders/sixel.c:252:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    extent=strlen((char *) p);
data/imagemagick-6.9.11.24+dfsg/coders/sixel.c:1041:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      p+=strlen(p);
data/imagemagick-6.9.11.24+dfsg/coders/sixel.c:1049:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      p=sixel_buffer+strlen(sixel_buffer);
data/imagemagick-6.9.11.24+dfsg/coders/svg.c:683:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  length=strlen(message);
data/imagemagick-6.9.11.24+dfsg/coders/svg.c:927:17:  [1] (buffer) sscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
            if (sscanf(value,"%2048s %2048s %2048s",style,size,family) != 3)
data/imagemagick-6.9.11.24+dfsg/coders/svg.c:933:19:  [1] (buffer) sscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
              if (sscanf(value,"%2048s %2048s",size,family) != 2)
data/imagemagick-6.9.11.24+dfsg/coders/svg.c:4208:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  extent=strlen(token)+MaxTextExtent;
data/imagemagick-6.9.11.24+dfsg/coders/svg.c:5096:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        length=strlen(message);
data/imagemagick-6.9.11.24+dfsg/coders/svg.c:5101:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          length+=strlen(message);
data/imagemagick-6.9.11.24+dfsg/coders/svg.c:5105:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
              length=strlen(message)+5;
data/imagemagick-6.9.11.24+dfsg/coders/svg.c:5125:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        length=strlen(message);
data/imagemagick-6.9.11.24+dfsg/coders/svg.c:5130:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          length+=strlen(message);
data/imagemagick-6.9.11.24+dfsg/coders/svg.c:5134:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
              length=strlen(message)+5;
data/imagemagick-6.9.11.24+dfsg/coders/tga.c:789:50:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    tga_info.id_length=(unsigned char) MagickMin(strlen(comment),255);
data/imagemagick-6.9.11.24+dfsg/coders/txt.c:120:53:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (LocaleNCompare((const char *) magick,MagickID,strlen(MagickID)) != 0)
data/imagemagick-6.9.11.24+dfsg/coders/txt.c:122:19:  [1] (buffer) sscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
  count=(ssize_t) sscanf((const char *) magick+32,"%lu,%lu,%lu,%32s",&columns,
data/imagemagick-6.9.11.24+dfsg/coders/txt.c:449:45:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (LocaleNCompare((char *) text,MagickID,strlen(MagickID)) != 0)
data/imagemagick-6.9.11.24+dfsg/coders/txt.c:460:21:  [1] (buffer) sscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
    count=(ssize_t) sscanf(text+32,"%lu,%lu,%lf,%32s",&width,&height,&max_value,
data/imagemagick-6.9.11.24+dfsg/coders/txt.c:479:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    i=(ssize_t) strlen(colorspace)-1;
data/imagemagick-6.9.11.24+dfsg/coders/txt.c:614:47:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (LocaleNCompare((char *) text,MagickID,strlen(MagickID)) == 0)
data/imagemagick-6.9.11.24+dfsg/coders/txt.c:631:50:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  } while (LocaleNCompare((char *) text,MagickID,strlen(MagickID)) == 0);
data/imagemagick-6.9.11.24+dfsg/coders/viff.c:301:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strlen(viff_info.comment) > 4)
data/imagemagick-6.9.11.24+dfsg/coders/viff.c:1015:65:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      (void) CopyMagickString(viff_info.comment,value,MagickMin(strlen(value),
data/imagemagick-6.9.11.24+dfsg/coders/wmf.c:2185:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if (strlen(str) == 1)
data/imagemagick-6.9.11.24+dfsg/coders/wmf.c:2474:56:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          if (LocaleNCompare(WMFFontMap[i].name,target,strlen(WMFFontMap[i].name)) == 0)
data/imagemagick-6.9.11.24+dfsg/coders/wpg.c:853:10:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  (void) strncpy(clone_info->magick,magic_info->name,MaxTextExtent-1);
data/imagemagick-6.9.11.24+dfsg/coders/xbm.c:244:9:  [1] (buffer) sscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
    if (sscanf(buffer,"#define %1024s %ld",name,&width) == 2)
data/imagemagick-6.9.11.24+dfsg/coders/xbm.c:245:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if ((strlen(name) >= 6) &&
data/imagemagick-6.9.11.24+dfsg/coders/xbm.c:246:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          (LocaleCompare(name+strlen(name)-6,"_width") == 0))
data/imagemagick-6.9.11.24+dfsg/coders/xbm.c:249:9:  [1] (buffer) sscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
    if (sscanf(buffer,"#define %1024s %ld",name,&height) == 2)
data/imagemagick-6.9.11.24+dfsg/coders/xbm.c:250:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if ((strlen(name) >= 7) &&
data/imagemagick-6.9.11.24+dfsg/coders/xbm.c:251:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          (LocaleCompare(name+strlen(name)-7,"_height") == 0))
data/imagemagick-6.9.11.24+dfsg/coders/xbm.c:266:9:  [1] (buffer) sscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
    if (sscanf(buffer,"static short %1024s = {",name) == 1)
data/imagemagick-6.9.11.24+dfsg/coders/xbm.c:272:13:  [1] (buffer) sscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
        if (sscanf(buffer,"static char %1024s = {",name) == 1)
data/imagemagick-6.9.11.24+dfsg/coders/xbm.c:551:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  (void) WriteBlob(image,strlen(buffer),(unsigned char *) buffer);
data/imagemagick-6.9.11.24+dfsg/coders/xbm.c:554:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  (void) WriteBlob(image,strlen(buffer),(unsigned char *) buffer);
data/imagemagick-6.9.11.24+dfsg/coders/xbm.c:557:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  (void) WriteBlob(image,strlen(buffer),(unsigned char *) buffer);
data/imagemagick-6.9.11.24+dfsg/coders/xbm.c:559:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  (void) WriteBlob(image,strlen(buffer),(unsigned char *) buffer);
data/imagemagick-6.9.11.24+dfsg/coders/xbm.c:570:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  (void) WriteBlob(image,strlen(buffer),(unsigned char *) buffer);
data/imagemagick-6.9.11.24+dfsg/coders/xbm.c:589:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          (void) WriteBlob(image,strlen(buffer),(unsigned char *) buffer);
data/imagemagick-6.9.11.24+dfsg/coders/xbm.c:594:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
              (void) WriteBlob(image,strlen(buffer),(unsigned char *) buffer);
data/imagemagick-6.9.11.24+dfsg/coders/xbm.c:610:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        (void) WriteBlob(image,strlen(buffer),(unsigned char *) buffer);
data/imagemagick-6.9.11.24+dfsg/coders/xbm.c:615:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            (void) WriteBlob(image,strlen(buffer),(unsigned char *) buffer);
data/imagemagick-6.9.11.24+dfsg/coders/xbm.c:627:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  (void) WriteBlob(image,strlen(buffer),(unsigned char *) buffer);
data/imagemagick-6.9.11.24+dfsg/coders/xpm.c:324:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    p+=strlen(p);
data/imagemagick-6.9.11.24+dfsg/coders/xpm.c:332:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    p=xpm_buffer+strlen(xpm_buffer);
data/imagemagick-6.9.11.24+dfsg/coders/xpm.c:418:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strlen(p) > width)
data/imagemagick-6.9.11.24+dfsg/coders/xps.c:222:43:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (LocaleNCompare(DeviceCMYK,command,strlen(DeviceCMYK)) == 0)
data/imagemagick-6.9.11.24+dfsg/coders/xps.c:224:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (LocaleNCompare(CropBox,command,strlen(CropBox)) == 0)
data/imagemagick-6.9.11.24+dfsg/coders/xps.c:235:41:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (LocaleNCompare(MediaBox,command,strlen(MediaBox)) == 0)
data/imagemagick-6.9.11.24+dfsg/coders/xtrn.c:142:10:  [1] (buffer) sscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
  (void) sscanf(clone_info->filename,"%p,%2048s",&param1,filename);
data/imagemagick-6.9.11.24+dfsg/coders/xtrn.c:348:14:  [1] (buffer) sscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
      (void) sscanf(clone_info->filename,"%p,%2048s",&param1,filename);
data/imagemagick-6.9.11.24+dfsg/coders/xwd.c:817:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    xwd_info.header_size+=(CARD32) strlen(value);
data/imagemagick-6.9.11.24+dfsg/coders/xwd.c:860:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    (void) WriteBlob(image,strlen(value),(unsigned char *) value);
data/imagemagick-6.9.11.24+dfsg/magick/animate.c:632:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            (int) strlen(command));
data/imagemagick-6.9.11.24+dfsg/magick/animate.c:1983:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          strlen(image_list[scene]->magick_filename)-1;
data/imagemagick-6.9.11.24+dfsg/magick/animate.c:2106:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                strlen(image_list[scene]->filename)-1;
data/imagemagick-6.9.11.24+dfsg/magick/annotate.c:634:51:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
              ConcatenateMagickString(target,"\n",strlen(*caption)+1);
data/imagemagick-6.9.11.24+dfsg/magick/annotate.c:635:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
              ConcatenateMagickString(target,p,strlen(*caption)+2);
data/imagemagick-6.9.11.24+dfsg/magick/annotate.c:1100:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        raqm_add_font_feature(rq,token,strlen(token));
data/imagemagick-6.9.11.24+dfsg/magick/annotate.c:1555:46:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  length=ComplexTextLayout(image,draw_info,p,strlen(p),face,flags,&grapheme);
data/imagemagick-6.9.11.24+dfsg/magick/annotate.c:1755:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            if (strlen(annotate_info->primitive) > 7)
data/imagemagick-6.9.11.24+dfsg/magick/annotate.c:1961:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  length=strlen(draw_info->text);
data/imagemagick-6.9.11.24+dfsg/magick/blob.c:1169:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        count=read(file,blob+i,quantum);
data/imagemagick-6.9.11.24+dfsg/magick/blob.c:1228:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        count=read(file,blob+i,MagickMin(*length-i,(size_t) SSIZE_MAX));
data/imagemagick-6.9.11.24+dfsg/magick/blob.c:1369:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    count=read(file,blob,quantum);
data/imagemagick-6.9.11.24+dfsg/magick/blob.c:2211:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    count=read(file,buffer,quantum);
data/imagemagick-6.9.11.24+dfsg/magick/blob.c:3155:13:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
          c=getc(blob_info->file_info.file);
data/imagemagick-6.9.11.24+dfsg/magick/blob.c:3163:13:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
          c=getc(blob_info->file_info.file);
data/imagemagick-6.9.11.24+dfsg/magick/blob.c:3171:13:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
          c=getc(blob_info->file_info.file);
data/imagemagick-6.9.11.24+dfsg/magick/blob.c:3179:13:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
          c=getc(blob_info->file_info.file);
data/imagemagick-6.9.11.24+dfsg/magick/blob.c:3365:9:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      c=getc(blob_info->file_info.file);
data/imagemagick-6.9.11.24+dfsg/magick/blob.c:5623:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  return(WriteBlobStream(image,strlen(string),(const unsigned char *) string));
data/imagemagick-6.9.11.24+dfsg/magick/cache.c:816:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  while ((count=read(cache_info->file,buffer,quantum)) > 0)
data/imagemagick-6.9.11.24+dfsg/magick/cache.c:4587:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    count=read(cache_info->file,buffer+i,(size_t) MagickMin(length-i,(size_t)
data/imagemagick-6.9.11.24+dfsg/magick/coder.c:760:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    for (j=(ssize_t) strlen(coder_info[i]->magick); j <= 11; j++)
data/imagemagick-6.9.11.24+dfsg/magick/coder.c:831:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  extent=strlen(token)+MaxTextExtent;
data/imagemagick-6.9.11.24+dfsg/magick/color.c:2230:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  extent=strlen(token)+MaxTextExtent;
data/imagemagick-6.9.11.24+dfsg/magick/color.c:2751:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if (i >= (ssize_t) strlen(name))
data/imagemagick-6.9.11.24+dfsg/magick/color.c:2767:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          if (i >= (ssize_t) strlen(name))
data/imagemagick-6.9.11.24+dfsg/magick/configure.c:673:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          SetStringInfoLength(xml,strlen(blob)+1);
data/imagemagick-6.9.11.24+dfsg/magick/configure.c:752:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          q=path+strlen(path)-1;
data/imagemagick-6.9.11.24+dfsg/magick/configure.c:1077:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    for (j=(ssize_t) strlen(name); j <= 13; j++)
data/imagemagick-6.9.11.24+dfsg/magick/configure.c:1152:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  extent=strlen(token)+MaxTextExtent;
data/imagemagick-6.9.11.24+dfsg/magick/constitute.c:156:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  length=strlen(map);
data/imagemagick-6.9.11.24+dfsg/magick/delegate.c:534:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  q=sanitize_source+strlen(sanitize_source);
data/imagemagick-6.9.11.24+dfsg/magick/delegate.c:967:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      q=interpret_text+strlen(interpret_text); \
data/imagemagick-6.9.11.24+dfsg/magick/delegate.c:973:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t length=strlen(key)+strlen(value)+2; \
data/imagemagick-6.9.11.24+dfsg/magick/delegate.c:973:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t length=strlen(key)+strlen(value)+2; \
data/imagemagick-6.9.11.24+dfsg/magick/delegate.c:981:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      q=interpret_text+strlen(interpret_text); \
data/imagemagick-6.9.11.24+dfsg/magick/delegate.c:988:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t length=strlen((string)); \
data/imagemagick-6.9.11.24+dfsg/magick/delegate.c:996:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      q=interpret_text+strlen(interpret_text); \
data/imagemagick-6.9.11.24+dfsg/magick/delegate.c:1701:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    count=(ssize_t) read(source_file,buffer,quantum);
data/imagemagick-6.9.11.24+dfsg/magick/delegate.c:2127:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  extent=strlen(token)+MaxTextExtent;
data/imagemagick-6.9.11.24+dfsg/magick/deprecate.c:835:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  length=strlen(source)+MaxTextExtent+1;
data/imagemagick-6.9.11.24+dfsg/magick/deprecate.c:5553:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      length=strlen((const char *) source);
data/imagemagick-6.9.11.24+dfsg/magick/deprecate.c:7211:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen(message) == 1)
data/imagemagick-6.9.11.24+dfsg/magick/deprecate.c:7218:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  q=message+strlen(message)-1;
data/imagemagick-6.9.11.24+dfsg/magick/display.c:2289:41:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
              annotate_info->text,(int) strlen(annotate_info->text));
data/imagemagick-6.9.11.24+dfsg/magick/display.c:2342:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                  (int) strlen(text_info->text));
data/imagemagick-6.9.11.24+dfsg/magick/display.c:2346:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                  (int) strlen(text_info->text));
data/imagemagick-6.9.11.24+dfsg/magick/display.c:2403:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                      p+=strlen(annotate_info->text);
data/imagemagick-6.9.11.24+dfsg/magick/display.c:2440:41:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
              annotate_info->text,(int) strlen(annotate_info->text));
data/imagemagick-6.9.11.24+dfsg/magick/display.c:2474:41:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
              annotate_info->text,(int) strlen(annotate_info->text));
data/imagemagick-6.9.11.24+dfsg/magick/display.c:2569:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            annotate_info->text,(int) strlen(annotate_info->text));
data/imagemagick-6.9.11.24+dfsg/magick/display.c:5198:42:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            (unsigned char *) text,(int) strlen(text));
data/imagemagick-6.9.11.24+dfsg/magick/display.c:6650:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      delta[strlen(delta)+1]='\0';
data/imagemagick-6.9.11.24+dfsg/magick/display.c:6651:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      delta[strlen(delta)]=Digits[key_symbol-XK_0];
data/imagemagick-6.9.11.24+dfsg/magick/display.c:9162:63:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            8,PropModeReplace,(unsigned char *) command,(int) strlen(command));
data/imagemagick-6.9.11.24+dfsg/magick/display.c:11816:42:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            (unsigned char *) text,(int) strlen(text));
data/imagemagick-6.9.11.24+dfsg/magick/distribute-cache.c:806:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  p+=strlen(shared_secret);
data/imagemagick-6.9.11.24+dfsg/magick/draw.c:2316:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  extent=strlen(token)+MagickPathExtent;
data/imagemagick-6.9.11.24+dfsg/magick/draw.c:2357:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                  end=p-strlen(token)-1;
data/imagemagick-6.9.11.24+dfsg/magick/draw.c:2510:42:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if ((*draw_info->primitive == '@') && (strlen(draw_info->primitive) > 1) &&
data/imagemagick-6.9.11.24+dfsg/magick/draw.c:2517:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  primitive_extent=(double) strlen(primitive);
data/imagemagick-6.9.11.24+dfsg/magick/draw.c:2556:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  extent=strlen(token)+MaxTextExtent;
data/imagemagick-6.9.11.24+dfsg/magick/draw.c:2580:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    p=q-strlen(keyword)-1;
data/imagemagick-6.9.11.24+dfsg/magick/exception.c:1126:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  length=strlen(reason);
data/imagemagick-6.9.11.24+dfsg/magick/feature.c:2006:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (write(file,message,strlen(message)) != (ssize_t) strlen(message))
data/imagemagick-6.9.11.24+dfsg/magick/feature.c:2006:56:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (write(file,message,strlen(message)) != (ssize_t) strlen(message))
data/imagemagick-6.9.11.24+dfsg/magick/feature.c:2010:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (write(file,message,strlen(message)) != (ssize_t) strlen(message))
data/imagemagick-6.9.11.24+dfsg/magick/feature.c:2010:56:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (write(file,message,strlen(message)) != (ssize_t) strlen(message))
data/imagemagick-6.9.11.24+dfsg/magick/feature.c:2014:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (write(file,message,strlen(message)) != (ssize_t) strlen(message))
data/imagemagick-6.9.11.24+dfsg/magick/feature.c:2014:56:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (write(file,message,strlen(message)) != (ssize_t) strlen(message))
data/imagemagick-6.9.11.24+dfsg/magick/feature.c:2099:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          if (write(file,message,strlen(message)) != (ssize_t) strlen(message))
data/imagemagick-6.9.11.24+dfsg/magick/feature.c:2099:64:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          if (write(file,message,strlen(message)) != (ssize_t) strlen(message))
data/imagemagick-6.9.11.24+dfsg/magick/fx.c:708:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      length=strlen(name);
data/imagemagick-6.9.11.24+dfsg/magick/fx.c:1434:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen(q) == 1) \
data/imagemagick-6.9.11.24+dfsg/magick/fx.c:2125:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          if (strlen(expression) > 6)
data/imagemagick-6.9.11.24+dfsg/magick/geometry.c:120:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen(geometry) >= (MaxTextExtent-1))
data/imagemagick-6.9.11.24+dfsg/magick/geometry.c:675:43:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strspn(geometry,"0123456789-, ") != strlen(geometry))
data/imagemagick-6.9.11.24+dfsg/magick/geometry.c:886:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen(geometry) >= (MaxTextExtent-1))
data/imagemagick-6.9.11.24+dfsg/magick/identify.c:1243:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if (strlen(value) > 80)
data/imagemagick-6.9.11.24+dfsg/magick/identify.c:1445:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen(format) > 1)
data/imagemagick-6.9.11.24+dfsg/magick/identify.c:1446:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    format[strlen(format)-1]='\0';
data/imagemagick-6.9.11.24+dfsg/magick/image.c:709:42:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  clip_mask=BlobToImage(image_info,value,strlen(value),&image->exception);
data/imagemagick-6.9.11.24+dfsg/magick/image.c:1756:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        offset+=strlen(pattern)-strlen(value)+3;
data/imagemagick-6.9.11.24+dfsg/magick/image.c:1756:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        offset+=strlen(pattern)-strlen(value)+3;
data/imagemagick-6.9.11.24+dfsg/magick/image.c:1775:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  return(strlen(filename));
data/imagemagick-6.9.11.24+dfsg/magick/image.c:2834:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        path[strlen(path)-strlen(extension)-1]='\0';
data/imagemagick-6.9.11.24+dfsg/magick/image.c:2834:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        path[strlen(path)-strlen(extension)-1]='\0';
data/imagemagick-6.9.11.24+dfsg/magick/image.c:2846:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        path[strlen(path)-strlen(extension)-1]='\0';
data/imagemagick-6.9.11.24+dfsg/magick/image.c:2846:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        path[strlen(path)-strlen(extension)-1]='\0';
data/imagemagick-6.9.11.24+dfsg/magick/locale.c:869:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        SetStringInfoLength(xml,strlen(blob)+1);
data/imagemagick-6.9.11.24+dfsg/magick/locale.c:1144:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  p=path+strlen(path)-1;
data/imagemagick-6.9.11.24+dfsg/magick/locale.c:1215:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  extent=strlen(token)+MaxTextExtent;
data/imagemagick-6.9.11.24+dfsg/magick/locale.c:1390:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        token[strlen(token)-1]='\0';
data/imagemagick-6.9.11.24+dfsg/magick/log.c:804:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
              length+=strlen(LogHandlers[j].name);
data/imagemagick-6.9.11.24+dfsg/magick/log.c:817:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        for (j=(ssize_t) strlen(log_info[i]->filename); j <= 16; j++)
data/imagemagick-6.9.11.24+dfsg/magick/log.c:990:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  extent=strlen(event)+MaxTextExtent;
data/imagemagick-6.9.11.24+dfsg/magick/log.c:1033:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        q=text+strlen(text);
data/imagemagick-6.9.11.24+dfsg/magick/log.c:1126:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        for (p=module+strlen(module)-1; p > module; p--)
data/imagemagick-6.9.11.24+dfsg/magick/log.c:1216:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        q=filename+strlen(filename);
data/imagemagick-6.9.11.24+dfsg/magick/log.c:1495:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  extent=strlen(token)+MaxTextExtent;
data/imagemagick-6.9.11.24+dfsg/magick/log.c:1728:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      length=strlen(LogHandlers[i].name);
data/imagemagick-6.9.11.24+dfsg/magick/mac.c:807:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  AECreateDesc(typeChar,directory,strlen(directory),&path_descriptor);
data/imagemagick-6.9.11.24+dfsg/magick/mac.c:921:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  return(MacGSExecuteCommand(command,strlen(command)));
data/imagemagick-6.9.11.24+dfsg/magick/mac.c:1141:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  dir_entry.d_namlen=strlen(dir_entry.d_name);
data/imagemagick-6.9.11.24+dfsg/magick/mac.c:1566:63:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  (void) CopyMagickString((char *) &filetype,magick,MagickMin(strlen(magick),
data/imagemagick-6.9.11.24+dfsg/magick/magic.c:729:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    for (j=(ssize_t) strlen(magic_info[i]->name); j <= 9; j++)
data/imagemagick-6.9.11.24+dfsg/magick/magic.c:811:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  extent=strlen(token)+MaxTextExtent;
data/imagemagick-6.9.11.24+dfsg/magick/magic.c:960:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            length=strlen(token);
data/imagemagick-6.9.11.24+dfsg/magick/matrix.c:683:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    count=read(matrix_info->file,buffer+i,(size_t) MagickMin(length-i,
data/imagemagick-6.9.11.24+dfsg/magick/mime.c:749:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strlen(mime_info[i]->type) <= 25)
data/imagemagick-6.9.11.24+dfsg/magick/mime.c:751:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        for (j=(ssize_t) strlen(mime_info[i]->type); j <= 27; j++)
data/imagemagick-6.9.11.24+dfsg/magick/module.c:478:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        modules[i][strlen(modules[i])-1]='\0';
data/imagemagick-6.9.11.24+dfsg/magick/module.c:579:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        q=path+strlen(path)-1;
data/imagemagick-6.9.11.24+dfsg/magick/montage.c:633:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      extent+=strlen(image_list[tile]->filename)+1;
data/imagemagick-6.9.11.24+dfsg/magick/nt-base.c:287:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
              if ((strlen(module_path)+count+1) < (16*MaxTextExtent-1))
data/imagemagick-6.9.11.24+dfsg/magick/nt-base.c:1809:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    directory_separator,(int) strlen(DirectorySeparator)+1);
data/imagemagick-6.9.11.24+dfsg/magick/nt-base.c:1812:7:  [1] (buffer) wcsncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, or
  automatically resizing strings.
  if (wcsncat(file_specification,directory_separator,
data/imagemagick-6.9.11.24+dfsg/magick/nt-base.c:1813:23:  [1] (buffer) wcslen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        MaxTextExtent-wcslen(file_specification)-1) == (wchar_t *) NULL)
data/imagemagick-6.9.11.24+dfsg/magick/nt-base.c:1820:10:  [1] (buffer) wcsncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, or
  automatically resizing strings. Risk is low because the source is a
  constant string.
      if(wcsncat(file_specification,L"*.*",
data/imagemagick-6.9.11.24+dfsg/magick/nt-base.c:1821:23:  [1] (buffer) wcslen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        MaxTextExtent-wcslen(file_specification)-1) == (wchar_t*) NULL)
data/imagemagick-6.9.11.24+dfsg/magick/nt-base.c:1995:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  entry->file_info.d_namlen=(int) strlen(entry->file_info.d_name);
data/imagemagick-6.9.11.24+dfsg/magick/nt-base.c:2345:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  asynchronous=command[strlen(command)-1] == '&' ? MagickTrue : MagickFalse;
data/imagemagick-6.9.11.24+dfsg/magick/nt-base.c:2348:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      local_command[strlen(command)-1]='\0';
data/imagemagick-6.9.11.24+dfsg/magick/nt-base.c:2353:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if (command[strlen(command)-1] == '|')
data/imagemagick-6.9.11.24+dfsg/magick/nt-base.c:2354:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        local_command[strlen(command)-1]='\0';
data/imagemagick-6.9.11.24+dfsg/magick/nt-base.h:213:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
#if !defined(read)
data/imagemagick-6.9.11.24+dfsg/magick/nt-base.h:214:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
#  define read(fd,buffer,count)  _read(fd,buffer,(unsigned int) count)
data/imagemagick-6.9.11.24+dfsg/magick/nt-base.h:262:14:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
#if !defined(umask)
data/imagemagick-6.9.11.24+dfsg/magick/nt-base.h:263:11:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
#  define umask  _umask
data/imagemagick-6.9.11.24+dfsg/magick/nt-feature.c:96:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen(magick) > 1)
data/imagemagick-6.9.11.24+dfsg/magick/opencl.c:258:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(indent, kernelNames[i], min(strlen(kernelNames[i]), strlen(indent) - 1));
data/imagemagick-6.9.11.24+dfsg/magick/opencl.c:258:41:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    strncpy(indent, kernelNames[i], min(strlen(kernelNames[i]), strlen(indent) - 1));
data/imagemagick-6.9.11.24+dfsg/magick/opencl.c:258:65:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    strncpy(indent, kernelNames[i], min(strlen(kernelNames[i]), strlen(indent) - 1));
data/imagemagick-6.9.11.24+dfsg/magick/opencl.c:859:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  name = (char*)AcquireMagickMemory(strlen(path)+1);
data/imagemagick-6.9.11.24+dfsg/magick/opencl.c:860:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  CopyMagickString(name,path,strlen(path)+1);
data/imagemagick-6.9.11.24+dfsg/magick/opencl.c:1032:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  stringLength = (unsigned int) strlen(string);
data/imagemagick-6.9.11.24+dfsg/magick/opencl.c:1102:57:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  accelerateKernelsBuffer = (char*) AcquireMagickMemory(strlen(accelerateKernels)+strlen(accelerateKernels2)+1);
data/imagemagick-6.9.11.24+dfsg/magick/opencl.c:1102:83:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  accelerateKernelsBuffer = (char*) AcquireMagickMemory(strlen(accelerateKernels)+strlen(accelerateKernels2)+1);
data/imagemagick-6.9.11.24+dfsg/magick/opencl.c:1119:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      size_t programLength = strlen(MagickOpenCLProgramStrings[i]);
data/imagemagick-6.9.11.24+dfsg/magick/opencl.c:1148:63:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          fwrite(MagickOpenCLProgramStrings[i], sizeof(char), strlen(MagickOpenCLProgramStrings[i]), fileHandle);
data/imagemagick-6.9.11.24+dfsg/magick/opencl.c:1167:53:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            fwrite(buildOptionsTitle, sizeof(char), strlen(buildOptionsTitle), fileHandle);
data/imagemagick-6.9.11.24+dfsg/magick/opencl.c:1168:43:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            fwrite(options, sizeof(char), strlen(options), fileHandle);
data/imagemagick-6.9.11.24+dfsg/magick/opencl.c:2003:42:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    fwrite(DS_TAG_VERSION, sizeof(char), strlen(DS_TAG_VERSION), profileFile);
data/imagemagick-6.9.11.24+dfsg/magick/opencl.c:2004:44:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    fwrite(profile->version, sizeof(char), strlen(profile->version), profileFile);
data/imagemagick-6.9.11.24+dfsg/magick/opencl.c:2005:46:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    fwrite(DS_TAG_VERSION_END, sizeof(char), strlen(DS_TAG_VERSION_END), profileFile);
data/imagemagick-6.9.11.24+dfsg/magick/opencl.c:2012:43:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      fwrite(DS_TAG_DEVICE, sizeof(char), strlen(DS_TAG_DEVICE), profileFile);
data/imagemagick-6.9.11.24+dfsg/magick/opencl.c:2014:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      fwrite(DS_TAG_DEVICE_TYPE, sizeof(char), strlen(DS_TAG_DEVICE_TYPE), profileFile);
data/imagemagick-6.9.11.24+dfsg/magick/opencl.c:2016:52:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      fwrite(DS_TAG_DEVICE_TYPE_END, sizeof(char), strlen(DS_TAG_DEVICE_TYPE_END), profileFile);
data/imagemagick-6.9.11.24+dfsg/magick/opencl.c:2033:52:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          fwrite(DS_TAG_DEVICE_NAME, sizeof(char), strlen(DS_TAG_DEVICE_NAME), profileFile);
data/imagemagick-6.9.11.24+dfsg/magick/opencl.c:2034:65:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          fwrite(profile->devices[i].oclDeviceName,sizeof(char),strlen(profile->devices[i].oclDeviceName), profileFile);
data/imagemagick-6.9.11.24+dfsg/magick/opencl.c:2035:56:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          fwrite(DS_TAG_DEVICE_NAME_END, sizeof(char), strlen(DS_TAG_DEVICE_NAME_END), profileFile);
data/imagemagick-6.9.11.24+dfsg/magick/opencl.c:2037:62:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          fwrite(DS_TAG_DEVICE_DRIVER_VERSION, sizeof(char), strlen(DS_TAG_DEVICE_DRIVER_VERSION), profileFile);
data/imagemagick-6.9.11.24+dfsg/magick/opencl.c:2038:68:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          fwrite(profile->devices[i].oclDriverVersion,sizeof(char),strlen(profile->devices[i].oclDriverVersion), profileFile);
data/imagemagick-6.9.11.24+dfsg/magick/opencl.c:2039:66:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          fwrite(DS_TAG_DEVICE_DRIVER_VERSION_END, sizeof(char), strlen(DS_TAG_DEVICE_DRIVER_VERSION_END), profileFile);
data/imagemagick-6.9.11.24+dfsg/magick/opencl.c:2041:65:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          fwrite(DS_TAG_DEVICE_MAX_COMPUTE_UNITS, sizeof(char), strlen(DS_TAG_DEVICE_MAX_COMPUTE_UNITS), profileFile);
data/imagemagick-6.9.11.24+dfsg/magick/opencl.c:2043:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          fwrite(tmp,sizeof(char),strlen(tmp), profileFile);
data/imagemagick-6.9.11.24+dfsg/magick/opencl.c:2044:69:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          fwrite(DS_TAG_DEVICE_MAX_COMPUTE_UNITS_END, sizeof(char), strlen(DS_TAG_DEVICE_MAX_COMPUTE_UNITS_END), profileFile);
data/imagemagick-6.9.11.24+dfsg/magick/opencl.c:2046:62:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          fwrite(DS_TAG_DEVICE_MAX_CLOCK_FREQ, sizeof(char), strlen(DS_TAG_DEVICE_MAX_CLOCK_FREQ), profileFile);
data/imagemagick-6.9.11.24+dfsg/magick/opencl.c:2048:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          fwrite(tmp,sizeof(char),strlen(tmp), profileFile);
data/imagemagick-6.9.11.24+dfsg/magick/opencl.c:2049:66:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          fwrite(DS_TAG_DEVICE_MAX_CLOCK_FREQ_END, sizeof(char), strlen(DS_TAG_DEVICE_MAX_CLOCK_FREQ_END), profileFile);
data/imagemagick-6.9.11.24+dfsg/magick/opencl.c:2057:42:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      fwrite(DS_TAG_SCORE, sizeof(char), strlen(DS_TAG_SCORE), profileFile);
data/imagemagick-6.9.11.24+dfsg/magick/opencl.c:2063:46:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      fwrite(DS_TAG_SCORE_END, sizeof(char), strlen(DS_TAG_SCORE_END), profileFile);
data/imagemagick-6.9.11.24+dfsg/magick/opencl.c:2064:47:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      fwrite(DS_TAG_DEVICE_END, sizeof(char), strlen(DS_TAG_DEVICE_END), profileFile);
data/imagemagick-6.9.11.24+dfsg/magick/opencl.c:2122:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  stringLength = strlen(string);
data/imagemagick-6.9.11.24+dfsg/magick/opencl.c:2166:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    dataStart += strlen(DS_TAG_VERSION);
data/imagemagick-6.9.11.24+dfsg/magick/opencl.c:2174:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    versionStringLength = strlen(profile->version);
data/imagemagick-6.9.11.24+dfsg/magick/opencl.c:2181:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    currentPosition = dataEnd+strlen(DS_TAG_VERSION_END);
data/imagemagick-6.9.11.24+dfsg/magick/opencl.c:2214:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      dataStart+=strlen(DS_TAG_DEVICE);
data/imagemagick-6.9.11.24+dfsg/magick/opencl.c:2227:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      deviceTypeStart+=strlen(DS_TAG_DEVICE_TYPE);
data/imagemagick-6.9.11.24+dfsg/magick/opencl.c:2244:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        deviceNameStart+=strlen(DS_TAG_DEVICE_NAME);
data/imagemagick-6.9.11.24+dfsg/magick/opencl.c:2257:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        deviceDriverStart+=strlen(DS_TAG_DEVICE_DRIVER_VERSION);
data/imagemagick-6.9.11.24+dfsg/magick/opencl.c:2270:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        tmpStart+=strlen(DS_TAG_DEVICE_MAX_COMPUTE_UNITS);
data/imagemagick-6.9.11.24+dfsg/magick/opencl.c:2286:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        tmpStart+=strlen(DS_TAG_DEVICE_MAX_CLOCK_FREQ);
data/imagemagick-6.9.11.24+dfsg/magick/opencl.c:2303:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            actualDeviceNameLength = strlen(profile->devices[i].oclDeviceName);
data/imagemagick-6.9.11.24+dfsg/magick/opencl.c:2304:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            driverVersionLength = strlen(profile->devices[i].oclDriverVersion);
data/imagemagick-6.9.11.24+dfsg/magick/opencl.c:2317:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
              deviceScoreStart+=strlen(DS_TAG_SCORE);
data/imagemagick-6.9.11.24+dfsg/magick/opencl.c:2336:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            deviceScoreStart+=strlen(DS_TAG_SCORE);
data/imagemagick-6.9.11.24+dfsg/magick/opencl.c:2347:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      currentPosition = dataEnd+strlen(DS_TAG_DEVICE_END);
data/imagemagick-6.9.11.24+dfsg/magick/opencl.c:2530:43:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    *serializedScoreSize = (unsigned int) strlen(s);
data/imagemagick-6.9.11.24+dfsg/magick/opencl.c:2919:47:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          temp = (char*)AcquireCriticalMemory(strlen(path)+1);
data/imagemagick-6.9.11.24+dfsg/magick/opencl.c:2920:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          CopyMagickString(temp,path,strlen(path)+1);
data/imagemagick-6.9.11.24+dfsg/magick/opencl.c:2964:49:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            temp = (char*)AcquireCriticalMemory(strlen(path)+1);
data/imagemagick-6.9.11.24+dfsg/magick/opencl.c:2965:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            CopyMagickString(temp,path,strlen(path)+1);
data/imagemagick-6.9.11.24+dfsg/magick/opencl.c:3004:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      fwrite(message, sizeof(char), strlen(message), log);
data/imagemagick-6.9.11.24+dfsg/magick/option.c:2129:55:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          (void) CopyMagickString(q,q+1,MaxTextExtent-strlen(q));
data/imagemagick-6.9.11.24+dfsg/magick/option.c:2131:55:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          (void) CopyMagickString(q,q+1,MaxTextExtent-strlen(q));
data/imagemagick-6.9.11.24+dfsg/magick/option.c:2257:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen(option) == 1)
data/imagemagick-6.9.11.24+dfsg/magick/option.c:2471:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  for (i=0; i < (ssize_t) strlen(channels); i++)
data/imagemagick-6.9.11.24+dfsg/magick/option.c:2648:57:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            (void) CopyMagickString(q,q+1,MaxTextExtent-strlen(q));
data/imagemagick-6.9.11.24+dfsg/magick/option.c:2650:57:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            (void) CopyMagickString(q,q+1,MaxTextExtent-strlen(q));
data/imagemagick-6.9.11.24+dfsg/magick/pixel.c:549:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  length=strlen(map);
data/imagemagick-6.9.11.24+dfsg/magick/pixel.c:762:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  length=strlen(map);
data/imagemagick-6.9.11.24+dfsg/magick/pixel.c:974:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  length=strlen(map);
data/imagemagick-6.9.11.24+dfsg/magick/pixel.c:1187:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  length=strlen(map);
data/imagemagick-6.9.11.24+dfsg/magick/pixel.c:1400:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  length=strlen(map);
data/imagemagick-6.9.11.24+dfsg/magick/pixel.c:1611:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  length=strlen(map);
data/imagemagick-6.9.11.24+dfsg/magick/pixel.c:1825:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  length=strlen(map);
data/imagemagick-6.9.11.24+dfsg/magick/pixel.c:1915:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  length=strlen(map);
data/imagemagick-6.9.11.24+dfsg/magick/pixel.c:2640:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  length=strlen(map);
data/imagemagick-6.9.11.24+dfsg/magick/pixel.c:2890:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  length=strlen(map);
data/imagemagick-6.9.11.24+dfsg/magick/pixel.c:3145:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  length=strlen(map);
data/imagemagick-6.9.11.24+dfsg/magick/pixel.c:3376:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  length=strlen(map);
data/imagemagick-6.9.11.24+dfsg/magick/pixel.c:3605:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  length=strlen(map);
data/imagemagick-6.9.11.24+dfsg/magick/pixel.c:3834:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  length=strlen(map);
data/imagemagick-6.9.11.24+dfsg/magick/pixel.c:4063:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  length=strlen(map);
data/imagemagick-6.9.11.24+dfsg/magick/pixel.c:4162:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  length=strlen(map);
data/imagemagick-6.9.11.24+dfsg/magick/policy.c:791:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  extent=strlen(token)+MaxTextExtent;
data/imagemagick-6.9.11.24+dfsg/magick/property.c:465:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  attribute[strlen(attribute)-1]='\0';
data/imagemagick-6.9.11.24+dfsg/magick/property.c:1256:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen(property) <= 5)
data/imagemagick-6.9.11.24+dfsg/magick/property.c:1291:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      n=strlen(property);
data/imagemagick-6.9.11.24+dfsg/magick/property.c:2840:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      q=value+strlen(value);
data/imagemagick-6.9.11.24+dfsg/magick/property.c:3628:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      q=interpret_text+strlen(interpret_text); \
data/imagemagick-6.9.11.24+dfsg/magick/property.c:3634:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t length=strlen(key)+strlen(value)+2; \
data/imagemagick-6.9.11.24+dfsg/magick/property.c:3634:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t length=strlen(key)+strlen(value)+2; \
data/imagemagick-6.9.11.24+dfsg/magick/property.c:3646:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      q=interpret_text+strlen(interpret_text); \
data/imagemagick-6.9.11.24+dfsg/magick/property.c:3653:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t length=strlen((string)); \
data/imagemagick-6.9.11.24+dfsg/magick/property.c:3665:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      q=interpret_text+strlen(interpret_text); \
data/imagemagick-6.9.11.24+dfsg/magick/random.c:330:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    count=(ssize_t) read(file,q,length);
data/imagemagick-6.9.11.24+dfsg/magick/random.c:473:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    SetStringInfoLength(chaos,strlen(path));
data/imagemagick-6.9.11.24+dfsg/magick/random.c:533:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          SetStringInfoLength(chaos,strlen(environ[i]));
data/imagemagick-6.9.11.24+dfsg/magick/resize.c:1876:62:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  pixel_info=AcquireVirtualMemory(image->columns,image->rows*strlen(map)*
data/imagemagick-6.9.11.24+dfsg/magick/resize.c:1889:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    (int) strlen(map));
data/imagemagick-6.9.11.24+dfsg/magick/resource.c:565:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen(directory) > (MaxTextExtent-25))
data/imagemagick-6.9.11.24+dfsg/magick/resource.c:576:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (directory[strlen(directory)-1] == *DirectorySeparator)
data/imagemagick-6.9.11.24+dfsg/magick/resource.c:650:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    key=GetRandomKey(random_info,strlen(MagickPathTemplate));
data/imagemagick-6.9.11.24+dfsg/magick/resource.c:651:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    p=path+strlen(path)-strlen(MagickPathTemplate);
data/imagemagick-6.9.11.24+dfsg/magick/resource.c:651:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    p=path+strlen(path)-strlen(MagickPathTemplate);
data/imagemagick-6.9.11.24+dfsg/magick/resource.c:672:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    key=GetRandomKey(random_info,strlen(MagickPathTemplate));
data/imagemagick-6.9.11.24+dfsg/magick/resource.c:673:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    p=path+strlen(path)-strlen(MagickPathTemplate);
data/imagemagick-6.9.11.24+dfsg/magick/resource.c:673:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    p=path+strlen(path)-strlen(MagickPathTemplate);
data/imagemagick-6.9.11.24+dfsg/magick/stream.c:1178:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  packet_size*=strlen(stream_info->map);
data/imagemagick-6.9.11.24+dfsg/magick/stream.c:1328:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  length=strlen(stream_info->map);
data/imagemagick-6.9.11.24+dfsg/magick/string-private.h:59:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    length_needle=strlen(needle);
data/imagemagick-6.9.11.24+dfsg/magick/string-private.h:60:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    length_haystack=strlen(haystack)-length_needle+1;
data/imagemagick-6.9.11.24+dfsg/magick/string.c:135:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    length+=strlen(source);
data/imagemagick-6.9.11.24+dfsg/magick/string.c:301:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  length=strlen(source);
data/imagemagick-6.9.11.24+dfsg/magick/string.c:452:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    return(count+strlen(p));
data/imagemagick-6.9.11.24+dfsg/magick/string.c:508:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  destination_length=strlen(*destination);
data/imagemagick-6.9.11.24+dfsg/magick/string.c:509:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  source_length=strlen(source);
data/imagemagick-6.9.11.24+dfsg/magick/string.c:648:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        count=read(file,string+i,(size_t) MagickMin(length-i,(size_t)
data/imagemagick-6.9.11.24+dfsg/magick/string.c:709:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    length+=strlen(source);
data/imagemagick-6.9.11.24+dfsg/magick/string.c:1613:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  q=sanitize_source+strlen(sanitize_source);
data/imagemagick-6.9.11.24+dfsg/magick/string.c:2370:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      lines=(size_t) (strlen(text)/CharsPerLine)+1;
data/imagemagick-6.9.11.24+dfsg/magick/string.c:2387:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        q=textlist[i]+strlen(textlist[i]);
data/imagemagick-6.9.11.24+dfsg/magick/string.c:2388:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        length=strlen(p);
data/imagemagick-6.9.11.24+dfsg/magick/string.c:2454:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  string_info=AcquireStringInfo(strlen(string));
data/imagemagick-6.9.11.24+dfsg/magick/string.c:2494:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  length=strlen(message);
data/imagemagick-6.9.11.24+dfsg/magick/string.c:2567:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      search_extent=strlen(search);
data/imagemagick-6.9.11.24+dfsg/magick/string.c:2575:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      replace_extent=strlen(replace);
data/imagemagick-6.9.11.24+dfsg/magick/string.c:2582:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        extent=strlen(*string)+replace_extent-search_extent+1;
data/imagemagick-6.9.11.24+dfsg/magick/string.c:2594:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        strlen(p+search_extent)+1);
data/imagemagick-6.9.11.24+dfsg/magick/studio.h:198:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
#   define NAMLEN(dirent) strlen((dirent)->d_name)
data/imagemagick-6.9.11.24+dfsg/magick/token.c:375:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  p=pattern+strlen(pattern)-1;
data/imagemagick-6.9.11.24+dfsg/magick/token.c:529:41:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                  expression+=MagickMin(strlen(expression),strlen(target));
data/imagemagick-6.9.11.24+dfsg/magick/token.c:529:60:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                  expression+=MagickMin(strlen(expression),strlen(target));
data/imagemagick-6.9.11.24+dfsg/magick/type.c:1094:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  extent=strlen(token)+MaxTextExtent;
data/imagemagick-6.9.11.24+dfsg/magick/utility.c:234:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    count=(ssize_t) read(source_file,buffer,quantum);
data/imagemagick-6.9.11.24+dfsg/magick/utility.c:362:50:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  decode=(unsigned char *) AcquireQuantumMemory((strlen(source)+3)/4,
data/imagemagick-6.9.11.24+dfsg/magick/utility.c:920:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if (strlen(filename) >= (MaxTextExtent-1))
data/imagemagick-6.9.11.24+dfsg/magick/utility.c:940:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          if (strlen(path) >= (MaxTextExtent-1))
data/imagemagick-6.9.11.24+dfsg/magick/utility.c:1080:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        extent=strlen(directory)+strlen(program_name)+2;
data/imagemagick-6.9.11.24+dfsg/magick/utility.c:1080:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        extent=strlen(directory)+strlen(program_name)+2;
data/imagemagick-6.9.11.24+dfsg/magick/utility.c:1245:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      p=component+strlen(component)-1;
data/imagemagick-6.9.11.24+dfsg/magick/utility.c:1246:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if ((strlen(component) > 2) && (*p == ']'))
data/imagemagick-6.9.11.24+dfsg/magick/utility.c:1304:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    for (p=component+strlen(component)-1; p > component; p--)
data/imagemagick-6.9.11.24+dfsg/magick/utility.c:1321:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          for (p=component+(strlen(component)-1); p > component; p--)
data/imagemagick-6.9.11.24+dfsg/magick/utility.c:1349:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        for (p=component+(strlen(component)-1); p > component; p--)
data/imagemagick-6.9.11.24+dfsg/magick/utility.c:1362:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        for (p=component+strlen(component)-1; p > component; p--)
data/imagemagick-6.9.11.24+dfsg/magick/utility.c:1724:3:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
  usleep(1000*milliseconds);
data/imagemagick-6.9.11.24+dfsg/magick/vms.c:122:52:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  directory->pattern=(char *) AcquireQuantumMemory(strlen(name)+sizeof("*.*")+
data/imagemagick-6.9.11.24+dfsg/magick/vms.c:136:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  directory->pat.dsc$w_length=strlen(directory->pattern);
data/imagemagick-6.9.11.24+dfsg/magick/vms.c:212:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  directory->entry.d_namlen=strlen(directory->entry.d_name);
data/imagemagick-6.9.11.24+dfsg/magick/vms.c:256:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  device.dsc$w_length=strlen(magick);
data/imagemagick-6.9.11.24+dfsg/magick/widget.c:69:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
#define Extent(s)  ((int) strlen(s))
data/imagemagick-6.9.11.24+dfsg/magick/widget.c:1110:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            strlen(text_info->cursor+1)+1);
data/imagemagick-6.9.11.24+dfsg/magick/widget.c:1167:53:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          q=text_info->text+Extent(text_info->text)+strlen(text);
data/imagemagick-6.9.11.24+dfsg/magick/widget.c:4782:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                p=reply_info.text+strlen(reply_info.text)-1;
data/imagemagick-6.9.11.24+dfsg/magick/xml-tree.c:330:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      base64=Base64Encode(utf8,strlen((char *) utf8),&length);
data/imagemagick-6.9.11.24+dfsg/magick/xml-tree.c:649:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        count=read(file,xml+i,quantum);
data/imagemagick-6.9.11.24+dfsg/magick/xml-tree.c:698:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        count=read(file,xml+i,(size_t) MagickMin(length-i,(size_t) SSIZE_MAX));
data/imagemagick-6.9.11.24+dfsg/magick/xml-tree.c:1402:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        (void) memmove(xml,xml+1,strlen(xml));
data/imagemagick-6.9.11.24+dfsg/magick/xml-tree.c:1456:46:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        (void) memmove(xml,strchr(xml,';')+1,strlen(strchr(xml,';')));
data/imagemagick-6.9.11.24+dfsg/magick/xml-tree.c:1467:45:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                 (strncmp(xml+1,entities[i],strlen(entities[i])) != 0))
data/imagemagick-6.9.11.24+dfsg/magick/xml-tree.c:1477:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                length=strlen(entities[i]);
data/imagemagick-6.9.11.24+dfsg/magick/xml-tree.c:1483:52:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    extent=(size_t) (offset+length+strlen(entity));
data/imagemagick-6.9.11.24+dfsg/magick/xml-tree.c:1511:54:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                  (void) memmove(xml+length,entity+1,strlen(entity));
data/imagemagick-6.9.11.24+dfsg/magick/xml-tree.c:1535:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          (void) memmove(xml,xml+i,strlen(xml+i)+1);
data/imagemagick-6.9.11.24+dfsg/magick/xml-tree.c:1604:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strncmp(xml+1,tag,strlen(tag)) == 0)
data/imagemagick-6.9.11.24+dfsg/magick/xml-tree.c:1608:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
           (strncmp(entities[i],xml+1,strlen(entities[i])) == 0))
data/imagemagick-6.9.11.24+dfsg/magick/xml-tree.c:1722:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if ((strlen(xml) > 9) && (strncmp(xml,"<!ENTITY",8) == 0))
data/imagemagick-6.9.11.24+dfsg/magick/xml-tree.c:1928:45:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    xml_info=AddChildToXMLTree(xml_info,tag,strlen(xml_info->content));
data/imagemagick-6.9.11.24+dfsg/magick/xml-tree.c:1992:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if ((xml == (const char *) NULL) || (strlen(xml) == 0))
data/imagemagick-6.9.11.24+dfsg/magick/xml-tree.c:1999:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  length=strlen(xml);
data/imagemagick-6.9.11.24+dfsg/magick/xml-tree.c:2532:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      (void) strlen(xml_info->attributes[i+1]);
data/imagemagick-6.9.11.24+dfsg/magick/xml-tree.c:2642:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if ((*length+strlen(canonical_content)+MaxTextExtent) > *extent)
data/imagemagick-6.9.11.24+dfsg/magick/xml-tree.c:2644:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      *extent=(*length)+strlen(canonical_content)+MaxTextExtent;
data/imagemagick-6.9.11.24+dfsg/magick/xml-tree.c:2680:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if ((*length+strlen(xml_info->tag)+MaxTextExtent) > *extent)
data/imagemagick-6.9.11.24+dfsg/magick/xml-tree.c:2682:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      *extent=(*length)+strlen(xml_info->tag)+MaxTextExtent;
data/imagemagick-6.9.11.24+dfsg/magick/xml-tree.c:2693:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if ((*length+strlen(xml_info->attributes[i])+MaxTextExtent) > *extent)
data/imagemagick-6.9.11.24+dfsg/magick/xml-tree.c:2695:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        *extent=(*length)+strlen(xml_info->attributes[i])+MaxTextExtent;
data/imagemagick-6.9.11.24+dfsg/magick/xml-tree.c:2720:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if ((*length+strlen(attributes[i][j])+MaxTextExtent) > *extent)
data/imagemagick-6.9.11.24+dfsg/magick/xml-tree.c:2722:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        *extent=(*length)+strlen(attributes[i][j])+MaxTextExtent;
data/imagemagick-6.9.11.24+dfsg/magick/xml-tree.c:2741:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if ((*length+strlen(xml_info->tag)+MaxTextExtent) > *extent)
data/imagemagick-6.9.11.24+dfsg/magick/xml-tree.c:2743:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      *extent=(*length)+strlen(xml_info->tag)+MaxTextExtent;
data/imagemagick-6.9.11.24+dfsg/magick/xml-tree.c:2819:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if ((length+strlen(p)+strlen(q)+MaxTextExtent) > extent)
data/imagemagick-6.9.11.24+dfsg/magick/xml-tree.c:2819:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if ((length+strlen(p)+strlen(q)+MaxTextExtent) > extent)
data/imagemagick-6.9.11.24+dfsg/magick/xml-tree.c:2821:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            extent=length+strlen(p)+strlen(q)+MaxTextExtent;
data/imagemagick-6.9.11.24+dfsg/magick/xml-tree.c:2821:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            extent=length+strlen(p)+strlen(q)+MaxTextExtent;
data/imagemagick-6.9.11.24+dfsg/magick/xml-tree.c:2853:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if ((length+strlen(p)+strlen(q)+MaxTextExtent) > extent)
data/imagemagick-6.9.11.24+dfsg/magick/xml-tree.c:2853:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if ((length+strlen(p)+strlen(q)+MaxTextExtent) > extent)
data/imagemagick-6.9.11.24+dfsg/magick/xml-tree.c:2855:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            extent=length+strlen(p)+strlen(q)+MaxTextExtent;
data/imagemagick-6.9.11.24+dfsg/magick/xml-tree.c:2855:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            extent=length+strlen(p)+strlen(q)+MaxTextExtent;
data/imagemagick-6.9.11.24+dfsg/magick/xwindow.c:526:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    (int) strlen(annotate_info->text));
data/imagemagick-6.9.11.24+dfsg/magick/xwindow.c:3327:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  p=client_name+(strlen(client_name)-1);
data/imagemagick-6.9.11.24+dfsg/magick/xwindow.c:7402:55:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    windows->magnify.annotate_context,x,y,tuple,(int) strlen(tuple));
data/imagemagick-6.9.11.24+dfsg/magick/xwindow.c:7406:55:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    windows->magnify.annotate_context,x,y,tuple,(int) strlen(tuple));
data/imagemagick-6.9.11.24+dfsg/magick/xwindow.c:7411:55:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    windows->magnify.annotate_context,x,y,tuple,(int) strlen(tuple));
data/imagemagick-6.9.11.24+dfsg/magick/xwindow.c:8303:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      while (strlen(p) != 0)
data/imagemagick-6.9.11.24+dfsg/magick/xwindow.c:8829:54:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    PropModeReplace,(unsigned char *) filename,(int) strlen(filename));
data/imagemagick-6.9.11.24+dfsg/magick/xwindow.c:9000:5:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    strlen(draw_info->text));
data/imagemagick-6.9.11.24+dfsg/tests/validate.c:1354:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  path[strlen(path)-17]='\0';
data/imagemagick-6.9.11.24+dfsg/tests/validate.c:1562:14:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings. Risk is low because the source is a
  constant string.
      (void) strncat(SystemCommand,"echo `ls ",9);
data/imagemagick-6.9.11.24+dfsg/tests/validate.c:1563:14:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
      (void) strncat(SystemCommand,path,MaxTextExtent-31);
data/imagemagick-6.9.11.24+dfsg/tests/validate.c:1564:14:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings. Risk is low because the source is a
  constant string.
      (void) strncat(SystemCommand,"* | wc -w` tmp files.",20);
data/imagemagick-6.9.11.24+dfsg/tests/validate.c:1893:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      length=strlen(reference_map[i])*reference_image->columns*
data/imagemagick-6.9.11.24+dfsg/tests/wandtest.c:5233:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if (path[strlen(path)-1] != '/')
data/imagemagick-6.9.11.24+dfsg/tests/wandtest.c:5234:18:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
          (void) strcat(path,"/");
data/imagemagick-6.9.11.24+dfsg/tests/wandtest.c:5415:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      (strlen(option) != strlen(CustomOption)) ||
data/imagemagick-6.9.11.24+dfsg/tests/wandtest.c:5415:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      (strlen(option) != strlen(CustomOption)) ||
data/imagemagick-6.9.11.24+dfsg/tests/wandtest.c:5416:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      (memcmp(option,CustomOption,strlen(option)) != 0))
data/imagemagick-6.9.11.24+dfsg/tests/wandtest.c:5443:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      (strlen(property) != strlen(CustomProperty)) ||
data/imagemagick-6.9.11.24+dfsg/tests/wandtest.c:5443:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      (strlen(property) != strlen(CustomProperty)) ||
data/imagemagick-6.9.11.24+dfsg/tests/wandtest.c:5444:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      (memcmp(property,CustomProperty,strlen(property)) != 0))
data/imagemagick-6.9.11.24+dfsg/wand/convert.c:121:12:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    for (c=fgetc(input); c != EOF; c=fgetc(input))
data/imagemagick-6.9.11.24+dfsg/wand/convert.c:121:38:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    for (c=fgetc(input); c != EOF; c=fgetc(input))
data/imagemagick-6.9.11.24+dfsg/wand/deprecate.c:893:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  length=strlen(PixelViewId);
data/imagemagick-6.9.11.24+dfsg/wand/drawing-wand.c:509:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  clone_wand->mvg_length=strlen(clone_wand->mvg);
data/imagemagick-6.9.11.24+dfsg/wand/drawing-wand.c:6497:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      wand->mvg_length=strlen(wand->mvg);
data/imagemagick-6.9.11.24+dfsg/wand/drawing-wand.c:6684:47:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (LocaleNCompare(wand->name,DrawingWandId,strlen(DrawingWandId)) != 0)
data/imagemagick-6.9.11.24+dfsg/wand/magick-wand.c:216:46:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (LocaleNCompare(wand->name,MagickWandId,strlen(MagickWandId)) != 0)
data/imagemagick-6.9.11.24+dfsg/wand/mogrify.c:153:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if ((strlen(option) == 1) || ((*option != '-') && (*option != '+')))
data/imagemagick-6.9.11.24+dfsg/wand/mogrify.c:8690:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                length=strlen(argv[i+1]);
data/imagemagick-6.9.11.24+dfsg/wand/pixel-iterator.c:259:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  length=strlen(PixelIteratorId);
data/imagemagick-6.9.11.24+dfsg/wand/pixel-wand.c:365:45:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (LocaleNCompare(wand->name,PixelWandId,strlen(PixelWandId)) != 0)
data/imagemagick-6.9.11.24+dfsg/wand/pixel-wand.c:755:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    (void) FormatLocaleString(color+strlen(color),MaxTextExtent,",%g",
data/imagemagick-6.9.11.24+dfsg/wand/pixel-wand.c:758:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    (void) FormatLocaleString(color+strlen(color),MaxTextExtent,",%g",
data/imagemagick-6.9.11.24+dfsg/wand/studio.h:188:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
#   define NAMLEN(dirent) strlen((dirent)->d_name)
data/imagemagick-6.9.11.24+dfsg/wand/wand-view.c:725:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  length=strlen(WandViewId);

ANALYSIS SUMMARY:

Hits = 2016
Lines analyzed = 521479 in approximately 13.53 seconds (38552 lines/second)
Physical Source Lines of Code (SLOC) = 370139
Hits@level = [0] 334 [1] 568 [2] 1317 [3]  54 [4]  75 [5]   2
Hits@level+ = [0+] 2350 [1+] 2016 [2+] 1448 [3+] 131 [4+]  77 [5+]   2
Hits/KSLOC@level+ = [0+] 6.34897 [1+] 5.4466 [2+] 3.91204 [3+] 0.353921 [4+] 0.20803 [5+] 0.00540338
Dot directories skipped = 1 (--followdotdir overrides)
Minimum risk level = 1
Not every hit is necessarily a security vulnerability.
There may be other security vulnerabilities; review your code!
See 'Secure Programming HOWTO'
(https://dwheeler.com/secure-programs) for more information.