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/lebiniou-3.50/plugins/output/caca/caca.c Examining data/lebiniou-3.50/plugins/output/GL/GL.c Examining data/lebiniou-3.50/plugins/output/RTMP/RTMP.c Examining data/lebiniou-3.50/plugins/output/mp4/mp4.c Examining data/lebiniou-3.50/plugins/output/SDL2/ttf.c Examining data/lebiniou-3.50/plugins/output/SDL2/osd.h Examining data/lebiniou-3.50/plugins/output/SDL2/osd.c Examining data/lebiniou-3.50/plugins/output/SDL2/ttf.h Examining data/lebiniou-3.50/plugins/output/SDL2/SDL2.c Examining data/lebiniou-3.50/plugins/input/oss/oss.c Examining data/lebiniou-3.50/plugins/input/esound/esound.c Examining data/lebiniou-3.50/plugins/input/pulseaudio/pulseaudio.c Examining data/lebiniou-3.50/plugins/input/jackaudio/jackaudio.c Examining data/lebiniou-3.50/plugins/input/sndfile/sndfile.c Examining data/lebiniou-3.50/plugins/input/twip/twip.c Examining data/lebiniou-3.50/plugins/input/alsa/alsa.c Examining data/lebiniou-3.50/plugins/input/random/random.c Examining data/lebiniou-3.50/plugins/main/tv_diff4/tv_diff4.c Examining data/lebiniou-3.50/plugins/main/monitor/monitor.c Examining data/lebiniou-3.50/plugins/main/shaker_x/shaker_x.c Examining data/lebiniou-3.50/plugins/main/big_half_wheel/big_half_wheel.c Examining data/lebiniou-3.50/plugins/main/sin_oscillo_1/sin_oscillo_1.c Examining data/lebiniou-3.50/plugins/main/bassline/bassline.c Examining data/lebiniou-3.50/plugins/main/spiral_pulsing/spiral_pulsing.c Examining data/lebiniou-3.50/plugins/main/blur_horizontal_2/blur_horizontal_2.c Examining data/lebiniou-3.50/plugins/main/mirror_top/mirror_top.c Examining data/lebiniou-3.50/plugins/main/spirals_nested/spirals_nested.c Examining data/lebiniou-3.50/plugins/main/fadeout/fadeout.c Examining data/lebiniou-3.50/plugins/main/swap_columns/swap_columns.c Examining data/lebiniou-3.50/plugins/main/image_colrot/image_colrot.c Examining data/lebiniou-3.50/plugins/main/tv_nervous/tv_nervous.c Examining data/lebiniou-3.50/plugins/main/tv_diffbeat/tv_diffbeat.c Examining data/lebiniou-3.50/plugins/main/scroll_horizontal/scroll_horizontal.c Examining data/lebiniou-3.50/plugins/main/path_oscillo_freq/path_oscillo_freq.c Examining data/lebiniou-3.50/plugins/main/recurrence_plot/recurrence_plot.c Examining data/lebiniou-3.50/plugins/main/takens/takens.c Examining data/lebiniou-3.50/plugins/main/image_beat_2/image_beat_2.c Examining data/lebiniou-3.50/plugins/main/include/shaker.h Examining data/lebiniou-3.50/plugins/main/include/tv.h Examining data/lebiniou-3.50/plugins/main/include/parameters.h Examining data/lebiniou-3.50/plugins/main/include/spectrum.h Examining data/lebiniou-3.50/plugins/main/include/oscillo.h Examining data/lebiniou-3.50/plugins/main/include/infinity.h Examining data/lebiniou-3.50/plugins/main/include/freq.h Examining data/lebiniou-3.50/plugins/main/include/blur.h Examining data/lebiniou-3.50/plugins/main/include/gum.h Examining data/lebiniou-3.50/plugins/main/include/path.h Examining data/lebiniou-3.50/plugins/main/faders/faders.c Examining data/lebiniou-3.50/plugins/main/image_colrot_slow/image_colrot_slow.c Examining data/lebiniou-3.50/plugins/main/clear/clear.c Examining data/lebiniou-3.50/plugins/main/fadeout_slow/fadeout_slow.c Examining data/lebiniou-3.50/plugins/main/images_pulse/images_pulse.c Examining data/lebiniou-3.50/plugins/main/spectrum/spectrum.c Examining data/lebiniou-3.50/plugins/main/roller_y/roller_y.c Examining data/lebiniou-3.50/plugins/main/infinity/infinity.c Examining data/lebiniou-3.50/plugins/main/rotors_freq/rotors_freq.c Examining data/lebiniou-3.50/plugins/main/spectrogram/spectrogram.c Examining data/lebiniou-3.50/plugins/main/galaxy/galaxy.c Examining data/lebiniou-3.50/plugins/main/snake/snake.c Examining data/lebiniou-3.50/plugins/main/reflector/reflector.c Examining data/lebiniou-3.50/plugins/main/tv_quark/tv_quark.c Examining data/lebiniou-3.50/plugins/main/tv_diff3/tv_diff3.c Examining data/lebiniou-3.50/plugins/main/GLCube/GLCube.c Examining data/lebiniou-3.50/plugins/main/tv_colrot_slow/tv_colrot_slow.c Examining data/lebiniou-3.50/plugins/main/spectrum_s_vertical/spectrum_s_vertical.c Examining data/lebiniou-3.50/plugins/main/speaker/speaker.c Examining data/lebiniou-3.50/plugins/main/path_oscillo/path_oscillo.c Examining data/lebiniou-3.50/plugins/main/warp/warp.c Examining data/lebiniou-3.50/plugins/main/tv_colrot_beat/tv_colrot_beat.c Examining data/lebiniou-3.50/plugins/main/roller_x/roller_x.c Examining data/lebiniou-3.50/plugins/main/oscillo_x/oscillo_x.c Examining data/lebiniou-3.50/plugins/main/blur_light/blur_light.c Examining data/lebiniou-3.50/plugins/main/splash/splash.c Examining data/lebiniou-3.50/plugins/main/tv_predator/tv_predator.c Examining data/lebiniou-3.50/plugins/main/swap_rows/swap_rows.c Examining data/lebiniou-3.50/plugins/main/space_in/space_in.c Examining data/lebiniou-3.50/plugins/main/broken_mirror/broken_mirror.c Examining data/lebiniou-3.50/plugins/main/ripple/ripple.c Examining data/lebiniou-3.50/plugins/main/snake_oscillo/snake_oscillo.c Examining data/lebiniou-3.50/plugins/main/spheres_pulse/spheres_pulse.c Examining data/lebiniou-3.50/plugins/main/space_out/space_out.c Examining data/lebiniou-3.50/plugins/main/oscillo_polar/oscillo_polar.c Examining data/lebiniou-3.50/plugins/main/image_colrot_beat/image_colrot_beat.c Examining data/lebiniou-3.50/plugins/main/scanline_y/scanline_y.c Examining data/lebiniou-3.50/plugins/main/fadeout_beat/fadeout_beat.c Examining data/lebiniou-3.50/plugins/main/melt/melt.c Examining data/lebiniou-3.50/plugins/main/image_squares/image_squares.c Examining data/lebiniou-3.50/plugins/main/spiral_archimedean_3d/spiral_archimedean_3d.c Examining data/lebiniou-3.50/plugins/main/tv_colrot/tv_colrot.c Examining data/lebiniou-3.50/plugins/main/scroll_vertical/scroll_vertical.c Examining data/lebiniou-3.50/plugins/main/blur_diagonal_1/blur_diagonal_1.c Examining data/lebiniou-3.50/plugins/main/_params/_params.c Examining data/lebiniou-3.50/plugins/main/rotozoom/rotozoom.c Examining data/lebiniou-3.50/plugins/main/scanline_x/scanline_x.c Examining data/lebiniou-3.50/plugins/main/hodge/hodge.c Examining data/lebiniou-3.50/plugins/main/spiral_effect/spiral_effect.c Examining data/lebiniou-3.50/plugins/main/tv_diff2/tv_diff2.c Examining data/lebiniou-3.50/plugins/main/swarm/swarm.c Examining data/lebiniou-3.50/plugins/main/spectrum_s_horizontal/spectrum_s_horizontal.c Examining data/lebiniou-3.50/plugins/main/rotors/rotors.c Examining data/lebiniou-3.50/plugins/main/path_freq/path_freq.c Examining data/lebiniou-3.50/plugins/main/color_cycle/color_cycle.c Examining data/lebiniou-3.50/plugins/main/sequence_fadeout/sequence_fadeout.c Examining data/lebiniou-3.50/plugins/main/fadeout_mist/fadeout_mist.c Examining data/lebiniou-3.50/plugins/main/image_dissolve/image_dissolve.c Examining data/lebiniou-3.50/plugins/main/tv_fire/tv_fire.c Examining data/lebiniou-3.50/plugins/main/image_beat_3/image_beat_3.c Examining data/lebiniou-3.50/plugins/main/path/path.c Examining data/lebiniou-3.50/plugins/main/sin_oscillo_2/sin_oscillo_2.c Examining data/lebiniou-3.50/plugins/main/image_beat_1/image_beat_1.c Examining data/lebiniou-3.50/plugins/main/tv_1d/tv_1d.c Examining data/lebiniou-3.50/plugins/main/emboss/emboss.c Examining data/lebiniou-3.50/plugins/main/image_squares_beat/image_squares_beat.c Examining data/lebiniou-3.50/plugins/main/smoke/smoke.c Examining data/lebiniou-3.50/plugins/main/tv_webcam/tv_webcam.c Examining data/lebiniou-3.50/plugins/main/critters/critters.c Examining data/lebiniou-3.50/plugins/main/taquin/taquin.c Examining data/lebiniou-3.50/plugins/main/poincare/poincare.c Examining data/lebiniou-3.50/plugins/main/flow/flow.c Examining data/lebiniou-3.50/plugins/main/paint_drops/paint_drops.c Examining data/lebiniou-3.50/plugins/main/image_drop/image_drop.c Examining data/lebiniou-3.50/plugins/main/shaker_y/shaker_y.c Examining data/lebiniou-3.50/plugins/main/pulse/pulse.c Examining data/lebiniou-3.50/plugins/main/blur_horizontal/blur_horizontal.c Examining data/lebiniou-3.50/plugins/main/mirror_left/mirror_left.c Examining data/lebiniou-3.50/plugins/main/spirals/spirals.c Examining data/lebiniou-3.50/plugins/main/hurricane/hurricane.c Examining data/lebiniou-3.50/plugins/main/blur_horizontal_colrot/blur_horizontal_colrot.c Examining data/lebiniou-3.50/plugins/main/touw_eiffel/touw_eiffel.c Examining data/lebiniou-3.50/plugins/main/blur_gaussian/blur_gaussian.c Examining data/lebiniou-3.50/plugins/main/oscillo_rotating/oscillo_rotating.c Examining data/lebiniou-3.50/plugins/main/blur_diagonal_2/blur_diagonal_2.c Examining data/lebiniou-3.50/plugins/main/blur_vertical/blur_vertical.c Examining data/lebiniou-3.50/plugins/main/life/life.c Examining data/lebiniou-3.50/plugins/main/tv_diff/tv_diff.c Examining data/lebiniou-3.50/plugins/main/color_flashy/color_flashy.c Examining data/lebiniou-3.50/plugins/main/gum_x/gum_x.c Examining data/lebiniou-3.50/plugins/main/tunnel/tunnel.c Examining data/lebiniou-3.50/plugins/main/mirror_right/mirror_right.c Examining data/lebiniou-3.50/plugins/main/drops/drops.c Examining data/lebiniou-3.50/plugins/main/cellular_venus/cellular_venus.c Examining data/lebiniou-3.50/plugins/main/edge_detect/edge_detect.c Examining data/lebiniou-3.50/plugins/main/blur_chemical/blur_chemical.c Examining data/lebiniou-3.50/plugins/main/blur_cross/blur_cross.c Examining data/lebiniou-3.50/plugins/main/test_beat_detection/test_beat_detection.c Examining data/lebiniou-3.50/plugins/main/kaleidoscope/kaleidoscope.c Examining data/lebiniou-3.50/plugins/main/acid_drop/acid_drop.c Examining data/lebiniou-3.50/plugins/main/video/video.c Examining data/lebiniou-3.50/plugins/main/mosaic/mosaic.c Examining data/lebiniou-3.50/plugins/main/oscillo_y/oscillo_y.c Examining data/lebiniou-3.50/plugins/main/mirror_bottom/mirror_bottom.c Examining data/lebiniou-3.50/plugins/main/gum_y/gum_y.c Examining data/lebiniou-3.50/plugins/main/tv_streak/tv_streak.c Examining data/lebiniou-3.50/src/image_filter.c Examining data/lebiniou-3.50/src/bulfius_websockets.c Examining data/lebiniou-3.50/src/params3d.h Examining data/lebiniou-3.50/src/constants.h Examining data/lebiniou-3.50/src/images.h Examining data/lebiniou-3.50/src/context_ui_commands.c Examining data/lebiniou-3.50/src/brandom.h Examining data/lebiniou-3.50/src/includes.h Examining data/lebiniou-3.50/src/main.c Examining data/lebiniou-3.50/src/webcam_init_uninit.c Examining data/lebiniou-3.50/src/params3d.c Examining data/lebiniou-3.50/src/webcam_loop.c Examining data/lebiniou-3.50/src/bulfius_post_parameters.c Examining data/lebiniou-3.50/src/context_export.c Examining data/lebiniou-3.50/src/screenshot.c Examining data/lebiniou-3.50/src/sequence_save.c Examining data/lebiniou-3.50/src/images.c Examining data/lebiniou-3.50/src/pnglite.h Examining data/lebiniou-3.50/src/bulfius_get_replay.c Examining data/lebiniou-3.50/src/sequence.h Examining data/lebiniou-3.50/src/particles.c Examining data/lebiniou-3.50/src/plugin.h Examining data/lebiniou-3.50/src/signals.c Examining data/lebiniou-3.50/src/pnglite.c Examining data/lebiniou-3.50/src/keys.h Examining data/lebiniou-3.50/src/sequence2json.c Examining data/lebiniou-3.50/src/bulfius_allowed_commands.c Examining data/lebiniou-3.50/src/context_gl.c Examining data/lebiniou-3.50/src/biniou.c Examining data/lebiniou-3.50/src/imagefader.c Examining data/lebiniou-3.50/src/alarm.h Examining data/lebiniou-3.50/src/fader.h Examining data/lebiniou-3.50/src/context_banks.c Examining data/lebiniou-3.50/src/context_json.c Examining data/lebiniou-3.50/src/globals.c Examining data/lebiniou-3.50/src/sequences.h Examining data/lebiniou-3.50/src/bulfius.h Examining data/lebiniou-3.50/src/bulfius_ui_post_command.c Examining data/lebiniou-3.50/src/sequencemanager_command.c Examining data/lebiniou-3.50/src/context_commands.c Examining data/lebiniou-3.50/src/circle.c Examining data/lebiniou-3.50/src/schemes_random.c Examining data/lebiniou-3.50/src/commands.h Examining data/lebiniou-3.50/src/oscillo.c Examining data/lebiniou-3.50/src/bulfius.c Examining data/lebiniou-3.50/src/biniou.h Examining data/lebiniou-3.50/src/image_8bits.c Examining data/lebiniou-3.50/src/plugins.c Examining data/lebiniou-3.50/src/schemes.c Examining data/lebiniou-3.50/src/webcam_options.c Examining data/lebiniou-3.50/src/fader.c Examining data/lebiniou-3.50/src/btimer.h Examining data/lebiniou-3.50/src/bulfius_get_sequence.c Examining data/lebiniou-3.50/src/plugins.h Examining data/lebiniou-3.50/src/commands.c Examining data/lebiniou-3.50/src/context_playlist.c Examining data/lebiniou-3.50/src/shuffler_modes.h Examining data/lebiniou-3.50/src/schemes.h Examining data/lebiniou-3.50/src/context_run.c Examining data/lebiniou-3.50/src/brandom.c Examining data/lebiniou-3.50/src/sequence.c Examining data/lebiniou-3.50/src/image_8bits.h Examining data/lebiniou-3.50/src/plugin.c Examining data/lebiniou-3.50/src/sequencemanager.c Examining data/lebiniou-3.50/src/sequence_copy.c Examining data/lebiniou-3.50/src/point3d.h Examining data/lebiniou-3.50/src/cmapfader_command.c Examining data/lebiniou-3.50/src/colormaps.h Examining data/lebiniou-3.50/src/cmapfader.c Examining data/lebiniou-3.50/src/shuffler.c Examining data/lebiniou-3.50/src/webcam_start_stop.c Examining data/lebiniou-3.50/src/buffer_8bits.c Examining data/lebiniou-3.50/src/bulfius_post_command.c Examining data/lebiniou-3.50/src/bulfius_post_sequence.c Examining data/lebiniou-3.50/src/cmap_8bits.h Examining data/lebiniou-3.50/src/main.h Examining data/lebiniou-3.50/src/bulfius_get_statistics.c Examining data/lebiniou-3.50/src/globals.h Examining data/lebiniou-3.50/src/context_png.c Examining data/lebiniou-3.50/src/colormaps.c Examining data/lebiniou-3.50/src/oscillo.h Examining data/lebiniou-3.50/src/context_set.c Examining data/lebiniou-3.50/src/context.c Examining data/lebiniou-3.50/src/bulfius_get_plugins.c Examining data/lebiniou-3.50/src/sequences.c Examining data/lebiniou-3.50/src/ui_commands.h Examining data/lebiniou-3.50/src/sequence_load.c Examining data/lebiniou-3.50/src/ui_commands_banks.c Examining data/lebiniou-3.50/src/point2d.h Examining data/lebiniou-3.50/src/spline.c Examining data/lebiniou-3.50/src/cmap_8bits.c Examining data/lebiniou-3.50/src/webcam.h Examining data/lebiniou-3.50/src/sequencemanager.h Examining data/lebiniou-3.50/src/utils.h Examining data/lebiniou-3.50/src/cmapfader.h Examining data/lebiniou-3.50/src/context_shortcuts.c Examining data/lebiniou-3.50/src/context.h Examining data/lebiniou-3.50/src/translation.h Examining data/lebiniou-3.50/src/context_statistics.c Examining data/lebiniou-3.50/src/rgba.h Examining data/lebiniou-3.50/src/plugins_command.c Examining data/lebiniou-3.50/src/shuffler.h Examining data/lebiniou-3.50/src/btimer.c Examining data/lebiniou-3.50/src/circle.h Examining data/lebiniou-3.50/src/bulfius_ui_get_static.c Examining data/lebiniou-3.50/src/layer.h Examining data/lebiniou-3.50/src/input.h Examining data/lebiniou-3.50/src/webcam_controls.c Examining data/lebiniou-3.50/src/plugin_parameters.c Examining data/lebiniou-3.50/src/spline.h Examining data/lebiniou-3.50/src/translation.c Examining data/lebiniou-3.50/src/buffer_RGBA.h Examining data/lebiniou-3.50/src/webcam_open_close.c Examining data/lebiniou-3.50/src/buffer_RGBA.c Examining data/lebiniou-3.50/src/commands_key.h Examining data/lebiniou-3.50/src/keyfile.c Examining data/lebiniou-3.50/src/bulfius_get_parameters.c Examining data/lebiniou-3.50/src/alarm.c Examining data/lebiniou-3.50/src/context_replay.c Examining data/lebiniou-3.50/src/paths.c Examining data/lebiniou-3.50/src/imagefader_command.c Examining data/lebiniou-3.50/src/particles.h Examining data/lebiniou-3.50/src/bulfius_get_colormap.c Examining data/lebiniou-3.50/src/image_filter.h Examining data/lebiniou-3.50/src/input.c Examining data/lebiniou-3.50/src/buffer_8bits.h Examining data/lebiniou-3.50/src/layer.c Examining data/lebiniou-3.50/src/bulfius_get_frame.c Examining data/lebiniou-3.50/src/options.h Examining data/lebiniou-3.50/src/utils.c Examining data/lebiniou-3.50/src/paths.h Examining data/lebiniou-3.50/src/bulfius_get_image.c Examining data/lebiniou-3.50/src/cmdline.c Examining data/lebiniou-3.50/src/imagefader.h FINAL RESULTS: data/lebiniou-3.50/plugins/main/video/video.c:126:24: [4] (shell) popen: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. if (NULL == (video = popen(cmd, "r"))) { data/lebiniou-3.50/plugins/output/RTMP/RTMP.c:49:23: [4] (shell) popen: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. if (NULL == (rtmp = popen(cmd, "w"))) { data/lebiniou-3.50/plugins/output/SDL2/ttf.c:110:3: [4] (format) vsprintf: Potential format string problem (CWE-134). Make format string constant. vsprintf(str, fmt, ap); /* TODO vsnprintf */ data/lebiniou-3.50/plugins/output/mp4/mp4.c:91:22: [4] (shell) popen: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. if (NULL == (mp4 = popen(cmd, "w"))) { data/lebiniou-3.50/src/bulfius_ui_get_static.c:128:31: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. if ((NULL != file_path) && (access(file_path, F_OK) != -1)) { data/lebiniou-3.50/src/cmdline.c:49:3: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf("Usage: " PACKAGE_NAME " [options]\n\n" data/lebiniou-3.50/src/main.c:70:11: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. VERBOSE(printf(_BANNER)); data/lebiniou-3.50/src/utils.c:31:3: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. vfprintf(stderr, fmt, ap); data/lebiniou-3.50/src/utils.c:44:3: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. vfprintf(stderr, fmt, ap); data/lebiniou-3.50/src/utils.c:147:7: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. if (access(dir, R_OK) == -1) { data/lebiniou-3.50/src/utils.c:277:15: [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. int res = system(cmd); data/lebiniou-3.50/plugins/input/jackaudio/jackaudio.c:138:34: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if (NULL == (source_names[0] = getenv("LEBINIOU_JACK_LEFT"))) { data/lebiniou-3.50/plugins/input/jackaudio/jackaudio.c:141:34: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if (NULL == (source_names[1] = getenv("LEBINIOU_JACK_RIGHT"))) { data/lebiniou-3.50/plugins/input/sndfile/sndfile.c:61:18: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. audio_file = getenv("LEBINIOU_SNDFILE"); data/lebiniou-3.50/plugins/input/sndfile/sndfile.c:68:19: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. loop = (NULL != getenv("LEBINIOU_SNDFILE_LOOP")); data/lebiniou-3.50/plugins/main/blur_chemical/blur_chemical.c:66:13: [3] (random) drand48: 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. t = drand48() * 256; data/lebiniou-3.50/plugins/main/flow/flow.c:146:28: [3] (random) lrand48: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. #define balance_rand(v) ((lrand48()/MAXRAND*(v))-((v)/2)) /* random around 0 */ data/lebiniou-3.50/plugins/main/galaxy/galaxy.c:32:28: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. #define LRAND() ((long) (random() & 0x7fffffff)) data/lebiniou-3.50/plugins/main/rotors/rotors.c:158:24: [3] (random) drand48: 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 hasard = (int)(drand48 () * i), j = 0; data/lebiniou-3.50/plugins/main/rotors/rotors.c:186:19: [3] (random) drand48: 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. rotor->rayon = (drand48() * (max_rnd_factor - min_rnd_factor) + min_rnd_factor) * (float)max_ray / (float)prof; data/lebiniou-3.50/plugins/main/rotors/rotors.c:207:21: [3] (random) drand48: 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 d = (float)(drand48() * 2.0 - 1.0); data/lebiniou-3.50/plugins/main/rotors/rotors.c:216:21: [3] (random) drand48: 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 d = (float)(drand48() * 2.0 - 1.0); data/lebiniou-3.50/plugins/main/rotors/rotors.c:225:21: [3] (random) drand48: 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 d = (float)(drand48() * 2.0 - 1.0); data/lebiniou-3.50/plugins/main/rotors/rotors.c:234:13: [3] (random) drand48: 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 d = drand48() * (max_color - min_color) + min_color; data/lebiniou-3.50/plugins/main/rotors/rotors.c:247:23: [3] (random) drand48: 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. tab[i].visible = (drand48() <= proba_visible); data/lebiniou-3.50/plugins/main/rotors_freq/rotors_freq.c:141:24: [3] (random) drand48: 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 hasard = (int)(drand48 () * i), j = 0; data/lebiniou-3.50/plugins/main/rotors_freq/rotors_freq.c:169:19: [3] (random) drand48: 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. rotor->rayon = (drand48() * (max_rnd_factor - min_rnd_factor) + min_rnd_factor) * (float)max_ray / (float)prof; data/lebiniou-3.50/plugins/main/rotors_freq/rotors_freq.c:190:21: [3] (random) drand48: 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 d = (float)(drand48() * 2.0 - 1.0); data/lebiniou-3.50/plugins/main/rotors_freq/rotors_freq.c:198:21: [3] (random) drand48: 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 d = (float)(drand48() * 2.0 - 1.0); data/lebiniou-3.50/plugins/main/rotors_freq/rotors_freq.c:206:21: [3] (random) drand48: 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 d = (float)(drand48() * 2.0 - 1.0); data/lebiniou-3.50/plugins/main/rotors_freq/rotors_freq.c:214:13: [3] (random) drand48: 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 d = drand48() * (max_color - min_color) + min_color; data/lebiniou-3.50/plugins/main/rotors_freq/rotors_freq.c:226:23: [3] (random) drand48: 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. tab[i].visible = (drand48() <= proba_visible); data/lebiniou-3.50/plugins/main/sin_oscillo_1/sin_oscillo_1.c:77:10: [3] (random) drand48: 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 drand48() * (sin1_freq_max - sin1_freq_min) + sin1_freq_min; data/lebiniou-3.50/plugins/main/sin_oscillo_1/sin_oscillo_1.c:91:25: [3] (random) drand48: 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. sin1_freq_inc = -(drand48() / 10 + .01); data/lebiniou-3.50/plugins/main/sin_oscillo_1/sin_oscillo_1.c:101:23: [3] (random) drand48: 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. sin1_freq_inc = drand48() / 10 + .01; data/lebiniou-3.50/plugins/main/sin_oscillo_1/sin_oscillo_1.c:144:19: [3] (random) drand48: 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. sin1_freq_inc = drand48() / 10 + .01; data/lebiniou-3.50/plugins/main/sin_oscillo_2/sin_oscillo_2.c:78:10: [3] (random) drand48: 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 drand48() * (sin2_freq_max - sin2_freq_min) + sin2_freq_min; data/lebiniou-3.50/plugins/main/sin_oscillo_2/sin_oscillo_2.c:92:25: [3] (random) drand48: 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. sin2_freq_inc = -(drand48() / 10 + .01); data/lebiniou-3.50/plugins/main/sin_oscillo_2/sin_oscillo_2.c:102:23: [3] (random) drand48: 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. sin2_freq_inc = drand48() / 10 + .01; data/lebiniou-3.50/plugins/main/sin_oscillo_2/sin_oscillo_2.c:147:19: [3] (random) drand48: 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. sin2_freq_inc = drand48() / 10 + .01; data/lebiniou-3.50/plugins/main/snake/snake.c:149:13: [3] (random) drand48: 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. dir = drand48() < .5; data/lebiniou-3.50/plugins/main/snake/snake.c:154:13: [3] (random) drand48: 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. dir = drand48() < .5; data/lebiniou-3.50/plugins/main/snake/snake.c:155:13: [3] (random) drand48: 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. inc = drand48() < .5 ? -1 : 1; data/lebiniou-3.50/plugins/main/snake/snake.c:161:28: [3] (random) drand48: 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. if (change_inc_on_hf && (drand48() < average_freq_id / (double)spectrum_id_orientation_factor)) { data/lebiniou-3.50/plugins/main/snake_oscillo/snake_oscillo.c:250:13: [3] (random) drand48: 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. dir = drand48() < .5; data/lebiniou-3.50/plugins/main/snake_oscillo/snake_oscillo.c:255:13: [3] (random) drand48: 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. dir = drand48() < .5; data/lebiniou-3.50/plugins/main/snake_oscillo/snake_oscillo.c:256:13: [3] (random) drand48: 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. inc = drand48() < .5 ? -1 : 1; data/lebiniou-3.50/plugins/main/snake_oscillo/snake_oscillo.c:262:28: [3] (random) drand48: 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. if (change_inc_on_hf && (drand48() < average_freq_id / (double)spectrum_id_orientation_factor)) { data/lebiniou-3.50/plugins/main/spiral_archimedean_3d/spiral_archimedean_3d.c:81: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. P.pos.x = random * expf(0.15 * t) * cosf(2 * t); data/lebiniou-3.50/plugins/main/spiral_archimedean_3d/spiral_archimedean_3d.c:82: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. P.pos.y = random * expf(0.15 * t) * sinf(2 * t); data/lebiniou-3.50/plugins/main/spiral_archimedean_3d/spiral_archimedean_3d.c:83:20: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. P.pos.z = -1 + random * expf(0.15 * t); data/lebiniou-3.50/plugins/main/splash/splash.c:49:40: [3] (random) drand48: 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. splash_map[i] = (uint32_t)(WIDTH + drand48 () * (BUFFSIZE-WIDTH)); data/lebiniou-3.50/plugins/main/taquin/taquin.c:104:31: [3] (random) drand48: 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. new_hole_x = (uint16_t)(drand48 () * NX) * size; data/lebiniou-3.50/plugins/main/taquin/taquin.c:109:31: [3] (random) drand48: 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. new_hole_y = (uint16_t)(drand48 () * NY) * size; data/lebiniou-3.50/plugins/main/taquin/taquin.c:399:23: [3] (random) drand48: 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. hole_x = (uint16_t)(drand48() * NX) * size; data/lebiniou-3.50/plugins/main/taquin/taquin.c:400:23: [3] (random) drand48: 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. hole_y = (uint16_t)(drand48() * NY) * size; data/lebiniou-3.50/plugins/main/video/video.c:119:27: [3] (buffer) g_get_home_dir: This function is synonymous with 'getenv("HOME")';it returns untrustable input if the environment can beset by an attacker. It can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. const gchar *home_dir = g_get_home_dir(); data/lebiniou-3.50/plugins/output/RTMP/RTMP.c:41:23: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if (NULL == (args = getenv("LEBINIOU_RTMP_FFMPEG_ARGS"))) { data/lebiniou-3.50/plugins/output/RTMP/RTMP.c:44:22: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if (NULL == (url = getenv("LEBINIOU_RTMP_URL"))) { data/lebiniou-3.50/plugins/output/SDL2/ttf.c:47:27: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. const char *font_path = getenv("LEBINIOU_FONT"); data/lebiniou-3.50/plugins/output/SDL2/ttf.c:57:27: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. const char *font_size = getenv("LEBINIOU_FONT_SIZE"); data/lebiniou-3.50/plugins/output/caca/caca.c:87:19: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. export_format = getenv("LEBINIOU_CACA_EXPORT_FORMAT"); data/lebiniou-3.50/plugins/output/caca/caca.c:89:21: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. export_prefix = getenv("LEBINIOU_CACA_EXPORT_PREFIX"); data/lebiniou-3.50/plugins/output/mp4/mp4.c:49:14: [3] (buffer) g_get_home_dir: This function is synonymous with 'getenv("HOME")';it returns untrustable input if the environment can beset by an attacker. It can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. home_dir = g_get_home_dir(); data/lebiniou-3.50/plugins/output/mp4/mp4.c:55:18: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. audio_file = getenv("LEBINIOU_SNDFILE"); data/lebiniou-3.50/plugins/output/mp4/mp4.c:77:18: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. audio_file = getenv("LEBINIOU_SNDFILE"); data/lebiniou-3.50/src/brandom.c:32:26: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if (NULL != (seedstr = getenv("LEBINIOU_SEED"))) { data/lebiniou-3.50/src/brandom.c:58:10: [3] (random) g_rand_int: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. return g_rand_int(brand); data/lebiniou-3.50/src/brandom.c:65:33: [3] (random) g_rand_int_range: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. return (begin == end) ? end : g_rand_int_range(brand, begin, end); data/lebiniou-3.50/src/brandom.c:72:43: [3] (random) g_rand_int_range: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. return (begin == end) ? end : (uint32_t)g_rand_int_range(brand, begin, end); data/lebiniou-3.50/src/brandom.c:79:10: [3] (random) g_rand_double_range: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. return g_rand_double_range(brand, begin, end); data/lebiniou-3.50/src/brandom.c:86:10: [3] (random) g_rand_boolean: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. return g_rand_boolean(brand); data/lebiniou-3.50/src/bulfius_ui_get_static.c:107:9: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if (getenv("DEV_WEB_UI")) { data/lebiniou-3.50/src/bulfius_ui_get_static.c:114:9: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if (getenv("DEV_WEB_UI")) { data/lebiniou-3.50/src/cmap_8bits.c:256:8: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if (!getenv("NO_PALETTE")) { data/lebiniou-3.50/src/cmdline.c:170:16: [3] (buffer) getopt_long: Some older implementations do not protect against internal buffer overflows (CWE-120, CWE-20). Check implementation on installation, or limit the size of all string inputs. while ((ch = getopt_long(argc, argv, arg_list, long_opt, NULL)) != -1) data/lebiniou-3.50/src/cmdline.c:172:16: [3] (buffer) getopt: Some older implementations do not protect against internal buffer overflows (CWE-120, CWE-20). Check implementation on installation, or limit the size of all string inputs. while ((ch = getopt(argc, argv, arg_list)) != -1) data/lebiniou-3.50/src/context.c:309: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. Buffer8_delete(ctx->random); data/lebiniou-3.50/src/context.c:711:17: [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. *d = buffs[*random]->buffer[i]; data/lebiniou-3.50/src/context.c:715:17: [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. *d = buffs[*random]->buffer[i]; data/lebiniou-3.50/src/context.h:176: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. Buffer8_t *random; data/lebiniou-3.50/src/context_banks.c:73:14: [3] (buffer) g_get_home_dir: This function is synonymous with 'getenv("HOME")';it returns untrustable input if the environment can beset by an attacker. It can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. home_dir = g_get_home_dir(); data/lebiniou-3.50/src/context_banks.c:143:14: [3] (buffer) g_get_home_dir: This function is synonymous with 'getenv("HOME")';it returns untrustable input if the environment can beset by an attacker. It can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. home_dir = g_get_home_dir(); data/lebiniou-3.50/src/context_shortcuts.c:35:14: [3] (buffer) g_get_home_dir: This function is synonymous with 'getenv("HOME")';it returns untrustable input if the environment can beset by an attacker. It can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. home_dir = g_get_home_dir(); data/lebiniou-3.50/src/context_shortcuts.c:90:14: [3] (buffer) g_get_home_dir: This function is synonymous with 'getenv("HOME")';it returns untrustable input if the environment can beset by an attacker. It can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. home_dir = g_get_home_dir(); data/lebiniou-3.50/src/images.c:68:75: [3] (buffer) g_get_home_dir: This function is synonymous with 'getenv("HOME")';it returns untrustable input if the environment can beset by an attacker. It can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. directoryname = g_strdup_printf("%s/." PACKAGE_NAME "/images/%s", g_get_home_dir(), th); data/lebiniou-3.50/src/keyfile.c:355:16: [3] (buffer) g_get_home_dir: This function is synonymous with 'getenv("HOME")';it returns untrustable input if the environment can beset by an attacker. It can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. home_dir = g_get_home_dir(); data/lebiniou-3.50/src/main.c:144:15: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if (NULL == getenv("LEBINIOU_NO_BANNER")) { data/lebiniou-3.50/src/plugins.c:344:42: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. uint8_t ignore_beq_norandom = (NULL != getenv("LEBINIOU_IGNORE_BO_NORANDOM")); data/lebiniou-3.50/src/schemes_random.c:32: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. uint16_t random; data/lebiniou-3.50/src/schemes_random.c:55:40: [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. for (i = 0; ok && schemes->schemes[random][i].options; i++) { data/lebiniou-3.50/src/schemes_random.c:57:11: [3] (random) drand48: 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. if (drand48() <= schemes->schemes[random][i].p) { data/lebiniou-3.50/src/schemes_random.c:57:41: [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. if (drand48() <= schemes->schemes[random][i].p) { data/lebiniou-3.50/src/schemes_random.c:58:51: [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. const uint8_t not_lens = schemes->schemes[random][i].disable_lens; data/lebiniou-3.50/src/schemes_random.c:59:64: [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. const int res = Context_add_rand(new, schemes->schemes[random][i].options, not_lens, ctx->locked, 1); data/lebiniou-3.50/src/schemes_random.c:63:45: [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. if ((res == -1) && schemes->schemes[random][i].mandatory) { data/lebiniou-3.50/src/schemes_random.c:66:57: [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. printf("[!] Marking scheme %d as invalid.\n", random); data/lebiniou-3.50/src/schemes_random.c:69:49: [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. Shuffler_disable(schemes->shuffler, random); data/lebiniou-3.50/src/screenshot.c:36:14: [3] (buffer) g_get_home_dir: This function is synonymous with 'getenv("HOME")';it returns untrustable input if the environment can beset by an attacker. It can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. home_dir = g_get_home_dir(); data/lebiniou-3.50/src/sequences.c:154:16: [3] (buffer) g_get_home_dir: This function is synonymous with 'getenv("HOME")';it returns untrustable input if the environment can beset by an attacker. It can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. home_dir = g_get_home_dir(); data/lebiniou-3.50/src/webcam_options.c:80:13: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. options = getenv("LEBINIOU_WEBCAM"); data/lebiniou-3.50/plugins/input/jackaudio/jackaudio.c:28:8: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static char *source_names[2] = { NULL, NULL }; data/lebiniou-3.50/plugins/input/jackaudio/jackaudio.c:106:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char name[64]; data/lebiniou-3.50/plugins/input/jackaudio/jackaudio.c:108: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(name, "input_%d", i); data/lebiniou-3.50/plugins/input/oss/oss.c:157: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). fd = open(OSS, O_RDONLY); data/lebiniou-3.50/plugins/input/pulseaudio/pulseaudio.c:62:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char ss_a[PA_SAMPLE_SPEC_SNPRINT_MAX]; data/lebiniou-3.50/plugins/input/random/random.c:38: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). urndfd = open(DEVICE, O_RDONLY); data/lebiniou-3.50/plugins/input/twip/twip.c:119: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). urandfd = open(DEVICE, O_RDONLY); data/lebiniou-3.50/plugins/main/_params/_params.c:37:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const char *string_list[MODE_NB] = { "Joe", "William", "Jack", "Averell", "Ma" }; data/lebiniou-3.50/plugins/main/fadeout/fadeout.c:37:7: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. const char *mode_list[MODE_NB] = { "Selected", "Random" }; data/lebiniou-3.50/plugins/main/flow/flow.c:161:7: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. const char *mode_list[MODE_NB] = { "Selected", "Random" }; data/lebiniou-3.50/plugins/main/infinity/infinity.c:44:7: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. const char *mode_list[MODE_NB] = { "Selected", "Random" }; data/lebiniou-3.50/plugins/main/mirror_bottom/mirror_bottom.c:36:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy((void *)(&wrk->buffer[(MAXY - j) * WIDTH]), data/lebiniou-3.50/plugins/main/mirror_top/mirror_top.c:36:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy((void *)(&wrk->buffer[j * WIDTH]), data/lebiniou-3.50/plugins/main/scroll_horizontal/scroll_horizontal.c:31:7: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. const char *direction_list[DIRECTION_NB] = { "Leftwards", "Rightwards" }; data/lebiniou-3.50/plugins/main/scroll_horizontal/scroll_horizontal.c:42: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((void *)dst->buffer, (const void *)(src->buffer+sizeof(Pixel_t)), (BUFFSIZE-1)*sizeof(Pixel_t)); data/lebiniou-3.50/plugins/main/scroll_horizontal/scroll_horizontal.c:54: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((void *)(dst->buffer+sizeof(Pixel_t)), (const void *)src->buffer, (BUFFSIZE-1)*sizeof(Pixel_t)); data/lebiniou-3.50/plugins/main/scroll_vertical/scroll_vertical.c:31:7: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. const char *direction_list[DIRECTION_NB] = { "Downwards", "Upwards" }; data/lebiniou-3.50/plugins/main/scroll_vertical/scroll_vertical.c:43: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((void *)save, (const void *)src->buffer+(BUFFSIZE-WIDTH-1)*sizeof(Pixel_t), WIDTH*sizeof(Pixel_t)); data/lebiniou-3.50/plugins/main/scroll_vertical/scroll_vertical.c:44: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((void *)(dst->buffer+WIDTH*sizeof(Pixel_t)), (const void *)src->buffer, (BUFFSIZE-WIDTH)*sizeof(Pixel_t)); data/lebiniou-3.50/plugins/main/scroll_vertical/scroll_vertical.c:45: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((void *)dst->buffer, (const void *)save, WIDTH*sizeof(Pixel_t)); data/lebiniou-3.50/plugins/main/scroll_vertical/scroll_vertical.c:55: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((void *)save, (const void *)(src->buffer+WIDTH*sizeof(Pixel_t)), WIDTH*sizeof(Pixel_t)); data/lebiniou-3.50/plugins/main/scroll_vertical/scroll_vertical.c:56: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((void *)dst->buffer, (const void *)(src->buffer+WIDTH*sizeof(Pixel_t)), (BUFFSIZE-WIDTH)*sizeof(Pixel_t)); data/lebiniou-3.50/plugins/main/scroll_vertical/scroll_vertical.c:57: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((void *)(dst->buffer+(BUFFSIZE-WIDTH-1)*sizeof(Pixel_t)), (const void *)save, WIDTH*sizeof(Pixel_t)); data/lebiniou-3.50/plugins/main/tv_1d/tv_1d.c:54: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(dest + WIDTH * prevline, linebuf, WIDTH * sizeof(Pixel_t)); data/lebiniou-3.50/plugins/main/tv_1d/tv_1d.c:58:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(dest, src, WIDTH * sizeof(Pixel_t)); data/lebiniou-3.50/plugins/main/tv_1d/tv_1d.c:59: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(linebuf, src, WIDTH * sizeof(Pixel_t)); data/lebiniou-3.50/plugins/main/tv_quark/tv_quark.c:96: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(planetable[plane], src, video_area * PIXEL_SIZE); data/lebiniou-3.50/plugins/main/warp/warp.c:206: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(passive_buffer(ctx)->buffer, Warp.framebuf, BUFFSIZE*sizeof(Pixel_t)); data/lebiniou-3.50/plugins/output/RTMP/RTMP.c:37:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char cmd[MAXLEN+1]; data/lebiniou-3.50/plugins/output/RTMP/RTMP.c:86:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buff[MAXLEN+1]; data/lebiniou-3.50/plugins/output/SDL2/osd.c:89:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buff[OSD_BUFFLEN+1]; data/lebiniou-3.50/plugins/output/SDL2/osd.c:199:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buff[OSD_BUFFLEN+1]; data/lebiniou-3.50/plugins/output/SDL2/ttf.c:98:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char str[OSD_BUFFLEN+1]; data/lebiniou-3.50/plugins/output/caca/caca.c:132:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char fname[2][MAXLEN]; /* 0: temp file, 1: out filename */ data/lebiniou-3.50/plugins/output/caca/caca.c:151:14: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). stream = fopen(fname[0], "w"); data/lebiniou-3.50/plugins/output/mp4/mp4.c:128:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buff[MAXLEN+1]; data/lebiniou-3.50/src/biniou.c:31:8: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static char *delay_names[MAX_TIMERS] = { data/lebiniou-3.50/src/buffer_8bits.h:255: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(to->buffer, from->buffer, BUFFSIZE*sizeof(Pixel_t)); data/lebiniou-3.50/src/buffer_8bits.h:480:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(tmp, &buff->buffer[j*WIDTH], WIDTH * sizeof(Pixel_t)); data/lebiniou-3.50/src/buffer_8bits.h:481:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(&buff->buffer[j*WIDTH], &buff->buffer[(MAXY-j)*WIDTH], WIDTH * sizeof(Pixel_t)); data/lebiniou-3.50/src/buffer_8bits.h:482:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(&buff->buffer[(MAXY-j)*WIDTH], tmp, WIDTH * sizeof(Pixel_t)); data/lebiniou-3.50/src/bulfius_ui_get_static.c:129: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). f = fopen (file_path, "rb"); data/lebiniou-3.50/src/cmap_8bits.c:58:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char ccmap[MAXLEN]; data/lebiniou-3.50/src/cmap_8bits.c:71: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). stream = fopen(filename, "r"); data/lebiniou-3.50/src/cmap_8bits.c:80:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char prout[1024]; data/lebiniou-3.50/src/cmap_8bits.c:168: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). fd = open(filename, O_RDONLY); data/lebiniou-3.50/src/cmap_8bits.c:199:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char filename[MAXLEN]; data/lebiniou-3.50/src/cmap_8bits.c:212: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). stream = fopen(filename, "w"); data/lebiniou-3.50/src/context.c:727:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(dst, src, WIDTH * sizeof(Pixel_t)); data/lebiniou-3.50/src/context_png.c:60:15: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(*data, png_data, png_datalen * sizeof(uint8_t)); data/lebiniou-3.50/src/image_8bits.c:160:11: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(*data, png_data, png_datalen * sizeof(uint8_t)); data/lebiniou-3.50/src/image_filter.h:38:7: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. const char *border_list[BM_NB] = { "None", "Clear", "Local", "Toroidal" }; data/lebiniou-3.50/src/main.c:77:10: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static char buff[1025]; data/lebiniou-3.50/src/main.c:103: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). fd = open(buff, O_CREAT|O_WRONLY, S_IRUSR|S_IWUSR); data/lebiniou-3.50/src/paths.c:43: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 *stream = fopen(filename, "r"); data/lebiniou-3.50/src/pnglite.c:70:12: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char buf[4]; data/lebiniou-3.50/src/pnglite.c:83:12: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char buf[4]; data/lebiniou-3.50/src/pnglite.c:101:12: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char foo[4]; data/lebiniou-3.50/src/pnglite.c:103: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(foo, buf, 4); data/lebiniou-3.50/src/pnglite.c:173:12: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char ihdr[13+4]; /* length should be 13, make room for type (IHDR) */ data/lebiniou-3.50/src/pnglite.c:223:12: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char ihdr[13+4]; data/lebiniou-3.50/src/pnglite.c:300:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char header[8]; data/lebiniou-3.50/src/pnglite.c:346:14: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). FILE* fp = fopen(filename, "rb"); data/lebiniou-3.50/src/pnglite.c:357:14: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). FILE* fp = fopen(filename, "wb"); data/lebiniou-3.50/src/pnglite.c:551: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(chunk, "IDAT", 4); data/lebiniou-3.50/src/pnglite.c:700:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(out, in, len); data/lebiniou-3.50/src/pnglite.c:802:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(data+outpos, filtered+pos, png->width * stride); data/lebiniou-3.50/src/pnglite.c:873:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(&filtered[i*png->width*png->bpp+i+1], data + i * png->width*png->bpp, png->width*png->bpp); data/lebiniou-3.50/src/shuffler.c:310: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((void *)(nused+sizeof(char)), s->used, s->size*sizeof(char)); data/lebiniou-3.50/src/shuffler.c:311: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((void *)(ndisabled+sizeof(char)), s->disabled, s->size*sizeof(char)); data/lebiniou-3.50/src/shuffler_modes.h:23:7: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. const char *shuffler_modes[BS_NB] = { "shuffle", "cycle", "random" }; data/lebiniou-3.50/src/webcam_loop.c:52:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(dst->buffer, temp, BUFFSIZE*sizeof(Pixel_t)); data/lebiniou-3.50/src/webcam_open_close.c:52: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). cam->fd = open(dev_name, O_RDWR /* required */ | O_NONBLOCK, 0); data/lebiniou-3.50/plugins/input/esound/esound.c:109:11: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). n = read(esdfd, (void *)esdabuf, howmuch); data/lebiniou-3.50/plugins/input/oss/oss.c:323:11: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). n = read(fd, (void *)abuf, howmuch); data/lebiniou-3.50/plugins/input/random/random.c:68:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). n = read(urndfd, (void *)urndbuff, ctx->input->size * 2 * sizeof(short)); data/lebiniou-3.50/plugins/input/twip/twip.c:56:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). res = read(urandfd, (void *)&a, sizeof(uint32_t)); data/lebiniou-3.50/plugins/input/twip/twip.c:84:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). res = read(urandfd, (void *)&a, sizeof(uint32_t)); data/lebiniou-3.50/plugins/output/RTMP/RTMP.c:96:51: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). res = fwrite((const void *)&buff, sizeof(char), strlen(buff), rtmp); data/lebiniou-3.50/plugins/output/RTMP/RTMP.c:97:14: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (res != strlen(buff)) { data/lebiniou-3.50/plugins/output/RTMP/RTMP.c:98:95: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). fprintf(stderr, "[!] %s:write_header: short write (%d of %d)\n", __FILE__, (int)res, (int)strlen(buff)); data/lebiniou-3.50/plugins/output/SDL2/osd.c:105:11: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). now_str[strlen(now_str)-1] = '\0'; data/lebiniou-3.50/plugins/output/SDL2/osd.c:239:46: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). max_name_size = MAX(max_name_size, strlen(name)); data/lebiniou-3.50/plugins/output/SDL2/osd.c:245:72: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). MAX(0, 2 + (int)max_name_size + 7 - (11 + (int)strlen(plugins->selected->name))), ""); data/lebiniou-3.50/plugins/output/mp4/mp4.c:138:53: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). res = fwrite((const void *)&buff, sizeof(char), strlen(buff), mp4); data/lebiniou-3.50/plugins/output/mp4/mp4.c:139:16: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (res != strlen(buff)) { data/lebiniou-3.50/plugins/output/mp4/mp4.c:140:97: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). fprintf(stderr, "[!] %s:write_header: short write (%d of %d)\n", __FILE__, (int)res, (int)strlen(buff)); data/lebiniou-3.50/src/bulfius.c:50:107: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). ulfius_websocket_send_message((struct _websocket_manager *)client->data, U_WEBSOCKET_OPCODE_TEXT, strlen(payload), payload); data/lebiniou-3.50/src/bulfius_websockets.c:140:111: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). ulfius_websocket_send_message((struct _websocket_manager *)client->data, U_WEBSOCKET_OPCODE_TEXT, strlen(str), str); data/lebiniou-3.50/src/bulfius_websockets.c:167:111: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). ulfius_websocket_send_message((struct _websocket_manager *)client->data, U_WEBSOCKET_OPCODE_TEXT, strlen(str), str); data/lebiniou-3.50/src/cmap_8bits.c:174:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). res = read(fd, (void *)cmap->colors, BTR); data/lebiniou-3.50/src/context_json.c:145:105: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). ulfius_websocket_send_message((struct _websocket_manager *)client->data, U_WEBSOCKET_OPCODE_TEXT, strlen(payload), payload); data/lebiniou-3.50/src/context_json.c:175:105: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). ulfius_websocket_send_message((struct _websocket_manager *)client->data, U_WEBSOCKET_OPCODE_TEXT, strlen(str), str); data/lebiniou-3.50/src/context_json.c:207:70: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). ulfius_websocket_send_message(to, U_WEBSOCKET_OPCODE_TEXT, strlen(str), str); data/lebiniou-3.50/src/context_json.c:214:68: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). ulfius_websocket_send_message(to, U_WEBSOCKET_OPCODE_TEXT, strlen(str), str); data/lebiniou-3.50/src/context_ui_commands.c:297:13: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strlen(str)) { data/lebiniou-3.50/src/main.c:111:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). res = write(fd, buff, strlen(buff)*sizeof(char)); data/lebiniou-3.50/src/utils.c:309:27: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). for (uint8_t i = 0; i < strlen(unsafe); i++) data/lebiniou-3.50/src/webcam_loop.c:78:17: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if (-1 == read(cam->fd, data/lebiniou-3.50/src/webcam_open_close.c:31:18: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). int base_len = strlen(video_base); ANALYSIS SUMMARY: Hits = 201 Lines analyzed = 43606 in approximately 1.74 seconds (25061 lines/second) Physical Source Lines of Code (SLOC) = 28389 Hits@level = [0] 648 [1] 27 [2] 73 [3] 90 [4] 11 [5] 0 Hits@level+ = [0+] 849 [1+] 201 [2+] 174 [3+] 101 [4+] 11 [5+] 0 Hits/KSLOC@level+ = [0+] 29.9059 [1+] 7.08021 [2+] 6.12913 [3+] 3.55772 [4+] 0.387474 [5+] 0 Dot directories skipped = 1 (--followdotdir overrides) Minimum risk level = 1 Not every hit is necessarily a security vulnerability. There may be other security vulnerabilities; review your code! See 'Secure Programming HOWTO' (https://dwheeler.com/secure-programs) for more information.