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/vips-8.10.2/cplusplus/VConnection.cpp
Examining data/vips-8.10.2/cplusplus/VError.cpp
Examining data/vips-8.10.2/cplusplus/VImage.cpp
Examining data/vips-8.10.2/cplusplus/VInterpolate.cpp
Examining data/vips-8.10.2/cplusplus/examples/avg.cpp
Examining data/vips-8.10.2/cplusplus/examples/buffer.cpp
Examining data/vips-8.10.2/cplusplus/examples/embed.cpp
Examining data/vips-8.10.2/cplusplus/examples/invert.cpp
Examining data/vips-8.10.2/cplusplus/examples/profile.cpp
Examining data/vips-8.10.2/cplusplus/examples/resize.cpp
Examining data/vips-8.10.2/cplusplus/examples/test.cpp
Examining data/vips-8.10.2/cplusplus/examples/test_overloads.cpp
Examining data/vips-8.10.2/cplusplus/include/vips/VConnection8.h
Examining data/vips-8.10.2/cplusplus/include/vips/VError8.h
Examining data/vips-8.10.2/cplusplus/include/vips/VImage8.h
Examining data/vips-8.10.2/cplusplus/include/vips/VInterpolate8.h
Examining data/vips-8.10.2/cplusplus/include/vips/vips-operators.h
Examining data/vips-8.10.2/cplusplus/vips-operators.cpp
Examining data/vips-8.10.2/fuzz/StandaloneFuzzTargetMain.c
Examining data/vips-8.10.2/fuzz/jpegsave_buffer_fuzzer.cc
Examining data/vips-8.10.2/fuzz/jpegsave_file_fuzzer.cc
Examining data/vips-8.10.2/fuzz/mosaic_fuzzer.cc
Examining data/vips-8.10.2/fuzz/pngsave_buffer_fuzzer.cc
Examining data/vips-8.10.2/fuzz/sharpen_fuzzer.cc
Examining data/vips-8.10.2/fuzz/smartcrop_fuzzer.cc
Examining data/vips-8.10.2/fuzz/thumbnail_fuzzer.cc
Examining data/vips-8.10.2/fuzz/webpsave_buffer_fuzzer.cc
Examining data/vips-8.10.2/libvips/arithmetic/abs.c
Examining data/vips-8.10.2/libvips/arithmetic/add.c
Examining data/vips-8.10.2/libvips/arithmetic/arithmetic.c
Examining data/vips-8.10.2/libvips/arithmetic/avg.c
Examining data/vips-8.10.2/libvips/arithmetic/binary.c
Examining data/vips-8.10.2/libvips/arithmetic/binary.h
Examining data/vips-8.10.2/libvips/arithmetic/boolean.c
Examining data/vips-8.10.2/libvips/arithmetic/complex.c
Examining data/vips-8.10.2/libvips/arithmetic/deviate.c
Examining data/vips-8.10.2/libvips/arithmetic/divide.c
Examining data/vips-8.10.2/libvips/arithmetic/find_trim.c
Examining data/vips-8.10.2/libvips/arithmetic/getpoint.c
Examining data/vips-8.10.2/libvips/arithmetic/hist_find.c
Examining data/vips-8.10.2/libvips/arithmetic/hist_find_indexed.c
Examining data/vips-8.10.2/libvips/arithmetic/hist_find_ndim.c
Examining data/vips-8.10.2/libvips/arithmetic/hough.c
Examining data/vips-8.10.2/libvips/arithmetic/hough.h
Examining data/vips-8.10.2/libvips/arithmetic/hough_circle.c
Examining data/vips-8.10.2/libvips/arithmetic/hough_line.c
Examining data/vips-8.10.2/libvips/arithmetic/invert.c
Examining data/vips-8.10.2/libvips/arithmetic/linear.c
Examining data/vips-8.10.2/libvips/arithmetic/math.c
Examining data/vips-8.10.2/libvips/arithmetic/math2.c
Examining data/vips-8.10.2/libvips/arithmetic/max.c
Examining data/vips-8.10.2/libvips/arithmetic/measure.c
Examining data/vips-8.10.2/libvips/arithmetic/min.c
Examining data/vips-8.10.2/libvips/arithmetic/multiply.c
Examining data/vips-8.10.2/libvips/arithmetic/nary.c
Examining data/vips-8.10.2/libvips/arithmetic/nary.h
Examining data/vips-8.10.2/libvips/arithmetic/parithmetic.h
Examining data/vips-8.10.2/libvips/arithmetic/profile.c
Examining data/vips-8.10.2/libvips/arithmetic/project.c
Examining data/vips-8.10.2/libvips/arithmetic/relational.c
Examining data/vips-8.10.2/libvips/arithmetic/remainder.c
Examining data/vips-8.10.2/libvips/arithmetic/round.c
Examining data/vips-8.10.2/libvips/arithmetic/sign.c
Examining data/vips-8.10.2/libvips/arithmetic/statistic.c
Examining data/vips-8.10.2/libvips/arithmetic/statistic.h
Examining data/vips-8.10.2/libvips/arithmetic/stats.c
Examining data/vips-8.10.2/libvips/arithmetic/subtract.c
Examining data/vips-8.10.2/libvips/arithmetic/sum.c
Examining data/vips-8.10.2/libvips/arithmetic/unary.c
Examining data/vips-8.10.2/libvips/arithmetic/unary.h
Examining data/vips-8.10.2/libvips/arithmetic/unaryconst.c
Examining data/vips-8.10.2/libvips/arithmetic/unaryconst.h
Examining data/vips-8.10.2/libvips/colour/CMYK2XYZ.c
Examining data/vips-8.10.2/libvips/colour/HSV2sRGB.c
Examining data/vips-8.10.2/libvips/colour/LCh2Lab.c
Examining data/vips-8.10.2/libvips/colour/LCh2UCS.c
Examining data/vips-8.10.2/libvips/colour/Lab2LCh.c
Examining data/vips-8.10.2/libvips/colour/Lab2LabQ.c
Examining data/vips-8.10.2/libvips/colour/Lab2LabS.c
Examining data/vips-8.10.2/libvips/colour/Lab2XYZ.c
Examining data/vips-8.10.2/libvips/colour/LabQ2Lab.c
Examining data/vips-8.10.2/libvips/colour/LabQ2LabS.c
Examining data/vips-8.10.2/libvips/colour/LabQ2sRGB.c
Examining data/vips-8.10.2/libvips/colour/LabS2Lab.c
Examining data/vips-8.10.2/libvips/colour/LabS2LabQ.c
Examining data/vips-8.10.2/libvips/colour/UCS2LCh.c
Examining data/vips-8.10.2/libvips/colour/XYZ2CMYK.c
Examining data/vips-8.10.2/libvips/colour/XYZ2Lab.c
Examining data/vips-8.10.2/libvips/colour/XYZ2Yxy.c
Examining data/vips-8.10.2/libvips/colour/XYZ2scRGB.c
Examining data/vips-8.10.2/libvips/colour/Yxy2XYZ.c
Examining data/vips-8.10.2/libvips/colour/colour.c
Examining data/vips-8.10.2/libvips/colour/colourspace.c
Examining data/vips-8.10.2/libvips/colour/dE00.c
Examining data/vips-8.10.2/libvips/colour/dE76.c
Examining data/vips-8.10.2/libvips/colour/dECMC.c
Examining data/vips-8.10.2/libvips/colour/float2rad.c
Examining data/vips-8.10.2/libvips/colour/icc_transform.c
Examining data/vips-8.10.2/libvips/colour/pcolour.h
Examining data/vips-8.10.2/libvips/colour/profile_load.c
Examining data/vips-8.10.2/libvips/colour/profiles.c
Examining data/vips-8.10.2/libvips/colour/profiles.h
Examining data/vips-8.10.2/libvips/colour/rad2float.c
Examining data/vips-8.10.2/libvips/colour/sRGB2HSV.c
Examining data/vips-8.10.2/libvips/colour/sRGB2scRGB.c
Examining data/vips-8.10.2/libvips/colour/scRGB2BW.c
Examining data/vips-8.10.2/libvips/colour/scRGB2XYZ.c
Examining data/vips-8.10.2/libvips/colour/scRGB2sRGB.c
Examining data/vips-8.10.2/libvips/conversion/arrayjoin.c
Examining data/vips-8.10.2/libvips/conversion/autorot.c
Examining data/vips-8.10.2/libvips/conversion/bandary.c
Examining data/vips-8.10.2/libvips/conversion/bandary.h
Examining data/vips-8.10.2/libvips/conversion/bandbool.c
Examining data/vips-8.10.2/libvips/conversion/bandfold.c
Examining data/vips-8.10.2/libvips/conversion/bandjoin.c
Examining data/vips-8.10.2/libvips/conversion/bandmean.c
Examining data/vips-8.10.2/libvips/conversion/bandrank.c
Examining data/vips-8.10.2/libvips/conversion/bandunfold.c
Examining data/vips-8.10.2/libvips/conversion/byteswap.c
Examining data/vips-8.10.2/libvips/conversion/cache.c
Examining data/vips-8.10.2/libvips/conversion/cast.c
Examining data/vips-8.10.2/libvips/conversion/composite.cpp
Examining data/vips-8.10.2/libvips/conversion/conversion.c
Examining data/vips-8.10.2/libvips/conversion/copy.c
Examining data/vips-8.10.2/libvips/conversion/embed.c
Examining data/vips-8.10.2/libvips/conversion/extract.c
Examining data/vips-8.10.2/libvips/conversion/falsecolour.c
Examining data/vips-8.10.2/libvips/conversion/flatten.c
Examining data/vips-8.10.2/libvips/conversion/flip.c
Examining data/vips-8.10.2/libvips/conversion/gamma.c
Examining data/vips-8.10.2/libvips/conversion/grid.c
Examining data/vips-8.10.2/libvips/conversion/ifthenelse.c
Examining data/vips-8.10.2/libvips/conversion/insert.c
Examining data/vips-8.10.2/libvips/conversion/join.c
Examining data/vips-8.10.2/libvips/conversion/msb.c
Examining data/vips-8.10.2/libvips/conversion/pconversion.h
Examining data/vips-8.10.2/libvips/conversion/premultiply.c
Examining data/vips-8.10.2/libvips/conversion/recomb.c
Examining data/vips-8.10.2/libvips/conversion/replicate.c
Examining data/vips-8.10.2/libvips/conversion/rot.c
Examining data/vips-8.10.2/libvips/conversion/rot45.c
Examining data/vips-8.10.2/libvips/conversion/scale.c
Examining data/vips-8.10.2/libvips/conversion/sequential.c
Examining data/vips-8.10.2/libvips/conversion/smartcrop.c
Examining data/vips-8.10.2/libvips/conversion/subsample.c
Examining data/vips-8.10.2/libvips/conversion/switch.c
Examining data/vips-8.10.2/libvips/conversion/tilecache.c
Examining data/vips-8.10.2/libvips/conversion/transpose3d.c
Examining data/vips-8.10.2/libvips/conversion/unpremultiply.c
Examining data/vips-8.10.2/libvips/conversion/wrap.c
Examining data/vips-8.10.2/libvips/conversion/zoom.c
Examining data/vips-8.10.2/libvips/convolution/canny.c
Examining data/vips-8.10.2/libvips/convolution/compass.c
Examining data/vips-8.10.2/libvips/convolution/conv.c
Examining data/vips-8.10.2/libvips/convolution/conva.c
Examining data/vips-8.10.2/libvips/convolution/convasep.c
Examining data/vips-8.10.2/libvips/convolution/convf.c
Examining data/vips-8.10.2/libvips/convolution/convi.c
Examining data/vips-8.10.2/libvips/convolution/convolution.c
Examining data/vips-8.10.2/libvips/convolution/convsep.c
Examining data/vips-8.10.2/libvips/convolution/correlation.c
Examining data/vips-8.10.2/libvips/convolution/correlation.h
Examining data/vips-8.10.2/libvips/convolution/fastcor.c
Examining data/vips-8.10.2/libvips/convolution/gaussblur.c
Examining data/vips-8.10.2/libvips/convolution/pconvolution.h
Examining data/vips-8.10.2/libvips/convolution/sharpen.c
Examining data/vips-8.10.2/libvips/convolution/sobel.c
Examining data/vips-8.10.2/libvips/convolution/spcor.c
Examining data/vips-8.10.2/libvips/create/black.c
Examining data/vips-8.10.2/libvips/create/buildlut.c
Examining data/vips-8.10.2/libvips/create/create.c
Examining data/vips-8.10.2/libvips/create/eye.c
Examining data/vips-8.10.2/libvips/create/fractsurf.c
Examining data/vips-8.10.2/libvips/create/gaussmat.c
Examining data/vips-8.10.2/libvips/create/gaussnoise.c
Examining data/vips-8.10.2/libvips/create/grey.c
Examining data/vips-8.10.2/libvips/create/identity.c
Examining data/vips-8.10.2/libvips/create/invertlut.c
Examining data/vips-8.10.2/libvips/create/logmat.c
Examining data/vips-8.10.2/libvips/create/mask.c
Examining data/vips-8.10.2/libvips/create/mask_butterworth.c
Examining data/vips-8.10.2/libvips/create/mask_butterworth_band.c
Examining data/vips-8.10.2/libvips/create/mask_butterworth_ring.c
Examining data/vips-8.10.2/libvips/create/mask_fractal.c
Examining data/vips-8.10.2/libvips/create/mask_gaussian.c
Examining data/vips-8.10.2/libvips/create/mask_gaussian_band.c
Examining data/vips-8.10.2/libvips/create/mask_gaussian_ring.c
Examining data/vips-8.10.2/libvips/create/mask_ideal.c
Examining data/vips-8.10.2/libvips/create/mask_ideal_band.c
Examining data/vips-8.10.2/libvips/create/mask_ideal_ring.c
Examining data/vips-8.10.2/libvips/create/pcreate.h
Examining data/vips-8.10.2/libvips/create/perlin.c
Examining data/vips-8.10.2/libvips/create/pmask.h
Examining data/vips-8.10.2/libvips/create/point.c
Examining data/vips-8.10.2/libvips/create/point.h
Examining data/vips-8.10.2/libvips/create/sines.c
Examining data/vips-8.10.2/libvips/create/text.c
Examining data/vips-8.10.2/libvips/create/tonelut.c
Examining data/vips-8.10.2/libvips/create/worley.c
Examining data/vips-8.10.2/libvips/create/xyz.c
Examining data/vips-8.10.2/libvips/create/zone.c
Examining data/vips-8.10.2/libvips/deprecated/arith_dispatch.c
Examining data/vips-8.10.2/libvips/deprecated/cimg_dispatch.c
Examining data/vips-8.10.2/libvips/deprecated/colour_dispatch.c
Examining data/vips-8.10.2/libvips/deprecated/conver_dispatch.c
Examining data/vips-8.10.2/libvips/deprecated/convol_dispatch.c
Examining data/vips-8.10.2/libvips/deprecated/cooc_funcs.c
Examining data/vips-8.10.2/libvips/deprecated/deprecated_dispatch.c
Examining data/vips-8.10.2/libvips/deprecated/dispatch_types.c
Examining data/vips-8.10.2/libvips/deprecated/fits.c
Examining data/vips-8.10.2/libvips/deprecated/format.c
Examining data/vips-8.10.2/libvips/deprecated/format_dispatch.c
Examining data/vips-8.10.2/libvips/deprecated/freq_dispatch.c
Examining data/vips-8.10.2/libvips/deprecated/glds_funcs.c
Examining data/vips-8.10.2/libvips/deprecated/hist_dispatch.c
Examining data/vips-8.10.2/libvips/deprecated/im_align_bands.c
Examining data/vips-8.10.2/libvips/deprecated/im_analyze2vips.c
Examining data/vips-8.10.2/libvips/deprecated/im_benchmark.c
Examining data/vips-8.10.2/libvips/deprecated/im_bernd.c
Examining data/vips-8.10.2/libvips/deprecated/im_clamp.c
Examining data/vips-8.10.2/libvips/deprecated/im_cmulnorm.c
Examining data/vips-8.10.2/libvips/deprecated/im_convsub.c
Examining data/vips-8.10.2/libvips/deprecated/im_csv2vips.c
Examining data/vips-8.10.2/libvips/deprecated/im_debugim.c
Examining data/vips-8.10.2/libvips/deprecated/im_dif_std.c
Examining data/vips-8.10.2/libvips/deprecated/im_exr2vips.c
Examining data/vips-8.10.2/libvips/deprecated/im_fav4.c
Examining data/vips-8.10.2/libvips/deprecated/im_freq_mask.c
Examining data/vips-8.10.2/libvips/deprecated/im_gadd.c
Examining data/vips-8.10.2/libvips/deprecated/im_gaddim.c
Examining data/vips-8.10.2/libvips/deprecated/im_gfadd.c
Examining data/vips-8.10.2/libvips/deprecated/im_gradcor.c
Examining data/vips-8.10.2/libvips/deprecated/im_jpeg2vips.c
Examining data/vips-8.10.2/libvips/deprecated/im_lab_morph.c
Examining data/vips-8.10.2/libvips/deprecated/im_line.c
Examining data/vips-8.10.2/libvips/deprecated/im_linreg.c
Examining data/vips-8.10.2/libvips/deprecated/im_litecor.c
Examining data/vips-8.10.2/libvips/deprecated/im_magick2vips.c
Examining data/vips-8.10.2/libvips/deprecated/im_mask2vips.c
Examining data/vips-8.10.2/libvips/deprecated/im_matcat.c
Examining data/vips-8.10.2/libvips/deprecated/im_matinv.c
Examining data/vips-8.10.2/libvips/deprecated/im_matmul.c
Examining data/vips-8.10.2/libvips/deprecated/im_mattrn.c
Examining data/vips-8.10.2/libvips/deprecated/im_maxpos_avg.c
Examining data/vips-8.10.2/libvips/deprecated/im_maxpos_subpel.c
Examining data/vips-8.10.2/libvips/deprecated/im_measure.c
Examining data/vips-8.10.2/libvips/deprecated/im_nifti2vips.c
Examining data/vips-8.10.2/libvips/deprecated/im_openslide2vips.c
Examining data/vips-8.10.2/libvips/deprecated/im_png2vips.c
Examining data/vips-8.10.2/libvips/deprecated/im_point_bilinear.c
Examining data/vips-8.10.2/libvips/deprecated/im_ppm2vips.c
Examining data/vips-8.10.2/libvips/deprecated/im_print.c
Examining data/vips-8.10.2/libvips/deprecated/im_printlines.c
Examining data/vips-8.10.2/libvips/deprecated/im_resize_linear.c
Examining data/vips-8.10.2/libvips/deprecated/im_setbox.c
Examining data/vips-8.10.2/libvips/deprecated/im_simcontr.c
Examining data/vips-8.10.2/libvips/deprecated/im_slice.c
Examining data/vips-8.10.2/libvips/deprecated/im_spatres.c
Examining data/vips-8.10.2/libvips/deprecated/im_stretch3.c
Examining data/vips-8.10.2/libvips/deprecated/im_thresh.c
Examining data/vips-8.10.2/libvips/deprecated/im_tiff2vips.c
Examining data/vips-8.10.2/libvips/deprecated/im_video_test.c
Examining data/vips-8.10.2/libvips/deprecated/im_vips2csv.c
Examining data/vips-8.10.2/libvips/deprecated/im_vips2dz.c
Examining data/vips-8.10.2/libvips/deprecated/im_vips2jpeg.c
Examining data/vips-8.10.2/libvips/deprecated/im_vips2mask.c
Examining data/vips-8.10.2/libvips/deprecated/im_vips2png.c
Examining data/vips-8.10.2/libvips/deprecated/im_vips2ppm.c
Examining data/vips-8.10.2/libvips/deprecated/im_vips2tiff.c
Examining data/vips-8.10.2/libvips/deprecated/im_vips2webp.c
Examining data/vips-8.10.2/libvips/deprecated/im_webp2vips.c
Examining data/vips-8.10.2/libvips/deprecated/im_zerox.c
Examining data/vips-8.10.2/libvips/deprecated/inplace_dispatch.c
Examining data/vips-8.10.2/libvips/deprecated/lazy.c
Examining data/vips-8.10.2/libvips/deprecated/mask_dispatch.c
Examining data/vips-8.10.2/libvips/deprecated/matalloc.c
Examining data/vips-8.10.2/libvips/deprecated/matlab.c
Examining data/vips-8.10.2/libvips/deprecated/morph_dispatch.c
Examining data/vips-8.10.2/libvips/deprecated/mosaicing_dispatch.c
Examining data/vips-8.10.2/libvips/deprecated/other_dispatch.c
Examining data/vips-8.10.2/libvips/deprecated/package.c
Examining data/vips-8.10.2/libvips/deprecated/radiance.c
Examining data/vips-8.10.2/libvips/deprecated/raw.c
Examining data/vips-8.10.2/libvips/deprecated/rename.c
Examining data/vips-8.10.2/libvips/deprecated/resample_dispatch.c
Examining data/vips-8.10.2/libvips/deprecated/rotmask.c
Examining data/vips-8.10.2/libvips/deprecated/rw_mask.c
Examining data/vips-8.10.2/libvips/deprecated/tone.c
Examining data/vips-8.10.2/libvips/deprecated/video_dispatch.c
Examining data/vips-8.10.2/libvips/deprecated/vips7compat.c
Examining data/vips-8.10.2/libvips/draw/draw.c
Examining data/vips-8.10.2/libvips/draw/draw_circle.c
Examining data/vips-8.10.2/libvips/draw/draw_flood.c
Examining data/vips-8.10.2/libvips/draw/draw_image.c
Examining data/vips-8.10.2/libvips/draw/draw_line.c
Examining data/vips-8.10.2/libvips/draw/draw_mask.c
Examining data/vips-8.10.2/libvips/draw/draw_rect.c
Examining data/vips-8.10.2/libvips/draw/draw_smudge.c
Examining data/vips-8.10.2/libvips/draw/drawink.c
Examining data/vips-8.10.2/libvips/draw/drawink.h
Examining data/vips-8.10.2/libvips/draw/pdraw.h
Examining data/vips-8.10.2/libvips/dummy.c
Examining data/vips-8.10.2/libvips/foreign/analyze2vips.c
Examining data/vips-8.10.2/libvips/foreign/analyzeload.c
Examining data/vips-8.10.2/libvips/foreign/cairo.c
Examining data/vips-8.10.2/libvips/foreign/csvload.c
Examining data/vips-8.10.2/libvips/foreign/csvsave.c
Examining data/vips-8.10.2/libvips/foreign/dbh.h
Examining data/vips-8.10.2/libvips/foreign/dzsave.c
Examining data/vips-8.10.2/libvips/foreign/exif.c
Examining data/vips-8.10.2/libvips/foreign/fits.c
Examining data/vips-8.10.2/libvips/foreign/fitsload.c
Examining data/vips-8.10.2/libvips/foreign/fitssave.c
Examining data/vips-8.10.2/libvips/foreign/foreign.c
Examining data/vips-8.10.2/libvips/foreign/gifload.c
Examining data/vips-8.10.2/libvips/foreign/heifload.c
Examining data/vips-8.10.2/libvips/foreign/heifsave.c
Examining data/vips-8.10.2/libvips/foreign/jpeg.h
Examining data/vips-8.10.2/libvips/foreign/jpeg2vips.c
Examining data/vips-8.10.2/libvips/foreign/jpegload.c
Examining data/vips-8.10.2/libvips/foreign/jpegsave.c
Examining data/vips-8.10.2/libvips/foreign/magick.c
Examining data/vips-8.10.2/libvips/foreign/magick.h
Examining data/vips-8.10.2/libvips/foreign/magick2vips.c
Examining data/vips-8.10.2/libvips/foreign/magick7load.c
Examining data/vips-8.10.2/libvips/foreign/magickload.c
Examining data/vips-8.10.2/libvips/foreign/magicksave.c
Examining data/vips-8.10.2/libvips/foreign/matlab.c
Examining data/vips-8.10.2/libvips/foreign/matload.c
Examining data/vips-8.10.2/libvips/foreign/matrixload.c
Examining data/vips-8.10.2/libvips/foreign/matrixsave.c
Examining data/vips-8.10.2/libvips/foreign/niftiload.c
Examining data/vips-8.10.2/libvips/foreign/niftisave.c
Examining data/vips-8.10.2/libvips/foreign/openexr2vips.c
Examining data/vips-8.10.2/libvips/foreign/openexrload.c
Examining data/vips-8.10.2/libvips/foreign/openslide2vips.c
Examining data/vips-8.10.2/libvips/foreign/openslideload.c
Examining data/vips-8.10.2/libvips/foreign/pdfiumload.c
Examining data/vips-8.10.2/libvips/foreign/pdfload.c
Examining data/vips-8.10.2/libvips/foreign/pforeign.h
Examining data/vips-8.10.2/libvips/foreign/pngload.c
Examining data/vips-8.10.2/libvips/foreign/pngsave.c
Examining data/vips-8.10.2/libvips/foreign/ppmload.c
Examining data/vips-8.10.2/libvips/foreign/ppmsave.c
Examining data/vips-8.10.2/libvips/foreign/quantise.c
Examining data/vips-8.10.2/libvips/foreign/radiance.c
Examining data/vips-8.10.2/libvips/foreign/radload.c
Examining data/vips-8.10.2/libvips/foreign/radsave.c
Examining data/vips-8.10.2/libvips/foreign/rawload.c
Examining data/vips-8.10.2/libvips/foreign/rawsave.c
Examining data/vips-8.10.2/libvips/foreign/spngload.c
Examining data/vips-8.10.2/libvips/foreign/svgload.c
Examining data/vips-8.10.2/libvips/foreign/tiff.c
Examining data/vips-8.10.2/libvips/foreign/tiff.h
Examining data/vips-8.10.2/libvips/foreign/tiff2vips.c
Examining data/vips-8.10.2/libvips/foreign/tiffload.c
Examining data/vips-8.10.2/libvips/foreign/tiffsave.c
Examining data/vips-8.10.2/libvips/foreign/vips2jpeg.c
Examining data/vips-8.10.2/libvips/foreign/vips2tiff.c
Examining data/vips-8.10.2/libvips/foreign/vips2webp.c
Examining data/vips-8.10.2/libvips/foreign/vipsload.c
Examining data/vips-8.10.2/libvips/foreign/vipspng.c
Examining data/vips-8.10.2/libvips/foreign/vipssave.c
Examining data/vips-8.10.2/libvips/foreign/webp2vips.c
Examining data/vips-8.10.2/libvips/foreign/webpload.c
Examining data/vips-8.10.2/libvips/foreign/webpsave.c
Examining data/vips-8.10.2/libvips/freqfilt/freqfilt.c
Examining data/vips-8.10.2/libvips/freqfilt/freqmult.c
Examining data/vips-8.10.2/libvips/freqfilt/fwfft.c
Examining data/vips-8.10.2/libvips/freqfilt/invfft.c
Examining data/vips-8.10.2/libvips/freqfilt/pfreqfilt.h
Examining data/vips-8.10.2/libvips/freqfilt/phasecor.c
Examining data/vips-8.10.2/libvips/freqfilt/spectrum.c
Examining data/vips-8.10.2/libvips/histogram/case.c
Examining data/vips-8.10.2/libvips/histogram/hist_cum.c
Examining data/vips-8.10.2/libvips/histogram/hist_entropy.c
Examining data/vips-8.10.2/libvips/histogram/hist_equal.c
Examining data/vips-8.10.2/libvips/histogram/hist_ismonotonic.c
Examining data/vips-8.10.2/libvips/histogram/hist_local.c
Examining data/vips-8.10.2/libvips/histogram/hist_match.c
Examining data/vips-8.10.2/libvips/histogram/hist_norm.c
Examining data/vips-8.10.2/libvips/histogram/hist_plot.c
Examining data/vips-8.10.2/libvips/histogram/hist_unary.c
Examining data/vips-8.10.2/libvips/histogram/hist_unary.h
Examining data/vips-8.10.2/libvips/histogram/histogram.c
Examining data/vips-8.10.2/libvips/histogram/maplut.c
Examining data/vips-8.10.2/libvips/histogram/percent.c
Examining data/vips-8.10.2/libvips/histogram/phistogram.h
Examining data/vips-8.10.2/libvips/histogram/stdif.c
Examining data/vips-8.10.2/libvips/include/vips/almostdeprecated.h
Examining data/vips-8.10.2/libvips/include/vips/arithmetic.h
Examining data/vips-8.10.2/libvips/include/vips/basic.h
Examining data/vips-8.10.2/libvips/include/vips/buf.h
Examining data/vips-8.10.2/libvips/include/vips/cimg_funcs.h
Examining data/vips-8.10.2/libvips/include/vips/colour.h
Examining data/vips-8.10.2/libvips/include/vips/connection.h
Examining data/vips-8.10.2/libvips/include/vips/conversion.h
Examining data/vips-8.10.2/libvips/include/vips/convolution.h
Examining data/vips-8.10.2/libvips/include/vips/create.h
Examining data/vips-8.10.2/libvips/include/vips/dbuf.h
Examining data/vips-8.10.2/libvips/include/vips/debug.h
Examining data/vips-8.10.2/libvips/include/vips/deprecated.h
Examining data/vips-8.10.2/libvips/include/vips/dispatch.h
Examining data/vips-8.10.2/libvips/include/vips/draw.h
Examining data/vips-8.10.2/libvips/include/vips/enumtypes.h
Examining data/vips-8.10.2/libvips/include/vips/error.h
Examining data/vips-8.10.2/libvips/include/vips/foreign.h
Examining data/vips-8.10.2/libvips/include/vips/format.h
Examining data/vips-8.10.2/libvips/include/vips/freqfilt.h
Examining data/vips-8.10.2/libvips/include/vips/gate.h
Examining data/vips-8.10.2/libvips/include/vips/generate.h
Examining data/vips-8.10.2/libvips/include/vips/header.h
Examining data/vips-8.10.2/libvips/include/vips/histogram.h
Examining data/vips-8.10.2/libvips/include/vips/image.h
Examining data/vips-8.10.2/libvips/include/vips/inlines.h
Examining data/vips-8.10.2/libvips/include/vips/internal.h
Examining data/vips-8.10.2/libvips/include/vips/interpolate.h
Examining data/vips-8.10.2/libvips/include/vips/intl.h
Examining data/vips-8.10.2/libvips/include/vips/mask.h
Examining data/vips-8.10.2/libvips/include/vips/memory.h
Examining data/vips-8.10.2/libvips/include/vips/morphology.h
Examining data/vips-8.10.2/libvips/include/vips/mosaicing.h
Examining data/vips-8.10.2/libvips/include/vips/object.h
Examining data/vips-8.10.2/libvips/include/vips/operation.h
Examining data/vips-8.10.2/libvips/include/vips/private.h
Examining data/vips-8.10.2/libvips/include/vips/rect.h
Examining data/vips-8.10.2/libvips/include/vips/region.h
Examining data/vips-8.10.2/libvips/include/vips/resample.h
Examining data/vips-8.10.2/libvips/include/vips/sbuf.h
Examining data/vips-8.10.2/libvips/include/vips/semaphore.h
Examining data/vips-8.10.2/libvips/include/vips/soname.h
Examining data/vips-8.10.2/libvips/include/vips/thread.h
Examining data/vips-8.10.2/libvips/include/vips/threadpool.h
Examining data/vips-8.10.2/libvips/include/vips/transform.h
Examining data/vips-8.10.2/libvips/include/vips/type.h
Examining data/vips-8.10.2/libvips/include/vips/util.h
Examining data/vips-8.10.2/libvips/include/vips/vector.h
Examining data/vips-8.10.2/libvips/include/vips/video.h
Examining data/vips-8.10.2/libvips/include/vips/vips.h
Examining data/vips-8.10.2/libvips/include/vips/vips7compat.h
Examining data/vips-8.10.2/libvips/introspect.c
Examining data/vips-8.10.2/libvips/iofuncs/buf.c
Examining data/vips-8.10.2/libvips/iofuncs/buffer.c
Examining data/vips-8.10.2/libvips/iofuncs/cache.c
Examining data/vips-8.10.2/libvips/iofuncs/connection.c
Examining data/vips-8.10.2/libvips/iofuncs/dbuf.c
Examining data/vips-8.10.2/libvips/iofuncs/enumtypes.c
Examining data/vips-8.10.2/libvips/iofuncs/error.c
Examining data/vips-8.10.2/libvips/iofuncs/gate.c
Examining data/vips-8.10.2/libvips/iofuncs/generate.c
Examining data/vips-8.10.2/libvips/iofuncs/ginputsource.c
Examining data/vips-8.10.2/libvips/iofuncs/header.c
Examining data/vips-8.10.2/libvips/iofuncs/image.c
Examining data/vips-8.10.2/libvips/iofuncs/init.c
Examining data/vips-8.10.2/libvips/iofuncs/mapfile.c
Examining data/vips-8.10.2/libvips/iofuncs/memory.c
Examining data/vips-8.10.2/libvips/iofuncs/object.c
Examining data/vips-8.10.2/libvips/iofuncs/operation.c
Examining data/vips-8.10.2/libvips/iofuncs/rect.c
Examining data/vips-8.10.2/libvips/iofuncs/region.c
Examining data/vips-8.10.2/libvips/iofuncs/reorder.c
Examining data/vips-8.10.2/libvips/iofuncs/sbuf.c
Examining data/vips-8.10.2/libvips/iofuncs/semaphore.c
Examining data/vips-8.10.2/libvips/iofuncs/sink.c
Examining data/vips-8.10.2/libvips/iofuncs/sink.h
Examining data/vips-8.10.2/libvips/iofuncs/sinkdisc.c
Examining data/vips-8.10.2/libvips/iofuncs/sinkmemory.c
Examining data/vips-8.10.2/libvips/iofuncs/sinkscreen.c
Examining data/vips-8.10.2/libvips/iofuncs/source.c
Examining data/vips-8.10.2/libvips/iofuncs/sourcecustom.c
Examining data/vips-8.10.2/libvips/iofuncs/system.c
Examining data/vips-8.10.2/libvips/iofuncs/target.c
Examining data/vips-8.10.2/libvips/iofuncs/targetcustom.c
Examining data/vips-8.10.2/libvips/iofuncs/threadpool.c
Examining data/vips-8.10.2/libvips/iofuncs/type.c
Examining data/vips-8.10.2/libvips/iofuncs/util.c
Examining data/vips-8.10.2/libvips/iofuncs/vector.c
Examining data/vips-8.10.2/libvips/iofuncs/vips.c
Examining data/vips-8.10.2/libvips/iofuncs/vipsmarshal.c
Examining data/vips-8.10.2/libvips/iofuncs/vipsmarshal.h
Examining data/vips-8.10.2/libvips/iofuncs/window.c
Examining data/vips-8.10.2/libvips/morphology/countlines.c
Examining data/vips-8.10.2/libvips/morphology/labelregions.c
Examining data/vips-8.10.2/libvips/morphology/morph.c
Examining data/vips-8.10.2/libvips/morphology/morphology.c
Examining data/vips-8.10.2/libvips/morphology/nearest.c
Examining data/vips-8.10.2/libvips/morphology/pmorphology.h
Examining data/vips-8.10.2/libvips/morphology/rank.c
Examining data/vips-8.10.2/libvips/mosaicing/chkpair.c
Examining data/vips-8.10.2/libvips/mosaicing/global_balance.c
Examining data/vips-8.10.2/libvips/mosaicing/global_balance.h
Examining data/vips-8.10.2/libvips/mosaicing/im_avgdxdy.c
Examining data/vips-8.10.2/libvips/mosaicing/im_clinear.c
Examining data/vips-8.10.2/libvips/mosaicing/im_improve.c
Examining data/vips-8.10.2/libvips/mosaicing/im_initialize.c
Examining data/vips-8.10.2/libvips/mosaicing/im_lrcalcon.c
Examining data/vips-8.10.2/libvips/mosaicing/im_tbcalcon.c
Examining data/vips-8.10.2/libvips/mosaicing/lrmerge.c
Examining data/vips-8.10.2/libvips/mosaicing/lrmosaic.c
Examining data/vips-8.10.2/libvips/mosaicing/match.c
Examining data/vips-8.10.2/libvips/mosaicing/matrixinvert.c
Examining data/vips-8.10.2/libvips/mosaicing/merge.c
Examining data/vips-8.10.2/libvips/mosaicing/mosaic.c
Examining data/vips-8.10.2/libvips/mosaicing/mosaic1.c
Examining data/vips-8.10.2/libvips/mosaicing/mosaicing.c
Examining data/vips-8.10.2/libvips/mosaicing/pmosaicing.h
Examining data/vips-8.10.2/libvips/mosaicing/remosaic.c
Examining data/vips-8.10.2/libvips/mosaicing/tbmerge.c
Examining data/vips-8.10.2/libvips/mosaicing/tbmosaic.c
Examining data/vips-8.10.2/libvips/resample/affine.c
Examining data/vips-8.10.2/libvips/resample/bicubic.cpp
Examining data/vips-8.10.2/libvips/resample/dummy2.cc
Examining data/vips-8.10.2/libvips/resample/interpolate.c
Examining data/vips-8.10.2/libvips/resample/lbb.cpp
Examining data/vips-8.10.2/libvips/resample/mapim.c
Examining data/vips-8.10.2/libvips/resample/nohalo.cpp
Examining data/vips-8.10.2/libvips/resample/presample.h
Examining data/vips-8.10.2/libvips/resample/quadratic.c
Examining data/vips-8.10.2/libvips/resample/reduce.c
Examining data/vips-8.10.2/libvips/resample/reduceh.cpp
Examining data/vips-8.10.2/libvips/resample/reducev.cpp
Examining data/vips-8.10.2/libvips/resample/resample.c
Examining data/vips-8.10.2/libvips/resample/resize.c
Examining data/vips-8.10.2/libvips/resample/shrink.c
Examining data/vips-8.10.2/libvips/resample/shrinkh.c
Examining data/vips-8.10.2/libvips/resample/shrinkv.c
Examining data/vips-8.10.2/libvips/resample/similarity.c
Examining data/vips-8.10.2/libvips/resample/templates.h
Examining data/vips-8.10.2/libvips/resample/thumbnail.c
Examining data/vips-8.10.2/libvips/resample/transform.c
Examining data/vips-8.10.2/libvips/resample/vsqbs.cpp
Examining data/vips-8.10.2/test/test_connections.c
Examining data/vips-8.10.2/test/test_descriptors.c
Examining data/vips-8.10.2/tools/vips.c
Examining data/vips-8.10.2/tools/vipsedit.c
Examining data/vips-8.10.2/tools/vipsheader.c
Examining data/vips-8.10.2/tools/vipsthumbnail.c

