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/mandelbulber2-2.20/mandelbulber2/formula/definition/abstract_fractal.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/formula/definition/abstract_fractal.h
Examining data/mandelbulber2-2.20/mandelbulber2/formula/definition/mandelbulb.h
Examining data/mandelbulber2-2.20/mandelbulber2/formula/definition/xenodreambuie.h
Examining data/mandelbulber2-2.20/mandelbulber2/opencl/cl_kernel_include_headers.h
Examining data/mandelbulber2-2.20/mandelbulber2/opencl/common_params_cl.hpp
Examining data/mandelbulber2-2.20/mandelbulber2/opencl/defines_cl.h
Examining data/mandelbulber2-2.20/mandelbulber2/opencl/dof_cl.h
Examining data/mandelbulber2-2.20/mandelbulber2/opencl/fractal_cl.h
Examining data/mandelbulber2-2.20/mandelbulber2/opencl/fractal_coloring_cl.hpp
Examining data/mandelbulber2-2.20/mandelbulber2/opencl/fractal_sequence_cl.h
Examining data/mandelbulber2-2.20/mandelbulber2/opencl/fractparams_cl.hpp
Examining data/mandelbulber2-2.20/mandelbulber2/opencl/image_adjustments_cl.h
Examining data/mandelbulber2-2.20/mandelbulber2/opencl/input_data_structures.h
Examining data/mandelbulber2-2.20/mandelbulber2/opencl/material_cl.h
Examining data/mandelbulber2-2.20/mandelbulber2/opencl/mesh_export_data_cl.h
Examining data/mandelbulber2-2.20/mandelbulber2/opencl/object_data_cl.h
Examining data/mandelbulber2-2.20/mandelbulber2/opencl/object_type_cl.h
Examining data/mandelbulber2-2.20/mandelbulber2/opencl/opencl_algebra.h
Examining data/mandelbulber2-2.20/mandelbulber2/opencl/opencl_typedefs.h
Examining data/mandelbulber2-2.20/mandelbulber2/opencl/primitives_cl.h
Examining data/mandelbulber2-2.20/mandelbulber2/opencl/render_data_cl.h
Examining data/mandelbulber2-2.20/mandelbulber2/opencl/shader_input_data_cl.h
Examining data/mandelbulber2-2.20/mandelbulber2/opencl/ssao_cl.h
Examining data/mandelbulber2-2.20/mandelbulber2/opencl/texture_enums_cl.h
Examining data/mandelbulber2-2.20/mandelbulber2/qt/anim_audio_view.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/qt/anim_audio_view.h
Examining data/mandelbulber2-2.20/mandelbulber2/qt/audio_selector.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/qt/audio_selector.h
Examining data/mandelbulber2-2.20/mandelbulber2/qt/buton_load_settings_from_widget.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/qt/buton_load_settings_from_widget.h
Examining data/mandelbulber2-2.20/mandelbulber2/qt/buton_reset_settings_from_widget.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/qt/buton_reset_settings_from_widget.h
Examining data/mandelbulber2-2.20/mandelbulber2/qt/buton_save_settings_from_widget.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/qt/buton_save_settings_from_widget.h
Examining data/mandelbulber2-2.20/mandelbulber2/qt/common_my_widget_wrapper.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/qt/common_my_widget_wrapper.h
Examining data/mandelbulber2-2.20/mandelbulber2/qt/detached_window.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/qt/detached_window.h
Examining data/mandelbulber2-2.20/mandelbulber2/qt/dock_animation.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/qt/dock_animation.h
Examining data/mandelbulber2-2.20/mandelbulber2/qt/dock_effects.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/qt/dock_effects.h
Examining data/mandelbulber2-2.20/mandelbulber2/qt/dock_fractal.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/qt/dock_fractal.h
Examining data/mandelbulber2-2.20/mandelbulber2/qt/dock_gamepad.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/qt/dock_gamepad.h
Examining data/mandelbulber2-2.20/mandelbulber2/qt/dock_image_adjustments.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/qt/dock_image_adjustments.h
Examining data/mandelbulber2-2.20/mandelbulber2/qt/dock_measurements.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/qt/dock_measurements.h
Examining data/mandelbulber2-2.20/mandelbulber2/qt/dock_navigation.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/qt/dock_navigation.h
Examining data/mandelbulber2-2.20/mandelbulber2/qt/dock_queue.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/qt/dock_queue.h
Examining data/mandelbulber2-2.20/mandelbulber2/qt/dock_rendering_engine.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/qt/dock_rendering_engine.h
Examining data/mandelbulber2-2.20/mandelbulber2/qt/dock_statistics.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/qt/dock_statistics.h
Examining data/mandelbulber2-2.20/mandelbulber2/qt/fft_view.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/qt/fft_view.h
Examining data/mandelbulber2-2.20/mandelbulber2/qt/file_select_widget.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/qt/file_select_widget.h
Examining data/mandelbulber2-2.20/mandelbulber2/qt/formula_combo_box.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/qt/formula_combo_box.h
Examining data/mandelbulber2-2.20/mandelbulber2/qt/frame_slider_popup.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/qt/frame_slider_popup.h
Examining data/mandelbulber2-2.20/mandelbulber2/qt/gradient_edit_widget.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/qt/gradient_edit_widget.h
Examining data/mandelbulber2-2.20/mandelbulber2/qt/image_save_dialog.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/qt/image_save_dialog.h
Examining data/mandelbulber2-2.20/mandelbulber2/qt/material_editor.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/qt/material_editor.h
Examining data/mandelbulber2-2.20/mandelbulber2/qt/material_manager_view.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/qt/material_manager_view.h
Examining data/mandelbulber2-2.20/mandelbulber2/qt/material_selector.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/qt/material_selector.h
Examining data/mandelbulber2-2.20/mandelbulber2/qt/material_widget.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/qt/material_widget.h
Examining data/mandelbulber2-2.20/mandelbulber2/qt/mesh_export_dialog.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/qt/mesh_export_dialog.h
Examining data/mandelbulber2-2.20/mandelbulber2/qt/my_check_box.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/qt/my_check_box.h
Examining data/mandelbulber2-2.20/mandelbulber2/qt/my_color_button.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/qt/my_color_button.h
Examining data/mandelbulber2-2.20/mandelbulber2/qt/my_combo_box.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/qt/my_combo_box.h
Examining data/mandelbulber2-2.20/mandelbulber2/qt/my_double_spin_box.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/qt/my_double_spin_box.h
Examining data/mandelbulber2-2.20/mandelbulber2/qt/my_group_box.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/qt/my_group_box.h
Examining data/mandelbulber2-2.20/mandelbulber2/qt/my_histogram_label.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/qt/my_histogram_label.h
Examining data/mandelbulber2-2.20/mandelbulber2/qt/my_line_edit.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/qt/my_line_edit.h
Examining data/mandelbulber2-2.20/mandelbulber2/qt/my_log_widget.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/qt/my_log_widget.h
Examining data/mandelbulber2-2.20/mandelbulber2/qt/my_progress_bar.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/qt/my_progress_bar.h
Examining data/mandelbulber2-2.20/mandelbulber2/qt/my_scrolled_area.h
Examining data/mandelbulber2-2.20/mandelbulber2/qt/my_spin_box.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/qt/my_spin_box.h
Examining data/mandelbulber2-2.20/mandelbulber2/qt/my_tab_bar.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/qt/my_tab_bar.h
Examining data/mandelbulber2-2.20/mandelbulber2/qt/my_tab_widget.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/qt/my_tab_widget.h
Examining data/mandelbulber2-2.20/mandelbulber2/qt/my_table_widget_anim.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/qt/my_table_widget_anim.hpp
Examining data/mandelbulber2-2.20/mandelbulber2/qt/my_table_widget_keyframes.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/qt/my_table_widget_keyframes.hpp
Examining data/mandelbulber2-2.20/mandelbulber2/qt/player_widget.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/qt/player_widget.hpp
Examining data/mandelbulber2-2.20/mandelbulber2/qt/preferences_dialog.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/qt/preferences_dialog.h
Examining data/mandelbulber2-2.20/mandelbulber2/qt/preview_file_dialog.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/qt/preview_file_dialog.h
Examining data/mandelbulber2-2.20/mandelbulber2/qt/pushbutton_anim_sound.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/qt/pushbutton_anim_sound.h
Examining data/mandelbulber2-2.20/mandelbulber2/qt/system_tray.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/qt/system_tray.hpp
Examining data/mandelbulber2-2.20/mandelbulber2/qt/tab_fractal.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/qt/tab_fractal.h
Examining data/mandelbulber2-2.20/mandelbulber2/qt/thumbnail_widget.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/qt/thumbnail_widget.h
Examining data/mandelbulber2-2.20/mandelbulber2/qt/time_ruler.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/qt/time_ruler.h
Examining data/mandelbulber2-2.20/mandelbulber2/qt/voxel_export_dialog.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/qt/voxel_export_dialog.h
Examining data/mandelbulber2-2.20/mandelbulber2/qt/wave_form_view.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/qt/wave_form_view.h
Examining data/mandelbulber2-2.20/mandelbulber2/src/algebra.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/algebra.hpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/animation_flight.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/animation_flight.hpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/animation_frames.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/animation_frames.hpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/animation_keyframes.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/animation_keyframes.hpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/animation_path_data.hpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/ao_modes.h
Examining data/mandelbulber2-2.20/mandelbulber2/src/audio_fft_data.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/audio_fft_data.h
Examining data/mandelbulber2-2.20/mandelbulber2/src/audio_track.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/audio_track.h
Examining data/mandelbulber2-2.20/mandelbulber2/src/audio_track_collection.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/audio_track_collection.h
Examining data/mandelbulber2-2.20/mandelbulber2/src/automated_widgets.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/automated_widgets.hpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/calculate_distance.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/calculate_distance.hpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/calculation_mode.h
Examining data/mandelbulber2-2.20/mandelbulber2/src/camera_movement_modes.h
Examining data/mandelbulber2-2.20/mandelbulber2/src/camera_target.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/camera_target.hpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/cast.hpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/cimage.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/cimage.hpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/color_gradient.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/color_gradient.h
Examining data/mandelbulber2-2.20/mandelbulber2/src/color_structures.hpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/command_line_interface.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/command_line_interface.hpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/common_math.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/common_math.h
Examining data/mandelbulber2-2.20/mandelbulber2/src/common_params.hpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/compute_fractal.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/compute_fractal.hpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/displacement_map.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/displacement_map.hpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/dof.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/dof.hpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/error_message.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/error_message.hpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/file_downloader.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/file_downloader.hpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/file_image.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/file_image.hpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/file_mesh.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/file_mesh.hpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/files.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/files.h
Examining data/mandelbulber2-2.20/mandelbulber2/src/fractal.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/fractal.h
Examining data/mandelbulber2-2.20/mandelbulber2/src/fractal_coloring.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/fractal_coloring.hpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/fractal_container.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/fractal_container.hpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/fractal_enums.h
Examining data/mandelbulber2-2.20/mandelbulber2/src/fractal_formulas.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/fractal_formulas.hpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/fractal_list.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/fractal_list.hpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/fractparams.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/fractparams.hpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/global_data.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/global_data.hpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/headless.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/headless.h
Examining data/mandelbulber2-2.20/mandelbulber2/src/histogram.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/histogram.hpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/hsv2rgb.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/hsv2rgb.h
Examining data/mandelbulber2-2.20/mandelbulber2/src/image_adjustments.h
Examining data/mandelbulber2-2.20/mandelbulber2/src/image_scale.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/image_scale.hpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/include_header_wrapper.hpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/initparameters.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/initparameters.hpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/interface.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/interface.hpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/keyframes.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/keyframes.hpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/lights.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/lights.hpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/lzo_compression.h
Examining data/mandelbulber2-2.20/mandelbulber2/src/main.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/main.hpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/mandelbulb3d_settings.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/mandelbulb3d_settings.hpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/marchingcubes.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/marchingcubes.h
Examining data/mandelbulber2-2.20/mandelbulber2/src/material.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/material.h
Examining data/mandelbulber2-2.20/mandelbulber2/src/material_item_model.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/material_item_model.h
Examining data/mandelbulber2-2.20/mandelbulber2/src/material_item_view.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/material_item_view.h
Examining data/mandelbulber2-2.20/mandelbulber2/src/mesh_export.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/mesh_export.hpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/morph.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/morph.hpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/multi_val.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/multi_val.hpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/my_ui_loader.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/my_ui_loader.h
Examining data/mandelbulber2-2.20/mandelbulber2/src/netrender.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/netrender.hpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/netrender_client.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/netrender_client.hpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/netrender_file_receiver.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/netrender_file_receiver.hpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/netrender_file_sender.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/netrender_file_sender.hpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/netrender_server.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/netrender_server.hpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/netrender_transport.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/netrender_transport.hpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/nine_fractals.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/nine_fractals.hpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/object_data.hpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/object_types.hpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/old_settings.hpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/one_parameter.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/one_parameter.hpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/opencl_abstract_dynamic_data.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/opencl_abstract_dynamic_data.h
Examining data/mandelbulber2-2.20/mandelbulber2/src/opencl_context.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/opencl_context.h
Examining data/mandelbulber2-2.20/mandelbulber2/src/opencl_device.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/opencl_device.h
Examining data/mandelbulber2-2.20/mandelbulber2/src/opencl_dynamic_data.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/opencl_dynamic_data.hpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/opencl_engine.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/opencl_engine.h
Examining data/mandelbulber2-2.20/mandelbulber2/src/opencl_engine_render_dof.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/opencl_engine_render_dof.h
Examining data/mandelbulber2-2.20/mandelbulber2/src/opencl_engine_render_dof_phase1.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/opencl_engine_render_dof_phase1.h
Examining data/mandelbulber2-2.20/mandelbulber2/src/opencl_engine_render_dof_phase2.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/opencl_engine_render_dof_phase2.h
Examining data/mandelbulber2-2.20/mandelbulber2/src/opencl_engine_render_fractal.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/opencl_engine_render_fractal.h
Examining data/mandelbulber2-2.20/mandelbulber2/src/opencl_engine_render_ssao.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/opencl_engine_render_ssao.h
Examining data/mandelbulber2-2.20/mandelbulber2/src/opencl_global.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/opencl_global.h
Examining data/mandelbulber2-2.20/mandelbulber2/src/opencl_hardware.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/opencl_hardware.h
Examining data/mandelbulber2-2.20/mandelbulber2/src/opencl_input_output_buffer.h
Examining data/mandelbulber2-2.20/mandelbulber2/src/opencl_kernel.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/opencl_kernel.h
Examining data/mandelbulber2-2.20/mandelbulber2/src/opencl_queue.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/opencl_queue.h
Examining data/mandelbulber2-2.20/mandelbulber2/src/opencl_scheduler.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/opencl_scheduler.h
Examining data/mandelbulber2-2.20/mandelbulber2/src/opencl_textures_data.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/opencl_textures_data.h
Examining data/mandelbulber2-2.20/mandelbulber2/src/opencl_worker_output_queue.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/opencl_worker_output_queue.h
Examining data/mandelbulber2-2.20/mandelbulber2/src/opencl_worker_thread.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/opencl_worker_thread.h
Examining data/mandelbulber2-2.20/mandelbulber2/src/orbit_trap_shape.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/orbit_trap_shape.hpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/parameters.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/parameters.hpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/post_effect_hdr_blur.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/post_effect_hdr_blur.h
Examining data/mandelbulber2-2.20/mandelbulber2/src/primitives.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/primitives.h
Examining data/mandelbulber2-2.20/mandelbulber2/src/progress_text.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/progress_text.hpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/projection_3d.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/projection_3d.hpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/queue.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/queue.hpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/random.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/random.hpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/rectangle.hpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/region.hpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/render_data.hpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/render_image.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/render_image.hpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/render_job.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/render_job.hpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/render_queue.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/render_queue.hpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/render_ssao.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/render_ssao.h
Examining data/mandelbulber2-2.20/mandelbulber2/src/render_window.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/render_window.hpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/render_window_buttons.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/render_window_slots.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/render_worker.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/render_worker.hpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/rendered_image_widget.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/rendered_image_widget.hpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/rendered_tile_data.hpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/rendering_configuration.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/rendering_configuration.hpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/resource_http_provider.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/resource_http_provider.hpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/scheduler.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/scheduler.hpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/settings.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/settings.hpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/shader_ambient_occlusion.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/shader_aux_light.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/shader_aux_shadow.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/shader_background.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/shader_calculate_normals.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/shader_env_mapping.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/shader_fake_lights.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/shader_fast_ambient_occlusion.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/shader_global_illumination.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/shader_iridescence.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/shader_iter_opacity.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/shader_light_shading.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/shader_main_shading.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/shader_main_shadow.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/shader_normal_map_shader.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/shader_object.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/shader_roughess_texture.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/shader_specular_highlight.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/shader_specular_highlight_combined.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/shader_surface_color.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/shader_texture.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/shader_volumetric.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/ssao_worker.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/ssao_worker.h
Examining data/mandelbulber2-2.20/mandelbulber2/src/statistics.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/statistics.h
Examining data/mandelbulber2-2.20/mandelbulber2/src/stereo.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/stereo.h
Examining data/mandelbulber2-2.20/mandelbulber2/src/synchronize_interface.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/synchronize_interface.hpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/system.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/system.hpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/test.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/test.hpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/texture.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/texture.hpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/texture_enums.hpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/texture_mapping.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/texture_mapping.hpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/thumbnail.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/thumbnail.hpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/trace_behind.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/trace_behind.h
Examining data/mandelbulber2-2.20/mandelbulber2/src/undo.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/undo.h
Examining data/mandelbulber2-2.20/mandelbulber2/src/voxel_export.cpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/voxel_export.hpp
Examining data/mandelbulber2-2.20/mandelbulber2/src/render_window_menu.cpp
Examining data/mandelbulber2-2.20/docs/code/formula_box_fold_pwr2.cpp
Examining data/mandelbulber2-2.20/docs/code/formula_mandelbulb_power_2.cpp
Examining data/mandelbulber2-2.20/docs/code/formula_mandelbulb_with_function.cpp
Examining data/mandelbulber2-2.20/docs/code/formula_menger_sponge.cpp
Examining data/mandelbulber2-2.20/docs/mandelbulber2/example.c

