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/gegl-0.4.26/bin/argvs.c Examining data/gegl-0.4.26/bin/argvs.h Examining data/gegl-0.4.26/bin/gegl-options.c Examining data/gegl-0.4.26/bin/gegl-options.h Examining data/gegl-0.4.26/bin/gegl-path-smooth.c Examining data/gegl-0.4.26/bin/gegl-path-smooth.h Examining data/gegl-0.4.26/bin/gegl-path-spiro.c Examining data/gegl-0.4.26/bin/gegl-path-spiro.h Examining data/gegl-0.4.26/bin/gegl.c Examining data/gegl-0.4.26/bin/mrg-gegl.c Examining data/gegl-0.4.26/bin/mrg-gegl.h Examining data/gegl-0.4.26/bin/ui-collection.c Examining data/gegl-0.4.26/bin/ui-core.c Examining data/gegl-0.4.26/bin/ui-viewer.c Examining data/gegl-0.4.26/bin/ui.h Examining data/gegl-0.4.26/examples/2geglbuffer.c Examining data/gegl-0.4.26/examples/frame-counter.c Examining data/gegl-0.4.26/examples/gegl-convert.c Examining data/gegl-0.4.26/examples/gegl-slicer.c Examining data/gegl-0.4.26/examples/gegl-video.c Examining data/gegl-0.4.26/examples/geglbuffer-add-image.c Examining data/gegl-0.4.26/examples/geglbuffer-clock.c Examining data/gegl-0.4.26/examples/hello-world.c Examining data/gegl-0.4.26/examples/sdl-draw.c Examining data/gegl-0.4.26/examples/video-invert.c Examining data/gegl-0.4.26/gegl/buffer/gegl-algorithms.c Examining data/gegl-0.4.26/gegl/buffer/gegl-algorithms.h Examining data/gegl-0.4.26/gegl/buffer/gegl-buffer-access.c Examining data/gegl-0.4.26/gegl/buffer/gegl-buffer-backend.h Examining data/gegl-0.4.26/gegl/buffer/gegl-buffer-config.c Examining data/gegl-0.4.26/gegl/buffer/gegl-buffer-config.h Examining data/gegl-0.4.26/gegl/buffer/gegl-buffer-enums.c Examining data/gegl-0.4.26/gegl/buffer/gegl-buffer-enums.h Examining data/gegl-0.4.26/gegl/buffer/gegl-buffer-formats.h Examining data/gegl-0.4.26/gegl/buffer/gegl-buffer-index.h Examining data/gegl-0.4.26/gegl/buffer/gegl-buffer-iterator-private.h Examining data/gegl-0.4.26/gegl/buffer/gegl-buffer-iterator.c Examining data/gegl-0.4.26/gegl/buffer/gegl-buffer-iterator.h Examining data/gegl-0.4.26/gegl/buffer/gegl-buffer-iterator2.c Examining data/gegl-0.4.26/gegl/buffer/gegl-buffer-iterator2.h Examining data/gegl-0.4.26/gegl/buffer/gegl-buffer-linear.c Examining data/gegl-0.4.26/gegl/buffer/gegl-buffer-load.c Examining data/gegl-0.4.26/gegl/buffer/gegl-buffer-matrix2.c Examining data/gegl-0.4.26/gegl/buffer/gegl-buffer-matrix2.h Examining data/gegl-0.4.26/gegl/buffer/gegl-buffer-private.h Examining data/gegl-0.4.26/gegl/buffer/gegl-buffer-save.c Examining data/gegl-0.4.26/gegl/buffer/gegl-buffer-swap-private.h Examining data/gegl-0.4.26/gegl/buffer/gegl-buffer-swap.c Examining data/gegl-0.4.26/gegl/buffer/gegl-buffer-swap.h Examining data/gegl-0.4.26/gegl/buffer/gegl-buffer-types.h Examining data/gegl-0.4.26/gegl/buffer/gegl-buffer.c Examining data/gegl-0.4.26/gegl/buffer/gegl-buffer.h Examining data/gegl-0.4.26/gegl/buffer/gegl-compression-nop.c Examining data/gegl-0.4.26/gegl/buffer/gegl-compression-nop.h Examining data/gegl-0.4.26/gegl/buffer/gegl-compression-rle.c Examining data/gegl-0.4.26/gegl/buffer/gegl-compression-rle.h Examining data/gegl-0.4.26/gegl/buffer/gegl-compression-zlib.c Examining data/gegl-0.4.26/gegl/buffer/gegl-compression-zlib.h Examining data/gegl-0.4.26/gegl/buffer/gegl-compression.c Examining data/gegl-0.4.26/gegl/buffer/gegl-compression.h Examining data/gegl-0.4.26/gegl/buffer/gegl-memory-private.h Examining data/gegl-0.4.26/gegl/buffer/gegl-memory.c Examining data/gegl-0.4.26/gegl/buffer/gegl-memory.h Examining data/gegl-0.4.26/gegl/buffer/gegl-rectangle.c Examining data/gegl-0.4.26/gegl/buffer/gegl-rectangle.h Examining data/gegl-0.4.26/gegl/buffer/gegl-sampler-cubic.c Examining data/gegl-0.4.26/gegl/buffer/gegl-sampler-cubic.h Examining data/gegl-0.4.26/gegl/buffer/gegl-sampler-linear.c Examining data/gegl-0.4.26/gegl/buffer/gegl-sampler-linear.h Examining data/gegl-0.4.26/gegl/buffer/gegl-sampler-lohalo.c Examining data/gegl-0.4.26/gegl/buffer/gegl-sampler-lohalo.h Examining data/gegl-0.4.26/gegl/buffer/gegl-sampler-nearest.c Examining data/gegl-0.4.26/gegl/buffer/gegl-sampler-nearest.h Examining data/gegl-0.4.26/gegl/buffer/gegl-sampler-nohalo.c Examining data/gegl-0.4.26/gegl/buffer/gegl-sampler-nohalo.h Examining data/gegl-0.4.26/gegl/buffer/gegl-sampler.c Examining data/gegl-0.4.26/gegl/buffer/gegl-sampler.h Examining data/gegl-0.4.26/gegl/buffer/gegl-scratch-private.h Examining data/gegl-0.4.26/gegl/buffer/gegl-scratch.c Examining data/gegl-0.4.26/gegl/buffer/gegl-scratch.h Examining data/gegl-0.4.26/gegl/buffer/gegl-tile-alloc.c Examining data/gegl-0.4.26/gegl/buffer/gegl-tile-alloc.h Examining data/gegl-0.4.26/gegl/buffer/gegl-tile-backend-buffer.c Examining data/gegl-0.4.26/gegl/buffer/gegl-tile-backend-buffer.h Examining data/gegl-0.4.26/gegl/buffer/gegl-tile-backend-file-async.c Examining data/gegl-0.4.26/gegl/buffer/gegl-tile-backend-file.h Examining data/gegl-0.4.26/gegl/buffer/gegl-tile-backend-ram.c Examining data/gegl-0.4.26/gegl/buffer/gegl-tile-backend-ram.h Examining data/gegl-0.4.26/gegl/buffer/gegl-tile-backend-swap.c Examining data/gegl-0.4.26/gegl/buffer/gegl-tile-backend-swap.h Examining data/gegl-0.4.26/gegl/buffer/gegl-tile-backend.c Examining data/gegl-0.4.26/gegl/buffer/gegl-tile-backend.h Examining data/gegl-0.4.26/gegl/buffer/gegl-tile-handler-cache.c Examining data/gegl-0.4.26/gegl/buffer/gegl-tile-handler-cache.h Examining data/gegl-0.4.26/gegl/buffer/gegl-tile-handler-chain.c Examining data/gegl-0.4.26/gegl/buffer/gegl-tile-handler-chain.h Examining data/gegl-0.4.26/gegl/buffer/gegl-tile-handler-empty.c Examining data/gegl-0.4.26/gegl/buffer/gegl-tile-handler-empty.h Examining data/gegl-0.4.26/gegl/buffer/gegl-tile-handler-log.c Examining data/gegl-0.4.26/gegl/buffer/gegl-tile-handler-log.h Examining data/gegl-0.4.26/gegl/buffer/gegl-tile-handler-private.h Examining data/gegl-0.4.26/gegl/buffer/gegl-tile-handler-zoom.c Examining data/gegl-0.4.26/gegl/buffer/gegl-tile-handler-zoom.h Examining data/gegl-0.4.26/gegl/buffer/gegl-tile-handler.c Examining data/gegl-0.4.26/gegl/buffer/gegl-tile-handler.h Examining data/gegl-0.4.26/gegl/buffer/gegl-tile-source.c Examining data/gegl-0.4.26/gegl/buffer/gegl-tile-source.h Examining data/gegl-0.4.26/gegl/buffer/gegl-tile-storage.c Examining data/gegl-0.4.26/gegl/buffer/gegl-tile-storage.h Examining data/gegl-0.4.26/gegl/buffer/gegl-tile.c Examining data/gegl-0.4.26/gegl/buffer/gegl-tile.h Examining data/gegl-0.4.26/gegl/gegl-apply.c Examining data/gegl-0.4.26/gegl/gegl-apply.h Examining data/gegl-0.4.26/gegl/gegl-config.c Examining data/gegl-0.4.26/gegl/gegl-config.h Examining data/gegl-0.4.26/gegl/gegl-cpuaccel-private.h Examining data/gegl-0.4.26/gegl/gegl-cpuaccel.c Examining data/gegl-0.4.26/gegl/gegl-cpuaccel.h Examining data/gegl-0.4.26/gegl/gegl-debug.h Examining data/gegl-0.4.26/gegl/gegl-dot-visitor.c Examining data/gegl-0.4.26/gegl/gegl-dot-visitor.h Examining data/gegl-0.4.26/gegl/gegl-dot.c Examining data/gegl-0.4.26/gegl/gegl-dot.h Examining data/gegl-0.4.26/gegl/gegl-enums.c Examining data/gegl-0.4.26/gegl/gegl-enums.h Examining data/gegl-0.4.26/gegl/gegl-gio-private.h Examining data/gegl-0.4.26/gegl/gegl-gio.c Examining data/gegl-0.4.26/gegl/gegl-init-private.h Examining data/gegl-0.4.26/gegl/gegl-init.c Examining data/gegl-0.4.26/gegl/gegl-init.h Examining data/gegl-0.4.26/gegl/gegl-instrument.c Examining data/gegl-0.4.26/gegl/gegl-instrument.h Examining data/gegl-0.4.26/gegl/gegl-introspection-support.c Examining data/gegl-0.4.26/gegl/gegl-introspection-support.h Examining data/gegl-0.4.26/gegl/gegl-lookup.c Examining data/gegl-0.4.26/gegl/gegl-lookup.h Examining data/gegl-0.4.26/gegl/gegl-math.h Examining data/gegl-0.4.26/gegl/gegl-matrix.c Examining data/gegl-0.4.26/gegl/gegl-matrix.h Examining data/gegl-0.4.26/gegl/gegl-metadata.c Examining data/gegl-0.4.26/gegl/gegl-metadata.h Examining data/gegl-0.4.26/gegl/gegl-metadatahash.c Examining data/gegl-0.4.26/gegl/gegl-metadatahash.h Examining data/gegl-0.4.26/gegl/gegl-metadatastore.c Examining data/gegl-0.4.26/gegl/gegl-metadatastore.h Examining data/gegl-0.4.26/gegl/gegl-module.h Examining data/gegl-0.4.26/gegl/gegl-op.h Examining data/gegl-0.4.26/gegl/gegl-operations-util.h Examining data/gegl-0.4.26/gegl/gegl-parallel-private.h Examining data/gegl-0.4.26/gegl/gegl-parallel.c Examining data/gegl-0.4.26/gegl/gegl-parallel.h Examining data/gegl-0.4.26/gegl/gegl-plugin.h Examining data/gegl-0.4.26/gegl/gegl-random-private.h Examining data/gegl-0.4.26/gegl/gegl-random.c Examining data/gegl-0.4.26/gegl/gegl-random.h Examining data/gegl-0.4.26/gegl/gegl-serialize.c Examining data/gegl-0.4.26/gegl/gegl-stats.c Examining data/gegl-0.4.26/gegl/gegl-stats.h Examining data/gegl-0.4.26/gegl/gegl-types-internal.h Examining data/gegl-0.4.26/gegl/gegl-types.h Examining data/gegl-0.4.26/gegl/gegl-utils.c Examining data/gegl-0.4.26/gegl/gegl-utils.h Examining data/gegl-0.4.26/gegl/gegl-xml.c Examining data/gegl-0.4.26/gegl/gegl-xml.h Examining data/gegl-0.4.26/gegl/gegl.h Examining data/gegl-0.4.26/gegl/graph/gegl-cache.c Examining data/gegl-0.4.26/gegl/graph/gegl-cache.h Examining data/gegl-0.4.26/gegl/graph/gegl-callback-visitor.c Examining data/gegl-0.4.26/gegl/graph/gegl-callback-visitor.h Examining data/gegl-0.4.26/gegl/graph/gegl-connection.c Examining data/gegl-0.4.26/gegl/graph/gegl-connection.h Examining data/gegl-0.4.26/gegl/graph/gegl-node-output-visitable.c Examining data/gegl-0.4.26/gegl/graph/gegl-node-output-visitable.h Examining data/gegl-0.4.26/gegl/graph/gegl-node-private.h Examining data/gegl-0.4.26/gegl/graph/gegl-node.c Examining data/gegl-0.4.26/gegl/graph/gegl-node.h Examining data/gegl-0.4.26/gegl/graph/gegl-pad.c Examining data/gegl-0.4.26/gegl/graph/gegl-pad.h Examining data/gegl-0.4.26/gegl/graph/gegl-region-generic.c Examining data/gegl-0.4.26/gegl/graph/gegl-region-generic.h Examining data/gegl-0.4.26/gegl/graph/gegl-region.h Examining data/gegl-0.4.26/gegl/graph/gegl-visitable.c Examining data/gegl-0.4.26/gegl/graph/gegl-visitable.h Examining data/gegl-0.4.26/gegl/graph/gegl-visitor.c Examining data/gegl-0.4.26/gegl/graph/gegl-visitor.h Examining data/gegl-0.4.26/gegl/module/gegldatafiles.c Examining data/gegl-0.4.26/gegl/module/gegldatafiles.h Examining data/gegl-0.4.26/gegl/module/geglmodule.c Examining data/gegl-0.4.26/gegl/module/geglmodule.h Examining data/gegl-0.4.26/gegl/module/geglmoduledb.c Examining data/gegl-0.4.26/gegl/module/geglmoduledb.h Examining data/gegl-0.4.26/gegl/opencl/cl.h Examining data/gegl-0.4.26/gegl/opencl/cl_d3d10.h Examining data/gegl-0.4.26/gegl/opencl/cl_ext.h Examining data/gegl-0.4.26/gegl/opencl/cl_gl.h Examining data/gegl-0.4.26/gegl/opencl/cl_gl_ext.h Examining data/gegl-0.4.26/gegl/opencl/cl_platform.h Examining data/gegl-0.4.26/gegl/opencl/gegl-buffer-cl-cache.c Examining data/gegl-0.4.26/gegl/opencl/gegl-buffer-cl-cache.h Examining data/gegl-0.4.26/gegl/opencl/gegl-buffer-cl-iterator.c Examining data/gegl-0.4.26/gegl/opencl/gegl-buffer-cl-iterator.h Examining data/gegl-0.4.26/gegl/opencl/gegl-cl-color.c Examining data/gegl-0.4.26/gegl/opencl/gegl-cl-color.h Examining data/gegl-0.4.26/gegl/opencl/gegl-cl-init.c Examining data/gegl-0.4.26/gegl/opencl/gegl-cl-init.h Examining data/gegl-0.4.26/gegl/opencl/gegl-cl-introspection-support.h Examining data/gegl-0.4.26/gegl/opencl/gegl-cl-random.c Examining data/gegl-0.4.26/gegl/opencl/gegl-cl-random.h Examining data/gegl-0.4.26/gegl/opencl/gegl-cl-types.h Examining data/gegl-0.4.26/gegl/opencl/gegl-cl.c Examining data/gegl-0.4.26/gegl/opencl/gegl-cl.h Examining data/gegl-0.4.26/gegl/opencl/opencl.h Examining data/gegl-0.4.26/gegl/operation/gegl-extension-handler.c Examining data/gegl-0.4.26/gegl/operation/gegl-extension-handler.h Examining data/gegl-0.4.26/gegl/operation/gegl-operation-area-filter.c Examining data/gegl-0.4.26/gegl/operation/gegl-operation-area-filter.h Examining data/gegl-0.4.26/gegl/operation/gegl-operation-composer.c Examining data/gegl-0.4.26/gegl/operation/gegl-operation-composer.h Examining data/gegl-0.4.26/gegl/operation/gegl-operation-composer3.c Examining data/gegl-0.4.26/gegl/operation/gegl-operation-composer3.h Examining data/gegl-0.4.26/gegl/operation/gegl-operation-context-private.h Examining data/gegl-0.4.26/gegl/operation/gegl-operation-context.c Examining data/gegl-0.4.26/gegl/operation/gegl-operation-context.h Examining data/gegl-0.4.26/gegl/operation/gegl-operation-filter.c Examining data/gegl-0.4.26/gegl/operation/gegl-operation-filter.h Examining data/gegl-0.4.26/gegl/operation/gegl-operation-handlers-private.h Examining data/gegl-0.4.26/gegl/operation/gegl-operation-handlers.c Examining data/gegl-0.4.26/gegl/operation/gegl-operation-handlers.h Examining data/gegl-0.4.26/gegl/operation/gegl-operation-meta-json.c Examining data/gegl-0.4.26/gegl/operation/gegl-operation-meta-json.h Examining data/gegl-0.4.26/gegl/operation/gegl-operation-meta.c Examining data/gegl-0.4.26/gegl/operation/gegl-operation-meta.h Examining data/gegl-0.4.26/gegl/operation/gegl-operation-point-composer.c Examining data/gegl-0.4.26/gegl/operation/gegl-operation-point-composer.h Examining data/gegl-0.4.26/gegl/operation/gegl-operation-point-composer3.c Examining data/gegl-0.4.26/gegl/operation/gegl-operation-point-composer3.h Examining data/gegl-0.4.26/gegl/operation/gegl-operation-point-filter.c Examining data/gegl-0.4.26/gegl/operation/gegl-operation-point-filter.h Examining data/gegl-0.4.26/gegl/operation/gegl-operation-point-render.c Examining data/gegl-0.4.26/gegl/operation/gegl-operation-point-render.h Examining data/gegl-0.4.26/gegl/operation/gegl-operation-private.h Examining data/gegl-0.4.26/gegl/operation/gegl-operation-property-keys.c Examining data/gegl-0.4.26/gegl/operation/gegl-operation-property-keys.h Examining data/gegl-0.4.26/gegl/operation/gegl-operation-sink.c Examining data/gegl-0.4.26/gegl/operation/gegl-operation-sink.h Examining data/gegl-0.4.26/gegl/operation/gegl-operation-source.c Examining data/gegl-0.4.26/gegl/operation/gegl-operation-source.h Examining data/gegl-0.4.26/gegl/operation/gegl-operation-temporal.c Examining data/gegl-0.4.26/gegl/operation/gegl-operation-temporal.h Examining data/gegl-0.4.26/gegl/operation/gegl-operation.c Examining data/gegl-0.4.26/gegl/operation/gegl-operation.h Examining data/gegl-0.4.26/gegl/operation/gegl-operations.c Examining data/gegl-0.4.26/gegl/operation/gegl-operations.h Examining data/gegl-0.4.26/gegl/process/gegl-eval-manager.c Examining data/gegl-0.4.26/gegl/process/gegl-eval-manager.h Examining data/gegl-0.4.26/gegl/process/gegl-graph-debug.h Examining data/gegl-0.4.26/gegl/process/gegl-graph-traversal-debug.c Examining data/gegl-0.4.26/gegl/process/gegl-graph-traversal-private.h Examining data/gegl-0.4.26/gegl/process/gegl-graph-traversal.c Examining data/gegl-0.4.26/gegl/process/gegl-graph-traversal.h Examining data/gegl-0.4.26/gegl/process/gegl-processor-private.h Examining data/gegl-0.4.26/gegl/process/gegl-processor.c Examining data/gegl-0.4.26/gegl/process/gegl-processor.h Examining data/gegl-0.4.26/gegl/property-types/gegl-audio-fragment.c Examining data/gegl-0.4.26/gegl/property-types/gegl-audio-fragment.h Examining data/gegl-0.4.26/gegl/property-types/gegl-color.c Examining data/gegl-0.4.26/gegl/property-types/gegl-color.h Examining data/gegl-0.4.26/gegl/property-types/gegl-curve.c Examining data/gegl-0.4.26/gegl/property-types/gegl-curve.h Examining data/gegl-0.4.26/gegl/property-types/gegl-paramspecs.c Examining data/gegl-0.4.26/gegl/property-types/gegl-paramspecs.h Examining data/gegl-0.4.26/gegl/property-types/gegl-path.c Examining data/gegl-0.4.26/gegl/property-types/gegl-path.h Examining data/gegl-0.4.26/libs/npd/deformation.c Examining data/gegl-0.4.26/libs/npd/deformation.h Examining data/gegl-0.4.26/libs/npd/graphics.c Examining data/gegl-0.4.26/libs/npd/graphics.h Examining data/gegl-0.4.26/libs/npd/lattice_cut.c Examining data/gegl-0.4.26/libs/npd/lattice_cut.h Examining data/gegl-0.4.26/libs/npd/npd.h Examining data/gegl-0.4.26/libs/npd/npd_common.c Examining data/gegl-0.4.26/libs/npd/npd_common.h Examining data/gegl-0.4.26/libs/npd/npd_debug.c Examining data/gegl-0.4.26/libs/npd/npd_debug.h Examining data/gegl-0.4.26/libs/npd/npd_gegl.c Examining data/gegl-0.4.26/libs/npd/npd_gegl.h Examining data/gegl-0.4.26/libs/npd/npd_math.c Examining data/gegl-0.4.26/libs/npd/npd_math.h Examining data/gegl-0.4.26/libs/rgbe/rgbe.c Examining data/gegl-0.4.26/libs/rgbe/rgbe.h Examining data/gegl-0.4.26/operations/common/absolute.c Examining data/gegl-0.4.26/operations/common/alien-map.c Examining data/gegl-0.4.26/operations/common/bilateral-filter.c Examining data/gegl-0.4.26/operations/common/bloom.c Examining data/gegl-0.4.26/operations/common/box-blur.c Examining data/gegl-0.4.26/operations/common/brightness-contrast.c Examining data/gegl-0.4.26/operations/common/buffer-sink.c Examining data/gegl-0.4.26/operations/common/buffer-source.c Examining data/gegl-0.4.26/operations/common/c2g.c Examining data/gegl-0.4.26/operations/common/checkerboard.c Examining data/gegl-0.4.26/operations/common/color-assimilation-grid.c Examining data/gegl-0.4.26/operations/common/color-enhance.c Examining data/gegl-0.4.26/operations/common/color-overlay.c Examining data/gegl-0.4.26/operations/common/color-rotate.c Examining data/gegl-0.4.26/operations/common/color-temperature.c Examining data/gegl-0.4.26/operations/common/color-warp.c Examining data/gegl-0.4.26/operations/common/color.c Examining data/gegl-0.4.26/operations/common/component-extract.c Examining data/gegl-0.4.26/operations/common/contrast-curve.c Examining data/gegl-0.4.26/operations/common/convolution-matrix.c Examining data/gegl-0.4.26/operations/common/copy-buffer.c Examining data/gegl-0.4.26/operations/common/difference-of-gaussians.c Examining data/gegl-0.4.26/operations/common/display.c Examining data/gegl-0.4.26/operations/common/dither.c Examining data/gegl-0.4.26/operations/common/domain-transform.c Examining data/gegl-0.4.26/operations/common/dropshadow.c Examining data/gegl-0.4.26/operations/common/edge-neon.c Examining data/gegl-0.4.26/operations/common/edge-sobel.c Examining data/gegl-0.4.26/operations/common/envelopes.h Examining data/gegl-0.4.26/operations/common/exp-combine.c Examining data/gegl-0.4.26/operations/common/exposure.c Examining data/gegl-0.4.26/operations/common/fattal02.c Examining data/gegl-0.4.26/operations/common/gaussian-blur.c Examining data/gegl-0.4.26/operations/common/gblur-1d.c Examining data/gegl-0.4.26/operations/common/gegl-buffer-load-op.c Examining data/gegl-0.4.26/operations/common/gegl-buffer-save-op.c Examining data/gegl-0.4.26/operations/common/gegl.c Examining data/gegl-0.4.26/operations/common/grey.c Examining data/gegl-0.4.26/operations/common/grid.c Examining data/gegl-0.4.26/operations/common/high-pass.c Examining data/gegl-0.4.26/operations/common/hue-chroma.c Examining data/gegl-0.4.26/operations/common/icc-save.c Examining data/gegl-0.4.26/operations/common/image-compare.c Examining data/gegl-0.4.26/operations/common/image-gradient.c Examining data/gegl-0.4.26/operations/common/introspect.c Examining data/gegl-0.4.26/operations/common/invert-common.h Examining data/gegl-0.4.26/operations/common/invert-gamma.c Examining data/gegl-0.4.26/operations/common/invert-linear.c Examining data/gegl-0.4.26/operations/common/layer.c Examining data/gegl-0.4.26/operations/common/levels.c Examining data/gegl-0.4.26/operations/common/linear-gradient.c Examining data/gegl-0.4.26/operations/common/little-planet.c Examining data/gegl-0.4.26/operations/common/long-shadow.c Examining data/gegl-0.4.26/operations/common/magick-load.c Examining data/gegl-0.4.26/operations/common/mantiuk06.c Examining data/gegl-0.4.26/operations/common/map-absolute.c Examining data/gegl-0.4.26/operations/common/map-common.h Examining data/gegl-0.4.26/operations/common/map-relative.c Examining data/gegl-0.4.26/operations/common/matting-global.c Examining data/gegl-0.4.26/operations/common/mblur.c Examining data/gegl-0.4.26/operations/common/mean-curvature-blur.c Examining data/gegl-0.4.26/operations/common/median-blur.c Examining data/gegl-0.4.26/operations/common/mirrors.c Examining data/gegl-0.4.26/operations/common/mix.c Examining data/gegl-0.4.26/operations/common/mono-mixer.c Examining data/gegl-0.4.26/operations/common/motion-blur-linear.c Examining data/gegl-0.4.26/operations/common/newsprint.c Examining data/gegl-0.4.26/operations/common/noise-cell.c Examining data/gegl-0.4.26/operations/common/noise-cie-lch.c Examining data/gegl-0.4.26/operations/common/noise-hsv.c Examining data/gegl-0.4.26/operations/common/noise-hurl.c Examining data/gegl-0.4.26/operations/common/noise-perlin.c Examining data/gegl-0.4.26/operations/common/noise-pick.c Examining data/gegl-0.4.26/operations/common/noise-reduction.c Examining data/gegl-0.4.26/operations/common/noise-rgb.c Examining data/gegl-0.4.26/operations/common/noise-simplex.c Examining data/gegl-0.4.26/operations/common/noise-spread.c Examining data/gegl-0.4.26/operations/common/normal-map.c Examining data/gegl-0.4.26/operations/common/opacity.c Examining data/gegl-0.4.26/operations/common/open-buffer.c Examining data/gegl-0.4.26/operations/common/over.c Examining data/gegl-0.4.26/operations/common/pack.c Examining data/gegl-0.4.26/operations/common/panorama-projection.c Examining data/gegl-0.4.26/operations/common/perlin/perlin.c Examining data/gegl-0.4.26/operations/common/perlin/perlin.h Examining data/gegl-0.4.26/operations/common/pixelize.c Examining data/gegl-0.4.26/operations/common/posterize.c Examining data/gegl-0.4.26/operations/common/radial-gradient.c Examining data/gegl-0.4.26/operations/common/rectangle.c Examining data/gegl-0.4.26/operations/common/recursive-transform.c Examining data/gegl-0.4.26/operations/common/reinhard05.c Examining data/gegl-0.4.26/operations/common/remap.c Examining data/gegl-0.4.26/operations/common/rgb-clip.c Examining data/gegl-0.4.26/operations/common/saturation.c Examining data/gegl-0.4.26/operations/common/save.c Examining data/gegl-0.4.26/operations/common/sepia.c Examining data/gegl-0.4.26/operations/common/slic.c Examining data/gegl-0.4.26/operations/common/snn-mean.c Examining data/gegl-0.4.26/operations/common/spherize.c Examining data/gegl-0.4.26/operations/common/stress.c Examining data/gegl-0.4.26/operations/common/stretch-contrast-hsv.c Examining data/gegl-0.4.26/operations/common/stretch-contrast.c Examining data/gegl-0.4.26/operations/common/svg-huerotate.c Examining data/gegl-0.4.26/operations/common/svg-luminancetoalpha.c Examining data/gegl-0.4.26/operations/common/svg-matrix.c Examining data/gegl-0.4.26/operations/common/svg-saturate.c Examining data/gegl-0.4.26/operations/common/threshold.c Examining data/gegl-0.4.26/operations/common/tile-seamless.c Examining data/gegl-0.4.26/operations/common/tile.c Examining data/gegl-0.4.26/operations/common/unpremultiply.c Examining data/gegl-0.4.26/operations/common/unsharp-mask.c Examining data/gegl-0.4.26/operations/common/value-invert.c Examining data/gegl-0.4.26/operations/common/vignette.c Examining data/gegl-0.4.26/operations/common/waterpixels.c Examining data/gegl-0.4.26/operations/common/watershed-transform.c Examining data/gegl-0.4.26/operations/common/wavelet-blur-1d.c Examining data/gegl-0.4.26/operations/common/wavelet-blur.c Examining data/gegl-0.4.26/operations/common/weighted-blend.c Examining data/gegl-0.4.26/operations/common/write-buffer.c Examining data/gegl-0.4.26/operations/common-cxx/distance-transform.cc Examining data/gegl-0.4.26/operations/common-cxx/focus-blur.c Examining data/gegl-0.4.26/operations/common-cxx/lens-blur.cc Examining data/gegl-0.4.26/operations/common-cxx/piecewise-blend.cc Examining data/gegl-0.4.26/operations/common-cxx/variable-blur.c Examining data/gegl-0.4.26/operations/common-cxx/warp.cc Examining data/gegl-0.4.26/operations/common-gpl3+/antialias.c Examining data/gegl-0.4.26/operations/common-gpl3+/apply-lens.c Examining data/gegl-0.4.26/operations/common-gpl3+/bayer-matrix.c Examining data/gegl-0.4.26/operations/common-gpl3+/bump-map.c Examining data/gegl-0.4.26/operations/common-gpl3+/cartoon.c Examining data/gegl-0.4.26/operations/common-gpl3+/channel-mixer.c Examining data/gegl-0.4.26/operations/common-gpl3+/color-exchange.c Examining data/gegl-0.4.26/operations/common-gpl3+/color-to-alpha.c Examining data/gegl-0.4.26/operations/common-gpl3+/cubism.c Examining data/gegl-0.4.26/operations/common-gpl3+/deinterlace.c Examining data/gegl-0.4.26/operations/common-gpl3+/diffraction-patterns.c Examining data/gegl-0.4.26/operations/common-gpl3+/displace.c Examining data/gegl-0.4.26/operations/common-gpl3+/edge-laplace.c Examining data/gegl-0.4.26/operations/common-gpl3+/edge.c Examining data/gegl-0.4.26/operations/common-gpl3+/emboss.c Examining data/gegl-0.4.26/operations/common-gpl3+/engrave.c Examining data/gegl-0.4.26/operations/common-gpl3+/fractal-explorer.c Examining data/gegl-0.4.26/operations/common-gpl3+/fractal-trace.c Examining data/gegl-0.4.26/operations/common-gpl3+/gaussian-blur-selective.c Examining data/gegl-0.4.26/operations/common-gpl3+/illusion.c Examining data/gegl-0.4.26/operations/common-gpl3+/lens-distortion.c Examining data/gegl-0.4.26/operations/common-gpl3+/lens-flare.c Examining data/gegl-0.4.26/operations/common-gpl3+/linear-sinusoid.c Examining data/gegl-0.4.26/operations/common-gpl3+/maze.c Examining data/gegl-0.4.26/operations/common-gpl3+/mosaic.c Examining data/gegl-0.4.26/operations/common-gpl3+/motion-blur-circular.c Examining data/gegl-0.4.26/operations/common-gpl3+/motion-blur-zoom.c Examining data/gegl-0.4.26/operations/common-gpl3+/noise-slur.c Examining data/gegl-0.4.26/operations/common-gpl3+/noise-solid.c Examining data/gegl-0.4.26/operations/common-gpl3+/oilify.c Examining data/gegl-0.4.26/operations/common-gpl3+/photocopy.c Examining data/gegl-0.4.26/operations/common-gpl3+/plasma.c Examining data/gegl-0.4.26/operations/common-gpl3+/polar-coordinates.c Examining data/gegl-0.4.26/operations/common-gpl3+/red-eye-removal.c Examining data/gegl-0.4.26/operations/common-gpl3+/ripple.c Examining data/gegl-0.4.26/operations/common-gpl3+/shadows-highlights-correction.c Examining data/gegl-0.4.26/operations/common-gpl3+/shadows-highlights.c Examining data/gegl-0.4.26/operations/common-gpl3+/shift.c Examining data/gegl-0.4.26/operations/common-gpl3+/sinus.c Examining data/gegl-0.4.26/operations/common-gpl3+/softglow.c Examining data/gegl-0.4.26/operations/common-gpl3+/spiral.c Examining data/gegl-0.4.26/operations/common-gpl3+/supernova.c Examining data/gegl-0.4.26/operations/common-gpl3+/texturize-canvas.c Examining data/gegl-0.4.26/operations/common-gpl3+/tile-glass.c Examining data/gegl-0.4.26/operations/common-gpl3+/tile-paper.c Examining data/gegl-0.4.26/operations/common-gpl3+/value-propagate.c Examining data/gegl-0.4.26/operations/common-gpl3+/video-degradation.c Examining data/gegl-0.4.26/operations/common-gpl3+/waves.c Examining data/gegl-0.4.26/operations/common-gpl3+/whirl-pinch.c Examining data/gegl-0.4.26/operations/common-gpl3+/wind.c Examining data/gegl-0.4.26/operations/core/cache.c Examining data/gegl-0.4.26/operations/core/cast-format.c Examining data/gegl-0.4.26/operations/core/cast-space.c Examining data/gegl-0.4.26/operations/core/clone.c Examining data/gegl-0.4.26/operations/core/convert-format.c Examining data/gegl-0.4.26/operations/core/convert-space.c Examining data/gegl-0.4.26/operations/core/crop.c Examining data/gegl-0.4.26/operations/core/json.c Examining data/gegl-0.4.26/operations/core/load.c Examining data/gegl-0.4.26/operations/core/nop.c Examining data/gegl-0.4.26/operations/external/exr-load.cpp Examining data/gegl-0.4.26/operations/external/exr-save.cc Examining data/gegl-0.4.26/operations/external/ff-load.c Examining data/gegl-0.4.26/operations/external/ff-save.c Examining data/gegl-0.4.26/operations/external/gif-load.c Examining data/gegl-0.4.26/operations/external/jp2-load.c Examining data/gegl-0.4.26/operations/external/jpg-load.c Examining data/gegl-0.4.26/operations/external/jpg-save.c Examining data/gegl-0.4.26/operations/external/lcms-from-profile.c Examining data/gegl-0.4.26/operations/external/matting-levin-cblas.c Examining data/gegl-0.4.26/operations/external/matting-levin-cblas.h Examining data/gegl-0.4.26/operations/external/matting-levin.c Examining data/gegl-0.4.26/operations/external/npd.c Examining data/gegl-0.4.26/operations/external/npy-save.c Examining data/gegl-0.4.26/operations/external/path.c Examining data/gegl-0.4.26/operations/external/pdf-load.c Examining data/gegl-0.4.26/operations/external/pixbuf.c Examining data/gegl-0.4.26/operations/external/png-load.c Examining data/gegl-0.4.26/operations/external/png-save.c Examining data/gegl-0.4.26/operations/external/ppm-load.c Examining data/gegl-0.4.26/operations/external/ppm-save.c Examining data/gegl-0.4.26/operations/external/raw-load.c Examining data/gegl-0.4.26/operations/external/rgbe-load.c Examining data/gegl-0.4.26/operations/external/rgbe-save.c Examining data/gegl-0.4.26/operations/external/save-pixbuf.c Examining data/gegl-0.4.26/operations/external/sdl-display.c Examining data/gegl-0.4.26/operations/external/sdl2-display.c Examining data/gegl-0.4.26/operations/external/svg-load.c Examining data/gegl-0.4.26/operations/external/text.c Examining data/gegl-0.4.26/operations/external/tiff-load.c Examining data/gegl-0.4.26/operations/external/tiff-save.c Examining data/gegl-0.4.26/operations/external/v4l.c Examining data/gegl-0.4.26/operations/external/v4lutils/v4lutils.c Examining data/gegl-0.4.26/operations/external/v4lutils/v4lutils.h Examining data/gegl-0.4.26/operations/external/vector-fill.c Examining data/gegl-0.4.26/operations/external/vector-stroke.c Examining data/gegl-0.4.26/operations/external/webp-load.c Examining data/gegl-0.4.26/operations/external/webp-save.c Examining data/gegl-0.4.26/operations/generated/add.c Examining data/gegl-0.4.26/operations/generated/clear.c Examining data/gegl-0.4.26/operations/generated/color-burn.c Examining data/gegl-0.4.26/operations/generated/color-dodge.c Examining data/gegl-0.4.26/operations/generated/darken.c Examining data/gegl-0.4.26/operations/generated/difference.c Examining data/gegl-0.4.26/operations/generated/divide.c Examining data/gegl-0.4.26/operations/generated/dst-atop.c Examining data/gegl-0.4.26/operations/generated/dst-in.c Examining data/gegl-0.4.26/operations/generated/dst-out.c Examining data/gegl-0.4.26/operations/generated/dst-over.c Examining data/gegl-0.4.26/operations/generated/dst.c Examining data/gegl-0.4.26/operations/generated/exclusion.c Examining data/gegl-0.4.26/operations/generated/gamma.c Examining data/gegl-0.4.26/operations/generated/hard-light.c Examining data/gegl-0.4.26/operations/generated/lighten.c Examining data/gegl-0.4.26/operations/generated/multiply.c Examining data/gegl-0.4.26/operations/generated/overlay.c Examining data/gegl-0.4.26/operations/generated/plus.c Examining data/gegl-0.4.26/operations/generated/screen.c Examining data/gegl-0.4.26/operations/generated/soft-light.c Examining data/gegl-0.4.26/operations/generated/src-atop.c Examining data/gegl-0.4.26/operations/generated/src-in.c Examining data/gegl-0.4.26/operations/generated/src-out.c Examining data/gegl-0.4.26/operations/generated/src.c Examining data/gegl-0.4.26/operations/generated/subtract.c Examining data/gegl-0.4.26/operations/generated/xor.c Examining data/gegl-0.4.26/operations/seamless-clone/seamless-clone-compose.c Examining data/gegl-0.4.26/operations/seamless-clone/seamless-clone.c Examining data/gegl-0.4.26/operations/seamless-clone/seamless-clone.h Examining data/gegl-0.4.26/operations/transform/border-align.c Examining data/gegl-0.4.26/operations/transform/module.c Examining data/gegl-0.4.26/operations/transform/module.h Examining data/gegl-0.4.26/operations/transform/reflect.c Examining data/gegl-0.4.26/operations/transform/reset-origin.c Examining data/gegl-0.4.26/operations/transform/rotate-on-center.c Examining data/gegl-0.4.26/operations/transform/rotate.c Examining data/gegl-0.4.26/operations/transform/scale-ratio.c Examining data/gegl-0.4.26/operations/transform/scale-size-keepaspect.c Examining data/gegl-0.4.26/operations/transform/scale-size.c Examining data/gegl-0.4.26/operations/transform/scale.c Examining data/gegl-0.4.26/operations/transform/scale.h Examining data/gegl-0.4.26/operations/transform/shear.c Examining data/gegl-0.4.26/operations/transform/transform-core.c Examining data/gegl-0.4.26/operations/transform/transform-core.h Examining data/gegl-0.4.26/operations/transform/transform.c Examining data/gegl-0.4.26/operations/transform/translate.c Examining data/gegl-0.4.26/operations/workshop/aces-rrt.c Examining data/gegl-0.4.26/operations/workshop/alpha-inpaint.c Examining data/gegl-0.4.26/operations/workshop/band-tune.c Examining data/gegl-0.4.26/operations/workshop/bilateral-filter-fast.c Examining data/gegl-0.4.26/operations/workshop/boxblur-1d.c Examining data/gegl-0.4.26/operations/workshop/boxblur.c Examining data/gegl-0.4.26/operations/workshop/connected-components.c Examining data/gegl-0.4.26/operations/workshop/demosaic-bimedian.c Examining data/gegl-0.4.26/operations/workshop/demosaic-simple.c Examining data/gegl-0.4.26/operations/workshop/ditto.c Examining data/gegl-0.4.26/operations/workshop/external/gluas.c Examining data/gegl-0.4.26/operations/workshop/external/lens-correct.c Examining data/gegl-0.4.26/operations/workshop/external/line-profile.c Examining data/gegl-0.4.26/operations/workshop/external/spyrograph.c Examining data/gegl-0.4.26/operations/workshop/external/v4l2.c Examining data/gegl-0.4.26/operations/workshop/external/voronoi-diagram.cc Examining data/gegl-0.4.26/operations/workshop/gcr.c Examining data/gegl-0.4.26/operations/workshop/generated/average.c Examining data/gegl-0.4.26/operations/workshop/generated/blend-reflect.c Examining data/gegl-0.4.26/operations/workshop/generated/negation.c Examining data/gegl-0.4.26/operations/workshop/generated/soft-burn.c Examining data/gegl-0.4.26/operations/workshop/generated/soft-dodge.c Examining data/gegl-0.4.26/operations/workshop/generated/subtractive.c Examining data/gegl-0.4.26/operations/workshop/gradient-map.c Examining data/gegl-0.4.26/operations/workshop/integral-image.c Examining data/gegl-0.4.26/operations/workshop/rawbayer-load.c Examining data/gegl-0.4.26/operations/workshop/segment-kmeans.c Examining data/gegl-0.4.26/operations/workshop/selective-hue-saturation.c Examining data/gegl-0.4.26/perf/test-bcontrast-4x.c Examining data/gegl-0.4.26/perf/test-bcontrast-minichunk.c Examining data/gegl-0.4.26/perf/test-bcontrast.c Examining data/gegl-0.4.26/perf/test-blur.c Examining data/gegl-0.4.26/perf/test-common.h Examining data/gegl-0.4.26/perf/test-compression.c Examining data/gegl-0.4.26/perf/test-gegl-buffer-access.c Examining data/gegl-0.4.26/perf/test-init.c Examining data/gegl-0.4.26/perf/test-rotate.c Examining data/gegl-0.4.26/perf/test-samplers.c Examining data/gegl-0.4.26/perf/test-saturation.c Examining data/gegl-0.4.26/perf/test-scale.c Examining data/gegl-0.4.26/perf/test-translate.c Examining data/gegl-0.4.26/perf/test-unsharpmask.c Examining data/gegl-0.4.26/seamless-clone/sc-common.h Examining data/gegl-0.4.26/seamless-clone/sc-context-private.h Examining data/gegl-0.4.26/seamless-clone/sc-context.c Examining data/gegl-0.4.26/seamless-clone/sc-context.h Examining data/gegl-0.4.26/seamless-clone/sc-outline.c Examining data/gegl-0.4.26/seamless-clone/sc-outline.h Examining data/gegl-0.4.26/seamless-clone/sc-sample.c Examining data/gegl-0.4.26/seamless-clone/sc-sample.h Examining data/gegl-0.4.26/subprojects/libnsgif/libnsgif.c Examining data/gegl-0.4.26/subprojects/libnsgif/libnsgif.h Examining data/gegl-0.4.26/subprojects/libnsgif/log.h Examining data/gegl-0.4.26/subprojects/libnsgif/lzw.c Examining data/gegl-0.4.26/subprojects/libnsgif/lzw.h Examining data/gegl-0.4.26/subprojects/poly2tri-c/poly2tri-c/p2t/common/cutils.h Examining data/gegl-0.4.26/subprojects/poly2tri-c/poly2tri-c/p2t/common/poly2tri-private.h Examining data/gegl-0.4.26/subprojects/poly2tri-c/poly2tri-c/p2t/common/shapes.c Examining data/gegl-0.4.26/subprojects/poly2tri-c/poly2tri-c/p2t/common/shapes.h Examining data/gegl-0.4.26/subprojects/poly2tri-c/poly2tri-c/p2t/common/utils.c Examining data/gegl-0.4.26/subprojects/poly2tri-c/poly2tri-c/p2t/common/utils.h Examining data/gegl-0.4.26/subprojects/poly2tri-c/poly2tri-c/p2t/poly2tri.h Examining data/gegl-0.4.26/subprojects/poly2tri-c/poly2tri-c/p2t/sweep/advancing_front.c Examining data/gegl-0.4.26/subprojects/poly2tri-c/poly2tri-c/p2t/sweep/advancing_front.h Examining data/gegl-0.4.26/subprojects/poly2tri-c/poly2tri-c/p2t/sweep/cdt.c Examining data/gegl-0.4.26/subprojects/poly2tri-c/poly2tri-c/p2t/sweep/cdt.h Examining data/gegl-0.4.26/subprojects/poly2tri-c/poly2tri-c/p2t/sweep/sweep.c Examining data/gegl-0.4.26/subprojects/poly2tri-c/poly2tri-c/p2t/sweep/sweep.h Examining data/gegl-0.4.26/subprojects/poly2tri-c/poly2tri-c/p2t/sweep/sweep_context.c Examining data/gegl-0.4.26/subprojects/poly2tri-c/poly2tri-c/p2t/sweep/sweep_context.h Examining data/gegl-0.4.26/subprojects/poly2tri-c/poly2tri-c/refine/bounded-line.c Examining data/gegl-0.4.26/subprojects/poly2tri-c/poly2tri-c/refine/bounded-line.h Examining data/gegl-0.4.26/subprojects/poly2tri-c/poly2tri-c/refine/cdt-flipfix.c Examining data/gegl-0.4.26/subprojects/poly2tri-c/poly2tri-c/refine/cdt-flipfix.h Examining data/gegl-0.4.26/subprojects/poly2tri-c/poly2tri-c/refine/cdt.c Examining data/gegl-0.4.26/subprojects/poly2tri-c/poly2tri-c/refine/cdt.h Examining data/gegl-0.4.26/subprojects/poly2tri-c/poly2tri-c/refine/circle.c Examining data/gegl-0.4.26/subprojects/poly2tri-c/poly2tri-c/refine/circle.h Examining data/gegl-0.4.26/subprojects/poly2tri-c/poly2tri-c/refine/cluster.c Examining data/gegl-0.4.26/subprojects/poly2tri-c/poly2tri-c/refine/cluster.h Examining data/gegl-0.4.26/subprojects/poly2tri-c/poly2tri-c/refine/delaunay-terminator.c Examining data/gegl-0.4.26/subprojects/poly2tri-c/poly2tri-c/refine/delaunay-terminator.h Examining data/gegl-0.4.26/subprojects/poly2tri-c/poly2tri-c/refine/edge.c Examining data/gegl-0.4.26/subprojects/poly2tri-c/poly2tri-c/refine/edge.h Examining data/gegl-0.4.26/subprojects/poly2tri-c/poly2tri-c/refine/line.c Examining data/gegl-0.4.26/subprojects/poly2tri-c/poly2tri-c/refine/line.h Examining data/gegl-0.4.26/subprojects/poly2tri-c/poly2tri-c/refine/mesh-action.c Examining data/gegl-0.4.26/subprojects/poly2tri-c/poly2tri-c/refine/mesh-action.h Examining data/gegl-0.4.26/subprojects/poly2tri-c/poly2tri-c/refine/mesh.c Examining data/gegl-0.4.26/subprojects/poly2tri-c/poly2tri-c/refine/mesh.h Examining data/gegl-0.4.26/subprojects/poly2tri-c/poly2tri-c/refine/point.c Examining data/gegl-0.4.26/subprojects/poly2tri-c/poly2tri-c/refine/point.h Examining data/gegl-0.4.26/subprojects/poly2tri-c/poly2tri-c/refine/pslg.c Examining data/gegl-0.4.26/subprojects/poly2tri-c/poly2tri-c/refine/pslg.h Examining data/gegl-0.4.26/subprojects/poly2tri-c/poly2tri-c/refine/refine.h Examining data/gegl-0.4.26/subprojects/poly2tri-c/poly2tri-c/refine/refiner.c Examining data/gegl-0.4.26/subprojects/poly2tri-c/poly2tri-c/refine/refiner.h Examining data/gegl-0.4.26/subprojects/poly2tri-c/poly2tri-c/refine/rmath.c Examining data/gegl-0.4.26/subprojects/poly2tri-c/poly2tri-c/refine/rmath.h Examining data/gegl-0.4.26/subprojects/poly2tri-c/poly2tri-c/refine/triangle.c Examining data/gegl-0.4.26/subprojects/poly2tri-c/poly2tri-c/refine/triangle.h Examining data/gegl-0.4.26/subprojects/poly2tri-c/poly2tri-c/refine/triangulation.h Examining data/gegl-0.4.26/subprojects/poly2tri-c/poly2tri-c/refine/utils.c Examining data/gegl-0.4.26/subprojects/poly2tri-c/poly2tri-c/refine/utils.h Examining data/gegl-0.4.26/subprojects/poly2tri-c/poly2tri-c/refine/vector2.c Examining data/gegl-0.4.26/subprojects/poly2tri-c/poly2tri-c/refine/vector2.h Examining data/gegl-0.4.26/subprojects/poly2tri-c/poly2tri-c/refine/vedge.c Examining data/gegl-0.4.26/subprojects/poly2tri-c/poly2tri-c/refine/vedge.h Examining data/gegl-0.4.26/subprojects/poly2tri-c/poly2tri-c/refine/visibility.c Examining data/gegl-0.4.26/subprojects/poly2tri-c/poly2tri-c/refine/visibility.h Examining data/gegl-0.4.26/subprojects/poly2tri-c/poly2tri-c/refine/vtriangle.c Examining data/gegl-0.4.26/subprojects/poly2tri-c/poly2tri-c/refine/vtriangle.h Examining data/gegl-0.4.26/subprojects/poly2tri-c/poly2tri-c/render/mesh-render.c Examining data/gegl-0.4.26/subprojects/poly2tri-c/poly2tri-c/render/mesh-render.h Examining data/gegl-0.4.26/subprojects/poly2tri-c/poly2tri-c/render/svg-plot.c Examining data/gegl-0.4.26/subprojects/poly2tri-c/poly2tri-c/render/svg-plot.h Examining data/gegl-0.4.26/tests/buffer/buffer-test-wrapper.c Examining data/gegl-0.4.26/tests/buffer/buffer-test.c Examining data/gegl-0.4.26/tests/buffer/tests/blank.c Examining data/gegl-0.4.26/tests/buffer/tests/buffer_copy.c Examining data/gegl-0.4.26/tests/buffer/tests/buffer_copy_abyss.c Examining data/gegl-0.4.26/tests/buffer/tests/buffer_copy_lower_left.c Examining data/gegl-0.4.26/tests/buffer/tests/buffer_copy_lower_right.c Examining data/gegl-0.4.26/tests/buffer/tests/buffer_copy_self.c Examining data/gegl-0.4.26/tests/buffer/tests/buffer_copy_upper_left.c Examining data/gegl-0.4.26/tests/buffer/tests/buffer_copy_upper_right.c Examining data/gegl-0.4.26/tests/buffer/tests/buffer_dup_copy1.c Examining data/gegl-0.4.26/tests/buffer/tests/buffer_dup_copy2.c Examining data/gegl-0.4.26/tests/buffer/tests/buffer_dup_delete1.c Examining data/gegl-0.4.26/tests/buffer/tests/buffer_dup_delete2.c Examining data/gegl-0.4.26/tests/buffer/tests/buffer_dup_write1.c Examining data/gegl-0.4.26/tests/buffer/tests/buffer_dup_write2.c Examining data/gegl-0.4.26/tests/buffer/tests/buffer_dup_write3.c Examining data/gegl-0.4.26/tests/buffer/tests/buffer_dup_write4.c Examining data/gegl-0.4.26/tests/buffer/tests/buffer_iterator1.c Examining data/gegl-0.4.26/tests/buffer/tests/buffer_iterator1sub.c Examining data/gegl-0.4.26/tests/buffer/tests/buffer_iterator2.c Examining data/gegl-0.4.26/tests/buffer/tests/buffer_iterator2sub.c Examining data/gegl-0.4.26/tests/buffer/tests/buffer_iterator3.c Examining data/gegl-0.4.26/tests/buffer/tests/buffer_iterator3sub.c Examining data/gegl-0.4.26/tests/buffer/tests/buffer_iterator4.c Examining data/gegl-0.4.26/tests/buffer/tests/buffer_iterator4sub.c Examining data/gegl-0.4.26/tests/buffer/tests/buffer_linear_copy.c Examining data/gegl-0.4.26/tests/buffer/tests/buffer_linear_iter.c Examining data/gegl-0.4.26/tests/buffer/tests/buffer_linear_iter2.c Examining data/gegl-0.4.26/tests/buffer/tests/buffer_multcopy.c Examining data/gegl-0.4.26/tests/buffer/tests/buffer_set_pattern.c Examining data/gegl-0.4.26/tests/buffer/tests/buffer_shift_diagonal.c Examining data/gegl-0.4.26/tests/buffer/tests/buffer_shift_horizontal.c Examining data/gegl-0.4.26/tests/buffer/tests/buffer_shift_vertical.c Examining data/gegl-0.4.26/tests/buffer/tests/checks.c Examining data/gegl-0.4.26/tests/buffer/tests/disabled_abyss.c Examining data/gegl-0.4.26/tests/buffer/tests/dup_linear_from_data.c Examining data/gegl-0.4.26/tests/buffer/tests/get_abyss_black.c Examining data/gegl-0.4.26/tests/buffer/tests/get_abyss_clamp.c Examining data/gegl-0.4.26/tests/buffer/tests/get_abyss_empty_buffer.c Examining data/gegl-0.4.26/tests/buffer/tests/get_abyss_loop.c Examining data/gegl-0.4.26/tests/buffer/tests/get_abyss_none.c Examining data/gegl-0.4.26/tests/buffer/tests/get_abyss_white.c Examining data/gegl-0.4.26/tests/buffer/tests/get_buffer_scaled.c Examining data/gegl-0.4.26/tests/buffer/tests/get_buffer_scaled2.c Examining data/gegl-0.4.26/tests/buffer/tests/get_shifted.c Examining data/gegl-0.4.26/tests/buffer/tests/gray.c Examining data/gegl-0.4.26/tests/buffer/tests/grow_extent.c Examining data/gegl-0.4.26/tests/buffer/tests/linear_from_data.c Examining data/gegl-0.4.26/tests/buffer/tests/linear_from_data_rows.c Examining data/gegl-0.4.26/tests/buffer/tests/linear_modify.c Examining data/gegl-0.4.26/tests/buffer/tests/linear_new.c Examining data/gegl-0.4.26/tests/buffer/tests/linear_proxy_modify.c Examining data/gegl-0.4.26/tests/buffer/tests/linear_shift.c Examining data/gegl-0.4.26/tests/buffer/tests/mipmap_iterator.c Examining data/gegl-0.4.26/tests/buffer/tests/mipmap_iterator2.c Examining data/gegl-0.4.26/tests/buffer/tests/mipmap_sampler.c Examining data/gegl-0.4.26/tests/buffer/tests/mipmap_set.c Examining data/gegl-0.4.26/tests/buffer/tests/mipmap_set2.c Examining data/gegl-0.4.26/tests/buffer/tests/rect.c Examining data/gegl-0.4.26/tests/buffer/tests/sample.c Examining data/gegl-0.4.26/tests/buffer/tests/save_small_roi.c Examining data/gegl-0.4.26/tests/buffer/tests/sub_rect_fills_and_gets.c Examining data/gegl-0.4.26/tests/buffer/tests/sub_sub_fill.c Examining data/gegl-0.4.26/tests/buffer/tests/sub_sub_fill2.c Examining data/gegl-0.4.26/tests/buffer/tests/vertical_gradient.c Examining data/gegl-0.4.26/tests/simple/test-backend-file.c Examining data/gegl-0.4.26/tests/simple/test-buffer-cast.c Examining data/gegl-0.4.26/tests/simple/test-buffer-changes.c Examining data/gegl-0.4.26/tests/simple/test-buffer-extract.c Examining data/gegl-0.4.26/tests/simple/test-buffer-hot-tile.c Examining data/gegl-0.4.26/tests/simple/test-buffer-iterator-aliasing.c Examining data/gegl-0.4.26/tests/simple/test-buffer-sharing.c Examining data/gegl-0.4.26/tests/simple/test-buffer-tile-voiding.c Examining data/gegl-0.4.26/tests/simple/test-buffer-unaligned-access.c Examining data/gegl-0.4.26/tests/simple/test-change-processor-rect.c Examining data/gegl-0.4.26/tests/simple/test-color-op.c Examining data/gegl-0.4.26/tests/simple/test-compression.c Examining data/gegl-0.4.26/tests/simple/test-convert-format.c Examining data/gegl-0.4.26/tests/simple/test-empty-tile.c Examining data/gegl-0.4.26/tests/simple/test-format-sensing.c Examining data/gegl-0.4.26/tests/simple/test-gegl-color.c Examining data/gegl-0.4.26/tests/simple/test-gegl-rectangle.c Examining data/gegl-0.4.26/tests/simple/test-gegl-tile.c Examining data/gegl-0.4.26/tests/simple/test-image-compare.c Examining data/gegl-0.4.26/tests/simple/test-license-check.c Examining data/gegl-0.4.26/tests/simple/test-misc.c Examining data/gegl-0.4.26/tests/simple/test-node-connections.c Examining data/gegl-0.4.26/tests/simple/test-node-exponential.c Examining data/gegl-0.4.26/tests/simple/test-node-passthrough.c Examining data/gegl-0.4.26/tests/simple/test-node-properties.c Examining data/gegl-0.4.26/tests/simple/test-object-forked.c Examining data/gegl-0.4.26/tests/simple/test-opencl-colors.c Examining data/gegl-0.4.26/tests/simple/test-path.c Examining data/gegl-0.4.26/tests/simple/test-proxynop-processing.c Examining data/gegl-0.4.26/tests/simple/test-scaled-blit.c Examining data/gegl-0.4.26/tests/simple/test-serialize.c Examining data/gegl-0.4.26/tests/simple/test-svg-abyss.c Examining data/gegl-0.4.26/tests/xml/common.c Examining data/gegl-0.4.26/tests/xml/test-load.c Examining data/gegl-0.4.26/tests/xml/test-roundtrip.c Examining data/gegl-0.4.26/tests/xml/test-save.c Examining data/gegl-0.4.26/tools/detect_opencl.c Examining data/gegl-0.4.26/tools/exp_combine.cpp Examining data/gegl-0.4.26/tools/gegl-imgcmp.c Examining data/gegl-0.4.26/tools/gegl-tester.c Examining data/gegl-0.4.26/tools/introspect.c Examining data/gegl-0.4.26/tools/operation_reference.c Examining data/gegl-0.4.26/tools/operations_html.c FINAL RESULTS: data/gegl-0.4.26/bin/argvs.c:35:9: [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. #define printf(foo...) \ data/gegl-0.4.26/bin/argvs.c:324: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 (copy, cmdline); data/gegl-0.4.26/bin/ui-collection.c:439:10: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. access (thumbpath, F_OK) == 0 && //XXX: query image should suffice data/gegl-0.4.26/bin/ui-core.c:353:9: [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. #define printf(foo...) \ data/gegl-0.4.26/bin/ui-core.c:497:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf (command, "mkdir -p %s > /dev/null 2>&1", path); data/gegl-0.4.26/bin/ui-core.c:498:5: [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 (command); data/gegl-0.4.26/bin/ui-core.c:1168: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. if (access (item->thumbpath, F_OK) == -1) data/gegl-0.4.26/bin/ui-core.c:1341:7: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. if (access (argv[1], F_OK) != -1) data/gegl-0.4.26/bin/ui-core.c:1482: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 ("gnome-terminal -e 'vim /home/pippin/src/gegl/bin/lua/'"); data/gegl-0.4.26/bin/ui-core.c:2067:9: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf (buf, "%s='%s'", o->property_focus, o->editing_buf); data/gegl-0.4.26/bin/ui-core.c:2266:3: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf (command, "op=%s", value); data/gegl-0.4.26/bin/ui-core.c:2470: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 (str, new_text); data/gegl-0.4.26/bin/ui-core.c:4090:5: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat (o->commandline, completion); data/gegl-0.4.26/bin/ui-core.c:4091:5: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat (o->commandline, appended); data/gegl-0.4.26/bin/ui-core.c:4102:5: [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 (o->commandline, new_commandline); data/gegl-0.4.26/bin/ui-core.c:4592:10: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat (o->commandline, completion); data/gegl-0.4.26/bin/ui-core.c:4835:7: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf (prefixed_by_gegl, "gegl:%s", fragment); data/gegl-0.4.26/bin/ui-core.c:4945:7: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf (prefixed_by_gegl, "gegl:%s", last); data/gegl-0.4.26/bin/ui-core.c:5014:5: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat (o->commandline, completion); data/gegl-0.4.26/bin/ui-core.c:5022:8: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat (commandline, completion); data/gegl-0.4.26/bin/ui-core.c:5058: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 (o->commandline, event->string); data/gegl-0.4.26/bin/ui-core.c:5496:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf (tmpbuf, "%s-anim", o->property_focus); data/gegl-0.4.26/bin/ui-core.c:6060:7: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. if (access (o->chain_path, F_OK) != -1) data/gegl-0.4.26/bin/ui-core.c:7318:3: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf (tmpbuf, "%s-anim", o->property_focus); data/gegl-0.4.26/bin/ui-core.c:7539:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf (command, "mkdir %s/.discard > /dev/null 2>&1", folder); data/gegl-0.4.26/bin/ui-core.c:7540:5: [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 (command); data/gegl-0.4.26/bin/ui-core.c:7541:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf (command, "mv %s %s/.discard > /dev/null 2>&1", path, folder); data/gegl-0.4.26/bin/ui-core.c:7542:5: [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 (command); data/gegl-0.4.26/bin/ui-core.c:7543:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf (command, "rm %s/.gegl/%s/thumb.jpg > /dev/null 2>&1", folder, basename); data/gegl-0.4.26/bin/ui-core.c:7544:5: [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 (command); data/gegl-0.4.26/bin/ui-core.c:7545:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf (command, "mv %s/.gegl/%s/chain.gegl %s/.discard/%s.gegl > /dev/null 2>&1", folder, basename, folder, basename); data/gegl-0.4.26/bin/ui-core.c:7546:5: [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 (command); data/gegl-0.4.26/bin/ui-core.c:7548:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf (command, "mv %s/.gegl/%s/metadata %s/.discard/%s.meta > /dev/null 2>&1", folder, basename, folder, basename); data/gegl-0.4.26/bin/ui-core.c:7549:5: [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 (command); data/gegl-0.4.26/bin/ui-core.c:7550:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf (command, "rmdir %s/.gegl/%s", folder, basename); data/gegl-0.4.26/bin/ui-core.c:7551:5: [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 (command); data/gegl-0.4.26/bin/ui-core.c:7592: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. if (access (rp, F_OK) == 0) data/gegl-0.4.26/bin/ui-core.c:9223:9: [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 (pasp_data, key); data/gegl-0.4.26/bin/ui-core.c:9287:11: [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 (pasp[count++], item->attribute[ano]); data/gegl-0.4.26/bin/ui-viewer.c:289:10: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. access (thumbpath, F_OK) == 0 && data/gegl-0.4.26/bin/ui-viewer.c:312:14: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. if (access (thumbpath, F_OK) != 0) // only queue if does not exist, data/gegl-0.4.26/bin/ui-viewer.c:336:10: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. access (thumbpath, F_OK) == 0 && data/gegl-0.4.26/bin/ui-viewer.c:359:14: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. if (access (thumbpath, F_OK) != 0) // only queue if does not exist, data/gegl-0.4.26/gegl/gegl-dot.c:350:7: [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. if (system (dot_cmd) == -1) data/gegl-0.4.26/gegl/gegl-serialize.c:124:9: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf (tmpbuf, "%s-anim", property_name); data/gegl-0.4.26/gegl/gegl-serialize.c:276:19: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf (tmpbuf, "%s-rel", prop); data/gegl-0.4.26/gegl/gegl-serialize.c:312:15: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf (tmpbuf, "%s-anim", prop); data/gegl-0.4.26/gegl/gegl-serialize.c:467:29: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf (tmpbuf, "%s-anim", key); data/gegl-0.4.26/gegl/gegl-serialize.c:589:29: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf (tmpbuf, "%s-rel", key); data/gegl-0.4.26/gegl/gegl-serialize.c:978:17: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf (tmpbuf, "%s-anim", property_name); data/gegl-0.4.26/gegl/gegl-serialize.c:980:17: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf (tmpbuf, "%s-rel", property_name); data/gegl-0.4.26/gegl/graph/gegl-node.c:1992:13: [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 (pasp[i], pad_name); data/gegl-0.4.26/gegl/operation/gegl-operations.c:346:7: [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 (pasp[i], name); data/gegl-0.4.26/operations/common/introspect.c:62:7: [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. if (system (dot_cmd) == -1) data/gegl-0.4.26/operations/common/magick-load.c:55:11: [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. if (system (cmd) == -1) data/gegl-0.4.26/operations/workshop/rawbayer-load.c:56:13: [4] (shell) popen: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. pfp = popen (command, PIPE_MODE); data/gegl-0.4.26/subprojects/libnsgif/log.h:18:23: [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 LOG(x) do { fprintf(stderr, x), fputc('\n', stderr); } while (0) data/gegl-0.4.26/tests/buffer/buffer-test-wrapper.c:362:11: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf (output_file, "output/%s.buf", test_name); data/gegl-0.4.26/tests/buffer/buffer-test.c:356:11: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf (output_file, "output/%s.buf", test_names[i]); data/gegl-0.4.26/tests/simple/test-buffer-hot-tile.c:74: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 (#test "..."); \ data/gegl-0.4.26/tests/simple/test-buffer-unaligned-access.c:173: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 (#test " (" #__VA_ARGS__ ")..."); \ data/gegl-0.4.26/tools/gegl-imgcmp.c:85:7: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. if( access( argv[1], F_OK ) != 0 ) { data/gegl-0.4.26/tools/gegl-imgcmp.c:98:7: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. if( access( argv[2], F_OK ) != 0 ) { data/gegl-0.4.26/bin/gegl.c:42:9: [3] (buffer) realpath: This function does not protect against buffer overflows, and some implementations can overflow internally (CWE-120/CWE-785!). Ensure that the destination buffer is at least of size MAXPATHLEN, andto protect against implementation problems, the input argument should also be checked to ensure it is no larger than MAXPATHLEN. #define realpath(a,b) _fullpath(b,a,_MAX_PATH) data/gegl-0.4.26/bin/gegl.c:150:25: [3] (buffer) realpath: This function does not protect against buffer overflows, and some implementations can overflow internally (CWE-120/CWE-785!). Ensure that the destination buffer is at least of size MAXPATHLEN, andto protect against implementation problems, the input argument should also be checked to ensure it is no larger than MAXPATHLEN. gchar *tmp2 = realpath (tmp, NULL); data/gegl-0.4.26/bin/ui-core.c:1319:27: [3] (buffer) realpath: This function does not protect against buffer overflows, and some implementations can overflow internally (CWE-120/CWE-785!). Ensure that the destination buffer is at least of size MAXPATHLEN, andto protect against implementation problems, the input argument should also be checked to ensure it is no larger than MAXPATHLEN. char *tmp = g_strdup (realpath (argv[0], NULL)); data/gegl-0.4.26/bin/ui-core.c:1342:15: [3] (buffer) realpath: This function does not protect against buffer overflows, and some implementations can overflow internally (CWE-120/CWE-785!). Ensure that the destination buffer is at least of size MAXPATHLEN, andto protect against implementation problems, the input argument should also be checked to ensure it is no larger than MAXPATHLEN. o->path = realpath (argv[1], NULL); data/gegl-0.4.26/bin/ui-core.c:1345:27: [3] (buffer) g_get_home_dir: This function is synonymous with 'getenv("HOME")';it returns untrustable input if the environment can beset by an attacker. It can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. o->path = g_strdup (g_get_home_dir ()); data/gegl-0.4.26/bin/ui-core.c:4409:29: [3] (buffer) realpath: This function does not protect against buffer overflows, and some implementations can overflow internally (CWE-120/CWE-785!). Ensure that the destination buffer is at least of size MAXPATHLEN, andto protect against implementation problems, the input argument should also be checked to ensure it is no larger than MAXPATHLEN. absolute_path = realpath (buf, NULL); data/gegl-0.4.26/bin/ui-core.c:7590:16: [3] (buffer) realpath: This function does not protect against buffer overflows, and some implementations can overflow internally (CWE-120/CWE-785!). Ensure that the destination buffer is at least of size MAXPATHLEN, andto protect against implementation problems, the input argument should also be checked to ensure it is no larger than MAXPATHLEN. char *rp = realpath (new_path, NULL); data/gegl-0.4.26/gegl/gegl-dot.c:345:36: [3] (buffer) g_get_tmp_dir: This function is synonymous with 'getenv("TMP")';it returns untrustable input if the environment can beset by an attacker. It can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. dot_filename = g_build_filename (g_get_tmp_dir (), "gegl-dot.dot", NULL); data/gegl-0.4.26/gegl/gegl-random.c:113:31: [3] (random) g_rand_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. gegl_random_data[i] = g_rand_int (gr); data/gegl-0.4.26/gegl/gegl-random.c:141:24: [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. guint seed = (guint) g_random_int(); data/gegl-0.4.26/gegl/gegl-serialize.c:31:9: [3] (buffer) realpath: This function does not protect against buffer overflows, and some implementations can overflow internally (CWE-120/CWE-785!). Ensure that the destination buffer is at least of size MAXPATHLEN, andto protect against implementation problems, the input argument should also be checked to ensure it is no larger than MAXPATHLEN. #define realpath(a,b) _fullpath(b,a,_MAX_PATH) data/gegl-0.4.26/gegl/gegl-serialize.c:683:45: [3] (buffer) realpath: This function does not protect against buffer overflows, and some implementations can overflow internally (CWE-120/CWE-785!). Ensure that the destination buffer is at least of size MAXPATHLEN, andto protect against implementation problems, the input argument should also be checked to ensure it is no larger than MAXPATHLEN. absolute_path = realpath (buf, NULL); data/gegl-0.4.26/gegl/gegl-xml.c:34:9: [3] (buffer) realpath: This function does not protect against buffer overflows, and some implementations can overflow internally (CWE-120/CWE-785!). Ensure that the destination buffer is at least of size MAXPATHLEN, andto protect against implementation problems, the input argument should also be checked to ensure it is no larger than MAXPATHLEN. #define realpath(a, b) _fullpath (b, a, _MAX_PATH) data/gegl-0.4.26/gegl/gegl-xml.c:143:31: [3] (buffer) realpath: This function does not protect against buffer overflows, and some implementations can overflow internally (CWE-120/CWE-785!). Ensure that the destination buffer is at least of size MAXPATHLEN, andto protect against implementation problems, the input argument should also be checked to ensure it is no larger than MAXPATHLEN. absolute_path = realpath (buf, NULL); data/gegl-0.4.26/gegl/gegl-xml.c:623:15: [3] (buffer) realpath: This function does not protect against buffer overflows, and some implementations can overflow internally (CWE-120/CWE-785!). Ensure that the destination buffer is at least of size MAXPATHLEN, andto protect against implementation problems, the input argument should also be checked to ensure it is no larger than MAXPATHLEN. path_root = realpath (dirname, NULL); data/gegl-0.4.26/gegl/module/gegldatafiles.c:97:10: [3] (buffer) g_get_home_dir: This function is synonymous with 'getenv("HOME")';it returns untrustable input if the environment can beset by an attacker. It can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. home = g_get_home_dir (); data/gegl-0.4.26/gegl/opencl/gegl-cl-init.c:470:22: [3] (misc) LoadLibrary: Ensure that the full path to the library is specified, or current directory may be used (CWE-829, CWE-20). Use registry entry or GetWindowsDirectory to find library path, if you aren't already. HINSTANCE module = LoadLibrary ("OpenCL.dll"); data/gegl-0.4.26/operations/common-gpl3+/cubism.c:158:16: [3] (random) g_rand_int_range: 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. index1 = g_rand_int_range (gr, 0, count); data/gegl-0.4.26/operations/common-gpl3+/cubism.c:159:16: [3] (random) g_rand_int_range: 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. index2 = g_rand_int_range (gr, 0, count); data/gegl-0.4.26/operations/common-gpl3+/cubism.c:516:11: [3] (random) g_rand_double_range: 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. - g_rand_double_range (gr, 0, (o->tile_size /2.0)) + result->x; data/gegl-0.4.26/operations/common-gpl3+/cubism.c:519:11: [3] (random) g_rand_double_range: 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. - g_rand_double_range (gr, 0, (o->tile_size /2.0)) + result->y; data/gegl-0.4.26/operations/common-gpl3+/cubism.c:522:17: [3] (random) g_rand_double_range: 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. g_rand_double_range (gr, -o->tile_size / 8.0, o->tile_size / 8.0)) data/gegl-0.4.26/operations/common-gpl3+/cubism.c:526:17: [3] (random) g_rand_double_range: 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. g_rand_double_range (gr, -o->tile_size / 8.0, o->tile_size / 8.0)) data/gegl-0.4.26/operations/common-gpl3+/cubism.c:529:15: [3] (random) g_rand_double_range: 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. theta = g_rand_double_range (gr, 0, 2 * G_PI); data/gegl-0.4.26/operations/common-gpl3+/maze.c:152:37: [3] (random) g_rand_int_range: 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. gint j = directions[g_rand_int_range (gr, 0, n_direction)]; data/gegl-0.4.26/operations/common-gpl3+/maze.c:216:27: [3] (random) g_rand_int_range: 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. gint n = g_rand_int_range (gr, 0, n_direction); data/gegl-0.4.26/operations/common-gpl3+/maze.c:280:17: [3] (random) g_rand_int_range: 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. current = g_rand_int_range (gr, 0, g_slist_length (front_cells)); data/gegl-0.4.26/operations/common-gpl3+/maze.c:430:17: [3] (random) g_rand_int_range: 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. pos = x * 2 * g_rand_int_range (gr, 0, y / 2) + data/gegl-0.4.26/operations/common-gpl3+/maze.c:431:17: [3] (random) g_rand_int_range: 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. 2 * g_rand_int_range (gr, 0, x / 2); data/gegl-0.4.26/operations/common-gpl3+/maze.c:449:17: [3] (random) g_rand_int_range: 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. current = g_rand_int_range (gr, 0, g_slist_length (front_cells)); data/gegl-0.4.26/operations/common-gpl3+/mosaic.c:2220:26: [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. dist -= dist * g_random_double (); data/gegl-0.4.26/operations/common-gpl3+/noise-solid.c:154:11: [3] (random) g_rand_int_range: 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. j = g_rand_int_range (gr, 0, TABLE_SIZE); data/gegl-0.4.26/operations/common-gpl3+/noise-solid.c:155:11: [3] (random) g_rand_int_range: 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. k = g_rand_int_range (gr, 0, TABLE_SIZE); data/gegl-0.4.26/operations/common-gpl3+/noise-solid.c:166:35: [3] (random) g_rand_double_range: 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. params->grad_tab[i].x = g_rand_double_range (gr, -1, 1); data/gegl-0.4.26/operations/common-gpl3+/noise-solid.c:167:35: [3] (random) g_rand_double_range: 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. params->grad_tab[i].y = g_rand_double_range (gr, -1, 1); data/gegl-0.4.26/operations/common-gpl3+/plasma.c:112:24: [3] (random) g_rand_double_range: 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. dest[i] = (gfloat) g_rand_double_range (gr, 0.0, 1.0); data/gegl-0.4.26/operations/common-gpl3+/plasma.c:128:34: [3] (random) g_rand_double_range: 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. tmp = dest[i] + (gfloat) g_rand_double_range (gr, -amount, amount); data/gegl-0.4.26/operations/common-gpl3+/sinus.c:162:24: [3] (random) g_rand_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. params->c11= 0 * g_rand_int (gr); data/gegl-0.4.26/operations/common-gpl3+/sinus.c:163:20: [3] (random) g_rand_double_range: 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. params->c12= g_rand_double_range (gr, -1, 1) * scaley; data/gegl-0.4.26/operations/common-gpl3+/sinus.c:164:20: [3] (random) g_rand_double_range: 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. params->c13= g_rand_double_range (gr, 0, 2 * G_PI); data/gegl-0.4.26/operations/common-gpl3+/sinus.c:165:24: [3] (random) g_rand_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. params->c21= 0 * g_rand_int (gr); data/gegl-0.4.26/operations/common-gpl3+/sinus.c:166:20: [3] (random) g_rand_double_range: 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. params->c22= g_rand_double_range (gr, -1, 1) * scaley; data/gegl-0.4.26/operations/common-gpl3+/sinus.c:167:20: [3] (random) g_rand_double_range: 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. params->c23= g_rand_double_range (gr, 0, 2 * G_PI); data/gegl-0.4.26/operations/common-gpl3+/sinus.c:168:20: [3] (random) g_rand_double_range: 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. params->c31= g_rand_double_range (gr, -1, 1) * scalex; data/gegl-0.4.26/operations/common-gpl3+/sinus.c:169:24: [3] (random) g_rand_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. params->c32= 0 * g_rand_int (gr); data/gegl-0.4.26/operations/common-gpl3+/sinus.c:170:20: [3] (random) g_rand_double_range: 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. params->c33= g_rand_double_range (gr, 0, 2 * G_PI); data/gegl-0.4.26/operations/common-gpl3+/sinus.c:174:20: [3] (random) g_rand_double_range: 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. params->c11= g_rand_double_range (gr, -1, 1) * scalex; data/gegl-0.4.26/operations/common-gpl3+/sinus.c:175:20: [3] (random) g_rand_double_range: 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. params->c12= g_rand_double_range (gr, -1, 1) * scaley; data/gegl-0.4.26/operations/common-gpl3+/sinus.c:176:20: [3] (random) g_rand_double_range: 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. params->c13= g_rand_double_range (gr, 0, 2 * G_PI); data/gegl-0.4.26/operations/common-gpl3+/sinus.c:177:20: [3] (random) g_rand_double_range: 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. params->c21= g_rand_double_range (gr, -1, 1) * scalex; data/gegl-0.4.26/operations/common-gpl3+/sinus.c:178:20: [3] (random) g_rand_double_range: 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. params->c22= g_rand_double_range (gr, -1, 1) * scaley; data/gegl-0.4.26/operations/common-gpl3+/sinus.c:179:20: [3] (random) g_rand_double_range: 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. params->c23= g_rand_double_range (gr, 0, 2 * G_PI); data/gegl-0.4.26/operations/common-gpl3+/sinus.c:180:20: [3] (random) g_rand_double_range: 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. params->c31= g_rand_double_range (gr, -1, 1) * scalex; data/gegl-0.4.26/operations/common-gpl3+/sinus.c:181:20: [3] (random) g_rand_double_range: 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. params->c32= g_rand_double_range (gr, -1, 1) * scaley; data/gegl-0.4.26/operations/common-gpl3+/sinus.c:182:20: [3] (random) g_rand_double_range: 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. params->c33= g_rand_double_range (gr, 0, 2 * G_PI); data/gegl-0.4.26/operations/common-gpl3+/supernova.c:96:12: [3] (random) g_rand_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. sum += g_rand_double (gr); data/gegl-0.4.26/operations/common-gpl3+/supernova.c:124:21: [3] (random) g_rand_double_range: 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. g_rand_double_range (gr, -0.5, 0.5); data/gegl-0.4.26/operations/common/envelopes.h:46:25: [3] (random) g_rand_double_range: 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. radiuses[i] = pow(g_rand_double_range (rand, 0.0, 1.0), rgamma); data/gegl-0.4.26/operations/common/introspect.c:53:36: [3] (buffer) g_get_tmp_dir: This function is synonymous with 'getenv("TMP")';it returns untrustable input if the environment can beset by an attacker. It can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. dot_filename = g_build_filename (g_get_tmp_dir (), "gegl-introspect.dot", NULL); data/gegl-0.4.26/operations/common/introspect.c:54:36: [3] (buffer) g_get_tmp_dir: This function is synonymous with 'getenv("TMP")';it returns untrustable input if the environment can beset by an attacker. It can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. png_filename = g_build_filename (g_get_tmp_dir (), "gegl-introspect.png", NULL); data/gegl-0.4.26/operations/common/magick-load.c:52:36: [3] (buffer) g_get_tmp_dir: This function is synonymous with 'getenv("TMP")';it returns untrustable input if the environment can beset by an attacker. It can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. filename = g_build_filename (g_get_tmp_dir (), "gegl-magick.png", NULL); data/gegl-0.4.26/operations/common/perlin/perlin.c:10:9: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. #define random() g_rand_int (gr) data/gegl-0.4.26/operations/common/perlin/perlin.c:10:18: [3] (random) g_rand_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. #define random() g_rand_int (gr) data/gegl-0.4.26/operations/common/perlin/perlin.c:158:26: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. g1[i] = (double) ((random () % (B + B)) - B) / B; data/gegl-0.4.26/operations/common/perlin/perlin.c:161:31: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. g2[i][j] = (double) ((random () % (B + B)) - B) / B; data/gegl-0.4.26/operations/common/perlin/perlin.c:165:31: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. g3[i][j] = (double) ((random () % (B + B)) - B) / B; data/gegl-0.4.26/operations/common/perlin/perlin.c:172:20: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. p[i] = p[j = random () % B]; data/gegl-0.4.26/operations/core/load.c:24:9: [3] (buffer) realpath: This function does not protect against buffer overflows, and some implementations can overflow internally (CWE-120/CWE-785!). Ensure that the destination buffer is at least of size MAXPATHLEN, andto protect against implementation problems, the input argument should also be checked to ensure it is no larger than MAXPATHLEN. #define realpath(a,b) _fullpath(b,a,_MAX_PATH) data/gegl-0.4.26/operations/core/load.c:127:30: [3] (buffer) realpath: This function does not protect against buffer overflows, and some implementations can overflow internally (CWE-120/CWE-785!). Ensure that the destination buffer is at least of size MAXPATHLEN, andto protect against implementation problems, the input argument should also be checked to ensure it is no larger than MAXPATHLEN. gchar *resolved_path = realpath (path, NULL); data/gegl-0.4.26/operations/external/ff-load.c:24:9: [3] (buffer) realpath: This function does not protect against buffer overflows, and some implementations can overflow internally (CWE-120/CWE-785!). Ensure that the destination buffer is at least of size MAXPATHLEN, andto protect against implementation problems, the input argument should also be checked to ensure it is no larger than MAXPATHLEN. #define realpath(a,b) _fullpath(b,a,_MAX_PATH) data/gegl-0.4.26/operations/external/ff-load.c:424:27: [3] (buffer) realpath: This function does not protect against buffer overflows, and some implementations can overflow internally (CWE-120/CWE-785!). Ensure that the destination buffer is at least of size MAXPATHLEN, andto protect against implementation problems, the input argument should also be checked to ensure it is no larger than MAXPATHLEN. dereferenced_path = realpath (o->path, NULL); data/gegl-0.4.26/operations/workshop/alpha-inpaint.c:835:16: [3] (random) g_random_int_range: 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. int dx = g_random_int_range (-mag, mag); data/gegl-0.4.26/operations/workshop/alpha-inpaint.c:836:16: [3] (random) g_random_int_range: 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. int dy = g_random_int_range (-mag, mag); data/gegl-0.4.26/operations/workshop/alpha-inpaint.c:907:15: [3] (random) g_random_int_range: 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. int i = g_random_int_range (0, length-1); data/gegl-0.4.26/operations/workshop/alpha-inpaint.c:926:10: [3] (random) g_random_int_range: 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. return g_random_int_range (-5, 6); data/gegl-0.4.26/operations/workshop/segment-kmeans.c:151:21: [3] (random) g_rand_int_range: 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. one_pixel.x = g_rand_int_range (prg, 0, width); data/gegl-0.4.26/operations/workshop/segment-kmeans.c:152:21: [3] (random) g_rand_int_range: 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. one_pixel.y = g_rand_int_range (prg, 0, height); data/gegl-0.4.26/perf/test-common.h:122:14: [3] (random) g_random_double_range: 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. buf[i] = g_random_double_range (-0.5, 2.0); data/gegl-0.4.26/tests/buffer/tests/save_small_roi.c:16:28: [3] (buffer) g_get_tmp_dir: This function is synonymous with 'getenv("TMP")';it returns untrustable input if the environment can beset by an attacker. It can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. path = g_build_filename (g_get_tmp_dir (), "gegl-buffer-tmp.gegl", NULL); data/gegl-0.4.26/bin/argvs.c:318:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char *cargv[32]; data/gegl-0.4.26/bin/argvs.c:382: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 prompt[60] = "> "; data/gegl-0.4.26/bin/argvs.c:394:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char commandline[1024]=""; data/gegl-0.4.26/bin/argvs.c:395:13: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). FILE *f = fopen(path, "r"); data/gegl-0.4.26/bin/argvs.c:490:7: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char commandline[1024]; data/gegl-0.4.26/bin/gegl-options.c:100: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). (var)=atoi(*curr);\ data/gegl-0.4.26/bin/ui-core.c:492:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char command[2048]; data/gegl-0.4.26/bin/ui-core.c:1159: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 *argv[THUMB_BATCH_SIZE]={"gegl","--thumbgen", NULL}; data/gegl-0.4.26/bin/ui-core.c:2057:54: [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). gegl_node_set (o->active, o->property_focus, atoi (o->editing_buf), NULL); data/gegl-0.4.26/bin/ui-core.c:2066: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 buf[2048]; data/gegl-0.4.26/bin/ui-core.c:2265:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char command[1024]; data/gegl-0.4.26/bin/ui-core.c:3204:7: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char temp[1024]; data/gegl-0.4.26/bin/ui-core.c:3792:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char style[1024]; data/gegl-0.4.26/bin/ui-core.c:3793:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf (style, "left:%f;top:%f;", x, y); data/gegl-0.4.26/bin/ui-core.c:3936:11: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. const char *pad_names[3]={"input", "aux", "output"}; data/gegl-0.4.26/bin/ui-core.c:4509: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. char temp_op_name[1024]; data/gegl-0.4.26/bin/ui-core.c:4533:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char temp_op_name[1024]; data/gegl-0.4.26/bin/ui-core.c:4834:7: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char prefixed_by_gegl[512]; data/gegl-0.4.26/bin/ui-core.c:4931:7: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char prefixed_by_gegl[512]; data/gegl-0.4.26/bin/ui-core.c:4973:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char common_prefix[512]=""; data/gegl-0.4.26/bin/ui-core.c:5493:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char tmpbuf[1024]; data/gegl-0.4.26/bin/ui-core.c:6047:7: [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 (strstr(o->chain_path, ".xml"), ".gegl"); data/gegl-0.4.26/bin/ui-core.c:6937: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 (&value, (((char *)o) + setting->offset), sizeof (void*)); data/gegl-0.4.26/bin/ui-core.c:6952:52: [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). (*(int*)(((char *)o) + setting->offset)) = atoi (value); data/gegl-0.4.26/bin/ui-core.c:6958: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 ((((char *)o) + setting->offset), g_strdup (value), sizeof (void*)); data/gegl-0.4.26/bin/ui-core.c:7315:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char tmpbuf[1024]; data/gegl-0.4.26/bin/ui-core.c:7484:41: [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). meta_set_key_int (o, path, "stars", atoi(argv[1])); data/gegl-0.4.26/bin/ui-core.c:7537:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char command[4096]; data/gegl-0.4.26/bin/ui-core.c:9361: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). return atoi (value); data/gegl-0.4.26/bin/ui-core.c:9373: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). return atoi (value); data/gegl-0.4.26/bin/ui-core.c:9394:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-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/gegl-0.4.26/bin/ui-core.c:9407:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-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/gegl-0.4.26/bin/ui-core.c:9420:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-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/gegl-0.4.26/bin/ui-core.c:9421: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, "%d", detail); data/gegl-0.4.26/bin/ui.h:38:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char *attribute[INDEX_MAX_ATTRIBUTES]; data/gegl-0.4.26/bin/ui.h:39:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char *detail[INDEX_MAX_ATTRIBUTES]; data/gegl-0.4.26/bin/ui.h:105:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char editing_buf[1024]; data/gegl-0.4.26/bin/ui.h:106:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char commandline[1024]; data/gegl-0.4.26/examples/frame-counter.c:23:23: [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). video_bufsize = atoi(argv[++c]); data/gegl-0.4.26/examples/frame-counter.c:25:28: [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). video_bit_rate_max = atoi(argv[++c]); data/gegl-0.4.26/examples/frame-counter.c:27:28: [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). video_bit_rate_min = atoi(argv[++c]); data/gegl-0.4.26/examples/frame-counter.c:29:24: [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). video_bit_rate = atoi(argv[++c]); data/gegl-0.4.26/examples/frame-counter.c:89:11: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf (string, "#%i\n%1.2f%%", frame, t*100); data/gegl-0.4.26/gegl/buffer/gegl-algorithms.c:1000: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. memcpy (dst, src, bpp); data/gegl-0.4.26/gegl/buffer/gegl-algorithms.c:1331: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. memcpy (&d[0], &s[*(ijj++)], bpp); data/gegl-0.4.26/gegl/buffer/gegl-buffer-access.c:164: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. memcpy (buf, tp, px_size); data/gegl-0.4.26/gegl/buffer/gegl-buffer-access.c:243: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. memcpy (tp, buf, px_size); data/gegl-0.4.26/gegl/buffer/gegl-buffer-access.c:848:27: [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 (tp + lskip_offset, data/gegl-0.4.26/gegl/buffer/gegl-buffer-access.c:1243:26: [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 (bp, tp, pixels * px_size); data/gegl-0.4.26/gegl/buffer/gegl-buffer-access.c:1504: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. memcpy (row_fill_buf, src_pixel, byte_width); data/gegl-0.4.26/gegl/buffer/gegl-buffer-access.c:1568: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. memcpy (row_fill_buf, src_pixel, byte_width); data/gegl-0.4.26/gegl/buffer/gegl-buffer-access.c:2928: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 (dst, src, size); data/gegl-0.4.26/gegl/buffer/gegl-buffer-access.c:2938: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 (dst, src, size); data/gegl-0.4.26/gegl/buffer/gegl-buffer-load.c:176: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 (ret, &block, sizeof (GeglBufferBlock)); data/gegl-0.4.26/gegl/buffer/gegl-buffer-load.c:188: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 (ret, &block, sizeof (GeglBufferBlock)); data/gegl-0.4.26/gegl/buffer/gegl-buffer-save.c:176: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 (header->magic, "GEGL", 4); data/gegl-0.4.26/gegl/buffer/gegl-buffer-save.c:192: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 ((header->description), buf, 64); data/gegl-0.4.26/gegl/buffer/gegl-buffer-swap.c:268:19: [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). pid = atoi (basename + strlen (SWAP_PREFIX)); data/gegl-0.4.26/gegl/buffer/gegl-buffer-swap.c:270:19: [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). pid = atoi (basename); data/gegl-0.4.26/gegl/buffer/gegl-compression-nop.c:58: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 (compressed, data, size); data/gegl-0.4.26/gegl/buffer/gegl-compression-nop.c:78: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, compressed, size); data/gegl-0.4.26/gegl/buffer/gegl-compression-rle.c:549: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 (compressed8, data8 + n * bpp - rem, rem); data/gegl-0.4.26/gegl/buffer/gegl-compression-rle.c:604: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 (data8 + n * bpp - rem, compressed8, rem); data/gegl-0.4.26/gegl/buffer/gegl-memory.c:185: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 (dst, src, block_size); data/gegl-0.4.26/gegl/buffer/gegl-memory.c:193: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. memcpy (dst, src, block_size); data/gegl-0.4.26/gegl/buffer/gegl-memory.c:206: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 (dst, src, remaining_size); data/gegl-0.4.26/gegl/buffer/gegl-tile-alloc.c:321:19: [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). enabled = atoi (g_getenv ("GEGL_TILE_ALLOC")) ? TRUE : FALSE; data/gegl-0.4.26/gegl/buffer/gegl-tile-backend-file-async.c:339: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. memcpy (dest, queued_op->source, to_be_read); data/gegl-0.4.26/gegl/buffer/gegl-tile-backend-file-async.c:398: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. memcpy (params->source, source, length); data/gegl-0.4.26/gegl/buffer/gegl-tile-backend-file-async.c:410: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 (new_source, source, length); data/gegl-0.4.26/gegl/buffer/gegl-tile-backend-file-async.c:541: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 (new_source, &(self->header), 256); data/gegl-0.4.26/gegl/buffer/gegl-tile-backend-file-async.c:594:15: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy (params->source, block, length); data/gegl-0.4.26/gegl/buffer/gegl-tile-backend-file-async.c:613:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy (new_source, block, length); data/gegl-0.4.26/gegl/buffer/gegl-tile.c:156: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 (tile->data, src->data, src->size); data/gegl-0.4.26/gegl/buffer/gegl-tile.c:263: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. memcpy (buf, tile->data, tile->size); data/gegl-0.4.26/gegl/gegl-init.c:306: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). config->chunk_size = atoi(g_getenv("GEGL_CHUNK_SIZE")); data/gegl-0.4.26/gegl/gegl-init.c:313:24: [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). width = height = atoi(str); data/gegl-0.4.26/gegl/gegl-init.c:316:18: [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). height = atoi(str+1); data/gegl-0.4.26/gegl/gegl-init.c:325:23: [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). _gegl_threads = atoi(g_getenv("GEGL_THREADS")); data/gegl-0.4.26/gegl/gegl-init.c:574: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). config->chunk_size = atoi (cmd_gegl_chunk_size); data/gegl-0.4.26/gegl/gegl-init.c:580:24: [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). width = height = atoi(str); data/gegl-0.4.26/gegl/gegl-init.c:583:18: [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). height = atoi(str+1); data/gegl-0.4.26/gegl/gegl-init.c:591:23: [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). _gegl_threads = atoi (cmd_gegl_threads); data/gegl-0.4.26/gegl/gegl-matrix.c:147: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 (dst->coeff [0], src->coeff [0], 3 * sizeof (gdouble)); data/gegl-0.4.26/gegl/gegl-matrix.c:148: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 (dst->coeff [1], src->coeff [1], 3 * sizeof (gdouble)); data/gegl-0.4.26/gegl/gegl-matrix.c:149: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 (dst->coeff [2], src->coeff [2], 3 * sizeof (gdouble)); data/gegl-0.4.26/gegl/gegl-serialize.c:121: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 tmpbuf[1024]; data/gegl-0.4.26/gegl/gegl-serialize.c:230:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char *level_op[10]; data/gegl-0.4.26/gegl/gegl-serialize.c:231:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char *level_pad[10]; data/gegl-0.4.26/gegl/gegl-serialize.c:240:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char *op_args[64]={NULL, }; data/gegl-0.4.26/gegl/gegl-serialize.c:271:19: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char tmpbuf[1024]; data/gegl-0.4.26/gegl/gegl-serialize.c:310:15: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char tmpbuf[1024]; data/gegl-0.4.26/gegl/gegl-serialize.c:465:29: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char tmpbuf[1024]; data/gegl-0.4.26/gegl/gegl-serialize.c:505:33: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char temp[1024]; data/gegl-0.4.26/gegl/gegl-serialize.c:587:29: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char tmpbuf[1024]; data/gegl-0.4.26/gegl/gegl-serialize.c:760:19: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char temp[1024]; data/gegl-0.4.26/gegl/gegl-serialize.c:974: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 tmpbuf[1024]; data/gegl-0.4.26/gegl/gegl-xml.c:160:43: [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). gegl_node_set (new, param_name, atoi (param_value), NULL); data/gegl-0.4.26/gegl/graph/gegl-region-generic.c:614: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 (dstrgn->rects, rgn->rects, rgn->numRects * sizeof (GeglRegionBox)); data/gegl-0.4.26/gegl/opencl/gegl-cl-color.c: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. const char *kernel_names[num_conversions + 1]; data/gegl-0.4.26/gegl/opencl/gegl-cl-init.c:151:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char platform_name [1024]; data/gegl-0.4.26/gegl/opencl/gegl-cl-init.c:152:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char platform_version[1024]; data/gegl-0.4.26/gegl/opencl/gegl-cl-init.c:153:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char platform_ext [1024]; data/gegl-0.4.26/gegl/opencl/gegl-cl-init.c:154:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-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_name [1024]; data/gegl-0.4.26/gegl/operation/gegl-operation-context.c:558: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). init_output = atoi (g_getenv ("GEGL_OPERATION_INIT_OUTPUT")) ? data/gegl-0.4.26/gegl/operation/gegl-operation.c:910:33: [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). dynamic_thread_cost = atoi (g_getenv ("GEGL_DYNAMIC_THREAD_COST")) ? data/gegl-0.4.26/gegl/property-types/gegl-color.c:114: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 (self->priv->pixel, init_color, sizeof (init_color)); data/gegl-0.4.26/gegl/property-types/gegl-color.c:201: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. memcpy (rgba_color, color_names[i].rgba_color, sizeof (color_names[i].rgba_color)); data/gegl-0.4.26/gegl/property-types/gegl-color.c:535: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 (new->priv, color->priv, sizeof (GeglColorPrivate)); data/gegl-0.4.26/gegl/property-types/gegl-path.c:380:15: [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, "%f", iter->d.point[i].y); data/gegl-0.4.26/libs/npd/graphics.c:495: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 (reference_bone->points, current_bone->points, n * sizeof (NPDPoint)); data/gegl-0.4.26/libs/rgbe/rgbe.c:916:39: [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). f = (!strcmp (path, "-") ? stdout : fopen(path, "wb")); data/gegl-0.4.26/operations/common-cxx/distance-transform.cc:209: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. memcpy (&g[1], dest_row, width * sizeof (gfloat)); data/gegl-0.4.26/operations/common-cxx/piecewise-blend.cc:78:7: [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 (aux_name, "aux%d", i); data/gegl-0.4.26/operations/common-cxx/piecewise-blend.cc:79:7: [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 (aux_desc, "Aux %d", i); data/gegl-0.4.26/operations/common-cxx/piecewise-blend.cc:131:7: [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 (aux_name, "aux%d", i); data/gegl-0.4.26/operations/common-cxx/piecewise-blend.cc:151: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). gint i = atoi (input_pad + 3); data/gegl-0.4.26/operations/common-cxx/piecewise-blend.cc:205:7: [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 (aux_name, "aux%d", levels); data/gegl-0.4.26/operations/common-cxx/piecewise-blend.cc:247:11: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf (aux_name, "aux%d", i); data/gegl-0.4.26/operations/common-cxx/variable-blur.c:163:7: [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 (aux_name, "aux%d", i + 1); data/gegl-0.4.26/operations/common-cxx/warp.cc:746: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. memcpy (srcvals, vals, 2 * sizeof (gfloat) * (max_x - min_x + 1)); data/gegl-0.4.26/operations/common-gpl3+/antialias.c:92:23: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. #define PCPY(DST,SRC) memcpy ((DST), (SRC), components * sizeof(gfloat)) data/gegl-0.4.26/operations/common-gpl3+/antialias.c:231:15: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy (&dest[col * components], &rowthis[(col + 1) * components], components * sizeof(gfloat)); data/gegl-0.4.26/operations/common-gpl3+/apply-lens.c:224:21: [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_pixel, in_pixel, sizeof (gfloat) * 4); data/gegl-0.4.26/operations/common-gpl3+/apply-lens.c:226:21: [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_pixel, params->bg_color, sizeof (gfloat) * 4); data/gegl-0.4.26/operations/common-gpl3+/mosaic.c:1956:27: [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 (output_buf + (y * result->width + x) * NB_CPN, data/gegl-0.4.26/operations/common-gpl3+/mosaic.c:2094:27: [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, data/gegl-0.4.26/operations/common-gpl3+/mosaic.c:2114:27: [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 (output_buf + (y * result->width + x) * NB_CPN, data/gegl-0.4.26/operations/common-gpl3+/red-eye-removal.c:94: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_buf, in_buf, sizeof (gfloat) * 4 * n_pixels); data/gegl-0.4.26/operations/common-gpl3+/shadows-highlights-correction.c:129: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 (out_buf, in_buf, sizeof (gfloat) * 4 * n_pixels); data/gegl-0.4.26/operations/common-gpl3+/spiral.c:133: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 (result, color1, 4 * sizeof (gfloat)); data/gegl-0.4.26/operations/common-gpl3+/spiral.c:137: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 (result, color2, 4 * sizeof (gfloat)); data/gegl-0.4.26/operations/common-gpl3+/spiral.c:153: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. memcpy (result, color1, 3 * sizeof (gfloat)); data/gegl-0.4.26/operations/common-gpl3+/value-propagate.c:207: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 (best, pixel, sizeof (gfloat) * 4); data/gegl-0.4.26/operations/common-gpl3+/value-propagate.c:217: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. memcpy (best, neighbors[i], sizeof (gfloat) * 3); data/gegl-0.4.26/operations/common-gpl3+/value-propagate.c:236: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 (best, pixel, sizeof (gfloat) * 4); data/gegl-0.4.26/operations/common-gpl3+/value-propagate.c:246: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. memcpy (best, neighbors[i], sizeof (gfloat) * 3); data/gegl-0.4.26/operations/common-gpl3+/value-propagate.c:269: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 (best, pixel, sizeof (gfloat) * 4); data/gegl-0.4.26/operations/common-gpl3+/value-propagate.c:285: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. memcpy (mp.min, neighbors[i], sizeof (gfloat) * 3); data/gegl-0.4.26/operations/common-gpl3+/value-propagate.c:291: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. memcpy (mp.max, neighbors[i], sizeof (gfloat) * 3); data/gegl-0.4.26/operations/common-gpl3+/value-propagate.c:337: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 (best, pixel, sizeof (gfloat) * 4); data/gegl-0.4.26/operations/common-gpl3+/value-propagate.c:353: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. memcpy (mp.min, neighbors[i], sizeof (gfloat) * 3); data/gegl-0.4.26/operations/common-gpl3+/value-propagate.c:359: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. memcpy (mp.max, neighbors[i], sizeof (gfloat) * 3); data/gegl-0.4.26/operations/common-gpl3+/value-propagate.c:394: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 (best, pixel, sizeof(gfloat) * 4); data/gegl-0.4.26/operations/common-gpl3+/value-propagate.c:403: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. memcpy (best, neighbors[i], sizeof(gfloat) * 3); data/gegl-0.4.26/operations/common-gpl3+/value-propagate.c:421: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 (best, pixel, sizeof (gfloat) * 4); data/gegl-0.4.26/operations/common-gpl3+/value-propagate.c:428: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. memcpy (best, neighbors[i], sizeof (gfloat) * 4); data/gegl-0.4.26/operations/common-gpl3+/value-propagate.c:446: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 (&best, pixel, sizeof (gfloat) * 4); data/gegl-0.4.26/operations/common-gpl3+/value-propagate.c:453: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. memcpy (best, neighbors[i], sizeof (gfloat) * 4); data/gegl-0.4.26/operations/common/checkerboard.c:200: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 (out_pixel, color1, pixel_size); data/gegl-0.4.26/operations/common/checkerboard.c:202: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 (out_pixel, color2, pixel_size); data/gegl-0.4.26/operations/common/exp-combine.c:1029:14: [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 *fd = fopen (path, "w"); data/gegl-0.4.26/operations/common/fattal02.c:136: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 (output, input, size * sizeof (input[0])); data/gegl-0.4.26/operations/common/mantiuk06.c:394: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 (b, a, sizeof (gfloat) * n); data/gegl-0.4.26/operations/common/median-blur.c:494: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. memcpy (&out[i], &in[l], (l_end - l) * sizeof (InputValue)); data/gegl-0.4.26/operations/common/median-blur.c:497: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. memcpy (&out[i], &in[r], (r_end - r) * sizeof (InputValue)); data/gegl-0.4.26/operations/common/spherize.c:289:19: [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_pixel, in_pixel, sizeof (gfloat) * 4); data/gegl-0.4.26/operations/external/exr-load.cpp:319: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 (&pxl[i*nc+1], &tmp[i*2], sizeof(gfloat)*2); data/gegl-0.4.26/operations/external/exr-load.cpp:571:13: [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 (format_string, "RaGaBa"); data/gegl-0.4.26/operations/external/exr-load.cpp:573:13: [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 (format_string, "RGB"); data/gegl-0.4.26/operations/external/exr-load.cpp:587:13: [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 (format_string, "RaGaBa"); data/gegl-0.4.26/operations/external/exr-load.cpp:589:13: [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 (format_string, "RGB"); data/gegl-0.4.26/operations/external/exr-load.cpp:597:13: [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 (format_string, "Ya"); data/gegl-0.4.26/operations/external/exr-load.cpp:616:13: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat (format_string, " u32"); data/gegl-0.4.26/operations/external/exr-load.cpp:620:13: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat (format_string, " half"); data/gegl-0.4.26/operations/external/exr-load.cpp:625:13: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat (format_string, " float"); data/gegl-0.4.26/operations/external/jpg-load.c:484:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char marker_present[MAX_SEQ_NO+1]; /* 1 if marker found */ data/gegl-0.4.26/operations/external/lcms-from-profile.c:192: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. memcpy (gi->items[1].data, gi->items[0].data, bpp * gi->length); data/gegl-0.4.26/operations/external/matting-levin.c:533: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 (&image[offset (0, y, region, components)], data/gegl-0.4.26/operations/external/matting-levin.c:537: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 (&image[offset (0, region->height - y - 1, region, components)], data/gegl-0.4.26/operations/external/matting-levin.c:754: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 (copy, pixels, sizeof (pixels[0]) * data/gegl-0.4.26/operations/external/png-load.c:139: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[hdr_size]; data/gegl-0.4.26/operations/external/png-load.c:177:11: [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 (format_string, "R'G'B'A "); data/gegl-0.4.26/operations/external/png-load.c:179:11: [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 (format_string, "R'G'B' "); data/gegl-0.4.26/operations/external/png-load.c:184:11: [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 (format_string, "Y'A "); data/gegl-0.4.26/operations/external/png-load.c:186:11: [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 (format_string, "Y' "); data/gegl-0.4.26/operations/external/png-load.c:191:11: [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 (format_string, "R'G'B'A "); data/gegl-0.4.26/operations/external/png-load.c:193:11: [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 (format_string, "R'G'B' "); data/gegl-0.4.26/operations/external/png-load.c:202:9: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat (format_string, "u8"); data/gegl-0.4.26/operations/external/png-load.c:206:9: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat (format_string, "u16"); data/gegl-0.4.26/operations/external/png-save.c:156:11: [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 (format_string, "R'G'B'A "); data/gegl-0.4.26/operations/external/png-save.c:161:11: [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 (format_string, "Y'A "); data/gegl-0.4.26/operations/external/png-save.c:167:11: [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 (format_string, "R'G'B' "); data/gegl-0.4.26/operations/external/png-save.c:172:11: [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 (format_string, "Y' "); data/gegl-0.4.26/operations/external/png-save.c:177:5: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat (format_string, "u16"); data/gegl-0.4.26/operations/external/png-save.c:179:5: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat (format_string, "u8"); data/gegl-0.4.26/operations/external/ppm-load.c:98:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer[MAX_CHARS]; data/gegl-0.4.26/operations/external/ppm-save.c:129:43: [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). fp = (!strcmp (o->path, "-") ? stdout : fopen(o->path, "wb") ); data/gegl-0.4.26/operations/external/tiff-load.c:257: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(buffer, p->buffer + p->position, size); data/gegl-0.4.26/operations/external/tiff-load.c:845:21: [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(output_buffer, plane_buffer, plane_bytes_per_pixel); data/gegl-0.4.26/operations/external/tiff-save.c:203: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(p->buffer + p->position, buffer, size); data/gegl-0.4.26/operations/external/v4lutils/v4lutils.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 buf[STRBUF_LENGTH]; data/gegl-0.4.26/operations/external/v4lutils/v4lutils.c:70: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). if((vd->fd = open(name,O_RDWR)) < 0) { data/gegl-0.4.26/operations/workshop/external/v4l2.c:635:13: [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). priv->fd = open(priv->dev_name, O_RDWR /* required */ | O_NONBLOCK, 0); data/gegl-0.4.26/operations/workshop/external/voronoi-diagram.cc:269:17: [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_col + first * bpp, data/gegl-0.4.26/operations/workshop/external/voronoi-diagram.cc:431:21: [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_row + first * bpp, data/gegl-0.4.26/operations/workshop/external/voronoi-diagram.cc:441:21: [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_row + cx * bpp, in_row + mx * bpp, bpp); data/gegl-0.4.26/subprojects/libnsgif/libnsgif.c:1115:36: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. ((unsigned char *) entry)[3] = 0xff; data/gegl-0.4.26/tests/simple/test-buffer-sharing.c:46:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char rgba[4]; data/gegl-0.4.26/tests/simple/test-buffer-sharing.c:56:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char e[4]; data/gegl-0.4.26/tests/simple/test-buffer-sharing.c:57:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char a[4]; data/gegl-0.4.26/tests/simple/test-compression.c:143: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 (compressed + trunc_size, signature, sizeof (signature)); data/gegl-0.4.26/tests/simple/test-image-compare.c:223: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 (test_alpha, reference, NUM_PIXELS * 4 * sizeof (gfloat)); data/gegl-0.4.26/tests/simple/test-image-compare.c:224: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 (test_rgba_r, reference, NUM_PIXELS * 4 * sizeof (gfloat)); data/gegl-0.4.26/tests/simple/test-image-compare.c:225: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 (test_rgba_g, reference, NUM_PIXELS * 4 * sizeof (gfloat)); data/gegl-0.4.26/tests/simple/test-image-compare.c:226: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 (test_rgba_b, reference, NUM_PIXELS * 4 * sizeof (gfloat)); data/gegl-0.4.26/tests/simple/test-image-compare.c:227: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 (test_ok , reference, NUM_PIXELS * 4 * sizeof (gfloat)); data/gegl-0.4.26/tools/gegl-imgcmp.c:152: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. memcpy (debug_path, argv[2], strlen (argv[2])+1); data/gegl-0.4.26/tools/gegl-imgcmp.c:153: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. memcpy (debug_path + strlen(argv[2])-4, "-diff.png", 10); data/gegl-0.4.26/bin/argvs.c:323: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). copy = calloc (strlen (cmdline)+2, 1); data/gegl-0.4.26/bin/argvs.c:403: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). commandline[strlen(commandline)-1]=0; /* remove newline */ data/gegl-0.4.26/bin/argvs.c:424:33: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). return !strncmp (string, buf, strlen (buf)); data/gegl-0.4.26/bin/argvs.c:497: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). commandline[strlen(commandline)-1]=0; /* remove newline */ data/gegl-0.4.26/bin/gegl-options.c:185: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). current_val_len = strlen (token); data/gegl-0.4.26/bin/gegl-options.c:190: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). if (current_val_len + strlen (token) > max_value_length) data/gegl-0.4.26/bin/gegl-options.c:193: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). current_val_len = strlen (token); data/gegl-0.4.26/bin/gegl-options.c:198: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). current_val_len += strlen (token) + 1; data/gegl-0.4.26/bin/ui-core.c:1373:128: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). char *script = g_strdup_printf ("package.path = package.path .. ';%s%sgegl-0.4/lua/?.lua'\n", data_dirs[i], data_dirs[i][strlen(data_dirs[i])-1]=='/'?"":"/"); data/gegl-0.4.26/bin/ui-core.c:3024:37: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). displayed_name = name + strlen ("gegl:"); data/gegl-0.4.26/bin/ui-core.c:4085:49: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). char *appended = g_strdup (&new_commandline[strlen(o->commandline)]); data/gegl-0.4.26/bin/ui-core.c:4093:33: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). mrg_set_cursor_pos (o->mrg, strlen (o->commandline)); data/gegl-0.4.26/bin/ui-core.c:4252:37: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). while (commandline && commandline[strlen(commandline)-1]==' ') data/gegl-0.4.26/bin/ui-core.c:4253: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). commandline[strlen(commandline)-1]='\0'; data/gegl-0.4.26/bin/ui-core.c:4593:8: [1] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant character. strcat (o->commandline, " "); data/gegl-0.4.26/bin/ui-core.c:4594:40: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). mrg_set_cursor_pos (event->mrg, strlen (o->commandline)); data/gegl-0.4.26/bin/ui-core.c:4875:68: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). char *result = g_strdup_printf ("%s ", settings[i].name + strlen (last)); data/gegl-0.4.26/bin/ui-core.c:4905:74: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). char *result = g_strdup_printf ("%s", evalue->value_nick + strlen (value)); data/gegl-0.4.26/bin/ui-core.c:4922:70: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). char *result = g_strdup_printf ("%s=", pspecs[i]->name + strlen (last)); data/gegl-0.4.26/bin/ui-core.c:4941:80: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). completions = g_list_prepend (completions, g_strdup (operations[i] + strlen (last))); data/gegl-0.4.26/bin/ui-core.c:4951:80: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). completions = g_list_prepend (completions, g_strdup (operations[i] + strlen (prefixed_by_gegl))); data/gegl-0.4.26/bin/ui-core.c:4986:13: [1] (buffer) mismatch: 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. while (!mismatch) data/gegl-0.4.26/bin/ui-core.c:4991:36: [1] (buffer) mismatch: 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. for (iter=completions;iter && !mismatch; iter=iter->next) data/gegl-0.4.26/bin/ui-core.c:4997:10: [1] (buffer) mismatch: 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 (!mismatch) data/gegl-0.4.26/bin/ui-core.c:5003:7: [1] (buffer) strncat: Easily used incorrectly (e.g., incorrectly computing the correct maximum size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf, or automatically resizing strings. strncat (o->commandline, completions->data, common_found); data/gegl-0.4.26/bin/ui-core.c:5004:39: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). mrg_set_cursor_pos (event->mrg, strlen (o->commandline)); data/gegl-0.4.26/bin/ui-core.c:5015:37: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). mrg_set_cursor_pos (event->mrg, strlen (o->commandline)); data/gegl-0.4.26/bin/ui-core.c:5023:6: [1] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant character. strcat (commandline, " "); data/gegl-0.4.26/bin/ui-core.c:5025: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). mrg_set_cursor_pos (event->mrg, strlen (commandline)); data/gegl-0.4.26/bin/ui-core.c:5325:16: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (basepath[strlen(basepath)-1]=='/') data/gegl-0.4.26/bin/ui-core.c:7583:17: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (o->path[strlen(o->path)-1]=='/') data/gegl-0.4.26/bin/ui-core.c:7584: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). o->path[strlen(o->path)-1]='\0'; data/gegl-0.4.26/bin/ui-core.c:7597:19: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (o->path[strlen(o->path)-1]=='/') data/gegl-0.4.26/bin/ui-core.c:7598: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). o->path[strlen(o->path)-1]='\0'; data/gegl-0.4.26/bin/ui-core.c:8558:33: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (0==memcmp (line, key, strlen (key)) && data/gegl-0.4.26/bin/ui-core.c:8559:16: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). line[strlen(key)]=='=') data/gegl-0.4.26/bin/ui-core.c:8561: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). char *start = &line[strlen(key)+1]; data/gegl-0.4.26/bin/ui-core.c:8571:35: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). memmove (line, end + 1, strlen (end)); data/gegl-0.4.26/bin/ui-core.c:8611: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). alloc_value = g_malloc (strlen (value) * 2 + 1); data/gegl-0.4.26/bin/ui-core.c:8638:33: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (0==memcmp (line, key, strlen (key)) && data/gegl-0.4.26/bin/ui-core.c:8639:16: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). line[strlen(key)]=='=') data/gegl-0.4.26/bin/ui-core.c:8641: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). char *start = &line[strlen(key)+1]; data/gegl-0.4.26/bin/ui-core.c:8651:35: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). memmove (line, end + 1, strlen (end)); data/gegl-0.4.26/bin/ui-core.c:8855:33: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (0==memcmp (line, key, strlen (key)) && data/gegl-0.4.26/bin/ui-core.c:8856: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). line[strlen(key)]=='=') data/gegl-0.4.26/bin/ui-core.c:8858: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). char *start = &line[strlen(key)+1]; data/gegl-0.4.26/bin/ui-core.c:8868:37: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). memmove (line, end + 1, strlen (end)); data/gegl-0.4.26/bin/ui-core.c:9197: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). tot_len += strlen (key); data/gegl-0.4.26/bin/ui-core.c:9224: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). pasp_data += strlen (key) + 1; data/gegl-0.4.26/bin/ui-core.c:9264:20: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). tot_len += strlen (item->attribute[ano]); data/gegl-0.4.26/bin/ui-core.c:9288: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). pasp_data += strlen (item->attribute[ano]) + 1; data/gegl-0.4.26/gegl/buffer/gegl-buffer-load.c:103:23: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ssize_t sz_read = read(i, ret, sizeof(GeglBufferHeader)); data/gegl-0.4.26/gegl/buffer/gegl-buffer-load.c:145:23: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ssize_t sz_read = read (fd, &block, sizeof (GeglBufferBlock)); data/gegl-0.4.26/gegl/buffer/gegl-buffer-load.c:178:27: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ssize_t sz_read = read (fd, ((gchar*)ret) + sizeof(GeglBufferBlock), data/gegl-0.4.26/gegl/buffer/gegl-buffer-load.c:190:27: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ssize_t sz_read = read (fd, ret + sizeof(GeglBufferBlock), data/gegl-0.4.26/gegl/buffer/gegl-buffer-load.c:323:29: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ssize_t sz_read = read (info->i, data, info->tile_size); data/gegl-0.4.26/gegl/buffer/gegl-buffer-swap.c:209:14: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). while (strlen (dir) > strlen (G_DIR_SEPARATOR_S) && data/gegl-0.4.26/gegl/buffer/gegl-buffer-swap.c:209: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). while (strlen (dir) > strlen (G_DIR_SEPARATOR_S) && data/gegl-0.4.26/gegl/buffer/gegl-buffer-swap.c:212: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). dir[strlen (dir) - strlen (G_DIR_SEPARATOR_S)] = '\0'; data/gegl-0.4.26/gegl/buffer/gegl-buffer-swap.c:212: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). dir[strlen (dir) - strlen (G_DIR_SEPARATOR_S)] = '\0'; data/gegl-0.4.26/gegl/buffer/gegl-buffer-swap.c:268:36: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). pid = atoi (basename + strlen (SWAP_PREFIX)); data/gegl-0.4.26/gegl/buffer/gegl-tile-backend-file-async.c:365:19: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). byte_read = read (self->i, dest + tile_size - to_be_read, to_be_read); data/gegl-0.4.26/gegl/buffer/gegl-tile-backend-swap.c:849:20: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). bytes_read = read (in_fd, data/gegl-0.4.26/gegl/gegl-dot.c:105:27: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (sval && strlen (sval) > 30) data/gegl-0.4.26/gegl/gegl-gio.c:49:32: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). const gint data_prefix_len = strlen("data:"); data/gegl-0.4.26/gegl/gegl-gio.c:90: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). const gint len = strlen(data); data/gegl-0.4.26/gegl/gegl-gio.c:147: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). else if (uri && strlen(uri) > 0) data/gegl-0.4.26/gegl/gegl-gio.c:158:20: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). else if (path && strlen(path) > 0) data/gegl-0.4.26/gegl/gegl-gio.c:207: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). else if (uri && strlen(uri) > 0) data/gegl-0.4.26/gegl/gegl-gio.c:209:20: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). else if (path && strlen(path) > 0) data/gegl-0.4.26/gegl/gegl-serialize.c:493: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). if (strlen (&match[2])) data/gegl-0.4.26/gegl/gegl-xml.c:254:15: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strlen (param_value)) data/gegl-0.4.26/gegl/gegl-xml.c:589:43: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). strlen (xmldata), data/gegl-0.4.26/gegl/gegl-xml.c:833:55: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). !strncmp (ss->path_root, value, strlen (ss->path_root))) data/gegl-0.4.26/gegl/gegl-xml.c:835:78: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). xml_param (ss, indent + 2, properties[i]->name, &value[strlen (ss->path_root) + 1]); data/gegl-0.4.26/gegl/gegl-xml.c:1016:41: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). !strncmp (ss->path_root, src, strlen (ss->path_root))) data/gegl-0.4.26/gegl/gegl-xml.c:1018:62: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). g_string_append_printf (ss->buf, " src='%s'", &src[strlen (ss->path_root) + 1]); data/gegl-0.4.26/gegl/graph/gegl-node.c:1957: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). pasp_size += strlen (gegl_pad_get_name (pad)) + 1; data/gegl-0.4.26/gegl/graph/gegl-node.c:1994: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). pasp_pos += strlen (pad_name) + 1; data/gegl-0.4.26/gegl/module/gegldatafiles.c:62: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). name_len = strlen (filename); data/gegl-0.4.26/gegl/module/gegldatafiles.c:63: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). ext_len = strlen (extension); data/gegl-0.4.26/gegl/module/geglmoduledb.c:154:27: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (! inhibit_list || ! strlen (inhibit_list)) data/gegl-0.4.26/gegl/module/geglmoduledb.c:171: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). end = inhibit_list + strlen (inhibit_list); data/gegl-0.4.26/gegl/module/geglmoduledb.c:173: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). pathlen = strlen (filename); data/gegl-0.4.26/gegl/opencl/gegl-cl-init.c:824:33: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). const size_t lengths[] = {strlen(random_cl_source), strlen(program_source)}; data/gegl-0.4.26/gegl/opencl/gegl-cl-init.c:824:59: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). const size_t lengths[] = {strlen(random_cl_source), strlen(program_source)}; data/gegl-0.4.26/gegl/opencl/gegl-cl-init.c:875:15: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strlen (msg)) data/gegl-0.4.26/gegl/operation/gegl-operation-point-composer.c:82:66: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). data->klass->process (data->operation, data->input?i->items[read].data:NULL, data/gegl-0.4.26/gegl/operation/gegl-operation-point-composer.c:351:70: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). point_composer_class->process (operation, input?i->items[read].data:NULL, data/gegl-0.4.26/gegl/operation/gegl-operation-point-composer3.c:84:49: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). data->input?i->items[read].data:NULL, data/gegl-0.4.26/gegl/operation/gegl-operation-point-composer3.c:275:71: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). point_composer3_class->process (operation, input?i->items[read].data:NULL, data/gegl-0.4.26/gegl/operation/gegl-operation-point-filter.c:71:66: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). data->klass->process (data->operation, data->input?i->items[read].data:NULL, data/gegl-0.4.26/gegl/operation/gegl-operation-point-filter.c:309:68: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). point_filter_class->process (operation, input?i->items[read].data:NULL, data/gegl-0.4.26/gegl/operation/gegl-operations.c:338:20: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). pasp_size += strlen (name) + 1; data/gegl-0.4.26/gegl/operation/gegl-operations.c:347: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). pasp_pos += strlen (name) + 1; data/gegl-0.4.26/gegl/property-types/gegl-color.c:214:37: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). gsize string_length = strlen (color_string); data/gegl-0.4.26/gegl/property-types/gegl-color.c:360:48: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). g_scanner_input_text (scanner, color_string, strlen (color_string)); data/gegl-0.4.26/gegl/property-types/gegl-path.c:369: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). for (eptr = &buf[strlen(buf)-1];eptr != buf && (*eptr=='0');eptr--) data/gegl-0.4.26/gegl/property-types/gegl-path.c:382:32: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). for (eptr = &buf[strlen(buf)-1];eptr != buf && (*eptr=='0');eptr--) data/gegl-0.4.26/libs/rgbe/rgbe.c:234: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). data += strlen ("FORMAT="); data/gegl-0.4.26/libs/rgbe/rgbe.c:259: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). data += strlen ("EXPOSURE="); data/gegl-0.4.26/libs/rgbe/rgbe.c:278: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). data += strlen ("COLORCORR="); data/gegl-0.4.26/libs/rgbe/rgbe.c:301: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). data += strlen ("SOFTWARE="); data/gegl-0.4.26/libs/rgbe/rgbe.c:315:15: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy (file->header.software, data, data/gegl-0.4.26/libs/rgbe/rgbe.c:325:20: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). data += strlen ("PIXASPECT="); data/gegl-0.4.26/libs/rgbe/rgbe.c:341: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). else if (!strncmp (data, "\n", strlen ("\n"))) data/gegl-0.4.26/libs/rgbe/rgbe.c:343: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). data += strlen ("\n"); data/gegl-0.4.26/libs/rgbe/rgbe.c:356: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). data += strlen ("\n"); data/gegl-0.4.26/libs/rgbe/rgbe.c:495: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). MIN (strlen (RADIANCE_MAGIC), data_size))) data/gegl-0.4.26/libs/rgbe/rgbe.c:728:16: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). guint len = strlen (line); data/gegl-0.4.26/libs/rgbe/rgbe.c:758: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). len = strlen (header->software); data/gegl-0.4.26/libs/rgbe/rgbe.c:818: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). const guint res_line_sz = strlen ("\n") data/gegl-0.4.26/libs/rgbe/rgbe.c:819: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). + strlen ("-Y ") * 2 data/gegl-0.4.26/libs/rgbe/rgbe.c:820: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). + strlen (G_STRINGIFY (RGBE_MAX_SCANLINE_WIDTH)) * 2 data/gegl-0.4.26/libs/rgbe/rgbe.c:821: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). + strlen ("\n") data/gegl-0.4.26/operations/common-cxx/lens-blur.cc:292:3: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). read (rect.y, MIN (roi->y + iradius + 1 - rect.y, rect.height)); data/gegl-0.4.26/operations/common-cxx/lens-blur.cc:473:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). read ((y + 1) + iradius, 1); data/gegl-0.4.26/operations/common-gpl3+/edge-laplace.c:378:37: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). err = cl_edge_laplace (i->tex[read], data/gegl-0.4.26/operations/common-gpl3+/edge-laplace.c:381:38: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). &i->roi[read], data/gegl-0.4.26/operations/common-gpl3+/gaussian-blur-selective.c:304:16: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). read : data/gegl-0.4.26/operations/common-gpl3+/gaussian-blur-selective.c:318:39: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). err = cl_gblur_selective(i->tex[read], data/gegl-0.4.26/operations/common-gpl3+/motion-blur-circular.c:234:15: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). gint read; data/gegl-0.4.26/operations/common-gpl3+/motion-blur-circular.c:257:45: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). err = cl_motion_blur_circular (i->tex[read], data/gegl-0.4.26/operations/common-gpl3+/motion-blur-circular.c:259:46: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). &i->roi[read], data/gegl-0.4.26/operations/common-gpl3+/oilify.c:379:30: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). err = cl_oilify(i->tex[read], data/gegl-0.4.26/operations/common/bilateral-filter.c:149:40: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). err = cl_bilateral_filter(i->tex[read], data/gegl-0.4.26/operations/common/box-blur.c:329:33: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). err = cl_box_blur (i->tex[read], data/gegl-0.4.26/operations/common/c2g.c:376:27: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). err = cl_c2g(i->tex[read], data/gegl-0.4.26/operations/common/c2g.c:379:28: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). &i->roi[read], data/gegl-0.4.26/operations/common/copy-buffer.c:105:57: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). i->tex[read], data/gegl-0.4.26/operations/common/gblur-1d.c:874:25: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). gint read; data/gegl-0.4.26/operations/common/gblur-1d.c:909:37: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). err = cl_gaussian_blur(i->tex[read], data/gegl-0.4.26/operations/common/icc-save.c:49: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 (name) > 10) name = "babl/GEGL"; data/gegl-0.4.26/operations/common/motion-blur-linear.c:156:15: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). gint read; data/gegl-0.4.26/operations/common/motion-blur-linear.c:185:43: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). err = cl_motion_blur_linear (i->tex[read], data/gegl-0.4.26/operations/common/motion-blur-linear.c:189:44: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). &i->roi[read], data/gegl-0.4.26/operations/common/noise-reduction.c:301:40: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). err = cl_noise_reduction (i->tex[read], data/gegl-0.4.26/operations/common/noise-reduction.c:305:41: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). &i->roi[read], data/gegl-0.4.26/operations/common/pixelize.c:565:32: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). err = cl_pixelize(i->tex[read], data/gegl-0.4.26/operations/common/pixelize.c:568:33: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). &i->roi[read], data/gegl-0.4.26/operations/common/snn-mean.c:326:32: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). err = cl_snn_mean(i->tex[read], data/gegl-0.4.26/operations/common/snn-mean.c:328:33: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). &i->roi[read], data/gegl-0.4.26/operations/common/stretch-contrast.c:364:13: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). gint read, c; data/gegl-0.4.26/operations/common/stretch-contrast.c:447:41: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). err = cl_stretch_contrast (i->tex[read], data/gegl-0.4.26/operations/common/write-buffer.c:106:57: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). i->tex[read], data/gegl-0.4.26/operations/core/json.c:90: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). for (int i=0; i<strlen(str); i++) { data/gegl-0.4.26/operations/core/load.c:68:33: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). gsize *read, data/gegl-0.4.26/operations/core/load.c:78:58: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). return g_input_stream_read_all (stream, *buffer, size, read, NULL, error); data/gegl-0.4.26/operations/core/load.c:95: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). if (uri != NULL && strlen (uri) > 0) data/gegl-0.4.26/operations/core/load.c:125: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). else if (path != NULL && strlen (path) > 0) data/gegl-0.4.26/operations/external/exr-load.cpp:599:13: [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 (format_string, "Y"); data/gegl-0.4.26/operations/external/exr-load.cpp:610:9: [1] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant character. strcat (format_string, "A"); data/gegl-0.4.26/operations/external/jp2-load.c:86:11: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if (read < 0) data/gegl-0.4.26/operations/external/jp2-load.c:92:16: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). else if (read > 0) data/gegl-0.4.26/operations/external/jp2-load.c:93:42: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). jas_stream_write(jasper, buffer, read); data/gegl-0.4.26/operations/external/jp2-load.c:97:10: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). while (read != 0); data/gegl-0.4.26/operations/external/jp2-load.c:99:10: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). return read; data/gegl-0.4.26/operations/external/jp2-load.c:238:21: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (o->uri && strlen(o->uri) > 0) data/gegl-0.4.26/operations/external/jp2-load.c:240: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). else if (o->path && strlen(o->path) > 0) data/gegl-0.4.26/operations/external/jp2-load.c:276:33: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (o->uri != NULL && strlen(o->uri) > 0) data/gegl-0.4.26/operations/external/npy-save.c:92:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). length = strlen (header); data/gegl-0.4.26/operations/external/png-save.c:235:15: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strlen (name) > 10) name = "GEGL"; data/gegl-0.4.26/operations/external/png-save.c:284:34: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). text.itxt_length = strlen (text.text); data/gegl-0.4.26/operations/external/ppm-load.c:73:13: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if (read <= 0) data/gegl-0.4.26/operations/external/ppm-load.c:75:20: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). return read; // error or EOS data/gegl-0.4.26/operations/external/ppm-load.c:107:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if (read <= 0) data/gegl-0.4.26/operations/external/svg-load.c:146:21: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (o->uri && strlen (o->uri) > 0) data/gegl-0.4.26/operations/external/svg-load.c:148: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). else if (o->path && strlen (o->path) > 0) data/gegl-0.4.26/operations/external/svg-load.c:239:31: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (o->uri != NULL && strlen(o->uri) > 0) data/gegl-0.4.26/operations/external/tiff-load.c:209:11: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if (read < 0 && error) data/gegl-0.4.26/operations/external/tiff-load.c:240:19: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if (read < 0) data/gegl-0.4.26/operations/external/tiff-load.c:250:28: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). p->loaded += read; data/gegl-0.4.26/operations/external/tiff-load.c:251:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). missing -= read; data/gegl-0.4.26/operations/external/tiff-load.c:262:20: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). return (tsize_t) read; data/gegl-0.4.26/operations/external/tiff-load.c:876:21: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (o->uri && strlen(o->uri) > 0) data/gegl-0.4.26/operations/external/tiff-load.c:878: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). else if (o->path && strlen(o->path) > 0) data/gegl-0.4.26/operations/external/tiff-load.c:915:33: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (o->uri != NULL && strlen(o->uri) > 0) data/gegl-0.4.26/operations/external/webp-load.c:91:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). gsize read; data/gegl-0.4.26/operations/external/webp-load.c:98:63: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). (void *) *buffer, size, &read, data/gegl-0.4.26/operations/external/webp-load.c:107:10: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). return read; data/gegl-0.4.26/operations/external/webp-load.c:117:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). gsize read, total = 0; data/gegl-0.4.26/operations/external/webp-load.c:128:66: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). (void *) buffer, size, &read, data/gegl-0.4.26/operations/external/webp-load.c:136:16: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). else if (read > 0) data/gegl-0.4.26/operations/external/webp-load.c:138:20: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). total += read; data/gegl-0.4.26/operations/external/webp-load.c:140:50: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). status = WebPIAppend (decoder, buffer, read); data/gegl-0.4.26/operations/external/webp-load.c:147:21: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). while (success && read > 0); data/gegl-0.4.26/operations/external/webp-load.c:185:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). gsize read; data/gegl-0.4.26/operations/external/webp-load.c:191:21: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (o->uri && strlen (o->uri) > 0) data/gegl-0.4.26/operations/external/webp-load.c:193: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). else if (o->path && strlen (o->path) > 0) data/gegl-0.4.26/operations/external/webp-load.c:232:36: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if (WebPGetFeatures (buffer, read, &p->config->input) != VP8_STATUS_OK) data/gegl-0.4.26/operations/external/webp-load.c:248:41: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). WebPIAppend (p->decoder, buffer, read); data/gegl-0.4.26/operations/workshop/bilateral-filter-fast.c:465:35: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). err = cl_bilateral (i->tex[read], data/gegl-0.4.26/operations/workshop/bilateral-filter-fast.c:468:36: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). &i->roi[read], data/gegl-0.4.26/operations/workshop/boxblur-1d.c:115:25: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). gint read; data/gegl-0.4.26/operations/workshop/boxblur-1d.c:146:31: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). err = cl_boxblur(i->tex[read], data/gegl-0.4.26/operations/workshop/external/v4l2.c:146:13: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if (-1 == read(p->fd, p->buffers[0].start, p->buffers[0].length)) { data/gegl-0.4.26/tests/simple/test-buffer-changes.c:42:10: [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 (!equal) { data/gegl-0.4.26/tests/simple/test-buffer-changes.c:47: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. return equal; data/gegl-0.4.26/tests/simple/test-buffer-sharing.c:67:10: [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 (!equal) { data/gegl-0.4.26/tests/xml/common.c:34: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/gegl-0.4.26/tests/xml/common.c:40:10: [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 (!equal) { data/gegl-0.4.26/tests/xml/common.c:43:14: [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_assert(equal); data/gegl-0.4.26/tools/exp_combine.cpp:117:33: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). gchar combiner_pad[strlen (COMBINER_INPUT_PREFIX) + data/gegl-0.4.26/tools/gegl-imgcmp.c:150:41: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). gchar *debug_path = g_malloc (strlen (argv[2])+16); data/gegl-0.4.26/tools/gegl-imgcmp.c:152:40: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). memcpy (debug_path, argv[2], strlen (argv[2])+1); data/gegl-0.4.26/tools/gegl-imgcmp.c:153:32: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). memcpy (debug_path + strlen(argv[2])-4, "-diff.png", 10); data/gegl-0.4.26/tools/operation_reference.c:437:15: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strlen(output)) data/gegl-0.4.26/tools/operation_reference.c:439: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). output[strlen(output)-1] = 0; data/gegl-0.4.26/tools/operations_html.c:492:15: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strlen(output)) data/gegl-0.4.26/tools/operations_html.c:494: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). output[strlen(output)-1] = 0; ANALYSIS SUMMARY: Hits = 561 Lines analyzed = 216136 in approximately 5.11 seconds (42317 lines/second) Physical Source Lines of Code (SLOC) = 153533 Hits@level = [0] 381 [1] 210 [2] 209 [3] 79 [4] 63 [5] 0 Hits@level+ = [0+] 942 [1+] 561 [2+] 351 [3+] 142 [4+] 63 [5+] 0 Hits/KSLOC@level+ = [0+] 6.13549 [1+] 3.65394 [2+] 2.28615 [3+] 0.924883 [4+] 0.410335 [5+] 0 Dot directories skipped = 1 (--followdotdir overrides) Minimum risk level = 1 Not every hit is necessarily a security vulnerability. There may be other security vulnerabilities; review your code! See 'Secure Programming HOWTO' (https://dwheeler.com/secure-programs) for more information.