FINAL RESULTS:

data/vips-8.10.2/cplusplus/examples/test.cpp:94:4:  [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( #OPERATOR \
data/vips-8.10.2/cplusplus/examples/test.cpp:108:4:  [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( #OPERATOR \
data/vips-8.10.2/cplusplus/examples/test.cpp:122:4:  [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( #OPERATOR \
data/vips-8.10.2/cplusplus/examples/test.cpp:137:5:  [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( #OPERATOR \
data/vips-8.10.2/cplusplus/examples/test.cpp:154:5:  [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( #OPERATOR \
data/vips-8.10.2/cplusplus/examples/test_overloads.cpp:90:4:  [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( #OPERATOR \
data/vips-8.10.2/cplusplus/examples/test_overloads.cpp:104:4:  [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( #OPERATOR \
data/vips-8.10.2/cplusplus/examples/test_overloads.cpp:118:4:  [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( #OPERATOR \
data/vips-8.10.2/cplusplus/examples/test_overloads.cpp:133:5:  [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( #OPERATOR \
data/vips-8.10.2/cplusplus/examples/test_overloads.cpp:150:5:  [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( #OPERATOR \
data/vips-8.10.2/cplusplus/examples/test_overloads.cpp:267:4:  [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( #OPERATOR \
data/vips-8.10.2/cplusplus/examples/test_overloads.cpp:280:4:  [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( #OPERATOR \
data/vips-8.10.2/cplusplus/examples/test_overloads.cpp:295:5:  [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( #OPERATOR \
data/vips-8.10.2/cplusplus/include/vips/vips-operators.h:2099:13:  [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.
static void system( const char *cmd_format, VOption *options = 0 );
data/vips-8.10.2/cplusplus/vips-operators.cpp:3205: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 VImage::system( const char *cmd_format, VOption *options )
data/vips-8.10.2/libvips/conversion/sequential.c:80:13:  [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.
	VipsAccess access;
data/vips-8.10.2/libvips/conversion/sequential.c:252:36:  [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.
		G_STRUCT_OFFSET( VipsSequential, access ),
data/vips-8.10.2/libvips/conversion/tilecache.c:128:13:  [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.
	VipsAccess access;
data/vips-8.10.2/libvips/conversion/tilecache.c:417:36:  [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.
		G_STRUCT_OFFSET( VipsBlockCache, access ),
data/vips-8.10.2/libvips/deprecated/im_vips2dz.c:81:2:  [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).
	strcpy( buf, mode ); 
data/vips-8.10.2/libvips/deprecated/im_vips2jpeg.c:71:2:  [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).
	strcpy( buf, mode ); 
data/vips-8.10.2/libvips/deprecated/im_vips2png.c:67:2:  [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).
	strcpy( buf, mode ); 
data/vips-8.10.2/libvips/deprecated/im_vips2tiff.c:74:2:  [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).
	strcpy( buf, mode ); 
data/vips-8.10.2/libvips/deprecated/im_vips2webp.c:59:2:  [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).
	strcpy( buf, mode ); 
data/vips-8.10.2/libvips/deprecated/rename.c:760:10:  [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.
		(void) vfprintf( stderr, fmt, ap );
data/vips-8.10.2/libvips/deprecated/rename.c:785:10:  [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.
		(void) vfprintf( stderr, fmt, ap );
data/vips-8.10.2/libvips/deprecated/rw_mask.c:778:7:  [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.
	if( !vfprintf( fp, fmt, ap ) ) {
data/vips-8.10.2/libvips/deprecated/vips7compat.c:216:17:  [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).
                strcpy( suffix, p );
data/vips-8.10.2/libvips/foreign/foreign.c:851:9:  [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.
		load->access != VIPS_ACCESS_RANDOM ) {
data/vips-8.10.2/libvips/foreign/foreign.c:1019:9:  [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.
		load->access != VIPS_ACCESS_RANDOM;
data/vips-8.10.2/libvips/foreign/foreign.c:1145:37:  [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.
		G_STRUCT_OFFSET( VipsForeignLoad, access ),
data/vips-8.10.2/libvips/foreign/radiance.c:319:27:  [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.
#define  primsval(p,hl)		(sscanf((hl)+LPRIMARYSTR, \
data/vips-8.10.2/libvips/foreign/radiance.c:325:26:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#define  fputprims(p,fp)	fprintf(fp, \
data/vips-8.10.2/libvips/foreign/radiance.c:400:31:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#define  fprtresolu(sl,ns,fp)	fprintf(fp,PIXSTDFMT,ns,sl)
data/vips-8.10.2/libvips/foreign/radiance.c:401:32:  [4] (buffer) fscanf:
  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.
#define  fscnresolu(sl,ns,fp)	(fscanf(fp,PIXSTDFMT,ns,sl)==2)
data/vips-8.10.2/libvips/foreign/radiance.c:773:2:  [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).
	strcpy( read->format, COLRFMT );
data/vips-8.10.2/libvips/foreign/radiance.c:1018:2:  [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).
	strcpy( write->format, COLRFMT );
data/vips-8.10.2/libvips/foreign/radiance.c:1059:3:  [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).
		strcpy( write->format, COLRFMT );
data/vips-8.10.2/libvips/foreign/radiance.c:1061:3:  [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).
		strcpy( write->format, CIEFMT );
data/vips-8.10.2/libvips/foreign/vips2jpeg.c:324:2:  [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).
	strcpy( p, XML_URL );
data/vips-8.10.2/libvips/include/vips/almostdeprecated.h:125:24:  [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.
	__attribute__((format(printf, 1, 2)));
data/vips-8.10.2/libvips/include/vips/almostdeprecated.h:128:24:  [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.
	__attribute__((format(printf, 2, 3)));
data/vips-8.10.2/libvips/include/vips/almostdeprecated.h:130:24:  [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.
	__attribute__((format(printf, 1, 2)));
data/vips-8.10.2/libvips/include/vips/almostdeprecated.h:132:24:  [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.
	__attribute__((format(printf, 1, 2)));
data/vips-8.10.2/libvips/include/vips/almostdeprecated.h:288:24:  [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.
	__attribute__((format(printf, 2, 3)));
data/vips-8.10.2/libvips/include/vips/almostdeprecated.h:292:24:  [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.
	__attribute__((format(printf, 2, 3)));
data/vips-8.10.2/libvips/include/vips/buf.h:72:24:  [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.
	__attribute__((format(printf, 2, 3)));
data/vips-8.10.2/libvips/include/vips/connection.h:392:24:  [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.
	__attribute__((format(printf, 2, 3)));
data/vips-8.10.2/libvips/include/vips/dbuf.h:72:24:  [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.
	__attribute__((format(printf, 2, 3)));
data/vips-8.10.2/libvips/include/vips/debug.h:40:17:  [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.
	G_STMT_START { printf( __VA_ARGS__ ); } G_STMT_END
data/vips-8.10.2/libvips/include/vips/debug.h:48:17:  [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.
	G_STMT_START { printf( "red: " __VA_ARGS__ ); } G_STMT_END
data/vips-8.10.2/libvips/include/vips/debug.h:56:17:  [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.
	G_STMT_START { printf( "amber: " __VA_ARGS__ ); } G_STMT_END
data/vips-8.10.2/libvips/include/vips/debug.h:64:17:  [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.
	G_STMT_START { printf( "green: " __VA_ARGS__ ); } G_STMT_END
data/vips-8.10.2/libvips/include/vips/dispatch.h:270:24:  [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.
	__attribute__((format(printf, 1, 2)));
data/vips-8.10.2/libvips/include/vips/error.h:46:24:  [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.
	__attribute__((format(printf, 2, 3)));
data/vips-8.10.2/libvips/include/vips/error.h:49:24:  [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.
	__attribute__((format(printf, 3, 4)));
data/vips-8.10.2/libvips/include/vips/error.h:56:34:  [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.
	__attribute__((noreturn, format(printf, 1, 2)));
data/vips-8.10.2/libvips/include/vips/foreign.h:128:13:  [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.
	VipsAccess access;
data/vips-8.10.2/libvips/include/vips/header.h:235:24:  [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.
	__attribute__((format(printf, 2, 3)));
data/vips-8.10.2/libvips/include/vips/image.h:391:8:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	     (fprintf( stderr, \
data/vips-8.10.2/libvips/include/vips/region.h:188:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	  (fprintf( stderr, \
data/vips-8.10.2/libvips/include/vips/type.h:109:4:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	 (fprintf( stderr, \
data/vips-8.10.2/libvips/include/vips/type.h:226:24:  [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.
	__attribute__((format(printf, 2, 3)));
data/vips-8.10.2/libvips/include/vips/util.h:248:24:  [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.
	__attribute__((format(printf, 3, 4)));
data/vips-8.10.2/libvips/include/vips/util.h:281:24:  [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.
	__attribute__((format(printf, 1, 2)));
data/vips-8.10.2/libvips/include/vips/util.h:283:24:  [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.
	__attribute__((format(printf, 1, 2)));
data/vips-8.10.2/libvips/include/vips/util.h:285:24:  [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.
	__attribute__((format(printf, 1, 2)));
data/vips-8.10.2/libvips/include/vips/util.h:287:24:  [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.
	__attribute__((format(printf, 1, 2)));
data/vips-8.10.2/libvips/include/vips/vips7compat.h:1225:24:  [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.
	__attribute__((format(printf, 1, 3)));
data/vips-8.10.2/libvips/introspect.c:99:3:  [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.
		system( cmd );
data/vips-8.10.2/libvips/iofuncs/error.c:436:10:  [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.
		(void) vfprintf( stderr, fmt, ap );
data/vips-8.10.2/libvips/iofuncs/object.c:1888: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.
		VipsAccess access;
data/vips-8.10.2/libvips/iofuncs/object.c:1918:15:  [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.
				"access", access,
data/vips-8.10.2/libvips/iofuncs/object.c:1927:15:  [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.
				"access", access,
data/vips-8.10.2/libvips/iofuncs/object.c:1966: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.
		VipsAccess access;
data/vips-8.10.2/libvips/iofuncs/object.c:1985:45:  [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.
			vips_array_image_new_from_string( value, access )) )
data/vips-8.10.2/libvips/iofuncs/system.c:238:17:  [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.
		g_object_set( system, "log", std_output, NULL ); 
data/vips-8.10.2/libvips/iofuncs/system.c:251:17:  [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.
		g_object_set( system, "out", out, NULL ); 
data/vips-8.10.2/libvips/iofuncs/system.c:320:31:  [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.
vips_system_init( VipsSystem *system )
data/vips-8.10.2/libvips/iofuncs/type.c:1303:66:  [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.
vips_array_image_new_from_string( const char *string, VipsAccess access )
data/vips-8.10.2/libvips/iofuncs/type.c:1333: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.
			"access", access,
data/vips-8.10.2/libvips/iofuncs/util.c:489: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.
	return( vsnprintf( str, size, format, ap ) );
data/vips-8.10.2/libvips/iofuncs/util.c:503:6:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
	n = vsprintf( buf, format, ap );
data/vips-8.10.2/libvips/iofuncs/util.c:1076:3:  [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).
		strcpy( q, vips_value_get_ref_string( value, &l2 ) );
data/vips-8.10.2/libvips/iofuncs/util.c:1744:6:  [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.
	n = sscanf( size_string, "%d %s", &i, unit );
data/vips-8.10.2/libvips/create/gaussnoise.c:144:32:  [3] (random) g_random_double:
  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.
	gaussnoise->seed = UINT_MAX * g_random_double(); 
data/vips-8.10.2/libvips/create/perlin.c:247:17:  [3] (random) g_random_double:
  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.
	perlin->seed = g_random_double() * 0xffffffffu;
data/vips-8.10.2/libvips/create/worley.c:280:17:  [3] (random) g_random_double:
  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.
	worley->seed = g_random_double() * 0xffffffffu;
data/vips-8.10.2/libvips/iofuncs/util.c:1667:11:  [3] (random) g_random_int:
  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.
		serial, g_random_int() );
data/vips-8.10.2/cplusplus/VImage.cpp:546:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char filename[VIPS_PATH_MAX];
data/vips-8.10.2/cplusplus/VImage.cpp:547:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char option_string[VIPS_PATH_MAX];
data/vips-8.10.2/cplusplus/VImage.cpp:658:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char filename[VIPS_PATH_MAX];
data/vips-8.10.2/cplusplus/VImage.cpp:659:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char option_string[VIPS_PATH_MAX];
data/vips-8.10.2/cplusplus/VImage.cpp:678:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char filename[VIPS_PATH_MAX];
data/vips-8.10.2/cplusplus/VImage.cpp:679:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char option_string[VIPS_PATH_MAX];
data/vips-8.10.2/cplusplus/VImage.cpp:710:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char filename[VIPS_PATH_MAX];
data/vips-8.10.2/cplusplus/VImage.cpp:711:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char option_string[VIPS_PATH_MAX];
data/vips-8.10.2/fuzz/StandaloneFuzzTargetMain.c:33:15:  [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 *f = fopen(argv[i], "r+");
data/vips-8.10.2/libvips/arithmetic/getpoint.c:208:2:  [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( *vector, area->data, area->n * area->sizeof_type ); 
data/vips-8.10.2/libvips/colour/CMYK2XYZ.c:142: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.
	unsigned char *p = (unsigned char *) in[0];
data/vips-8.10.2/libvips/colour/HSV2sRGB.c:58: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.
	unsigned char *p = (unsigned char *) in[0];
data/vips-8.10.2/libvips/colour/LabQ2Lab.c:77: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.
	signed char * restrict p = (signed char *) in[0];
data/vips-8.10.2/libvips/colour/LabQ2Lab.c:89: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.
		lsbs = ((unsigned char *) p)[3];
data/vips-8.10.2/libvips/colour/LabQ2Lab.c:93: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.
		l = ((unsigned char *)p)[0];
data/vips-8.10.2/libvips/colour/LabQ2LabS.c:63: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.
	unsigned char * restrict p = (unsigned char *) in[0];
data/vips-8.10.2/libvips/colour/LabQ2sRGB.c:449: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.
	unsigned char *p = (unsigned char *) in[0];
data/vips-8.10.2/libvips/colour/sRGB2HSV.c:53: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.
	unsigned char *p = (unsigned char *) in[0];
data/vips-8.10.2/libvips/conversion/bandfold.c:99: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( q, p, psize * r->width );
data/vips-8.10.2/libvips/conversion/bandunfold.c:102: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( q, p, r->width * psize );
data/vips-8.10.2/libvips/conversion/embed.c:220:4:  [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( q, p, bs * todo.width );
data/vips-8.10.2/libvips/conversion/flip.c:121: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( q, p, ls );
data/vips-8.10.2/libvips/conversion/insert.c:293:2:  [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( result, in->data, VIPS_IMAGE_SIZEOF_PEL( in ) ); 
data/vips-8.10.2/libvips/conversion/insert.c:386:2:  [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( result, t[4]->data, VIPS_IMAGE_SIZEOF_PEL( t[4] ) ); 
data/vips-8.10.2/libvips/conversion/rot.c:210:4:  [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( q, p, ps );
data/vips-8.10.2/libvips/conversion/zoom.c:155:4:  [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( r, q, rs );
data/vips-8.10.2/libvips/conversion/zoom.c:225:4:  [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( r, q, rs );
data/vips-8.10.2/libvips/convolution/convi.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 c0[256];
data/vips-8.10.2/libvips/convolution/convi.c:343:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char source[256];
data/vips-8.10.2/libvips/convolution/convi.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 off[256];
data/vips-8.10.2/libvips/convolution/convi.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 rnd[256];
data/vips-8.10.2/libvips/convolution/convi.c:346:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char sexp[256];
data/vips-8.10.2/libvips/convolution/convi.c:347:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char coeff[256];
data/vips-8.10.2/libvips/convolution/convi.c:421:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char rnd[256];
data/vips-8.10.2/libvips/convolution/convi.c:422:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char exp[256];
data/vips-8.10.2/libvips/convolution/convi.c:423:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char c0[256];
data/vips-8.10.2/libvips/convolution/convi.c:424:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char c255[256];
data/vips-8.10.2/libvips/convolution/convi.c:425:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char off[256];
data/vips-8.10.2/libvips/deprecated/format.c:177: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.
	unsigned char buf[4];
data/vips-8.10.2/libvips/deprecated/format.c:211: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.
	unsigned char buf[4];
data/vips-8.10.2/libvips/deprecated/format.c:343:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char name[FILENAME_MAX];
data/vips-8.10.2/libvips/deprecated/format.c:344:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[FILENAME_MAX];
data/vips-8.10.2/libvips/deprecated/im_csv2vips.c:60:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char name[FILENAME_MAX];
data/vips-8.10.2/libvips/deprecated/im_csv2vips.c:61:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char mode[FILENAME_MAX];
data/vips-8.10.2/libvips/deprecated/im_csv2vips.c:72:17:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			start_skip = atoi( r );
data/vips-8.10.2/libvips/deprecated/im_csv2vips.c:78:12:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			lines = atoi( r );
data/vips-8.10.2/libvips/deprecated/im_exr2vips.c:73:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char filename[FILENAME_MAX];
data/vips-8.10.2/libvips/deprecated/im_exr2vips.c:74:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char mode[FILENAME_MAX];
data/vips-8.10.2/libvips/deprecated/im_exr2vips.c:85:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char filename[FILENAME_MAX];
data/vips-8.10.2/libvips/deprecated/im_exr2vips.c:86:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char mode[FILENAME_MAX];
data/vips-8.10.2/libvips/deprecated/im_jpeg2vips.c:57:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char filename[FILENAME_MAX];
data/vips-8.10.2/libvips/deprecated/im_jpeg2vips.c:58:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char mode[FILENAME_MAX];
data/vips-8.10.2/libvips/deprecated/im_jpeg2vips.c:76:12:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		shrink = atoi( q );
data/vips-8.10.2/libvips/deprecated/im_jpeg2vips.c:173:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char filename[FILENAME_MAX];
data/vips-8.10.2/libvips/deprecated/im_jpeg2vips.c:174:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char mode[FILENAME_MAX];
data/vips-8.10.2/libvips/deprecated/im_matcat.c:85:2:  [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( mat->coeff, top->coeff, 
data/vips-8.10.2/libvips/deprecated/im_matcat.c:88:2:  [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( out, bottom->coeff, 
data/vips-8.10.2/libvips/deprecated/im_matinv.c:145: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( lu-> coeff, mat-> coeff, N * N * sizeof( double ) );
data/vips-8.10.2/libvips/deprecated/im_matinv.c:419: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( mat-> coeff + i * size, matrix[ i ], size * sizeof( double ) );
data/vips-8.10.2/libvips/deprecated/im_matinv.c:425: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( matrix[ i ], mat-> coeff + i * size, size * sizeof( double ) );
data/vips-8.10.2/libvips/deprecated/im_nifti2vips.c:80:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char filename[FILENAME_MAX];
data/vips-8.10.2/libvips/deprecated/im_nifti2vips.c:81:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char mode[FILENAME_MAX];
data/vips-8.10.2/libvips/deprecated/im_nifti2vips.c:92:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char filename[FILENAME_MAX];
data/vips-8.10.2/libvips/deprecated/im_nifti2vips.c:93:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char mode[FILENAME_MAX];
data/vips-8.10.2/libvips/deprecated/im_openslide2vips.c:60:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char filename[FILENAME_MAX];
data/vips-8.10.2/libvips/deprecated/im_openslide2vips.c:61:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char mode[FILENAME_MAX];
data/vips-8.10.2/libvips/deprecated/im_openslide2vips.c:111:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char filename[FILENAME_MAX];
data/vips-8.10.2/libvips/deprecated/im_openslide2vips.c:112:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char mode[FILENAME_MAX];
data/vips-8.10.2/libvips/deprecated/im_openslide2vips.c:123:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char filename[FILENAME_MAX];
data/vips-8.10.2/libvips/deprecated/im_openslide2vips.c:124:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char mode[FILENAME_MAX];
data/vips-8.10.2/libvips/deprecated/im_png2vips.c:54:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char filename[FILENAME_MAX];
data/vips-8.10.2/libvips/deprecated/im_png2vips.c:55:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char mode[FILENAME_MAX];
data/vips-8.10.2/libvips/deprecated/im_tiff2vips.c:110:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char filename[FILENAME_MAX];
data/vips-8.10.2/libvips/deprecated/im_tiff2vips.c:111:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char mode[FILENAME_MAX];
data/vips-8.10.2/libvips/deprecated/im_tiff2vips.c:122:10:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		page = atoi( q );
data/vips-8.10.2/libvips/deprecated/im_tiff2vips.c:183:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char filename[FILENAME_MAX];
data/vips-8.10.2/libvips/deprecated/im_tiff2vips.c:184:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char mode[FILENAME_MAX];
data/vips-8.10.2/libvips/deprecated/im_tiff2vips.c:195:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char filename[FILENAME_MAX];
data/vips-8.10.2/libvips/deprecated/im_tiff2vips.c:196:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char mode[FILENAME_MAX];
data/vips-8.10.2/libvips/deprecated/im_vips2csv.c:47:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char name[FILENAME_MAX];
data/vips-8.10.2/libvips/deprecated/im_vips2csv.c:48:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char mode[FILENAME_MAX];
data/vips-8.10.2/libvips/deprecated/im_vips2dz.c:54:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char name[FILENAME_MAX];
data/vips-8.10.2/libvips/deprecated/im_vips2dz.c:55:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char mode[FILENAME_MAX];
data/vips-8.10.2/libvips/deprecated/im_vips2dz.c:56:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[FILENAME_MAX];
data/vips-8.10.2/libvips/deprecated/im_vips2dz.c:94:13:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		overlap = atoi( q ); 
data/vips-8.10.2/libvips/deprecated/im_vips2dz.c:96:15:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		tile_size = atoi( q ); 
data/vips-8.10.2/libvips/deprecated/im_vips2jpeg.c:64:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char name[FILENAME_MAX];
data/vips-8.10.2/libvips/deprecated/im_vips2jpeg.c:65:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char mode[FILENAME_MAX];
data/vips-8.10.2/libvips/deprecated/im_vips2jpeg.c:66:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[FILENAME_MAX];
data/vips-8.10.2/libvips/deprecated/im_vips2jpeg.c:75:11:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			qfac = atoi( mode );
data/vips-8.10.2/libvips/deprecated/im_vips2mask.c:132: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( out->coeff, in->data, 
data/vips-8.10.2/libvips/deprecated/im_vips2png.c:60:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char name[FILENAME_MAX];
data/vips-8.10.2/libvips/deprecated/im_vips2png.c:61:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char mode[FILENAME_MAX];
data/vips-8.10.2/libvips/deprecated/im_vips2png.c:62:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[FILENAME_MAX];
data/vips-8.10.2/libvips/deprecated/im_vips2png.c:72:17:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		compression = atoi( q );
data/vips-8.10.2/libvips/deprecated/im_vips2png.c:74:15:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		interlace = atoi( q );
data/vips-8.10.2/libvips/deprecated/im_vips2ppm.c:48:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char name[FILENAME_MAX];
data/vips-8.10.2/libvips/deprecated/im_vips2ppm.c:49:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char mode[FILENAME_MAX];
data/vips-8.10.2/libvips/deprecated/im_vips2tiff.c:54:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char name[FILENAME_MAX];
data/vips-8.10.2/libvips/deprecated/im_vips2tiff.c:55:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char mode[FILENAME_MAX];
data/vips-8.10.2/libvips/deprecated/im_vips2tiff.c:56:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[FILENAME_MAX];
data/vips-8.10.2/libvips/deprecated/im_vips2webp.c:54:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char name[FILENAME_MAX];
data/vips-8.10.2/libvips/deprecated/im_vips2webp.c:55:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char mode[FILENAME_MAX];
data/vips-8.10.2/libvips/deprecated/im_vips2webp.c:56:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[FILENAME_MAX];
data/vips-8.10.2/libvips/deprecated/im_vips2webp.c:64:17:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		compression = atoi( q );
data/vips-8.10.2/libvips/deprecated/im_vips2webp.c:66:14:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		lossless = atoi( q );
data/vips-8.10.2/libvips/deprecated/im_webp2vips.c:48:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char filename[FILENAME_MAX];
data/vips-8.10.2/libvips/deprecated/im_webp2vips.c:49:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char mode[FILENAME_MAX];
data/vips-8.10.2/libvips/deprecated/package.c:169:51:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	return( im_header_int( (IMAGE *) argv[1], (const char *) argv[0], 
data/vips-8.10.2/libvips/deprecated/package.c:200: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.
		(const char *) argv[0] ); 
data/vips-8.10.2/libvips/deprecated/package.c:229:54:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	return( im_header_double( (IMAGE *) argv[1], (const char *) argv[0], 
data/vips-8.10.2/libvips/deprecated/package.c:263: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.
		(const char *) argv[0], out ) )
data/vips-8.10.2/libvips/deprecated/package.c:730: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 dir_name[VIPS_PATH_MAX];
data/vips-8.10.2/libvips/deprecated/package.c:756:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[VIPS_PATH_MAX];
data/vips-8.10.2/libvips/deprecated/rw_mask.c:379:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[MAX_LINE];
data/vips-8.10.2/libvips/deprecated/rw_mask.c:467:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[MAX_LINE];
data/vips-8.10.2/libvips/deprecated/rw_mask.c:790:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[G_ASCII_DTOSTR_BUF_SIZE];
data/vips-8.10.2/libvips/deprecated/video_dispatch.c:55: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.
        char *device = (char *) argv[1];
data/vips-8.10.2/libvips/deprecated/vips7compat.c:139:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char name[FILENAME_MAX];
data/vips-8.10.2/libvips/deprecated/vips7compat.c:140:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char mode[FILENAME_MAX];
data/vips-8.10.2/libvips/deprecated/vips7compat.c:156:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char name[FILENAME_MAX];
data/vips-8.10.2/libvips/deprecated/vips7compat.c:157:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char mode[FILENAME_MAX];
data/vips-8.10.2/libvips/deprecated/vips7compat.c:175:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char name[FILENAME_MAX];
data/vips-8.10.2/libvips/deprecated/vips7compat.c:176:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char mode[FILENAME_MAX];
data/vips-8.10.2/libvips/deprecated/vips7compat.c:210:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char name[FILENAME_MAX];
data/vips-8.10.2/libvips/deprecated/vips7compat.c:211:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char mode[FILENAME_MAX];
data/vips-8.10.2/libvips/deprecated/vips7compat.c:226:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char suffix[FILENAME_MAX];
data/vips-8.10.2/libvips/deprecated/vips7compat.c:4059:2:  [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( xpos, VIPS_ARRAY_ADDR( x_array, 0 ), n * sizeof( int ) );
data/vips-8.10.2/libvips/deprecated/vips7compat.c:4060:2:  [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( ypos, VIPS_ARRAY_ADDR( y_array, 0 ), n * sizeof( int ) );
data/vips-8.10.2/libvips/deprecated/vips7compat.c:4061:2:  [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( maxima, VIPS_ARRAY_ADDR( out_array, 0 ), n * sizeof( double ) );
data/vips-8.10.2/libvips/deprecated/vips7compat.c:4086:2:  [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( xpos, VIPS_ARRAY_ADDR( x_array, 0 ), n * sizeof( int ) );
data/vips-8.10.2/libvips/deprecated/vips7compat.c:4087:2:  [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( ypos, VIPS_ARRAY_ADDR( y_array, 0 ), n * sizeof( int ) );
data/vips-8.10.2/libvips/deprecated/vips7compat.c:4088:2:  [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( minima, VIPS_ARRAY_ADDR( out_array, 0 ), n * sizeof( double ) );
data/vips-8.10.2/libvips/deprecated/vips7compat.c:5046:2:  [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( ink, pixel_vector, VIPS_IMAGE_SIZEOF_PEL( image ) ); 
data/vips-8.10.2/libvips/draw/draw_flood.c:510: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( flood.edge, 
data/vips-8.10.2/libvips/draw/draw_flood.c:669:2:  [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( flood.edge, 
data/vips-8.10.2/libvips/draw/draw_image.c:223: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( (char *) q, (char *) p, 
data/vips-8.10.2/libvips/draw/draw_rect.c:151:4:  [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( q, to, clip.width * draw->psize );
data/vips-8.10.2/libvips/foreign/analyze2vips.c:239: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.
	static char buf[256];
data/vips-8.10.2/libvips/foreign/analyze2vips.c:491:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char header[FILENAME_MAX];
data/vips-8.10.2/libvips/foreign/analyze2vips.c:492:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[FILENAME_MAX];
data/vips-8.10.2/libvips/foreign/analyze2vips.c:525:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char header[FILENAME_MAX];
data/vips-8.10.2/libvips/foreign/analyze2vips.c:526:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[FILENAME_MAX];
data/vips-8.10.2/libvips/foreign/analyze2vips.c:560:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char header[FILENAME_MAX];
data/vips-8.10.2/libvips/foreign/analyze2vips.c:561:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[FILENAME_MAX];
data/vips-8.10.2/libvips/foreign/csvload.c:85:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char whitemap[256];
data/vips-8.10.2/libvips/foreign/csvload.c:86:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char sepmap[256];
data/vips-8.10.2/libvips/foreign/csvload.c:91:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char item[MAX_ITEM_SIZE];
data/vips-8.10.2/libvips/foreign/csvsave.c:92:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[G_ASCII_DTOSTR_BUF_SIZE]; \
data/vips-8.10.2/libvips/foreign/csvsave.c:104:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[G_ASCII_DTOSTR_BUF_SIZE]; \
data/vips-8.10.2/libvips/foreign/dbh.h:26: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_type[10];            /* 4 + 10    */
data/vips-8.10.2/libvips/foreign/dbh.h:27: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 db_name[18];              /* 14 + 18   */
data/vips-8.10.2/libvips/foreign/dbh.h:37: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 vox_units[4];	       /* 16 + 4    */
data/vips-8.10.2/libvips/foreign/dbh.h:38: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 cal_units[8];	       /* 20 + 4    */
data/vips-8.10.2/libvips/foreign/dbh.h:64: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 descrip[80];              /* 0 + 80    */
data/vips-8.10.2/libvips/foreign/dbh.h:65: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 aux_file[24];             /* 80 + 24   */
data/vips-8.10.2/libvips/foreign/dbh.h:67: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 originator[10];           /* 105 + 10  */
data/vips-8.10.2/libvips/foreign/dbh.h:68: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 generated[10];            /* 115 + 10  */
data/vips-8.10.2/libvips/foreign/dbh.h:69: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 scannum[10];              /* 125 + 10  */
data/vips-8.10.2/libvips/foreign/dbh.h: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.
        char patient_id[10];           /* 135 + 10  */
data/vips-8.10.2/libvips/foreign/dbh.h:71: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 exp_date[10];             /* 145 + 10  */
data/vips-8.10.2/libvips/foreign/dbh.h:72: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 exp_time[10];             /* 155 + 10  */
data/vips-8.10.2/libvips/foreign/dbh.h:73: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 hist_un0[3];              /* 165 + 3   */
data/vips-8.10.2/libvips/foreign/dzsave.c:861:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[VIPS_PATH_MAX];
data/vips-8.10.2/libvips/foreign/dzsave.c:1216:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[VIPS_PATH_MAX];
data/vips-8.10.2/libvips/foreign/dzsave.c:1377:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char name[VIPS_PATH_MAX];
data/vips-8.10.2/libvips/foreign/dzsave.c:1378:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char dirname[VIPS_PATH_MAX];
data/vips-8.10.2/libvips/foreign/dzsave.c:1379:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char dirname2[VIPS_PATH_MAX];
data/vips-8.10.2/libvips/foreign/dzsave.c:2154:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char filename[VIPS_PATH_MAX];
data/vips-8.10.2/libvips/foreign/dzsave.c:2155:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char option_string[VIPS_PATH_MAX];
data/vips-8.10.2/libvips/foreign/dzsave.c:2186:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			char name[VIPS_PATH_MAX];
data/vips-8.10.2/libvips/foreign/dzsave.c:2216:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			char name[VIPS_PATH_MAX];
data/vips-8.10.2/libvips/foreign/dzsave.c:2236:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char name[VIPS_PATH_MAX];
data/vips-8.10.2/libvips/foreign/dzsave.c:2341:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char old_name[VIPS_PATH_MAX];
data/vips-8.10.2/libvips/foreign/dzsave.c:2342:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char new_name[VIPS_PATH_MAX];
data/vips-8.10.2/libvips/foreign/dzsave.c:2700:2:  [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( obuf, 
data/vips-8.10.2/libvips/foreign/exif.c:112:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char exif_text[256];
data/vips-8.10.2/libvips/foreign/exif.c:274:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char txt[256];
data/vips-8.10.2/libvips/foreign/exif.c:282: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( txt, entry->data, len );
data/vips-8.10.2/libvips/foreign/exif.c:344:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char vips_name_txt[256];
data/vips-8.10.2/libvips/foreign/exif.c:346:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char value_txt[256];
data/vips-8.10.2/libvips/foreign/exif.c:525:17:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		orientation = atoi( str );
data/vips-8.10.2/libvips/foreign/exif.c:861:2:  [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( entry->data, ASCII_COMMENT, sizeof( ASCII_COMMENT ) - 1 );
data/vips-8.10.2/libvips/foreign/exif.c:862: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( entry->data + sizeof( ASCII_COMMENT ) - 1, str, len );
data/vips-8.10.2/libvips/foreign/exif.c:895: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( entry->data, str, len + 1 );
data/vips-8.10.2/libvips/foreign/exif.c:918:2:  [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( entry->data, utf16, (len + 1) * 2 ); 
data/vips-8.10.2/libvips/foreign/exif.c:1090:4:  [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( ed->data, data, size );
data/vips-8.10.2/libvips/foreign/exif.c:1198:8:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	ifd = atoi( p ); 
data/vips-8.10.2/libvips/foreign/exif.c:1232:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char vips_name_txt[256];
data/vips-8.10.2/libvips/foreign/exif.c:1270:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char vips_name_txt[256];
data/vips-8.10.2/libvips/foreign/fits.c:137:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[80];
data/vips-8.10.2/libvips/foreign/fits.c:348:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char record[81];
data/vips-8.10.2/libvips/foreign/fits.c:349:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char vipsname[100];
data/vips-8.10.2/libvips/foreign/foreign.c:528:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char filename[VIPS_PATH_MAX];
data/vips-8.10.2/libvips/foreign/foreign.c:529:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char option_string[VIPS_PATH_MAX];
data/vips-8.10.2/libvips/foreign/foreign.c:571:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char filename[VIPS_PATH_MAX];
data/vips-8.10.2/libvips/foreign/foreign.c:572:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char option_string[VIPS_PATH_MAX];
data/vips-8.10.2/libvips/foreign/foreign.c:1803:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char filename[VIPS_PATH_MAX];
data/vips-8.10.2/libvips/foreign/foreign.c:1804:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char option_string[VIPS_PATH_MAX];
data/vips-8.10.2/libvips/foreign/foreign.c:1900:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char filename[VIPS_PATH_MAX];
data/vips-8.10.2/libvips/foreign/foreign.c:1901:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char option_string[VIPS_PATH_MAX];
data/vips-8.10.2/libvips/foreign/foreign.c:1958:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char suffix[VIPS_PATH_MAX];
data/vips-8.10.2/libvips/foreign/foreign.c:1959:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char option_string[VIPS_PATH_MAX];
data/vips-8.10.2/libvips/foreign/foreign.c:2016:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char suffix[VIPS_PATH_MAX];
data/vips-8.10.2/libvips/foreign/foreign.c:2017:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char option_string[VIPS_PATH_MAX];
data/vips-8.10.2/libvips/foreign/gifload.c:612:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char comment[257];
data/vips-8.10.2/libvips/foreign/gifload.c:930: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( VIPS_IMAGE_ADDR( gif->previous, 0, 0 ),
data/vips-8.10.2/libvips/foreign/gifload.c:989:2:  [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( VIPS_IMAGE_ADDR( gif->frame, 0, 0 ),
data/vips-8.10.2/libvips/foreign/gifload.c:1029: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( q + gif->scratch->Xsize * y, 
data/vips-8.10.2/libvips/foreign/gifload.c:1038: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( VIPS_IMAGE_ADDR( gif->scratch, 0, 0 ),
data/vips-8.10.2/libvips/foreign/gifload.c:1239:4:  [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( q, p, VIPS_IMAGE_SIZEOF_LINE( gif->frame ) );
data/vips-8.10.2/libvips/foreign/heifload.c:461:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char name[256];
data/vips-8.10.2/libvips/foreign/heifload.c:848:2:  [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( VIPS_REGION_ADDR( or, 0, r->top ),
data/vips-8.10.2/libvips/foreign/heifload.c:1063:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[12];
data/vips-8.10.2/libvips/foreign/heifsave.c:286: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( q, p, VIPS_IMAGE_SIZEOF_LINE( region->im ) );
data/vips-8.10.2/libvips/foreign/jpeg2vips.c:216: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.
	unsigned char buf[SOURCE_BUFFER_SIZE];
data/vips-8.10.2/libvips/foreign/jpeg2vips.c:733:4:  [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 + p, app2_data[i], app2_data_length[i] );
data/vips-8.10.2/libvips/foreign/magick.c:86: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.
	unsigned char bytes[256];
data/vips-8.10.2/libvips/foreign/magick.c:201:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char page[256];
data/vips-8.10.2/libvips/foreign/magick.c:244:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char format[MagickPathExtent];
data/vips-8.10.2/libvips/foreign/magick.c:469:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char page[256];
data/vips-8.10.2/libvips/foreign/magick.c:534:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char format[MaxTextExtent];
data/vips-8.10.2/libvips/foreign/magick.c:686:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char name_text[256];
data/vips-8.10.2/libvips/foreign/magick.c:729:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char txt[256];
data/vips-8.10.2/libvips/foreign/magick2vips.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 name_text[256];
data/vips-8.10.2/libvips/foreign/magick2vips.c:450:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char name_text[256];
data/vips-8.10.2/libvips/foreign/magick2vips.c:466:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char name_text[256];
data/vips-8.10.2/libvips/foreign/magick7load.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 name_text[256];
data/vips-8.10.2/libvips/foreign/magick7load.c:756: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.
	unsigned char buf[100];
data/vips-8.10.2/libvips/foreign/magickload.c:178: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.
	unsigned char buf[100];
data/vips-8.10.2/libvips/foreign/matlab.c:324: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.
	unsigned char buf[15];
data/vips-8.10.2/libvips/foreign/matrixload.c:331: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.
	unsigned char line[80];
data/vips-8.10.2/libvips/foreign/matrixload.c:422:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char line[80];
data/vips-8.10.2/libvips/foreign/matrixsave.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 buf[G_ASCII_DTOSTR_BUF_SIZE]; 
data/vips-8.10.2/libvips/foreign/niftiload.c:375:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char vips_name[256];
data/vips-8.10.2/libvips/foreign/niftiload.c:397:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char txt[256];
data/vips-8.10.2/libvips/foreign/niftisave.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 vips_name[256];
data/vips-8.10.2/libvips/foreign/niftisave.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 vips_name[256];
data/vips-8.10.2/libvips/foreign/openexr2vips.c:112: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.
	unsigned char buf[4];
data/vips-8.10.2/libvips/foreign/openslide2vips.c:229:4:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			atoi( value );
data/vips-8.10.2/libvips/foreign/openslide2vips.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 buf[256];
data/vips-8.10.2/libvips/foreign/openslide2vips.c:421:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[256];
data/vips-8.10.2/libvips/foreign/openslide2vips.c:437:25:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			rslide->tile_width = atoi( value );
data/vips-8.10.2/libvips/foreign/openslide2vips.c:441:26:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			rslide->tile_height = atoi( value );
data/vips-8.10.2/libvips/foreign/pdfiumload.c:285:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char text[1024];
data/vips-8.10.2/libvips/foreign/pdfload.c:836: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.
	unsigned char buf[4];
data/vips-8.10.2/libvips/foreign/ppmload.c:165:7:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	*i = atoi( txt ); 
data/vips-8.10.2/libvips/foreign/ppmload.c:221:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[2];
data/vips-8.10.2/libvips/foreign/ppmsave.c:274:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[G_ASCII_DTOSTR_BUF_SIZE];
data/vips-8.10.2/libvips/foreign/radiance.c:359: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.
#define  cpcolormat(md,ms)	memcpy((void *)md,(void *)ms,sizeof(COLORMAT))
data/vips-8.10.2/libvips/foreign/radiance.c:426: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  resolu_buf[RESOLU_BUFLEN];	/* resolution line buffer */
data/vips-8.10.2/libvips/foreign/radiance.c:434:3:  [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(buf, "%cY %d %cX %d\n",
data/vips-8.10.2/libvips/foreign/radiance.c:438:3:  [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(buf, "%cX %d %cY %d\n",
data/vips-8.10.2/libvips/foreign/radiance.c:467:16:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	if ((rp->xr = atoi(xndx+1)) <= 0)
data/vips-8.10.2/libvips/foreign/radiance.c:469:16:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	if ((rp->yr = atoi(yndx+1)) <= 0)
data/vips-8.10.2/libvips/foreign/radiance.c:482:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char fmt[MAXFMTLEN],
data/vips-8.10.2/libvips/foreign/radiance.c:721:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char format[256];
data/vips-8.10.2/libvips/foreign/radiance.c:823: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 *prims_name[4][2] = {
data/vips-8.10.2/libvips/foreign/radiance.c:830: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 *colcor_name[3] = {
data/vips-8.10.2/libvips/foreign/radiance.c:987:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char format[256];
data/vips-8.10.2/libvips/foreign/spngload.c:179:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char name[256];
data/vips-8.10.2/libvips/foreign/spngload.c:633: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.
	static unsigned char signature[8] = { 137, 80, 78, 71, 13, 10, 26, 10 };
data/vips-8.10.2/libvips/foreign/svgload.c:153:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char obuf[SVG_HEADER_SIZE];
data/vips-8.10.2/libvips/foreign/svgload.c:582: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.
	unsigned char buf[SVG_HEADER_SIZE];
data/vips-8.10.2/libvips/foreign/tiff2vips.c:358:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	gboolean memcpy;
data/vips-8.10.2/libvips/foreign/tiff2vips.c:1508:2:  [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( q, p, len ); 
data/vips-8.10.2/libvips/foreign/tiff2vips.c:1995:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	if( rtiff->memcpy ) {
data/vips-8.10.2/libvips/foreign/tiff2vips.c:2198: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.
		if( rtiff->memcpy &&
data/vips-8.10.2/libvips/foreign/tiff2vips.c:2272:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	if( rtiff->memcpy ) { 
data/vips-8.10.2/libvips/foreign/tiff2vips.c:2311: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.
	if( !rtiff->memcpy ||
data/vips-8.10.2/libvips/foreign/vips2jpeg.c:159:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[JMSG_LENGTH_MAX];
data/vips-8.10.2/libvips/foreign/vips2jpeg.c:325:2:  [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( p + strlen( XML_URL ) + 1, data, data_length );
data/vips-8.10.2/libvips/foreign/vips2jpeg.c:776: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.
	unsigned char buf[TARGET_BUFFER_SIZE];
data/vips-8.10.2/libvips/foreign/vips2tiff.c:1477:4:  [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( q, p, 
data/vips-8.10.2/libvips/foreign/vipspng.c:183: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.
	unsigned char input_buffer[INPUT_BUFFER_SIZE];
data/vips-8.10.2/libvips/foreign/vipspng.c:245: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( data, read->next_byte, bytes_available );
data/vips-8.10.2/libvips/foreign/vipspng.c:327:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char name[256];
data/vips-8.10.2/libvips/foreign/vipspng.c:908:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char key[256];
data/vips-8.10.2/libvips/foreign/webp2vips.c:225:4:  [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( q, to, ws );
data/vips-8.10.2/libvips/foreign/webp2vips.c:304: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( (char *) q, (char *) p, 
data/vips-8.10.2/libvips/foreign/webp2vips.c:726: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( VIPS_REGION_ADDR( or, 0, r->top ),
data/vips-8.10.2/libvips/include/vips/connection.h:352: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.
	unsigned char output_buffer[VIPS_TARGET_BUFFER_SIZE];
data/vips-8.10.2/libvips/include/vips/sbuf.h:79: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.
	unsigned char input_buffer[VIPS_SBUF_BUFFER_SIZE + 1];
data/vips-8.10.2/libvips/include/vips/sbuf.h:85: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.
	unsigned char line[VIPS_SBUF_BUFFER_SIZE + 1];
data/vips-8.10.2/libvips/iofuncs/buf.c:288:3:  [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( buf->base + buf->mx - 4, "..." );
data/vips-8.10.2/libvips/iofuncs/buf.c:323:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char tiny[2];
data/vips-8.10.2/libvips/iofuncs/buf.c:369:2:  [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( buf->base + i, new, nlen );
data/vips-8.10.2/libvips/iofuncs/buf.c:423:3:  [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( buf->base + buf->mx - 4, "..." );
data/vips-8.10.2/libvips/iofuncs/buf.c:466:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char text[G_ASCII_DTOSTR_BUF_SIZE];
data/vips-8.10.2/libvips/iofuncs/cache.c:480:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char str[32768];
data/vips-8.10.2/libvips/iofuncs/dbuf.c:121:2:  [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, dbuf->data + dbuf->write_point, copied );
data/vips-8.10.2/libvips/iofuncs/dbuf.c:173:2:  [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( dbuf->data + dbuf->write_point, data, size );
data/vips-8.10.2/libvips/iofuncs/error.c:134: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 vips_error_text[VIPS_MAX_ERROR] = "";
data/vips-8.10.2/libvips/iofuncs/error.c:233:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char txt[256];
data/vips-8.10.2/libvips/iofuncs/header.c:1568:2:  [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_copy, data, length );
data/vips-8.10.2/libvips/iofuncs/header.c:1569: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_copy)[length] = '\0';
data/vips-8.10.2/libvips/iofuncs/header.c:1995:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char str[VIPS_PATH_MAX];
data/vips-8.10.2/libvips/iofuncs/header.c:2042:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char txt[1024];
data/vips-8.10.2/libvips/iofuncs/image.c:1711:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char filename[26];
data/vips-8.10.2/libvips/iofuncs/image.c:1766:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char filename[26];
data/vips-8.10.2/libvips/iofuncs/image.c:1804:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char filename[VIPS_PATH_MAX];
data/vips-8.10.2/libvips/iofuncs/image.c:1805:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[VIPS_PATH_MAX];
data/vips-8.10.2/libvips/iofuncs/image.c:1828:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char filename[VIPS_PATH_MAX];
data/vips-8.10.2/libvips/iofuncs/image.c:1829:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[VIPS_PATH_MAX];
data/vips-8.10.2/libvips/iofuncs/image.c:1912:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char filename[VIPS_PATH_MAX];
data/vips-8.10.2/libvips/iofuncs/image.c:1913:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char option_string[VIPS_PATH_MAX];
data/vips-8.10.2/libvips/iofuncs/image.c:2033:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char filename[26];
data/vips-8.10.2/libvips/iofuncs/image.c:2100:2:  [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_copy, data, size );
data/vips-8.10.2/libvips/iofuncs/image.c:2675:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char filename[VIPS_PATH_MAX];
data/vips-8.10.2/libvips/iofuncs/image.c:2676:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char option_string[VIPS_PATH_MAX];
data/vips-8.10.2/libvips/iofuncs/image.c:2745:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char filename[VIPS_PATH_MAX];
data/vips-8.10.2/libvips/iofuncs/image.c:2746:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char option_string[VIPS_PATH_MAX];
data/vips-8.10.2/libvips/iofuncs/image.c:2829:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char filename[VIPS_PATH_MAX];
data/vips-8.10.2/libvips/iofuncs/image.c:2830:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char option_string[VIPS_PATH_MAX];
data/vips-8.10.2/libvips/iofuncs/image.c:3211: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( VIPS_IMAGE_ADDR( image, 0, ypos ), 
data/vips-8.10.2/libvips/iofuncs/init.c:231: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 dir_name[VIPS_PATH_MAX];
data/vips-8.10.2/libvips/iofuncs/init.c:257:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[VIPS_PATH_MAX];
data/vips-8.10.2/libvips/iofuncs/init.c:619:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char txt[1024];
data/vips-8.10.2/libvips/iofuncs/init.c:922:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char edir[VIPS_PATH_MAX];
data/vips-8.10.2/libvips/iofuncs/init.c:923:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char vname[VIPS_PATH_MAX];
data/vips-8.10.2/libvips/iofuncs/init.c:992:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char str[VIPS_PATH_MAX];
data/vips-8.10.2/libvips/iofuncs/init.c:1020:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char full_path[VIPS_PATH_MAX];
data/vips-8.10.2/libvips/iofuncs/init.c:1088:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char full_path[VIPS_PATH_MAX];
data/vips-8.10.2/libvips/iofuncs/object.c:435:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char str[2048];
data/vips-8.10.2/libvips/iofuncs/object.c:445:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char str[2048];
data/vips-8.10.2/libvips/iofuncs/object.c:455:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char str[32768];
data/vips-8.10.2/libvips/iofuncs/object.c:472:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char str[1000];
data/vips-8.10.2/libvips/iofuncs/object.c:1889:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char filename[VIPS_PATH_MAX];
data/vips-8.10.2/libvips/iofuncs/object.c:1890:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char option_string[VIPS_PATH_MAX];
data/vips-8.10.2/libvips/iofuncs/object.c:2207:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char filename[VIPS_PATH_MAX];
data/vips-8.10.2/libvips/iofuncs/object.c:2208:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char option_string[VIPS_PATH_MAX];
data/vips-8.10.2/libvips/iofuncs/object.c:2251:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char str[1000];
data/vips-8.10.2/libvips/iofuncs/object.c:2469:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char string[VIPS_PATH_MAX];
data/vips-8.10.2/libvips/iofuncs/object.c:2470:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char string2[VIPS_PATH_MAX];
data/vips-8.10.2/libvips/iofuncs/object.c:2578:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[VIPS_PATH_MAX];
data/vips-8.10.2/libvips/iofuncs/object.c:2579:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char str[VIPS_PATH_MAX];
data/vips-8.10.2/libvips/iofuncs/object.c:2599:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char str[VIPS_PATH_MAX];
data/vips-8.10.2/libvips/iofuncs/object.c:3139:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char str[32768];
data/vips-8.10.2/libvips/iofuncs/operation.c:614:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char str[4096];
data/vips-8.10.2/libvips/iofuncs/region.c:961: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( (char *) q1, (char *) q, wd );
data/vips-8.10.2/libvips/iofuncs/region.c:1013:4:  [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( q, to, ws );
data/vips-8.10.2/libvips/iofuncs/region.c:1093: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( q, p, len * r->height );
data/vips-8.10.2/libvips/iofuncs/region.c:1096:4:  [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( q, p, len );
data/vips-8.10.2/libvips/iofuncs/region.c:1952: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( q, p, line ); 
data/vips-8.10.2/libvips/iofuncs/region.c:2011:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char str[2048];
data/vips-8.10.2/libvips/iofuncs/sinkscreen.c:844:4:  [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( q, p, len );
data/vips-8.10.2/libvips/iofuncs/source.c:717: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( buffer, 
data/vips-8.10.2/libvips/iofuncs/source.c:736:4:  [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( buffer, 
data/vips-8.10.2/libvips/iofuncs/source.c:800: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.
	unsigned char buffer[4096];
data/vips-8.10.2/libvips/iofuncs/system.c:130:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char cmd[VIPS_PATH_MAX];
data/vips-8.10.2/libvips/iofuncs/system.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 filename[VIPS_PATH_MAX];
data/vips-8.10.2/libvips/iofuncs/system.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 option_string[VIPS_PATH_MAX];
data/vips-8.10.2/libvips/iofuncs/target.c:375: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( target->output_buffer + target->write_point, 
data/vips-8.10.2/libvips/iofuncs/threadpool.c:435:8:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		(x = atoi( str )) > 0 )
data/vips-8.10.2/libvips/iofuncs/type.c:418:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[256];
data/vips-8.10.2/libvips/iofuncs/type.c:455:3:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		atoi( vips_value_get_save_string( src_value ) ) );
data/vips-8.10.2/libvips/iofuncs/type.c:461:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[G_ASCII_DTOSTR_BUF_SIZE];
data/vips-8.10.2/libvips/iofuncs/type.c:481:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[G_ASCII_DTOSTR_BUF_SIZE];
data/vips-8.10.2/libvips/iofuncs/type.c:667:2:  [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_copy, data, length );
data/vips-8.10.2/libvips/iofuncs/type.c:730:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[256];
data/vips-8.10.2/libvips/iofuncs/type.c:817:2:  [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( array_copy, array, n * sizeof( int ) );
data/vips-8.10.2/libvips/iofuncs/type.c:881:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char txt[1024];
data/vips-8.10.2/libvips/iofuncs/type.c:1026:2:  [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( array_copy, array, n * sizeof( double ) );
data/vips-8.10.2/libvips/iofuncs/type.c:1090:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char txt[1024];
data/vips-8.10.2/libvips/iofuncs/type.c:1776: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( array_copy, array, n * sizeof( int ) );
data/vips-8.10.2/libvips/iofuncs/type.c:1817: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( array_copy, array, n * sizeof( double ) );
data/vips-8.10.2/libvips/iofuncs/util.c:494: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.
	static char buf[MAX_BUF];
data/vips-8.10.2/libvips/iofuncs/util.c:1435:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char sub_string[VIPS_PATH_MAX];
data/vips-8.10.2/libvips/iofuncs/util.c:1509: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.
	const char *start[MAX_TOKENS + 1];
data/vips-8.10.2/libvips/iofuncs/util.c:1511:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char str[VIPS_PATH_MAX];
data/vips-8.10.2/libvips/iofuncs/util.c:1628: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 buf[256];
data/vips-8.10.2/libvips/iofuncs/util.c:1632: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( buf, "C:\\temp" );
data/vips-8.10.2/libvips/iofuncs/util.c:1653:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char file[FILENAME_MAX];
data/vips-8.10.2/libvips/iofuncs/util.c:1654:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char file2[FILENAME_MAX];
data/vips-8.10.2/libvips/iofuncs/util.c:1794:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char str[1000];
data/vips-8.10.2/libvips/iofuncs/util.c:1830:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char str[1000];
data/vips-8.10.2/libvips/iofuncs/util.c:1888:9:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
				n = atoi( p + 1 );
data/vips-8.10.2/libvips/iofuncs/util.c:1970:2:  [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 wwindowsdir[MAX_PATH];
data/vips-8.10.2/libvips/iofuncs/vips.c:1025: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.
	unsigned char header[VIPS_SIZEOF_HEADER];
data/vips-8.10.2/libvips/iofuncs/vips.c:1086: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 header[VIPS_SIZEOF_HEADER];
data/vips-8.10.2/libvips/morphology/morph.c:264:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char offset[256];
data/vips-8.10.2/libvips/morphology/morph.c:265:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char source[256];
data/vips-8.10.2/libvips/morphology/morph.c:266:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char zero[256];
data/vips-8.10.2/libvips/morphology/morph.c:267:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char one[256];
data/vips-8.10.2/libvips/mosaicing/global_balance.c:577:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char line[1024];
data/vips-8.10.2/libvips/mosaicing/global_balance.c:594:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char *item[MAX_ITEMS];
data/vips-8.10.2/libvips/mosaicing/global_balance.c:612:8:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		dx = atoi( item[3] );
data/vips-8.10.2/libvips/mosaicing/global_balance.c:613:8:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		dy = atoi( item[4] );
data/vips-8.10.2/libvips/mosaicing/global_balance.c:615:13:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			mwidth = atoi( item[5] );
data/vips-8.10.2/libvips/mosaicing/global_balance.c:635:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char *item[MAX_ITEMS];
data/vips-8.10.2/libvips/mosaicing/global_balance.c:659:13:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			mwidth = atoi( item[7] );
data/vips-8.10.2/libvips/mosaicing/global_balance.c:674:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char *item[MAX_ITEMS];
data/vips-8.10.2/libvips/mosaicing/lrmerge.c:1137:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char name[256];
data/vips-8.10.2/libvips/mosaicing/matrixinvert.c:130:2:  [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( VIPS_MATRIX( lu, 0, 0), VIPS_MATRIX( mat, 0, 0),
data/vips-8.10.2/libvips/mosaicing/mosaic1.c:115:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char text[1024];
data/vips-8.10.2/libvips/mosaicing/mosaic1.c:161:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char text[1024];
data/vips-8.10.2/libvips/mosaicing/remosaic.c:85:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char filename[FILENAME_MAX];
data/vips-8.10.2/libvips/resample/reducev.cpp:211:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char c0[256];
data/vips-8.10.2/libvips/resample/reducev.cpp:220:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char source[256];
data/vips-8.10.2/libvips/resample/reducev.cpp:221:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char coeff[256];
data/vips-8.10.2/libvips/resample/reducev.cpp: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 c32[256];
data/vips-8.10.2/libvips/resample/reducev.cpp:267:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char c6[256];
data/vips-8.10.2/libvips/resample/reducev.cpp: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 c0[256];
data/vips-8.10.2/libvips/resample/reducev.cpp:269:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char c255[256];
data/vips-8.10.2/libvips/resample/thumbnail.c:161:15:  [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).
	VipsImage *(*open)( VipsThumbnail *thumbnail, double factor );
data/vips-8.10.2/libvips/resample/thumbnail.c:201:11:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		return( atoi( str ) );
data/vips-8.10.2/libvips/resample/thumbnail.c:238:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			char name[256];
data/vips-8.10.2/libvips/resample/thumbnail.c:278:23:  [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( !(page = class->open( thumbnail, i )) )
data/vips-8.10.2/libvips/resample/thumbnail.c:331:23:  [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( !(page = class->open( thumbnail, i )) )
data/vips-8.10.2/libvips/resample/thumbnail.c:372:23:  [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( !(thumb = class->open( thumbnail, 1 )) )
data/vips-8.10.2/libvips/resample/thumbnail.c:611:20:  [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( !(im = class->open( thumbnail, factor )) )
data/vips-8.10.2/test/test_connections.c:34:2:  [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( buffer, 
data/vips-8.10.2/test/test_descriptors.c:36:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char fd_dir[256];
data/vips-8.10.2/tools/vips.c:446:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char txt[1024];
data/vips-8.10.2/tools/vipsedit.c:122:9:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	*out = atoi( arg );
data/vips-8.10.2/tools/vipsedit.c:134: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.
	unsigned char header[VIPS_SIZEOF_HEADER];
data/vips-8.10.2/tools/vipsedit.c:242:17:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		im->Xoffset = atoi( xoffset );
data/vips-8.10.2/tools/vipsedit.c:244:17:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		im->Yoffset = atoi( yoffset );
data/vips-8.10.2/tools/vipsheader.c:111:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char str[256];
data/vips-8.10.2/tools/vipsheader.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 filename[VIPS_PATH_MAX];
data/vips-8.10.2/tools/vipsheader.c:215: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 option_string[VIPS_PATH_MAX];
data/vips-8.10.2/tools/vipsthumbnail.c:228:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[FILENAME_MAX];
data/vips-8.10.2/tools/vipsthumbnail.c:348:21:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		thumbnail_width = atoi( p );
data/vips-8.10.2/tools/vipsthumbnail.c:369:22:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		thumbnail_height = atoi( p );
data/vips-8.10.2/libvips/deprecated/im_vips2dz.c:79:3:  [1] (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 character.
		strcpy( mode, "" ); 
data/vips-8.10.2/libvips/deprecated/vips7compat.c:85:2:  [1] (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 character.
	strcpy( mode, "" );
data/vips-8.10.2/libvips/deprecated/vips7compat.c:87: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( (len = strlen( name )) == 0 ) 
data/vips-8.10.2/libvips/deprecated/vips7compat.c:190: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 = name + strlen( name );
data/vips-8.10.2/libvips/deprecated/vips7compat.c:218:17:  [1] (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 character.
                strcpy( suffix, "" );
data/vips-8.10.2/libvips/deprecated/vips7compat.c:280: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( q ) > 0 )
data/vips-8.10.2/libvips/draw/draw_flood.c:130:11:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
	gboolean equal;
data/vips-8.10.2/libvips/draw/draw_flood.c:234:17:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
	return( flood->equal ^ (j < flood->tsize) );
data/vips-8.10.2/libvips/draw/draw_flood.c:453:11:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
	gboolean equal;
data/vips-8.10.2/libvips/draw/draw_flood.c:496:27:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
	flood.equal = drawflood->equal;
data/vips-8.10.2/libvips/draw/draw_flood.c:505:12:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
	if( flood.equal ) {
data/vips-8.10.2/libvips/draw/draw_flood.c:589:35:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
		G_STRUCT_OFFSET( VipsDrawFlood, equal ),
data/vips-8.10.2/libvips/foreign/dzsave.c:363: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).
	tree->filename_lengths += strlen( tree->out->name ) + strlen( name ) + 1;
data/vips-8.10.2/libvips/foreign/dzsave.c:363: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).
	tree->filename_lengths += strlen( tree->out->name ) + strlen( name ) + 1;
data/vips-8.10.2/libvips/foreign/dzsave.c:373: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).
		tree->filename_lengths += strlen( dir_name ) + 1;
data/vips-8.10.2/libvips/foreign/dzsave.c:1084: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).
	gsf_output_write( out, strlen( dump ), (guchar *) dump ); 
data/vips-8.10.2/libvips/foreign/dzsave.c:1196: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).
	gsf_output_write( out, strlen( dump ), (guchar *) dump );
data/vips-8.10.2/libvips/foreign/dzsave.c:1218: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).
		p = field + strlen( "openslide.associated." );
data/vips-8.10.2/libvips/foreign/exif.c:817: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 = str + strlen( str );
data/vips-8.10.2/libvips/foreign/exif.c:859: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).
	len = strlen( str );
data/vips-8.10.2/libvips/foreign/exif.c:893: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).
	len = strlen( str );
data/vips-8.10.2/libvips/foreign/exif.c:1197: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).
	p = field + strlen( "exif-ifd" );
data/vips-8.10.2/libvips/foreign/gifload.c:361:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	gint64 read;
data/vips-8.10.2/libvips/foreign/gifload.c:367:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	return( (int) read );
data/vips-8.10.2/libvips/foreign/jpeg2vips.c:243:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	size_t read;
data/vips-8.10.2/libvips/foreign/jpeg2vips.c:248:30:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		src->pub.bytes_in_buffer = read;
data/vips-8.10.2/libvips/foreign/magick.c:744: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).
			"%s", name + strlen( "magickprofile-" ) );
data/vips-8.10.2/libvips/foreign/magick2vips.c:167:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
read_free( Read *read )
data/vips-8.10.2/libvips/foreign/magick2vips.c:184:34:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
read_close( VipsImage *im, Read *read )
data/vips-8.10.2/libvips/foreign/magick2vips.c:186:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	read_free( read ); 
data/vips-8.10.2/libvips/foreign/magick2vips.c:196:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	Read *read;
data/vips-8.10.2/libvips/foreign/magick2vips.c:223:59:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	g_signal_connect( im, "close", G_CALLBACK( read_close ), read );
data/vips-8.10.2/libvips/foreign/magick2vips.c:261:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	return( read );
data/vips-8.10.2/libvips/foreign/magick2vips.c:308:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
parse_header( Read *read )
data/vips-8.10.2/libvips/foreign/magick2vips.c:755:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	Read *read;
data/vips-8.10.2/libvips/foreign/magick2vips.c:776:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if( parse_header( read ) )
data/vips-8.10.2/libvips/foreign/magick2vips.c:779:35:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		NULL, magick_fill_region, NULL, read, NULL ) )
data/vips-8.10.2/libvips/foreign/magick2vips.c:789:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	Read *read;
data/vips-8.10.2/libvips/foreign/magick2vips.c:814:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if( parse_header( read ) ) 
data/vips-8.10.2/libvips/foreign/magick2vips.c:825:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	read_free( read );
data/vips-8.10.2/libvips/foreign/magick2vips.c:834:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	Read *read;
data/vips-8.10.2/libvips/foreign/magick2vips.c:855:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if( parse_header( read ) )
data/vips-8.10.2/libvips/foreign/magick2vips.c:858:35:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		NULL, magick_fill_region, NULL, read, NULL ) )
data/vips-8.10.2/libvips/foreign/magick2vips.c:868:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	Read *read;
data/vips-8.10.2/libvips/foreign/magick2vips.c:893:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if( parse_header( read ) ) 
data/vips-8.10.2/libvips/foreign/matlab.c:89:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
read_destroy( Read *read )
data/vips-8.10.2/libvips/foreign/matlab.c:95:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	g_free( read );
data/vips-8.10.2/libvips/foreign/matlab.c:101:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	Read *read;
data/vips-8.10.2/libvips/foreign/matlab.c:114:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		read_destroy( read );
data/vips-8.10.2/libvips/foreign/matlab.c:123:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			read_destroy( read );
data/vips-8.10.2/libvips/foreign/matlab.c:142:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	return( read );
data/vips-8.10.2/libvips/foreign/matlab.c:229:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	Read *read;
data/vips-8.10.2/libvips/foreign/matlab.c:238:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		read_destroy( read );
data/vips-8.10.2/libvips/foreign/matlab.c:241:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	read_destroy( read );
data/vips-8.10.2/libvips/foreign/matlab.c:303:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	Read *read;
data/vips-8.10.2/libvips/foreign/matlab.c:313:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		read_destroy( read );
data/vips-8.10.2/libvips/foreign/matlab.c:316:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	read_destroy( read );
data/vips-8.10.2/libvips/foreign/openexr2vips.c:129:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
read_close( Read *read )
data/vips-8.10.2/libvips/foreign/openexr2vips.c:136:37:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
read_destroy( VipsImage *out, Read *read )
data/vips-8.10.2/libvips/foreign/openexr2vips.c:140:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	read_close( read ); 
data/vips-8.10.2/libvips/foreign/openexr2vips.c:142:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	g_free( read );
data/vips-8.10.2/libvips/foreign/openexr2vips.c:148:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	Read *read;
data/vips-8.10.2/libvips/foreign/openexr2vips.c:160:32:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			G_CALLBACK( read_destroy ), read ); 
data/vips-8.10.2/libvips/foreign/openexr2vips.c:196:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	return( read );
data/vips-8.10.2/libvips/foreign/openexr2vips.c:202:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	Read *read;
data/vips-8.10.2/libvips/foreign/openexr2vips.c:208:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	read_destroy( NULL, read );
data/vips-8.10.2/libvips/foreign/openexr2vips.c:216:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
read_header( Read *read, VipsImage *out )
data/vips-8.10.2/libvips/foreign/openexr2vips.c:237:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	Read *read;
data/vips-8.10.2/libvips/foreign/openexr2vips.c:241:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	read_header( read, out );
data/vips-8.10.2/libvips/foreign/openexr2vips.c:242:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	read_close( read );
data/vips-8.10.2/libvips/foreign/openexr2vips.c:357:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	Read *read;
data/vips-8.10.2/libvips/foreign/openexr2vips.c:371:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		read_header( read, raw );
data/vips-8.10.2/libvips/foreign/openexr2vips.c:375:4:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			read, NULL ) )
data/vips-8.10.2/libvips/foreign/openexr2vips.c:408:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		read_header( read, out );
data/vips-8.10.2/libvips/foreign/openexr2vips.c:439:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		read_close( read ); 
data/vips-8.10.2/libvips/foreign/radiance.c:362:8:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
#undef getc
data/vips-8.10.2/libvips/foreign/radiance.c:364:9:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
#define getc    getc_unlocked
data/vips-8.10.2/libvips/foreign/radiance.c:419:8:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
#undef getc
data/vips-8.10.2/libvips/foreign/radiance.c:421:9:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
#define getc    getc_unlocked
data/vips-8.10.2/libvips/foreign/radiance.c:747:39:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
read_destroy( VipsImage *image, Read *read )
data/vips-8.10.2/libvips/foreign/radiance.c:753:43:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
read_minimise_cb( VipsImage *image, Read *read )
data/vips-8.10.2/libvips/foreign/radiance.c:762:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	Read *read;
data/vips-8.10.2/libvips/foreign/radiance.c:788:31:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		G_CALLBACK( read_destroy ), read );
data/vips-8.10.2/libvips/foreign/radiance.c:790:35:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		G_CALLBACK( read_minimise_cb ), read ); 
data/vips-8.10.2/libvips/foreign/radiance.c:792:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	return( read );
data/vips-8.10.2/libvips/foreign/radiance.c:796:42:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
rad2vips_process_line( char *line, Read *read )
data/vips-8.10.2/libvips/foreign/radiance.c:837:28:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
rad2vips_get_header( Read *read, VipsImage *out )
data/vips-8.10.2/libvips/foreign/radiance.c:846:39:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		(gethfunc *) rad2vips_process_line, read ) ||
data/vips-8.10.2/libvips/foreign/radiance.c:903:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	Read *read;
data/vips-8.10.2/libvips/foreign/radiance.c:907:27:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if( rad2vips_get_header( read, read->out ) ) 
data/vips-8.10.2/libvips/foreign/radiance.c:953:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	Read *read;
data/vips-8.10.2/libvips/foreign/radiance.c:964:27:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if( rad2vips_get_header( read, t[0] ) )
data/vips-8.10.2/libvips/foreign/radiance.c:968:34:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		NULL, rad2vips_generate, NULL, read, NULL ) ||
data/vips-8.10.2/libvips/foreign/spngload.c:176: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).
			VIPS_META_XMP_NAME, value, strlen( value ) );
data/vips-8.10.2/libvips/foreign/tiff2vips.c:1402:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	PaletteRead *read;
data/vips-8.10.2/libvips/foreign/tiff2vips.c:1487:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	rtiff->client = read;
data/vips-8.10.2/libvips/foreign/vips2jpeg.c:323: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).
	p = g_malloc( data_length + strlen( XML_URL ) + 1 );
data/vips-8.10.2/libvips/foreign/vips2jpeg.c:325: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).
	memcpy( p + strlen( XML_URL ) + 1, data, data_length );
data/vips-8.10.2/libvips/foreign/vips2jpeg.c:328: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).
		(unsigned char *) p, data_length + strlen( XML_URL ) + 1 ); 
data/vips-8.10.2/libvips/foreign/vipspng.c:192:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
read_destroy( Read *read )
data/vips-8.10.2/libvips/foreign/vipspng.c:205:38:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
read_close_cb( VipsImage *out, Read *read )
data/vips-8.10.2/libvips/foreign/vipspng.c:207:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	read_destroy( read ); 
data/vips-8.10.2/libvips/foreign/vipspng.c:211:43:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
read_minimise_cb( VipsImage *image, Read *read )
data/vips-8.10.2/libvips/foreign/vipspng.c:256:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	Read *read;
data/vips-8.10.2/libvips/foreign/vipspng.c:272:32:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		G_CALLBACK( read_close_cb ), read ); 
data/vips-8.10.2/libvips/foreign/vipspng.c:274:35:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		G_CALLBACK( read_minimise_cb ), read ); 
data/vips-8.10.2/libvips/foreign/vipspng.c:299:31:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	png_set_read_fn( read->pPng, read, vips_png_read_source ); 
data/vips-8.10.2/libvips/foreign/vipspng.c:318:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	return( read );
data/vips-8.10.2/libvips/foreign/vipspng.c:337: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).
			VIPS_META_XMP_NAME, text, strlen( text ) );
data/vips-8.10.2/libvips/foreign/vipspng.c:355:24:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
png2vips_header( Read *read, VipsImage *out )
data/vips-8.10.2/libvips/foreign/vipspng.c:566:27:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
png2vips_interlace( Read *read, VipsImage *out )
data/vips-8.10.2/libvips/foreign/vipspng.c:587:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	read_destroy( read );
data/vips-8.10.2/libvips/foreign/vipspng.c:667:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
png2vips_image( Read *read, VipsImage *out )
data/vips-8.10.2/libvips/foreign/vipspng.c:678:24:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		if( png2vips_header( read, t[0] ) ||
data/vips-8.10.2/libvips/foreign/vipspng.c:679:24:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			png2vips_interlace( read, t[0] ) ||
data/vips-8.10.2/libvips/foreign/vipspng.c:685:24:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		if( png2vips_header( read, t[0] ) ||
data/vips-8.10.2/libvips/foreign/vipspng.c:688:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
				read, NULL ) ||
data/vips-8.10.2/libvips/foreign/vipspng.c:714:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	Read *read;
data/vips-8.10.2/libvips/foreign/vipspng.c:717:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		png2vips_header( read, out ) ) {
data/vips-8.10.2/libvips/foreign/vipspng.c:731:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	Read *read;
data/vips-8.10.2/libvips/foreign/vipspng.c:734:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		png2vips_image( read, out ) ||
data/vips-8.10.2/libvips/foreign/vipspng.c:751:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	Read *read;
data/vips-8.10.2/libvips/foreign/vipspng.c:887: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).
	text.text_length = strlen( value );
data/vips-8.10.2/libvips/foreign/vipspng.c:913: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( field ) > 256 ||
data/vips-8.10.2/libvips/foreign/vipspng.c:914:4:  [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.
			sscanf( field, "png-comment-%d-%80s", &i, key ) != 2 ) {
data/vips-8.10.2/libvips/foreign/webp2vips.c:329:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
read_free( Read *read )
data/vips-8.10.2/libvips/foreign/webp2vips.c:338:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	VIPS_FREE( read );
data/vips-8.10.2/libvips/foreign/webp2vips.c:346:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	Read *read;
data/vips-8.10.2/libvips/foreign/webp2vips.c:368:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		read_free( read );
data/vips-8.10.2/libvips/foreign/webp2vips.c:372:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	return( read );
data/vips-8.10.2/libvips/foreign/webp2vips.c:385:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
read_header( Read *read, VipsImage *out )
data/vips-8.10.2/libvips/foreign/webp2vips.c:574:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
read_frame( Read *read, 
data/vips-8.10.2/libvips/foreign/webp2vips.c:615:24:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
read_next_frame( Read *read )
data/vips-8.10.2/libvips/foreign/webp2vips.c:674:28:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if( !(frame = read_frame( read, 
data/vips-8.10.2/libvips/foreign/webp2vips.c:719:24:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		if( read_next_frame( read ) )
data/vips-8.10.2/libvips/foreign/webp2vips.c:753:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
read_image( Read *read, VipsImage *out )
data/vips-8.10.2/libvips/foreign/webp2vips.c:759:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if( read_header( read, t[0] ) )
data/vips-8.10.2/libvips/foreign/webp2vips.c:763:35:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		NULL, read_webp_generate, NULL, read, NULL ) ||
data/vips-8.10.2/libvips/foreign/webp2vips.c:775:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	Read *read;
data/vips-8.10.2/libvips/foreign/webp2vips.c:780:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if( read_header( read, out ) ) {
data/vips-8.10.2/libvips/foreign/webp2vips.c:781:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		read_free( read );
data/vips-8.10.2/libvips/foreign/webp2vips.c:785:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	read_free( read );
data/vips-8.10.2/libvips/foreign/webp2vips.c:794:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	Read *read;
data/vips-8.10.2/libvips/foreign/webp2vips.c:799:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if( read_image( read, out ) ) {
data/vips-8.10.2/libvips/foreign/webp2vips.c:800:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		read_free( read );
data/vips-8.10.2/libvips/foreign/webp2vips.c:804:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	read_free( read );
data/vips-8.10.2/libvips/histogram/hist_equal.c:79:16:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
	g_object_set( equal, "out", vips_image_new(), NULL ); 
data/vips-8.10.2/libvips/histogram/hist_equal.c:134:38:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
vips_hist_equal_init( VipsHistEqual *equal )
data/vips-8.10.2/libvips/include/vips/connection.h:193:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	gint64 (*read)( VipsSource *, void *, size_t );
data/vips-8.10.2/libvips/include/vips/connection.h:260:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	gint64 (*read)( VipsSourceCustom *, void *, gint64 );
data/vips-8.10.2/libvips/iofuncs/buf.c:268: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).
	len = strlen( str );
data/vips-8.10.2/libvips/iofuncs/buf.c:283:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy( buf->base + buf->i, str, cpy );
data/vips-8.10.2/libvips/iofuncs/buf.c:344: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).
	int olen = strlen( old );
data/vips-8.10.2/libvips/iofuncs/buf.c:345: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).
	int nlen = strlen( new );
data/vips-8.10.2/libvips/iofuncs/buf.c:419: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).
	buf->i += strlen( p );
data/vips-8.10.2/libvips/iofuncs/cache.c:321:12:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
		gboolean equal;
data/vips-8.10.2/libvips/iofuncs/cache.c:338:11:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
		return( equal );
data/vips-8.10.2/libvips/iofuncs/cache.c:406:11:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
	gboolean equal;
data/vips-8.10.2/libvips/iofuncs/cache.c:435:11:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
	return( !equal ? object : NULL ); 
data/vips-8.10.2/libvips/iofuncs/dbuf.c:200: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( vips_dbuf_write( dbuf, (unsigned char *) line, strlen( line ) ) ) {
data/vips-8.10.2/libvips/iofuncs/init.c:637: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).
	if( strlen( vips_error_buffer() ) > 0 ) 
data/vips-8.10.2/libvips/iofuncs/init.c:951: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).
	vname[strlen( edir ) - strlen( name ) - 1] = '\0';
data/vips-8.10.2/libvips/iofuncs/init.c:951: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).
	vname[strlen( edir ) - strlen( name ) - 1] = '\0';
data/vips-8.10.2/libvips/iofuncs/init.c:955: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).
	for( i = 0; i < (int) strlen( vname ); i++ ) 
data/vips-8.10.2/libvips/iofuncs/init.c:959: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( vname + i + 2 ) + 1 );
data/vips-8.10.2/libvips/iofuncs/init.c:961: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).
		vname[strlen( vname ) - 2] = '\0';
data/vips-8.10.2/libvips/iofuncs/init.c:963: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).
		vname[strlen( vname ) - 1] = '\0';
data/vips-8.10.2/libvips/iofuncs/init.c:973: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).
	vname[strlen( vname ) - strlen( G_DIR_SEPARATOR_S "bin" )] = '\0';
data/vips-8.10.2/libvips/iofuncs/init.c:973: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).
	vname[strlen( vname ) - strlen( G_DIR_SEPARATOR_S "bin" )] = '\0';
data/vips-8.10.2/libvips/iofuncs/memory.c:212: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).
		object->local_memory += strlen( str );
data/vips-8.10.2/libvips/iofuncs/operation.c:1061: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).
		if( (strlen( name ) == 1 && 
data/vips-8.10.2/libvips/iofuncs/source.c:323:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		bytes_read = read( connection->descriptor, data, length );
data/vips-8.10.2/libvips/iofuncs/source.c:752:24:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			bytes_read = class->read( source, buffer, length );
data/vips-8.10.2/libvips/iofuncs/sourcecustom.c:183:43:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		G_STRUCT_OFFSET( VipsSourceCustomClass, read ), 
data/vips-8.10.2/libvips/iofuncs/system.c:202: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).
			memmove( p, p + 1, strlen( p ) );
data/vips-8.10.2/libvips/iofuncs/target.c:522: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).
		(unsigned char *) str, strlen( str ) ) );
data/vips-8.10.2/libvips/iofuncs/type.c:573: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).
	area->length = strlen( str );
data/vips-8.10.2/libvips/iofuncs/util.c:300: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).
	int haystack_len = strlen( haystack );
data/vips-8.10.2/libvips/iofuncs/util.c:301: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 needle_len = strlen( needle );
data/vips-8.10.2/libvips/iofuncs/util.c:316: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).
	int m = strlen( a );
data/vips-8.10.2/libvips/iofuncs/util.c:317: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).
	int n = strlen( b );
data/vips-8.10.2/libvips/iofuncs/util.c:330: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).
	int m = strlen( a );
data/vips-8.10.2/libvips/iofuncs/util.c:331: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).
	int n = strlen( b );
data/vips-8.10.2/libvips/iofuncs/util.c:473: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).
		memmove( q, q + 1, strlen( q ) );
data/vips-8.10.2/libvips/iofuncs/util.c:762:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	size_t read;
data/vips-8.10.2/libvips/iofuncs/util.c:803:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			len += read;
data/vips-8.10.2/libvips/iofuncs/util.c:817:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		if( read != (size_t) len ) {
data/vips-8.10.2/libvips/iofuncs/util.c:893:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	bytes_read = read( fd, buf, len );
data/vips-8.10.2/libvips/iofuncs/util.c:910:7:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	ch = fgetc( fp );
data/vips-8.10.2/libvips/iofuncs/util.c:912:8:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		ch = fgetc( fp );
data/vips-8.10.2/libvips/iofuncs/util.c:1078:3:  [1] (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 character.
		strcpy( q, "\n" );
data/vips-8.10.2/libvips/iofuncs/util.c:1264: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).
	for( p = str + strlen( str ); p > str && isspace( p[-1] ); p-- )
data/vips-8.10.2/libvips/iofuncs/util.c:1330: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( p + 1 );
data/vips-8.10.2/libvips/iofuncs/util.c:1718: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).
	len = strlen( out );
data/vips-8.10.2/libvips/iofuncs/util.c:1865: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).
	size_t buflen = strlen( buf ); 
data/vips-8.10.2/libvips/iofuncs/util.c:1866: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).
	size_t sublen = strlen( sub ); 
data/vips-8.10.2/libvips/iofuncs/vips.c:488:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if( read( fd, buf, length ) != (ssize_t) length ) {
data/vips-8.10.2/libvips/iofuncs/vips.c:561:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		len = read( fd, buf, chunk_size );
data/vips-8.10.2/libvips/iofuncs/vips.c:667: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).
			q = p + strlen( p );
data/vips-8.10.2/libvips/iofuncs/vips.c:1003: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( vips__write_extension_block( image, xml, strlen( xml ) ) ) {
data/vips-8.10.2/libvips/iofuncs/vips.c:1041:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if( read( image->fd, header, VIPS_SIZEOF_HEADER ) != 
data/vips-8.10.2/libvips/mosaicing/global_balance.c:207: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).
	int l = strlen( n );
data/vips-8.10.2/libvips/mosaicing/remosaic.c:143: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).
	remosaic->old_len = strlen( remosaic->old_str );
data/vips-8.10.2/libvips/mosaicing/remosaic.c:144: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).
	remosaic->new_len = strlen( remosaic->new_str );
data/vips-8.10.2/tools/vipsedit.c:183:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if( read( im->fd, header, VIPS_SIZEOF_HEADER ) !=

ANALYSIS SUMMARY:

Hits = 718
Lines analyzed = 306410 in approximately 12.59 seconds (24338 lines/second)
Physical Source Lines of Code (SLOC) = 211768
Hits@level = [0] 1065 [1] 205 [2] 424 [3]   4 [4]  85 [5]   0
Hits@level+ = [0+] 1783 [1+] 718 [2+] 513 [3+]  89 [4+]  85 [5+]   0
Hits/KSLOC@level+ = [0+] 8.41959 [1+] 3.3905 [2+] 2.42246 [3+] 0.420271 [4+] 0.401383 [5+]   0
Dot directories skipped = 2 (--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.