FINAL RESULTS:

data/mandelbulber2-2.20/mandelbulber2/src/multi_val.cpp:133:24:  [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.
				dVal[i] = QLocale::system().toDouble(split[i]);
data/mandelbulber2-2.20/mandelbulber2/src/multi_val.cpp:141:23:  [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.
			dVal[0] = QLocale::system().toDouble(val);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:102:12:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
			int c = fscanf(fileSettings, "%s", str1);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:636:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				sprintf(buf, "mandelbox_rotation_main_%s", component_names[component]);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:651:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
						sprintf(buf, "mandelbox_rotation_%s%d_%s", axis_names[axis], fold + 1,
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:873: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(params->file_destination, str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:875: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(params->file_background, str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:877: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(params->file_envmap, str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:879: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(params->file_lightmap, str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:881: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(params->file_path, str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:883: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(params->file_keyframes, str2);
data/mandelbulber2-2.20/mandelbulber2/src/system.cpp:72:31:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	systemData.locale = QLocale::system();
data/mandelbulber2-2.20/mandelbulber2/src/system.cpp:236:34:  [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.
	QLocale systemLocale = QLocale::system();
data/mandelbulber2-2.20/mandelbulber2/qt/formula_combo_box.cpp:136:10:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	cRandom random;
data/mandelbulber2-2.20/mandelbulber2/qt/formula_combo_box.cpp:137:2:  [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.
	random.Initialize(randomSeedForColors);
data/mandelbulber2-2.20/mandelbulber2/qt/formula_combo_box.cpp:165:13:  [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.
				int r = random.Random(40) + rBase - 20;
data/mandelbulber2-2.20/mandelbulber2/qt/formula_combo_box.cpp:167:13:  [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.
				int g = random.Random(40) + gBase - 20;
data/mandelbulber2-2.20/mandelbulber2/qt/formula_combo_box.cpp:169:13:  [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.
				int b = random.Random(40) + bBase - 20;
data/mandelbulber2-2.20/mandelbulber2/qt/formula_combo_box.cpp:175:13:  [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.
				int r = random.Random(40) + rBase;
data/mandelbulber2-2.20/mandelbulber2/qt/formula_combo_box.cpp:177:13:  [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.
				int g = random.Random(40) + gBase;
data/mandelbulber2-2.20/mandelbulber2/qt/formula_combo_box.cpp:179:13:  [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.
				int b = random.Random(40) + bBase;
data/mandelbulber2-2.20/mandelbulber2/qt/gradient_edit_widget.cpp:571:10:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	cRandom random;
data/mandelbulber2-2.20/mandelbulber2/qt/gradient_edit_widget.cpp:572:2:  [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.
	random.Initialize(QTime::currentTime().msec());
data/mandelbulber2-2.20/mandelbulber2/qt/gradient_edit_widget.cpp:574:23:  [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.
	int numberOfColors = random.Random(18) + 2;
data/mandelbulber2-2.20/mandelbulber2/qt/gradient_edit_widget.cpp:578:14:  [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.
		sRGB color(random.Random(255), random.Random(255), random.Random(255));
data/mandelbulber2-2.20/mandelbulber2/qt/gradient_edit_widget.cpp:578:34:  [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.
		sRGB color(random.Random(255), random.Random(255), random.Random(255));
data/mandelbulber2-2.20/mandelbulber2/qt/gradient_edit_widget.cpp:578:54:  [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.
		sRGB color(random.Random(255), random.Random(255), random.Random(255));
data/mandelbulber2-2.20/mandelbulber2/src/interface.cpp:2729:10:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	cRandom random;
data/mandelbulber2-2.20/mandelbulber2/src/interface.cpp:2730:2:  [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.
	random.Initialize(randomSeed);
data/mandelbulber2-2.20/mandelbulber2/src/interface.cpp:2737:12:  [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.
			int r = random.Random(40) + rBase - 20;
data/mandelbulber2-2.20/mandelbulber2/src/interface.cpp:2739:12:  [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.
			int g = random.Random(40) + gBase - 20;
data/mandelbulber2-2.20/mandelbulber2/src/interface.cpp:2741:12:  [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.
			int b = random.Random(40) + bBase - 20;
data/mandelbulber2-2.20/mandelbulber2/src/interface.cpp:2747:12:  [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.
			int r = random.Random(40) + rBase;
data/mandelbulber2-2.20/mandelbulber2/src/interface.cpp:2749:12:  [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.
			int g = random.Random(40) + gBase;
data/mandelbulber2-2.20/mandelbulber2/src/interface.cpp:2751:12:  [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.
			int b = random.Random(40) + bBase;
data/mandelbulber2-2.20/mandelbulber2/src/lights.cpp:121:11:  [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.
		cRandom random;
data/mandelbulber2-2.20/mandelbulber2/src/lights.cpp:122:3:  [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.
		random.Initialize(params->auxLightRandomSeed);
data/mandelbulber2-2.20/mandelbulber2/src/lights.cpp:136:12:  [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.
				rv.x = random.DoubleRandom(-1.0, 1.0);
data/mandelbulber2-2.20/mandelbulber2/src/lights.cpp:137:12:  [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.
				rv.y = random.DoubleRandom(-1.0, 1.0);
data/mandelbulber2-2.20/mandelbulber2/src/lights.cpp:138:12:  [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.
				rv.z = random.DoubleRandom(-1.0, 1.0);
data/mandelbulber2-2.20/mandelbulber2/src/lights.cpp:157:30:  [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.
				colour = sRGBFloat(float(random.Random(20000, 100000, 1)),
data/mandelbulber2-2.20/mandelbulber2/src/lights.cpp:158:12:  [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.
					float(random.Random(20000, 100000, 1)), float(random.Random(20000, 100000, 1)));
data/mandelbulber2-2.20/mandelbulber2/src/lights.cpp:158:52:  [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.
					float(random.Random(20000, 100000, 1)), float(random.Random(20000, 100000, 1)));
data/mandelbulber2-2.20/mandelbulber2/src/random.cpp:70:15:  [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.
	return min + random * range;
data/mandelbulber2-2.20/mandelbulber2/qt/audio_selector.cpp:261:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	playStream->open(QIODevice::ReadOnly);
data/mandelbulber2-2.20/mandelbulber2/qt/gradient_edit_widget.cpp:444:12:  [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 (file.open(QIODevice::ReadOnly))
data/mandelbulber2-2.20/mandelbulber2/qt/gradient_edit_widget.cpp:497:12:  [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 (file.open(QIODevice::ReadWrite))
data/mandelbulber2-2.20/mandelbulber2/qt/my_log_widget.cpp:74:10:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	logFile.open(QFile::ReadOnly | QFile::Text);
data/mandelbulber2-2.20/mandelbulber2/qt/preferences_dialog.cpp:332: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 (file.open(QIODevice::Append))
data/mandelbulber2-2.20/mandelbulber2/qt/tab_fractal.cpp:169:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
			uiFile.open(QFile::ReadOnly);
data/mandelbulber2-2.20/mandelbulber2/src/command_line_interface.cpp:699:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char timeBuffer[80];
data/mandelbulber2-2.20/mandelbulber2/src/file_downloader.cpp:114:18:  [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 (!tempFile->open(QIODevice::WriteOnly))
data/mandelbulber2-2.20/mandelbulber2/src/file_image.cpp:420: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 *fp = fopen(filenameInput.toLocal8Bit().constData(), "wb");
data/mandelbulber2-2.20/mandelbulber2/src/file_image.cpp:694: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 *fp = fopen(filename.toLocal8Bit().constData(), "wb");
data/mandelbulber2-2.20/mandelbulber2/src/file_image.cpp:770: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 *fp = fopen(filenamePNG.c_str(), "wb");
data/mandelbulber2-2.20/mandelbulber2/src/file_image.cpp:837:18:  [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).
			files[tile] = fopen(filename2.c_str(), "rb");
data/mandelbulber2-2.20/mandelbulber2/src/file_image.cpp:944: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(qScanLine, linePointer, sizeof(unsigned char) * 3 * width);
data/mandelbulber2-2.20/mandelbulber2/src/file_image.cpp:948:7:  [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).
	file.open(QIODevice::WriteOnly);
data/mandelbulber2-2.20/mandelbulber2/src/file_image.cpp:1006:7:  [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).
	file.open(QIODevice::WriteOnly);
data/mandelbulber2-2.20/mandelbulber2/src/file_image.cpp:1048: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(qScanLine, linePointer, sizeof(unsigned char) * width);
data/mandelbulber2-2.20/mandelbulber2/src/file_image.cpp:1052:7:  [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).
	file.open(QIODevice::WriteOnly);
data/mandelbulber2-2.20/mandelbulber2/src/file_image.cpp:1082:7:  [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).
	file.open(QIODevice::WriteOnly);
data/mandelbulber2-2.20/mandelbulber2/src/file_mesh.cpp:110: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).
	if (!qFile.open(QFile::WriteOnly))
data/mandelbulber2-2.20/mandelbulber2/src/files.cpp:62:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char tmp[10];
data/mandelbulber2-2.20/mandelbulber2/src/files.cpp:63:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(tmp, "%.5i", number);
data/mandelbulber2-2.20/mandelbulber2/src/files.cpp:70:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	file = fopen(filename, "r");
data/mandelbulber2-2.20/mandelbulber2/src/files.cpp:89:10:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	pFile = fopen(source, "rb");
data/mandelbulber2-2.20/mandelbulber2/src/files.cpp:126:10:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	pFile = fopen(dest, "wb");
data/mandelbulber2-2.20/mandelbulber2/src/files.cpp:284:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if ((fp = fopen(filename.toLocal8Bit().constData(), "rb")) == nullptr) return nullptr;
data/mandelbulber2-2.20/mandelbulber2/src/files.cpp:510:12:  [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 (!file.open(QIODevice::ReadOnly | QIODevice::Text))
data/mandelbulber2-2.20/mandelbulber2/src/interface.cpp:1994:10:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		uiFile.open(QFile::ReadOnly);
data/mandelbulber2-2.20/mandelbulber2/src/mandelbulb3d_settings.cpp:88:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char fourChars[chunkSize];
data/mandelbulber2-2.20/mandelbulber2/src/netrender_client.cpp:656: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).
			if (file.open(QIODevice::WriteOnly))
data/mandelbulber2-2.20/mandelbulber2/src/netrender_file_receiver.cpp:38:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if (file.open(QIODevice::WriteOnly))
data/mandelbulber2-2.20/mandelbulber2/src/netrender_file_receiver.cpp:73:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
				if (file.open(QIODevice::Append))
data/mandelbulber2-2.20/mandelbulber2/src/netrender_file_sender.cpp:106:18:  [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 (actualFile.open(QIODevice::ReadOnly))
data/mandelbulber2-2.20/mandelbulber2/src/netrender_server.cpp:316: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).
			if (file.open(QIODevice::ReadOnly))
data/mandelbulber2-2.20/mandelbulber2/src/netrender_server.cpp:647: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).
			if (file.open(QIODevice::ReadOnly))
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:87: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 str1[100];
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:88: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 str2[2000];
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:91:17:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	fileSettings = fopen(filename.toLocal8Bit(), "r");
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:161:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char str3[100];
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:166: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).
		params->image_width = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:168: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).
		params->image_height = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:170: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).
		params->noOfTiles = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:200:51:  [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).
		params->fractal.formula = enumOldFractalFormula(atoi(str2));
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:204:31:  [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).
		params->fractal.doubles.N = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:206: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).
		params->fractal.minN = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:214:31:  [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).
		params->fractal.juliaMode = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:222:38:  [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).
		params->fractal.tgladFoldingMode = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:228:42:  [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).
		params->fractal.sphericalFoldingMode = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:234:32:  [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).
		params->fractal.iterThresh = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:236:32:  [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).
		params->fractal.analyticDE = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:246:38:  [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).
		params->imageSwitches.hdrEnabled = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:258:31:  [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).
		params->globalIlumQuality = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:270:42:  [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).
			params->effectColours.glow_color1.R = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:272:42:  [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).
			params->effectColours.glow_color1.G = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:274:42:  [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).
			params->effectColours.glow_color1.B = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:276:42:  [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).
			params->effectColours.glow_color2.R = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:278:42:  [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).
			params->effectColours.glow_color2.G = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:280:42:  [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).
			params->effectColours.glow_color2.B = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:285:34:  [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).
			params->background_color1.R = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:287:34:  [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).
			params->background_color1.G = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:289:34:  [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).
			params->background_color1.B = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:291:34:  [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).
			params->background_color2.R = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:293:34:  [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).
			params->background_color2.G = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:295:34:  [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).
			params->background_color2.B = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:297:34:  [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).
			params->background_color3.R = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:299:34:  [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).
			params->background_color3.G = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:301:34:  [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).
			params->background_color3.B = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:306:27:  [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).
			params->fogColour1.R = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:308:27:  [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).
			params->fogColour1.G = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:310:27:  [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).
			params->fogColour1.B = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:312:27:  [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).
			params->fogColour2.R = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:314:27:  [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).
			params->fogColour2.G = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:316:27:  [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).
			params->fogColour2.B = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:318:27:  [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).
			params->fogColour3.R = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:320:27:  [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).
			params->fogColour3.G = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:322:27:  [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).
			params->fogColour3.B = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:325:32:  [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).
		params->texturedBackground = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:327:36:  [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).
		params->background_as_fulldome = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:329:20:  [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).
		params->shadow = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:331:32:  [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).
		params->global_ilumination = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:333:36:  [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).
		params->fastGlobalIllumination = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:335: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).
		params->imageSwitches.coloringEnabled = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:337:27:  [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).
		params->coloring_seed = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:345: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).
		params->slowShading = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:347:36:  [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).
		params->fractal.limits_enabled = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:351:39:  [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).
			params->imageSwitches.fogEnabled = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:355:39:  [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).
			params->effectColours.fogColor.R = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:357:39:  [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).
			params->effectColours.fogColor.G = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:359:39:  [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).
			params->effectColours.fogColor.B = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:361: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).
			params->SSAOEnabled = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:363: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).
			params->SSAOQuality = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:365: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).
			params->DOFEnabled = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:380:46:  [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).
			params->effectColours.mainLightColour.R = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:382:46:  [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).
			params->effectColours.mainLightColour.G = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:384:46:  [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).
			params->effectColours.mainLightColour.B = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:391: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).
			params->auxLightRandomSeed = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:393:29:  [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).
			params->auxLightNumber = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:431:36:  [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).
			params->auxLightPreEnabled[0] = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:433:36:  [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).
			params->auxLightPreEnabled[1] = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:435:36:  [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).
			params->auxLightPreEnabled[2] = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:437:36:  [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).
			params->auxLightPreEnabled[3] = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:439:37:  [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).
			params->auxLightPreColour[0].R = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:441:37:  [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).
			params->auxLightPreColour[0].G = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:443:37:  [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).
			params->auxLightPreColour[0].B = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:445:37:  [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).
			params->auxLightPreColour[1].R = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:447:37:  [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).
			params->auxLightPreColour[1].G = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:449:37:  [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).
			params->auxLightPreColour[1].B = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:451:37:  [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).
			params->auxLightPreColour[2].R = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:453:37:  [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).
			params->auxLightPreColour[2].G = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:455:37:  [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).
			params->auxLightPreColour[2].B = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:457:37:  [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).
			params->auxLightPreColour[3].R = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:459:37:  [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).
			params->auxLightPreColour[3].G = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:461:37:  [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).
			params->auxLightPreColour[3].B = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:502:38:  [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).
			params->fractal.IFS.foldingMode = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:507: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(str3, "IFS_%d_x", i);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:513: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(str3, "IFS_%d_y", i);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:519: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(str3, "IFS_%d_z", i);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:525: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(str3, "IFS_%d_alfa", i);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:531: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(str3, "IFS_%d_beta", i);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:537: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(str3, "IFS_%d_gamma", i);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:543: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(str3, "IFS_%d_distance", i);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:549: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(str3, "IFS_%d_intensity", i);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:555: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(str3, "IFS_%d_enabled", i);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:558:39:  [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).
					params->fractal.IFS.enabled[i] = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:565: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).
		params->startFrame = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:567:22:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		params->endFrame = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:569:31:  [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).
		params->framesPerKeyframe = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:571:34:  [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).
		params->fractal.hybridCyclic = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:573:49:  [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).
		params->perspectiveType = enumPerspectiveType(atoi(str2));
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:575: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).
		params->fishEyeCut = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:577:27:  [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).
		params->stereoEnabled = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:613:49:  [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).
			params->fractal.mandelbox.rotationsEnabled = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:615:65:  [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).
			params->fractal.genFoldBox.type = enumGeneralizedFoldBoxType(atoi(str2));
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:633:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			char buf[100];
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:672:34:  [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).
		params->fractal.interiorMode = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:674:34:  [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).
		params->fractal.linearDEmode = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:676: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).
		params->fractal.constantDEThreshold = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:682:31:  [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).
		params->penetratingLights = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:684:48:  [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).
		params->imageSwitches.raytracedReflections = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:686: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).
		params->reflectionsMax = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:698:42:  [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).
		params->imageSwitches.iterFogEnabled = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:704:42:  [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).
		params->fractal.primitives.onlyPlane = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:708:45:  [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).
			params->fractal.primitives.planeEnable = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:722:37:  [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).
			params->primitivePlaneColour.R = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:724:37:  [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).
			params->primitivePlaneColour.G = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:726:37:  [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).
			params->primitivePlaneColour.B = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:733: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).
			params->fractal.primitives.boxEnable = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:747:35:  [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).
			params->primitiveBoxColour.R = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:749:35:  [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).
			params->primitiveBoxColour.G = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:751:35:  [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).
			params->primitiveBoxColour.B = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:758:51:  [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).
			params->fractal.primitives.invertedBoxEnable = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:772: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).
			params->primitiveInvertedBoxColour.R = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:774: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).
			params->primitiveInvertedBoxColour.G = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:776: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).
			params->primitiveInvertedBoxColour.B = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:783:46:  [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).
			params->fractal.primitives.sphereEnable = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:793:38:  [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).
			params->primitiveSphereColour.R = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:795:38:  [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).
			params->primitiveSphereColour.G = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:797:38:  [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).
			params->primitiveSphereColour.B = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:804: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).
			params->fractal.primitives.invertedSphereEnable = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:814:46:  [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).
			params->primitiveInvertedSphereColour.R = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:816:46:  [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).
			params->primitiveInvertedSphereColour.G = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:818:46:  [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).
			params->primitiveInvertedSphereColour.B = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:825:45:  [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).
			params->fractal.primitives.waterEnable = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:833:49:  [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).
			params->fractal.primitives.waterIterations = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:839:37:  [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).
			params->primitiveWaterColour.R = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:841:37:  [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).
			params->primitiveWaterColour.G = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:843:37:  [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).
			params->primitiveWaterColour.B = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:850:32:  [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).
			params->fakeLightsEnabled = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:852:40:  [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).
			params->fractal.fakeLightsMinIter = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:854:40:  [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).
			params->fractal.fakeLightsMaxIter = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:869:29:  [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).
		params->fractal.frameNo = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:871: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).
		params->tileCount = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:889:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[100];
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:892:4:  [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, "volumetric_light_enabled_%d", i);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:895: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).
				params->volumetricLightEnabled[i] = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:899:4:  [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, "volumetric_light_intensity_%d", i);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:910:4:  [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, "hybrid_formula_%d", i);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:913:66:  [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).
				params->fractal.hybridFormula[i - 1] = enumOldFractalFormula(atoi(str2));
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:917:4:  [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, "hybrid_iterations_%d", i);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:920:42:  [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).
				params->fractal.hybridIters[i - 1] = atoi(str2);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.cpp:924:4:  [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, "hybrid_power_%d", i);
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.hpp:316: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 customOCLFormulaName[100];
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.hpp:483:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char file_destination[1000];
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.hpp:484:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char file_envmap[1000];
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.hpp:485:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char file_background[1000];
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.hpp:486:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char file_lightmap[1000];
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.hpp:487:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char file_path[1000];
data/mandelbulber2-2.20/mandelbulber2/src/old_settings.hpp:488:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char file_keyframes[1000];
data/mandelbulber2-2.20/mandelbulber2/src/post_effect_hdr_blur.cpp:59:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(tempImage, image->GetPostImageFloatPtr(),
data/mandelbulber2-2.20/mandelbulber2/src/queue.cpp:82:12:  [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 (file.open(QIODevice::WriteOnly))
data/mandelbulber2-2.20/mandelbulber2/src/queue.cpp:195:12:  [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 (file.open(QIODevice::ReadOnly))
data/mandelbulber2-2.20/mandelbulber2/src/queue.cpp:404:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if (file.open(QIODevice::ReadWrite | QIODevice::Text | QIODevice::Truncate))
data/mandelbulber2-2.20/mandelbulber2/src/queue.cpp:495:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if (file.open(QIODevice::ReadOnly))
data/mandelbulber2-2.20/mandelbulber2/src/render_window_menu.cpp:155:8:  [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 (f.open(QIODevice::ReadOnly | QIODevice::Text))
data/mandelbulber2-2.20/mandelbulber2/src/render_window_menu.cpp:357:22:  [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 (recentFilesFile.open(QFile::ReadOnly | QFile::Text))
data/mandelbulber2-2.20/mandelbulber2/src/render_window_menu.cpp:367:23:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if (!recentFilesFile.open(QFile::WriteOnly | QFile::Text))
data/mandelbulber2-2.20/mandelbulber2/src/render_window_slots.cpp:632:20:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if (!fileGeometry.open(QIODevice::WriteOnly) || !fileState.open(QIODevice::WriteOnly))
data/mandelbulber2-2.20/mandelbulber2/src/render_window_slots.cpp:632:61:  [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 (!fileGeometry.open(QIODevice::WriteOnly) || !fileState.open(QIODevice::WriteOnly))
data/mandelbulber2-2.20/mandelbulber2/src/render_window_slots.cpp:649:20:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if (!fileGeometry.open(QIODevice::ReadOnly) || !fileState.open(QIODevice::ReadOnly))
data/mandelbulber2-2.20/mandelbulber2/src/render_window_slots.cpp:649:60:  [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 (!fileGeometry.open(QIODevice::ReadOnly) || !fileState.open(QIODevice::ReadOnly))
data/mandelbulber2-2.20/mandelbulber2/src/render_window_slots.cpp:703:23:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if (!recentFilesFile.open(QFile::ReadOnly | QFile::Text))
data/mandelbulber2-2.20/mandelbulber2/src/resource_http_provider.cpp:78:16:  [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 (!outFile->open(QIODevice::WriteOnly))
data/mandelbulber2-2.20/mandelbulber2/src/settings.cpp:320:12:  [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 (qFile.open(QIODevice::WriteOnly))
data/mandelbulber2-2.20/mandelbulber2/src/settings.cpp:350:12:  [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 (qFile.open(QIODevice::ReadOnly))
data/mandelbulber2-2.20/mandelbulber2/src/stereo.cpp:270:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(imageBuffer, image16Ptr, size * sizeof(sRGB16));
data/mandelbulber2-2.20/mandelbulber2/src/system.cpp:187:18:  [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 *logfile = fopen(systemData.logfileName.toLocal8Bit().constData(), "w");
data/mandelbulber2-2.20/mandelbulber2/src/system.cpp:303:19:  [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 *logfile = fopen(systemData.logfileName.toLocal8Bit().constData(), "a");
data/mandelbulber2-2.20/mandelbulber2/src/system.cpp:475:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	FILE *pFile = fopen(source.toLocal8Bit().constData(), "rb");
data/mandelbulber2-2.20/mandelbulber2/src/system.cpp:514:10:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	pFile = fopen(dest.toLocal8Bit().constData(), "wb");
data/mandelbulber2-2.20/mandelbulber2/src/texture.cpp:138:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(bitmap, tex.bitmap, sizeof(sRGBA16) * width * height);
data/mandelbulber2-2.20/mandelbulber2/src/texture.cpp:155:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(bitmap, tex.bitmap, sizeof(sRGBA16) * width * height);
data/mandelbulber2-2.20/mandelbulber2/qt/audio_selector.cpp:65:53:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	SynchronizeInterfaceWindow(this, gPar, qInterface::read);
data/mandelbulber2-2.20/mandelbulber2/qt/audio_selector.cpp:186:54:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		SynchronizeInterfaceWindow(this, gPar, qInterface::read);
data/mandelbulber2-2.20/mandelbulber2/qt/dock_fractal.cpp:239:70:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	gMainInterface->SynchronizeInterface(gPar, gParFractal, qInterface::read);
data/mandelbulber2-2.20/mandelbulber2/qt/dock_fractal.cpp:271:78:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	fractalTabs[swapA]->SynchronizeFractal(&gParFractal->at(swapB), qInterface::read);
data/mandelbulber2-2.20/mandelbulber2/qt/dock_fractal.cpp:272:78:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	fractalTabs[swapB]->SynchronizeFractal(&gParFractal->at(swapA), qInterface::read);
data/mandelbulber2-2.20/mandelbulber2/qt/dock_fractal.cpp:358:78:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		SynchronizeInterfaceWindow(ui->groupCheck_julia_mode, &params, qInterface::read);
data/mandelbulber2-2.20/mandelbulber2/qt/dock_image_adjustments.cpp:227:78:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		SynchronizeInterfaceWindow(ui->groupBox_imageResolution, gPar, qInterface::read);
data/mandelbulber2-2.20/mandelbulber2/qt/dock_image_adjustments.cpp:240:71:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		gMainInterface->SynchronizeInterface(gPar, gParFractal, qInterface::read);
data/mandelbulber2-2.20/mandelbulber2/qt/dock_image_adjustments.cpp:411:70:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	gMainInterface->SynchronizeInterface(gPar, gParFractal, qInterface::read);
data/mandelbulber2-2.20/mandelbulber2/qt/dock_rendering_engine.cpp:139:68:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	SynchronizeInterfaceWindow(ui->group_netrender, gPar, qInterface::read);
data/mandelbulber2-2.20/mandelbulber2/qt/dock_rendering_engine.cpp:151:68:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	SynchronizeInterfaceWindow(ui->group_netrender, gPar, qInterface::read);
data/mandelbulber2-2.20/mandelbulber2/qt/dock_rendering_engine.cpp:354:71:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		gMainInterface->SynchronizeInterface(gPar, gParFractal, qInterface::read);
data/mandelbulber2-2.20/mandelbulber2/qt/dock_rendering_engine.cpp:429:70:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	gMainInterface->SynchronizeInterface(gPar, gParFractal, qInterface::read);
data/mandelbulber2-2.20/mandelbulber2/qt/image_save_dialog.cpp:74:53:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	SynchronizeInterfaceWindow(this, gPar, qInterface::read);
data/mandelbulber2-2.20/mandelbulber2/qt/material_manager_view.cpp:244:59:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		SynchronizeInterfaceWindow(dialog, &params, qInterface::read);
data/mandelbulber2-2.20/mandelbulber2/qt/material_widget.cpp:190:79:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			SynchronizeInterfaceWindow(materialEditorWidget, paramsHandle, qInterface::read);
data/mandelbulber2-2.20/mandelbulber2/qt/mesh_export_dialog.cpp:71:54:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		SynchronizeInterfaceWindow(this, gPar, qInterface::read);
data/mandelbulber2-2.20/mandelbulber2/qt/preferences_dialog.cpp:120:53:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	SynchronizeInterfaceWindow(this, gPar, qInterface::read);
data/mandelbulber2-2.20/mandelbulber2/qt/tab_fractal.cpp:325:84:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	SynchronizeInterfaceWindow(fractalWidget, &gParFractal->at(tabIndex), qInterface::read);
data/mandelbulber2-2.20/mandelbulber2/qt/tab_fractal.cpp:332:84:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	SynchronizeInterfaceWindow(fractalWidget, &gParFractal->at(tabIndex), qInterface::read);
data/mandelbulber2-2.20/mandelbulber2/qt/tab_fractal.cpp:339:84:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	SynchronizeInterfaceWindow(fractalWidget, &gParFractal->at(tabIndex), qInterface::read);
data/mandelbulber2-2.20/mandelbulber2/qt/tab_fractal.cpp:346:84:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	SynchronizeInterfaceWindow(fractalWidget, &gParFractal->at(tabIndex), qInterface::read);
data/mandelbulber2-2.20/mandelbulber2/qt/tab_fractal.cpp:353:84:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	SynchronizeInterfaceWindow(fractalWidget, &gParFractal->at(tabIndex), qInterface::read);
data/mandelbulber2-2.20/mandelbulber2/qt/voxel_export_dialog.cpp:70:54:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		SynchronizeInterfaceWindow(this, gPar, qInterface::read);
data/mandelbulber2-2.20/mandelbulber2/qt/voxel_export_dialog.cpp:152:53:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	SynchronizeInterfaceWindow(this, gPar, qInterface::read);
data/mandelbulber2-2.20/mandelbulber2/src/animation_flight.cpp:213:74:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		mainInterface->SynchronizeInterface(params, fractalParams, qInterface::read);
data/mandelbulber2-2.20/mandelbulber2/src/animation_flight.cpp:247:73:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	mainInterface->SynchronizeInterface(params, fractalParams, qInterface::read);
data/mandelbulber2-2.20/mandelbulber2/src/animation_flight.cpp:405:75:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			mainInterface->SynchronizeInterface(params, fractalParams, qInterface::read);
data/mandelbulber2-2.20/mandelbulber2/src/animation_flight.cpp:994:74:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		mainInterface->SynchronizeInterface(params, fractalParams, qInterface::read);
data/mandelbulber2-2.20/mandelbulber2/src/animation_flight.cpp:1034:75:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			mainInterface->SynchronizeInterface(params, fractalParams, qInterface::read);
data/mandelbulber2-2.20/mandelbulber2/src/animation_flight.cpp:1185:75:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	SynchronizeInterfaceWindow(ui->tab_flight_animation, params, qInterface::read);
data/mandelbulber2-2.20/mandelbulber2/src/animation_flight.cpp:1238:73:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	mainInterface->SynchronizeInterface(params, fractalParams, qInterface::read);
data/mandelbulber2-2.20/mandelbulber2/src/animation_flight.cpp:1276:79:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		ui->scrollAreaWidgetContents_flightAnimationParameters, params, qInterface::read);
data/mandelbulber2-2.20/mandelbulber2/src/animation_flight.cpp:1286:79:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		ui->scrollAreaWidgetContents_flightAnimationParameters, params, qInterface::read);
data/mandelbulber2-2.20/mandelbulber2/src/animation_flight.cpp:1400:79:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		ui->scrollAreaWidgetContents_flightAnimationParameters, params, qInterface::read);
data/mandelbulber2-2.20/mandelbulber2/src/animation_flight.cpp:1418:81:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		ui->scrollAreaWidgetContents_keyframeAnimationParameters, params, qInterface::read);
data/mandelbulber2-2.20/mandelbulber2/src/animation_flight.cpp:1561:73:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	mainInterface->SynchronizeInterface(params, fractalParams, qInterface::read);
data/mandelbulber2-2.20/mandelbulber2/src/animation_keyframes.cpp:196:73:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	mainInterface->SynchronizeInterface(params, fractalParams, qInterface::read);
data/mandelbulber2-2.20/mandelbulber2/src/animation_keyframes.cpp:207:73:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	mainInterface->SynchronizeInterface(params, fractalParams, qInterface::read);
data/mandelbulber2-2.20/mandelbulber2/src/animation_keyframes.cpp:274:75:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			mainInterface->SynchronizeInterface(params, fractalParams, qInterface::read);
data/mandelbulber2-2.20/mandelbulber2/src/animation_keyframes.cpp:315:74:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		mainInterface->SynchronizeInterface(params, fractalParams, qInterface::read);
data/mandelbulber2-2.20/mandelbulber2/src/animation_keyframes.cpp:878:75:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			mainInterface->SynchronizeInterface(params, fractalParams, qInterface::read);
data/mandelbulber2-2.20/mandelbulber2/src/animation_keyframes.cpp:1038:73:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	mainInterface->SynchronizeInterface(params, fractalParams, qInterface::read);
data/mandelbulber2-2.20/mandelbulber2/src/animation_keyframes.cpp:1103:73:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	mainInterface->SynchronizeInterface(params, fractalParams, qInterface::read);
data/mandelbulber2-2.20/mandelbulber2/src/animation_keyframes.cpp:1238:81:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		ui->scrollAreaWidgetContents_keyframeAnimationParameters, params, qInterface::read);
data/mandelbulber2-2.20/mandelbulber2/src/animation_keyframes.cpp:1256:81:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		ui->scrollAreaWidgetContents_keyframeAnimationParameters, params, qInterface::read);
data/mandelbulber2-2.20/mandelbulber2/src/animation_keyframes.cpp:1414:73:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	mainInterface->SynchronizeInterface(params, fractalParams, qInterface::read);
data/mandelbulber2-2.20/mandelbulber2/src/animation_keyframes.cpp:1525:73:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	mainInterface->SynchronizeInterface(params, fractalParams, qInterface::read);
data/mandelbulber2-2.20/mandelbulber2/src/animation_keyframes.cpp:1569:73:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	mainInterface->SynchronizeInterface(params, fractalParams, qInterface::read);
data/mandelbulber2-2.20/mandelbulber2/src/animation_keyframes.cpp:1661:77:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	SynchronizeInterfaceWindow(ui->tab_keyframe_animation, params, qInterface::read);
data/mandelbulber2-2.20/mandelbulber2/src/audio_track.cpp:198:38:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	QAudioBuffer audioBuffer = decoder->read();
data/mandelbulber2-2.20/mandelbulber2/src/interface.cpp:467:64:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if (!gInterfaceReadyForSynchronization && mode == qInterface::read) return;
data/mandelbulber2-2.20/mandelbulber2/src/interface.cpp:521:54:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	SynchronizeInterface(gPar, gParFractal, qInterface::read);
data/mandelbulber2-2.20/mandelbulber2/src/interface.cpp:584:80:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if (synchronizeAndRender) SynchronizeInterface(gPar, gParFractal, qInterface::read);
data/mandelbulber2-2.20/mandelbulber2/src/interface.cpp:680:54:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	SynchronizeInterface(gPar, gParFractal, qInterface::read);
data/mandelbulber2-2.20/mandelbulber2/src/interface.cpp:707:80:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if (synchronizeAndRender) SynchronizeInterface(gPar, gParFractal, qInterface::read);
data/mandelbulber2-2.20/mandelbulber2/src/interface.cpp:800:54:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	SynchronizeInterface(gPar, gParFractal, qInterface::read);
data/mandelbulber2-2.20/mandelbulber2/src/interface.cpp:837:86:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	SynchronizeInterfaceWindow(mainWindow->ui->dockWidget_navigation, gPar, qInterface::read);
data/mandelbulber2-2.20/mandelbulber2/src/interface.cpp:954:55:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		SynchronizeInterface(gPar, gParFractal, qInterface::read);
data/mandelbulber2-2.20/mandelbulber2/src/interface.cpp:1103:54:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	SynchronizeInterface(gPar, gParFractal, qInterface::read);
data/mandelbulber2-2.20/mandelbulber2/src/interface.cpp:1131:54:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	SynchronizeInterface(gPar, gParFractal, qInterface::read);
data/mandelbulber2-2.20/mandelbulber2/src/interface.cpp:1149:54:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	SynchronizeInterface(gPar, gParFractal, qInterface::read);
data/mandelbulber2-2.20/mandelbulber2/src/interface.cpp:1355:58:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
					SynchronizeInterface(gPar, gParFractal, qInterface::read);
data/mandelbulber2-2.20/mandelbulber2/src/interface.cpp:1394:54:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	SynchronizeInterface(gPar, gParFractal, qInterface::read);
data/mandelbulber2-2.20/mandelbulber2/src/interface.cpp:1658:54:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	SynchronizeInterface(gPar, gParFractal, qInterface::read);
data/mandelbulber2-2.20/mandelbulber2/src/interface.cpp:1719:54:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	SynchronizeInterface(gPar, gParFractal, qInterface::read);
data/mandelbulber2-2.20/mandelbulber2/src/interface.cpp:1790:54:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	SynchronizeInterface(gPar, gParFractal, qInterface::read);
data/mandelbulber2-2.20/mandelbulber2/src/interface.cpp:1826:54:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	SynchronizeInterface(gPar, gParFractal, qInterface::read);
data/mandelbulber2-2.20/mandelbulber2/src/interface.cpp:2240:56:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			SynchronizeInterface(gPar, gParFractal, qInterface::read);
data/mandelbulber2-2.20/mandelbulber2/src/interface.cpp:2364:54:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	SynchronizeInterface(gPar, gParFractal, qInterface::read);
data/mandelbulber2-2.20/mandelbulber2/src/interface.cpp:2482:54:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	SynchronizeInterface(gPar, gParFractal, qInterface::read);
data/mandelbulber2-2.20/mandelbulber2/src/interface.cpp:2511:56:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			SynchronizeInterface(gPar, gParFractal, qInterface::read);
data/mandelbulber2-2.20/mandelbulber2/src/interface.cpp:2539:54:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	SynchronizeInterface(gPar, gParFractal, qInterface::read);
data/mandelbulber2-2.20/mandelbulber2/src/interface.cpp:2770:54:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	SynchronizeInterface(gPar, gParFractal, qInterface::read);
data/mandelbulber2-2.20/mandelbulber2/src/interface.cpp:2819:36:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
				gPar, gParFractal, qInterface::read); // update appParam before loading new settings
data/mandelbulber2-2.20/mandelbulber2/src/netrender_file_sender.cpp:162:32:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		QByteArray data = actualFile.read(bytesToRead);
data/mandelbulber2-2.20/mandelbulber2/src/opencl_worker_thread.cpp:165:16:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
					thread()->usleep(waitTime);
data/mandelbulber2-2.20/mandelbulber2/src/queue.cpp:576:72:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			gMainInterface->mainWindow->GetWidgetDockQueue(), gPar, qInterface::read);
data/mandelbulber2-2.20/mandelbulber2/src/queue.cpp:592:34:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		gPar, gParFractal, qInterface::read); // update appParam before loading new settings
data/mandelbulber2-2.20/mandelbulber2/src/render_window_buttons.cpp:72:70:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	gMainInterface->SynchronizeInterface(gPar, gParFractal, qInterface::read);
data/mandelbulber2-2.20/mandelbulber2/src/render_window_menu.cpp:401:34:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		gPar, gParFractal, qInterface::read); // update appParam before loading new settings
data/mandelbulber2-2.20/mandelbulber2/src/render_window_menu.cpp:447:34:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		gPar, gParFractal, qInterface::read); // update appParam before loading new settings
data/mandelbulber2-2.20/mandelbulber2/src/render_window_menu.cpp:680:70:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	gMainInterface->SynchronizeInterface(gPar, gParFractal, qInterface::read);
data/mandelbulber2-2.20/mandelbulber2/src/render_window_menu.cpp:714:70:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	gMainInterface->SynchronizeInterface(gPar, gParFractal, qInterface::read);
data/mandelbulber2-2.20/mandelbulber2/src/render_window_slots.cpp:204:70:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	gMainInterface->SynchronizeInterface(gPar, gParFractal, qInterface::read);
data/mandelbulber2-2.20/mandelbulber2/src/render_window_slots.cpp:500:70:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	gMainInterface->SynchronizeInterface(gPar, gParFractal, qInterface::read);
data/mandelbulber2-2.20/mandelbulber2/src/synchronize_interface.cpp:62:64:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if (!gInterfaceReadyForSynchronization && mode == qInterface::read) return;
data/mandelbulber2-2.20/mandelbulber2/src/synchronize_interface.cpp:124:29:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
				if (mode == qInterface::read)
data/mandelbulber2-2.20/mandelbulber2/src/synchronize_interface.cpp:144:29:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
				if (mode == qInterface::read)
data/mandelbulber2-2.20/mandelbulber2/src/synchronize_interface.cpp:161:29:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
				if (mode == qInterface::read)
data/mandelbulber2-2.20/mandelbulber2/src/synchronize_interface.cpp:177:29:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
				if (mode == qInterface::read)
data/mandelbulber2-2.20/mandelbulber2/src/synchronize_interface.cpp:212:29:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
				if (mode == qInterface::read)
data/mandelbulber2-2.20/mandelbulber2/src/synchronize_interface.cpp:227:29:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
				if (mode == qInterface::read)
data/mandelbulber2-2.20/mandelbulber2/src/synchronize_interface.cpp:243:29:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
				if (mode == qInterface::read)
data/mandelbulber2-2.20/mandelbulber2/src/synchronize_interface.cpp:278:29:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
				if (mode == qInterface::read)
data/mandelbulber2-2.20/mandelbulber2/src/synchronize_interface.cpp:312:29:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
				if (mode == qInterface::read)
data/mandelbulber2-2.20/mandelbulber2/src/synchronize_interface.cpp:346:29:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
				if (mode == qInterface::read)
data/mandelbulber2-2.20/mandelbulber2/src/synchronize_interface.cpp:374:28:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			if (mode == qInterface::read)
data/mandelbulber2-2.20/mandelbulber2/src/synchronize_interface.cpp:399:28:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			if (mode == qInterface::read)
data/mandelbulber2-2.20/mandelbulber2/src/synchronize_interface.cpp:433:29:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
				if (mode == qInterface::read)
data/mandelbulber2-2.20/mandelbulber2/src/synchronize_interface.cpp:484:29:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
				if (mode == qInterface::read)
data/mandelbulber2-2.20/mandelbulber2/src/synchronize_interface.cpp:511:29:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
				if (mode == qInterface::read)
data/mandelbulber2-2.20/mandelbulber2/src/synchronize_interface.cpp:541:29:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
				if (mode == qInterface::read)
data/mandelbulber2-2.20/mandelbulber2/src/synchronize_interface.hpp:61:2:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	read,

ANALYSIS SUMMARY:

Hits = 358
Lines analyzed = 109404 in approximately 3.02 seconds (36242 lines/second)
Physical Source Lines of Code (SLOC) = 80000
Hits@level = [0]  28 [1] 104 [2] 210 [3]  31 [4]  13 [5]   0
Hits@level+ = [0+] 386 [1+] 358 [2+] 254 [3+]  44 [4+]  13 [5+]   0
Hits/KSLOC@level+ = [0+] 4.825 [1+] 4.475 [2+] 3.175 [3+] 0.55 [4+] 0.1625 [5+]   0
Dot directories skipped = 4 (--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.