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/edgar-1.23/src/audio/audio.c
Examining data/edgar-1.23/src/audio/audio.h
Examining data/edgar-1.23/src/audio/music.c
Examining data/edgar-1.23/src/audio/music.h
Examining data/edgar-1.23/src/boss/ant_lion.c
Examining data/edgar-1.23/src/boss/ant_lion.h
Examining data/edgar-1.23/src/boss/armour_boss.c
Examining data/edgar-1.23/src/boss/armour_boss.h
Examining data/edgar-1.23/src/boss/awesome_boss.c
Examining data/edgar-1.23/src/boss/awesome_boss.h
Examining data/edgar-1.23/src/boss/awesome_boss_meter.c
Examining data/edgar-1.23/src/boss/awesome_boss_meter.h
Examining data/edgar-1.23/src/boss/azriel.c
Examining data/edgar-1.23/src/boss/azriel.h
Examining data/edgar-1.23/src/boss/azriel_grave.c
Examining data/edgar-1.23/src/boss/azriel_grave.h
Examining data/edgar-1.23/src/boss/black_book.c
Examining data/edgar-1.23/src/boss/black_book.h
Examining data/edgar-1.23/src/boss/black_book_2.c
Examining data/edgar-1.23/src/boss/black_book_2.h
Examining data/edgar-1.23/src/boss/black_book_3.c
Examining data/edgar-1.23/src/boss/black_book_3.h
Examining data/edgar-1.23/src/boss/blob_boss.c
Examining data/edgar-1.23/src/boss/blob_boss.h
Examining data/edgar-1.23/src/boss/borer_boss.c
Examining data/edgar-1.23/src/boss/borer_boss.h
Examining data/edgar-1.23/src/boss/boulder_boss.c
Examining data/edgar-1.23/src/boss/boulder_boss.h
Examining data/edgar-1.23/src/boss/boulder_boss_2.c
Examining data/edgar-1.23/src/boss/boulder_boss_2.h
Examining data/edgar-1.23/src/boss/cave_boss.c
Examining data/edgar-1.23/src/boss/cave_boss.h
Examining data/edgar-1.23/src/boss/centurion_boss.c
Examining data/edgar-1.23/src/boss/centurion_boss.h
Examining data/edgar-1.23/src/boss/chaos.c
Examining data/edgar-1.23/src/boss/chaos.h
Examining data/edgar-1.23/src/boss/chaos_vine.c
Examining data/edgar-1.23/src/boss/chaos_vine.h
Examining data/edgar-1.23/src/boss/evil_edgar.c
Examining data/edgar-1.23/src/boss/evil_edgar.h
Examining data/edgar-1.23/src/boss/fly_boss.c
Examining data/edgar-1.23/src/boss/fly_boss.h
Examining data/edgar-1.23/src/boss/flying_maggot.c
Examining data/edgar-1.23/src/boss/flying_maggot.h
Examining data/edgar-1.23/src/boss/gargoyle.c
Examining data/edgar-1.23/src/boss/gargoyle.h
Examining data/edgar-1.23/src/boss/golem_boss.c
Examining data/edgar-1.23/src/boss/golem_boss.h
Examining data/edgar-1.23/src/boss/golem_rock_dropper.c
Examining data/edgar-1.23/src/boss/golem_rock_dropper.h
Examining data/edgar-1.23/src/boss/grimlore.c
Examining data/edgar-1.23/src/boss/grimlore.h
Examining data/edgar-1.23/src/boss/grimlore_summon_spell.c
Examining data/edgar-1.23/src/boss/grimlore_summon_spell.h
Examining data/edgar-1.23/src/boss/grub_boss.c
Examining data/edgar-1.23/src/boss/grub_boss.h
Examining data/edgar-1.23/src/boss/mataeus.c
Examining data/edgar-1.23/src/boss/mataeus.h
Examining data/edgar-1.23/src/boss/mataeus_wall.c
Examining data/edgar-1.23/src/boss/mataeus_wall.h
Examining data/edgar-1.23/src/boss/mini_gargoyle.c
Examining data/edgar-1.23/src/boss/mini_gargoyle.h
Examining data/edgar-1.23/src/boss/phoenix.c
Examining data/edgar-1.23/src/boss/phoenix.h
Examining data/edgar-1.23/src/boss/sewer_boss.c
Examining data/edgar-1.23/src/boss/sewer_boss.h
Examining data/edgar-1.23/src/boss/snake_boss.c
Examining data/edgar-1.23/src/boss/snake_boss.h
Examining data/edgar-1.23/src/boss/sorceror.c
Examining data/edgar-1.23/src/boss/sorceror.h
Examining data/edgar-1.23/src/boss/sorceror_2.c
Examining data/edgar-1.23/src/boss/sorceror_2.h
Examining data/edgar-1.23/src/boss/sorceror_floor.c
Examining data/edgar-1.23/src/boss/sorceror_floor.h
Examining data/edgar-1.23/src/collisions.c
Examining data/edgar-1.23/src/collisions.h
Examining data/edgar-1.23/src/credits.c
Examining data/edgar-1.23/src/credits.h
Examining data/edgar-1.23/src/cursor.c
Examining data/edgar-1.23/src/cursor.h
Examining data/edgar-1.23/src/custom_actions.c
Examining data/edgar-1.23/src/custom_actions.h
Examining data/edgar-1.23/src/defs.h
Examining data/edgar-1.23/src/dialog.c
Examining data/edgar-1.23/src/dialog.h
Examining data/edgar-1.23/src/draw.c
Examining data/edgar-1.23/src/draw.h
Examining data/edgar-1.23/src/draw_editor.c
Examining data/edgar-1.23/src/draw_editor.h
Examining data/edgar-1.23/src/enemy/armadillo.c
Examining data/edgar-1.23/src/enemy/armadillo.h
Examining data/edgar-1.23/src/enemy/armour_changer.c
Examining data/edgar-1.23/src/enemy/armour_changer.h
Examining data/edgar-1.23/src/enemy/auto_spike_ball.c
Examining data/edgar-1.23/src/enemy/auto_spike_ball.h
Examining data/edgar-1.23/src/enemy/baby_salamander.c
Examining data/edgar-1.23/src/enemy/baby_salamander.h
Examining data/edgar-1.23/src/enemy/baby_slime.c
Examining data/edgar-1.23/src/enemy/baby_slime.h
Examining data/edgar-1.23/src/enemy/bat.c
Examining data/edgar-1.23/src/enemy/bat.h
Examining data/edgar-1.23/src/enemy/book.c
Examining data/edgar-1.23/src/enemy/book.h
Examining data/edgar-1.23/src/enemy/buzz_saw.c
Examining data/edgar-1.23/src/enemy/buzz_saw.h
Examining data/edgar-1.23/src/enemy/ceiling_crawler.c
Examining data/edgar-1.23/src/enemy/ceiling_crawler.h
Examining data/edgar-1.23/src/enemy/ceiling_creeper.c
Examining data/edgar-1.23/src/enemy/ceiling_creeper.h
Examining data/edgar-1.23/src/enemy/ceiling_snapper.c
Examining data/edgar-1.23/src/enemy/ceiling_snapper.h
Examining data/edgar-1.23/src/enemy/centipede.c
Examining data/edgar-1.23/src/enemy/centipede.h
Examining data/edgar-1.23/src/enemy/centurion.c
Examining data/edgar-1.23/src/enemy/centurion.h
Examining data/edgar-1.23/src/enemy/chicken.c
Examining data/edgar-1.23/src/enemy/chicken.h
Examining data/edgar-1.23/src/enemy/crypt_skull.c
Examining data/edgar-1.23/src/enemy/crypt_skull.h
Examining data/edgar-1.23/src/enemy/dark_summoner.c
Examining data/edgar-1.23/src/enemy/dark_summoner.h
Examining data/edgar-1.23/src/enemy/dragon_fly.c
Examining data/edgar-1.23/src/enemy/dragon_fly.h
Examining data/edgar-1.23/src/enemy/egg.c
Examining data/edgar-1.23/src/enemy/egg.h
Examining data/edgar-1.23/src/enemy/enemies.c
Examining data/edgar-1.23/src/enemy/enemies.h
Examining data/edgar-1.23/src/enemy/enemy_generator.c
Examining data/edgar-1.23/src/enemy/enemy_generator.h
Examining data/edgar-1.23/src/enemy/energy_drainer.c
Examining data/edgar-1.23/src/enemy/energy_drainer.h
Examining data/edgar-1.23/src/enemy/exploding_spike_sphere.c
Examining data/edgar-1.23/src/enemy/exploding_spike_sphere.h
Examining data/edgar-1.23/src/enemy/eye_stalk.c
Examining data/edgar-1.23/src/enemy/eye_stalk.h
Examining data/edgar-1.23/src/enemy/fire_burner.c
Examining data/edgar-1.23/src/enemy/fire_burner.h
Examining data/edgar-1.23/src/enemy/fire_tortoise.c
Examining data/edgar-1.23/src/enemy/fire_tortoise.h
Examining data/edgar-1.23/src/enemy/fireball.c
Examining data/edgar-1.23/src/enemy/fireball.h
Examining data/edgar-1.23/src/enemy/fish.c
Examining data/edgar-1.23/src/enemy/fish.h
Examining data/edgar-1.23/src/enemy/flame_statue.c
Examining data/edgar-1.23/src/enemy/flame_statue.h
Examining data/edgar-1.23/src/enemy/floating_snapper.c
Examining data/edgar-1.23/src/enemy/floating_snapper.h
Examining data/edgar-1.23/src/enemy/fly_trap.c
Examining data/edgar-1.23/src/enemy/fly_trap.h
Examining data/edgar-1.23/src/enemy/flying_bug.c
Examining data/edgar-1.23/src/enemy/flying_bug.h
Examining data/edgar-1.23/src/enemy/frog.c
Examining data/edgar-1.23/src/enemy/frog.h
Examining data/edgar-1.23/src/enemy/gas_plant.c
Examining data/edgar-1.23/src/enemy/gas_plant.h
Examining data/edgar-1.23/src/enemy/gazer.c
Examining data/edgar-1.23/src/enemy/gazer.h
Examining data/edgar-1.23/src/enemy/ghost.c
Examining data/edgar-1.23/src/enemy/ghost.h
Examining data/edgar-1.23/src/enemy/giant_ceiling_creeper.c
Examining data/edgar-1.23/src/enemy/giant_ceiling_creeper.h
Examining data/edgar-1.23/src/enemy/giant_snowball.c
Examining data/edgar-1.23/src/enemy/giant_snowball.h
Examining data/edgar-1.23/src/enemy/gold_centurion.c
Examining data/edgar-1.23/src/enemy/gold_centurion.h
Examining data/edgar-1.23/src/enemy/ground_snapper.c
Examining data/edgar-1.23/src/enemy/ground_snapper.h
Examining data/edgar-1.23/src/enemy/ground_spear.c
Examining data/edgar-1.23/src/enemy/ground_spear.h
Examining data/edgar-1.23/src/enemy/grub.c
Examining data/edgar-1.23/src/enemy/grub.h
Examining data/edgar-1.23/src/enemy/hoover.c
Examining data/edgar-1.23/src/enemy/hoover.h
Examining data/edgar-1.23/src/enemy/huge_spider.c
Examining data/edgar-1.23/src/enemy/huge_spider.h
Examining data/edgar-1.23/src/enemy/ice_tortoise.c
Examining data/edgar-1.23/src/enemy/ice_tortoise.h
Examining data/edgar-1.23/src/enemy/icicle.c
Examining data/edgar-1.23/src/enemy/icicle.h
Examining data/edgar-1.23/src/enemy/iron_ball.c
Examining data/edgar-1.23/src/enemy/iron_ball.h
Examining data/edgar-1.23/src/enemy/jumping_slime.c
Examining data/edgar-1.23/src/enemy/jumping_slime.h
Examining data/edgar-1.23/src/enemy/large_book.c
Examining data/edgar-1.23/src/enemy/large_book.h
Examining data/edgar-1.23/src/enemy/large_spider.c
Examining data/edgar-1.23/src/enemy/large_spider.h
Examining data/edgar-1.23/src/enemy/laser_grid.c
Examining data/edgar-1.23/src/enemy/laser_grid.h
Examining data/edgar-1.23/src/enemy/lightning_tortoise.c
Examining data/edgar-1.23/src/enemy/lightning_tortoise.h
Examining data/edgar-1.23/src/enemy/magic_missile.c
Examining data/edgar-1.23/src/enemy/magic_missile.h
Examining data/edgar-1.23/src/enemy/master_tortoise.c
Examining data/edgar-1.23/src/enemy/master_tortoise.h
Examining data/edgar-1.23/src/enemy/mouth_stalk.c
Examining data/edgar-1.23/src/enemy/mouth_stalk.h
Examining data/edgar-1.23/src/enemy/pendulum.c
Examining data/edgar-1.23/src/enemy/pendulum.h
Examining data/edgar-1.23/src/enemy/poltergiest.c
Examining data/edgar-1.23/src/enemy/poltergiest.h
Examining data/edgar-1.23/src/enemy/rampaging_master_tortoise.c
Examining data/edgar-1.23/src/enemy/rampaging_master_tortoise.h
Examining data/edgar-1.23/src/enemy/red_ceiling_creeper.c
Examining data/edgar-1.23/src/enemy/red_ceiling_creeper.h
Examining data/edgar-1.23/src/enemy/red_grub.c
Examining data/edgar-1.23/src/enemy/red_grub.h
Examining data/edgar-1.23/src/enemy/rock.c
Examining data/edgar-1.23/src/enemy/rock.h
Examining data/edgar-1.23/src/enemy/sasquatch.c
Examining data/edgar-1.23/src/enemy/sasquatch.h
Examining data/edgar-1.23/src/enemy/scanner.c
Examining data/edgar-1.23/src/enemy/scanner.h
Examining data/edgar-1.23/src/enemy/scorpion.c
Examining data/edgar-1.23/src/enemy/scorpion.h
Examining data/edgar-1.23/src/enemy/skeleton.c
Examining data/edgar-1.23/src/enemy/skeleton.h
Examining data/edgar-1.23/src/enemy/skull_door.c
Examining data/edgar-1.23/src/enemy/skull_door.h
Examining data/edgar-1.23/src/enemy/sludge.c
Examining data/edgar-1.23/src/enemy/sludge.h
Examining data/edgar-1.23/src/enemy/sludge_pool.c
Examining data/edgar-1.23/src/enemy/sludge_pool.h
Examining data/edgar-1.23/src/enemy/slug.c
Examining data/edgar-1.23/src/enemy/slug.h
Examining data/edgar-1.23/src/enemy/small_boulder.c
Examining data/edgar-1.23/src/enemy/small_boulder.h
Examining data/edgar-1.23/src/enemy/snail.c
Examining data/edgar-1.23/src/enemy/snail.h
Examining data/edgar-1.23/src/enemy/snail_shell.c
Examining data/edgar-1.23/src/enemy/snail_shell.h
Examining data/edgar-1.23/src/enemy/sorceror_dark_summoner.c
Examining data/edgar-1.23/src/enemy/sorceror_dark_summoner.h
Examining data/edgar-1.23/src/enemy/spider.c
Examining data/edgar-1.23/src/enemy/spider.h
Examining data/edgar-1.23/src/enemy/spike_sphere.c
Examining data/edgar-1.23/src/enemy/spike_sphere.h
Examining data/edgar-1.23/src/enemy/spike_wall.c
Examining data/edgar-1.23/src/enemy/spike_wall.h
Examining data/edgar-1.23/src/enemy/spirit.c
Examining data/edgar-1.23/src/enemy/spirit.h
Examining data/edgar-1.23/src/enemy/spitting_plant.c
Examining data/edgar-1.23/src/enemy/spitting_plant.h
Examining data/edgar-1.23/src/enemy/splitter.c
Examining data/edgar-1.23/src/enemy/splitter.h
Examining data/edgar-1.23/src/enemy/summoner.c
Examining data/edgar-1.23/src/enemy/summoner.h
Examining data/edgar-1.23/src/enemy/thunder_cloud.c
Examining data/edgar-1.23/src/enemy/thunder_cloud.h
Examining data/edgar-1.23/src/enemy/undead_gazer.c
Examining data/edgar-1.23/src/enemy/undead_gazer.h
Examining data/edgar-1.23/src/enemy/wasp.c
Examining data/edgar-1.23/src/enemy/wasp.h
Examining data/edgar-1.23/src/enemy/whirlwind.c
Examining data/edgar-1.23/src/enemy/whirlwind.h
Examining data/edgar-1.23/src/enemy/zombie.c
Examining data/edgar-1.23/src/enemy/zombie.h
Examining data/edgar-1.23/src/entity.c
Examining data/edgar-1.23/src/entity.h
Examining data/edgar-1.23/src/event/global_trigger.c
Examining data/edgar-1.23/src/event/global_trigger.h
Examining data/edgar-1.23/src/event/map_trigger.c
Examining data/edgar-1.23/src/event/map_trigger.h
Examining data/edgar-1.23/src/event/objective.c
Examining data/edgar-1.23/src/event/objective.h
Examining data/edgar-1.23/src/event/script.c
Examining data/edgar-1.23/src/event/script.h
Examining data/edgar-1.23/src/event/trigger.c
Examining data/edgar-1.23/src/event/trigger.h
Examining data/edgar-1.23/src/game.c
Examining data/edgar-1.23/src/game.h
Examining data/edgar-1.23/src/geometry.c
Examining data/edgar-1.23/src/geometry.h
Examining data/edgar-1.23/src/graphics/animation.c
Examining data/edgar-1.23/src/graphics/animation.h
Examining data/edgar-1.23/src/graphics/decoration.c
Examining data/edgar-1.23/src/graphics/decoration.h
Examining data/edgar-1.23/src/graphics/font.c
Examining data/edgar-1.23/src/graphics/font.h
Examining data/edgar-1.23/src/graphics/gib.c
Examining data/edgar-1.23/src/graphics/gib.h
Examining data/edgar-1.23/src/graphics/graphics.c
Examining data/edgar-1.23/src/graphics/graphics.h
Examining data/edgar-1.23/src/graphics/save_png.c
Examining data/edgar-1.23/src/graphics/save_png.h
Examining data/edgar-1.23/src/graphics/sprites.c
Examining data/edgar-1.23/src/graphics/sprites.h
Examining data/edgar-1.23/src/headers.h
Examining data/edgar-1.23/src/hud.c
Examining data/edgar-1.23/src/hud.h
Examining data/edgar-1.23/src/i18n.c
Examining data/edgar-1.23/src/i18n.h
Examining data/edgar-1.23/src/init.c
Examining data/edgar-1.23/src/init.h
Examining data/edgar-1.23/src/input.c
Examining data/edgar-1.23/src/input.h
Examining data/edgar-1.23/src/inventory.c
Examining data/edgar-1.23/src/inventory.h
Examining data/edgar-1.23/src/item/apple.c
Examining data/edgar-1.23/src/item/apple.h
Examining data/edgar-1.23/src/item/apple_tree.c
Examining data/edgar-1.23/src/item/apple_tree.h
Examining data/edgar-1.23/src/item/arrow_target.c
Examining data/edgar-1.23/src/item/arrow_target.h
Examining data/edgar-1.23/src/item/attractor.c
Examining data/edgar-1.23/src/item/attractor.h
Examining data/edgar-1.23/src/item/balloon.c
Examining data/edgar-1.23/src/item/balloon.h
Examining data/edgar-1.23/src/item/bell_rope.c
Examining data/edgar-1.23/src/item/bell_rope.h
Examining data/edgar-1.23/src/item/blending_machine.c
Examining data/edgar-1.23/src/item/blending_machine.h
Examining data/edgar-1.23/src/item/bomb.c
Examining data/edgar-1.23/src/item/bomb.h
Examining data/edgar-1.23/src/item/bomb_pile.c
Examining data/edgar-1.23/src/item/bomb_pile.h
Examining data/edgar-1.23/src/item/bubble.c
Examining data/edgar-1.23/src/item/bubble.h
Examining data/edgar-1.23/src/item/bubble_machine.c
Examining data/edgar-1.23/src/item/bubble_machine.h
Examining data/edgar-1.23/src/item/catapult.c
Examining data/edgar-1.23/src/item/catapult.h
Examining data/edgar-1.23/src/item/cauldron.c
Examining data/edgar-1.23/src/item/cauldron.h
Examining data/edgar-1.23/src/item/cell_bars.c
Examining data/edgar-1.23/src/item/cell_bars.h
Examining data/edgar-1.23/src/item/chaos_chain_base.c
Examining data/edgar-1.23/src/item/chaos_chain_base.h
Examining data/edgar-1.23/src/item/chicken_feed.c
Examining data/edgar-1.23/src/item/chicken_feed.h
Examining data/edgar-1.23/src/item/chicken_trap.c
Examining data/edgar-1.23/src/item/chicken_trap.h
Examining data/edgar-1.23/src/item/cloud_geyzer.c
Examining data/edgar-1.23/src/item/cloud_geyzer.h
Examining data/edgar-1.23/src/item/coal_pile.c
Examining data/edgar-1.23/src/item/coal_pile.h
Examining data/edgar-1.23/src/item/code_display.c
Examining data/edgar-1.23/src/item/code_display.h
Examining data/edgar-1.23/src/item/code_door.c
Examining data/edgar-1.23/src/item/code_door.h
Examining data/edgar-1.23/src/item/colour_display.c
Examining data/edgar-1.23/src/item/colour_display.h
Examining data/edgar-1.23/src/item/colour_pot.c
Examining data/edgar-1.23/src/item/colour_pot.h
Examining data/edgar-1.23/src/item/containment_unit.c
Examining data/edgar-1.23/src/item/containment_unit.h
Examining data/edgar-1.23/src/item/containment_unit_controls.c
Examining data/edgar-1.23/src/item/containment_unit_controls.h
Examining data/edgar-1.23/src/item/crossbow.c
Examining data/edgar-1.23/src/item/crossbow.h
Examining data/edgar-1.23/src/item/crossbow_bolt.c
Examining data/edgar-1.23/src/item/crossbow_bolt.h
Examining data/edgar-1.23/src/item/crusher.c
Examining data/edgar-1.23/src/item/crusher.h
Examining data/edgar-1.23/src/item/drawbridge_anchor.c
Examining data/edgar-1.23/src/item/drawbridge_anchor.h
Examining data/edgar-1.23/src/item/drawbridge_pulley.c
Examining data/edgar-1.23/src/item/drawbridge_pulley.h
Examining data/edgar-1.23/src/item/exploding_gazer_eye.c
Examining data/edgar-1.23/src/item/exploding_gazer_eye.h
Examining data/edgar-1.23/src/item/exploding_gazer_eye_dud.c
Examining data/edgar-1.23/src/item/exploding_gazer_eye_dud.h
Examining data/edgar-1.23/src/item/extend_o_grab.c
Examining data/edgar-1.23/src/item/extend_o_grab.h
Examining data/edgar-1.23/src/item/extend_o_grab_button.c
Examining data/edgar-1.23/src/item/extend_o_grab_button.h
Examining data/edgar-1.23/src/item/final_power_generator.c
Examining data/edgar-1.23/src/item/final_power_generator.h
Examining data/edgar-1.23/src/item/flame_pillar.c
Examining data/edgar-1.23/src/item/flame_pillar.h
Examining data/edgar-1.23/src/item/force_field.c
Examining data/edgar-1.23/src/item/force_field.h
Examining data/edgar-1.23/src/item/gazer_eye_slot.c
Examining data/edgar-1.23/src/item/gazer_eye_slot.h
Examining data/edgar-1.23/src/item/glass_cage.c
Examining data/edgar-1.23/src/item/glass_cage.h
Examining data/edgar-1.23/src/item/glass_wall.c
Examining data/edgar-1.23/src/item/glass_wall.h
Examining data/edgar-1.23/src/item/grabber.c
Examining data/edgar-1.23/src/item/grabber.h
Examining data/edgar-1.23/src/item/grappling_hook.c
Examining data/edgar-1.23/src/item/grappling_hook.h
Examining data/edgar-1.23/src/item/grimlore_artifact.c
Examining data/edgar-1.23/src/item/grimlore_artifact.h
Examining data/edgar-1.23/src/item/heart_container.c
Examining data/edgar-1.23/src/item/heart_container.h
Examining data/edgar-1.23/src/item/hidden_passage_wall.c
Examining data/edgar-1.23/src/item/hidden_passage_wall.h
Examining data/edgar-1.23/src/item/high_striker.c
Examining data/edgar-1.23/src/item/high_striker.h
Examining data/edgar-1.23/src/item/ice_cube.c
Examining data/edgar-1.23/src/item/ice_cube.h
Examining data/edgar-1.23/src/item/ice_spray.c
Examining data/edgar-1.23/src/item/ice_spray.h
Examining data/edgar-1.23/src/item/instruction_machine.c
Examining data/edgar-1.23/src/item/instruction_machine.h
Examining data/edgar-1.23/src/item/item.c
Examining data/edgar-1.23/src/item/item.h
Examining data/edgar-1.23/src/item/item_remover.c
Examining data/edgar-1.23/src/item/item_remover.h
Examining data/edgar-1.23/src/item/jigsaw_puzzle.c
Examining data/edgar-1.23/src/item/jigsaw_puzzle.h
Examining data/edgar-1.23/src/item/jigsaw_puzzle_display.c
Examining data/edgar-1.23/src/item/jigsaw_puzzle_display.h
Examining data/edgar-1.23/src/item/key_items.c
Examining data/edgar-1.23/src/item/key_items.h
Examining data/edgar-1.23/src/item/lab_crusher.c
Examining data/edgar-1.23/src/item/lab_crusher.h
Examining data/edgar-1.23/src/item/lava_door.c
Examining data/edgar-1.23/src/item/lava_door.h
Examining data/edgar-1.23/src/item/lava_geyzer.c
Examining data/edgar-1.23/src/item/lava_geyzer.h
Examining data/edgar-1.23/src/item/light_beam.c
Examining data/edgar-1.23/src/item/light_beam.h
Examining data/edgar-1.23/src/item/light_pillar.c
Examining data/edgar-1.23/src/item/light_pillar.h
Examining data/edgar-1.23/src/item/light_source.c
Examining data/edgar-1.23/src/item/light_source.h
Examining data/edgar-1.23/src/item/light_target.c
Examining data/edgar-1.23/src/item/light_target.h
Examining data/edgar-1.23/src/item/magnet.c
Examining data/edgar-1.23/src/item/magnet.h
Examining data/edgar-1.23/src/item/mastermind.c
Examining data/edgar-1.23/src/item/mastermind.h
Examining data/edgar-1.23/src/item/mastermind_display.c
Examining data/edgar-1.23/src/item/mastermind_display.h
Examining data/edgar-1.23/src/item/memory_match.c
Examining data/edgar-1.23/src/item/memory_match.h
Examining data/edgar-1.23/src/item/memory_match_display.c
Examining data/edgar-1.23/src/item/memory_match_display.h
Examining data/edgar-1.23/src/item/mine_cart.c
Examining data/edgar-1.23/src/item/mine_cart.h
Examining data/edgar-1.23/src/item/mirror.c
Examining data/edgar-1.23/src/item/mirror.h
Examining data/edgar-1.23/src/item/monster_skull.c
Examining data/edgar-1.23/src/item/monster_skull.h
Examining data/edgar-1.23/src/item/moveable_lift.c
Examining data/edgar-1.23/src/item/moveable_lift.h
Examining data/edgar-1.23/src/item/music_sheet_display.c
Examining data/edgar-1.23/src/item/music_sheet_display.h
Examining data/edgar-1.23/src/item/number_block.c
Examining data/edgar-1.23/src/item/number_block.h
Examining data/edgar-1.23/src/item/one_way_door.c
Examining data/edgar-1.23/src/item/one_way_door.h
Examining data/edgar-1.23/src/item/pedestal.c
Examining data/edgar-1.23/src/item/pedestal.h
Examining data/edgar-1.23/src/item/phase_door.c
Examining data/edgar-1.23/src/item/phase_door.h
Examining data/edgar-1.23/src/item/poison_meat.c
Examining data/edgar-1.23/src/item/poison_meat.h
Examining data/edgar-1.23/src/item/portable_save.c
Examining data/edgar-1.23/src/item/portable_save.h
Examining data/edgar-1.23/src/item/potion_dispenser.c
Examining data/edgar-1.23/src/item/potion_dispenser.h
Examining data/edgar-1.23/src/item/potions.c
Examining data/edgar-1.23/src/item/potions.h
Examining data/edgar-1.23/src/item/power_generator.c
Examining data/edgar-1.23/src/item/power_generator.h
Examining data/edgar-1.23/src/item/power_meter.c
Examining data/edgar-1.23/src/item/power_meter.h
Examining data/edgar-1.23/src/item/puzzle_piece.c
Examining data/edgar-1.23/src/item/puzzle_piece.h
Examining data/edgar-1.23/src/item/repellent.c
Examining data/edgar-1.23/src/item/repellent.h
Examining data/edgar-1.23/src/item/robot.c
Examining data/edgar-1.23/src/item/robot.h
Examining data/edgar-1.23/src/item/rock_container.c
Examining data/edgar-1.23/src/item/rock_container.h
Examining data/edgar-1.23/src/item/safe.c
Examining data/edgar-1.23/src/item/safe.h
Examining data/edgar-1.23/src/item/safe_combination.c
Examining data/edgar-1.23/src/item/safe_combination.h
Examining data/edgar-1.23/src/item/scale.c
Examining data/edgar-1.23/src/item/scale.h
Examining data/edgar-1.23/src/item/shield_pillar.c
Examining data/edgar-1.23/src/item/shield_pillar.h
Examining data/edgar-1.23/src/item/shrub.c
Examining data/edgar-1.23/src/item/shrub.h
Examining data/edgar-1.23/src/item/skull.c
Examining data/edgar-1.23/src/item/skull.h
Examining data/edgar-1.23/src/item/sliding_puzzle.c
Examining data/edgar-1.23/src/item/sliding_puzzle.h
Examining data/edgar-1.23/src/item/sliding_puzzle_display.c
Examining data/edgar-1.23/src/item/sliding_puzzle_display.h
Examining data/edgar-1.23/src/item/slime_container.c
Examining data/edgar-1.23/src/item/slime_container.h
Examining data/edgar-1.23/src/item/slime_potion_pool.c
Examining data/edgar-1.23/src/item/slime_potion_pool.h
Examining data/edgar-1.23/src/item/snow_pile.c
Examining data/edgar-1.23/src/item/snow_pile.h
Examining data/edgar-1.23/src/item/soul_bottle.c
Examining data/edgar-1.23/src/item/soul_bottle.h
Examining data/edgar-1.23/src/item/soul_merger.c
Examining data/edgar-1.23/src/item/soul_merger.h
Examining data/edgar-1.23/src/item/soul_merger_control_panel.c
Examining data/edgar-1.23/src/item/soul_merger_control_panel.h
Examining data/edgar-1.23/src/item/spike_ball.c
Examining data/edgar-1.23/src/item/spike_ball.h
Examining data/edgar-1.23/src/item/spore.c
Examining data/edgar-1.23/src/item/spore.h
Examining data/edgar-1.23/src/item/spore_crop.c
Examining data/edgar-1.23/src/item/spore_crop.h
Examining data/edgar-1.23/src/item/spring.c
Examining data/edgar-1.23/src/item/spring.h
Examining data/edgar-1.23/src/item/stalactite.c
Examining data/edgar-1.23/src/item/stalactite.h
Examining data/edgar-1.23/src/item/symbol_block.c
Examining data/edgar-1.23/src/item/symbol_block.h
Examining data/edgar-1.23/src/item/tesla_charger.c
Examining data/edgar-1.23/src/item/tesla_charger.h
Examining data/edgar-1.23/src/item/tesla_pack.c
Examining data/edgar-1.23/src/item/tesla_pack.h
Examining data/edgar-1.23/src/item/train.c
Examining data/edgar-1.23/src/item/train.h
Examining data/edgar-1.23/src/item/train_track.c
Examining data/edgar-1.23/src/item/train_track.h
Examining data/edgar-1.23/src/item/tread_mill.c
Examining data/edgar-1.23/src/item/tread_mill.h
Examining data/edgar-1.23/src/item/tuning_fork.c
Examining data/edgar-1.23/src/item/tuning_fork.h
Examining data/edgar-1.23/src/item/vines.c
Examining data/edgar-1.23/src/item/vines.h
Examining data/edgar-1.23/src/item/water_purifier.c
Examining data/edgar-1.23/src/item/water_purifier.h
Examining data/edgar-1.23/src/main.c
Examining data/edgar-1.23/src/main.h
Examining data/edgar-1.23/src/main_editor.c
Examining data/edgar-1.23/src/main_editor.h
Examining data/edgar-1.23/src/map.c
Examining data/edgar-1.23/src/map.h
Examining data/edgar-1.23/src/medal.c
Examining data/edgar-1.23/src/medal.h
Examining data/edgar-1.23/src/menu/about_menu.c
Examining data/edgar-1.23/src/menu/about_menu.h
Examining data/edgar-1.23/src/menu/cheat_menu.c
Examining data/edgar-1.23/src/menu/cheat_menu.h
Examining data/edgar-1.23/src/menu/control_menu.c
Examining data/edgar-1.23/src/menu/control_menu.h
Examining data/edgar-1.23/src/menu/inventory_menu.c
Examining data/edgar-1.23/src/menu/inventory_menu.h
Examining data/edgar-1.23/src/menu/io_menu.c
Examining data/edgar-1.23/src/menu/io_menu.h
Examining data/edgar-1.23/src/menu/label.c
Examining data/edgar-1.23/src/menu/label.h
Examining data/edgar-1.23/src/menu/main_menu.c
Examining data/edgar-1.23/src/menu/main_menu.h
Examining data/edgar-1.23/src/menu/medals_menu.c
Examining data/edgar-1.23/src/menu/medals_menu.h
Examining data/edgar-1.23/src/menu/menu.c
Examining data/edgar-1.23/src/menu/menu.h
Examining data/edgar-1.23/src/menu/ok_menu.c
Examining data/edgar-1.23/src/menu/ok_menu.h
Examining data/edgar-1.23/src/menu/options_menu.c
Examining data/edgar-1.23/src/menu/options_menu.h
Examining data/edgar-1.23/src/menu/script_menu.c
Examining data/edgar-1.23/src/menu/script_menu.h
Examining data/edgar-1.23/src/menu/sound_menu.c
Examining data/edgar-1.23/src/menu/sound_menu.h
Examining data/edgar-1.23/src/menu/stats_menu.c
Examining data/edgar-1.23/src/menu/stats_menu.h
Examining data/edgar-1.23/src/menu/widget.c
Examining data/edgar-1.23/src/menu/widget.h
Examining data/edgar-1.23/src/menu/yes_no_menu.c
Examining data/edgar-1.23/src/menu/yes_no_menu.h
Examining data/edgar-1.23/src/pak_creator.c
Examining data/edgar-1.23/src/player.c
Examining data/edgar-1.23/src/player.h
Examining data/edgar-1.23/src/po_creator.c
Examining data/edgar-1.23/src/projectile.c
Examining data/edgar-1.23/src/projectile.h
Examining data/edgar-1.23/src/status_panel.c
Examining data/edgar-1.23/src/status_panel.h
Examining data/edgar-1.23/src/strtok_r.c
Examining data/edgar-1.23/src/strtok_r.h
Examining data/edgar-1.23/src/structs.h
Examining data/edgar-1.23/src/system/compress.c
Examining data/edgar-1.23/src/system/compress.h
Examining data/edgar-1.23/src/system/error.c
Examining data/edgar-1.23/src/system/error.h
Examining data/edgar-1.23/src/system/load_save.c
Examining data/edgar-1.23/src/system/load_save.h
Examining data/edgar-1.23/src/system/pak.h
Examining data/edgar-1.23/src/system/properties.c
Examining data/edgar-1.23/src/system/properties.h
Examining data/edgar-1.23/src/system/random.c
Examining data/edgar-1.23/src/system/random.h
Examining data/edgar-1.23/src/system/record.c
Examining data/edgar-1.23/src/system/record.h
Examining data/edgar-1.23/src/system/resources.c
Examining data/edgar-1.23/src/system/resources.h
Examining data/edgar-1.23/src/system/pak.c
Examining data/edgar-1.23/src/tile_creator.c
Examining data/edgar-1.23/src/title.c
Examining data/edgar-1.23/src/title.h
Examining data/edgar-1.23/src/weather.c
Examining data/edgar-1.23/src/weather.h
Examining data/edgar-1.23/src/world/action_point.c
Examining data/edgar-1.23/src/world/action_point.h
Examining data/edgar-1.23/src/world/anti_gravity_field.c
Examining data/edgar-1.23/src/world/anti_gravity_field.h
Examining data/edgar-1.23/src/world/conveyor_belt.c
Examining data/edgar-1.23/src/world/conveyor_belt.h
Examining data/edgar-1.23/src/world/door.c
Examining data/edgar-1.23/src/world/door.h
Examining data/edgar-1.23/src/world/explosion.c
Examining data/edgar-1.23/src/world/explosion.h
Examining data/edgar-1.23/src/world/falling_platform.c
Examining data/edgar-1.23/src/world/falling_platform.h
Examining data/edgar-1.23/src/world/level_exit.c
Examining data/edgar-1.23/src/world/level_exit.h
Examining data/edgar-1.23/src/world/lift.c
Examining data/edgar-1.23/src/world/lift.h
Examining data/edgar-1.23/src/world/line_def.c
Examining data/edgar-1.23/src/world/line_def.h
Examining data/edgar-1.23/src/world/npc.c
Examining data/edgar-1.23/src/world/npc.h
Examining data/edgar-1.23/src/world/pressure_plate.c
Examining data/edgar-1.23/src/world/pressure_plate.h
Examining data/edgar-1.23/src/world/save_point.c
Examining data/edgar-1.23/src/world/save_point.h
Examining data/edgar-1.23/src/world/spawner.c
Examining data/edgar-1.23/src/world/spawner.h
Examining data/edgar-1.23/src/world/switch.c
Examining data/edgar-1.23/src/world/switch.h
Examining data/edgar-1.23/src/world/target.c
Examining data/edgar-1.23/src/world/target.h
Examining data/edgar-1.23/src/world/teleporter.c
Examining data/edgar-1.23/src/world/teleporter.h
Examining data/edgar-1.23/src/world/trap_door.c
Examining data/edgar-1.23/src/world/trap_door.h
Examining data/edgar-1.23/src/world/vanishing_platform.c
Examining data/edgar-1.23/src/world/vanishing_platform.h
Examining data/edgar-1.23/src/world/weak_wall.c
Examining data/edgar-1.23/src/world/weak_wall.h

FINAL RESULTS:

data/edgar-1.23/src/custom_actions.c:137:2:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
	sscanf(line, "%s %d %d", actionName, &thinkTime, &accumulates);
data/edgar-1.23/src/entity.c:1439:2:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
	sscanf(line, "%s %s \"%[^\"]\" %d %d", entityType, entityName, objectiveName, &x, &y);
data/edgar-1.23/src/entity.c:1459:9:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
	read = sscanf(coords, "%d %d %s %s", &x, &y, wait, anim);
data/edgar-1.23/src/entity.c:1505:9:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
	read = sscanf(coords, "%s %s %s", entityName, wait, anim);
data/edgar-1.23/src/entity.c:1557:9:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
	read = sscanf(coords, "%d %d %s %s", &x, &y, wait, anim);
data/edgar-1.23/src/event/global_trigger.c:52:2:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
	sscanf(line, "\"%[^\"]\" %s %s \"%[^\"]\"", triggerName, count, targetType, targetName);
data/edgar-1.23/src/event/map_trigger.c:45:2:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
	sscanf(line, "\"%[^\"]\" %s \"%[^\"]\"", triggerName, targetType, targetName);
data/edgar-1.23/src/event/objective.c:175:2:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
	sscanf(line, "%s \"%[^\"]\" %s %d %d", command, objectiveName, entityName, &success, &failure);
data/edgar-1.23/src/graphics/decoration.c:473:2:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
	sscanf(line, "%s \"%[^\"]\"", decorationName, entityName);
data/edgar-1.23/src/graphics/sprites.c:86:9:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
	read = sscanf(name, "%s %d %d %d %d %d\n", filename, &x, &y, &w, &h, &alpha);
data/edgar-1.23/src/hud.c:391:2:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
	vsnprintf(text, sizeof(text), fmt, ap);
data/edgar-1.23/src/inventory.c:720:9:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
	read = sscanf(line, "%s \"%[^\"]\" %d %d %s %d %d %s", command, itemName, &quantity, &quantityToRemove, entityName, &success, &failure, quiet);
data/edgar-1.23/src/inventory.c:954:2:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
	vsnprintf(text, sizeof(text), fmt, ap);
data/edgar-1.23/src/map.c:114:3:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
		sscanf(line, "%s", itemName);
data/edgar-1.23/src/map.c:127:4:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
			sscanf(line, "%*s %s\n", itemName);
data/edgar-1.23/src/map.c:138:4:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
			sscanf(line, "%*s %s\n", itemName);
data/edgar-1.23/src/map.c:147:4:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
			sscanf(line, "%*s %s\n", itemName);
data/edgar-1.23/src/map.c:156:4:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
			sscanf(line, "%*s %s\n", itemName);
data/edgar-1.23/src/map.c:165:4:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
			sscanf(line, "%*s %s\n", itemName);
data/edgar-1.23/src/map.c:174:4:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
			sscanf(line, "%*s %s\n", itemName);
data/edgar-1.23/src/map.c:183:4:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
			sscanf(line, "%*s %s\n", itemName);
data/edgar-1.23/src/map.c:192:4:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
			sscanf(line, "%*s %s\n", itemName);
data/edgar-1.23/src/map.c:201:4:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
			sscanf(line, "%*s %s\n", itemName);
data/edgar-1.23/src/map.c:212:8:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
			x = sscanf(line, "%*s %s\n", itemName);
data/edgar-1.23/src/map.c:224:4:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
			sscanf(line, "%*s %s\n", itemName);
data/edgar-1.23/src/map.c:235:4:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
			sscanf(line, "%*s %s\n", itemName);
data/edgar-1.23/src/map.c:249:4:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
			sscanf(line, "%*s %s\n", itemName);
data/edgar-1.23/src/map.c:1366:9:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
	read = sscanf(line, "%d %d %d %d %s", &map.cameraMinX, &map.cameraMinY, &map.cameraMaxX, &map.cameraMaxY, limitPlayer);
data/edgar-1.23/src/pak_creator.c:146:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(filename, "%s/%s", dirName, dfile->d_name);
data/edgar-1.23/src/status_panel.c:35:2:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
	vsnprintf(text, sizeof(text), fmt, ap);
data/edgar-1.23/src/system/error.c:40:2:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
	vsnprintf(text, sizeof(text), fmt, ap);
data/edgar-1.23/src/system/load_save.c:220:3:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
		sscanf(line, "%s", itemName);
data/edgar-1.23/src/system/load_save.c:224:4:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
			sscanf(line, "%*s %s\n", itemName);
data/edgar-1.23/src/system/load_save.c:298:4:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
			sscanf(line, "%*s %s\n", itemName);
data/edgar-1.23/src/system/load_save.c:362:3:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
		sscanf(mapName, "%*s %s\n", itemName);
data/edgar-1.23/src/system/load_save.c:406:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy((char *)originalBuffer, (char *)buffer);
data/edgar-1.23/src/system/load_save.c:426:3:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
		sscanf(line, "%s", itemName);
data/edgar-1.23/src/system/load_save.c:430:4:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
			sscanf(line, "%*s %s\n", location);
data/edgar-1.23/src/system/load_save.c:439:5:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
				sscanf(line, "%*s %s\n", itemName);
data/edgar-1.23/src/system/load_save.c:459:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
				strcpy((char *)buffer, (char *)originalBuffer);
data/edgar-1.23/src/system/load_save.c:672:5:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
				sscanf(line, "%s", itemName);
data/edgar-1.23/src/system/load_save.c:682:6:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
					sscanf(line, "%*s %s\n", itemName);
data/edgar-1.23/src/system/load_save.c:703:5:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
				sscanf(line, "%s", itemName);
data/edgar-1.23/src/system/load_save.c:707:6:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
					sscanf(line, "%*s %s\n", itemName);
data/edgar-1.23/src/system/load_save.c:912:5:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
				sscanf(line, "%s", itemName);
data/edgar-1.23/src/system/load_save.c:923:6:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
					sscanf(line, "%*s %s\n", itemName);
data/edgar-1.23/src/system/load_save.c:944:5:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
				sscanf(line, "%s", itemName);
data/edgar-1.23/src/system/load_save.c:948:6:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
					sscanf(line, "%*s %s\n", itemName);
data/edgar-1.23/src/system/load_save.c:1076:5:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
				sscanf(line, "%s", itemName);
data/edgar-1.23/src/system/load_save.c:1086:6:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
					sscanf(line, "%*s %s\n", itemName);
data/edgar-1.23/src/system/load_save.c:1107:5:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
				sscanf(line, "%s", itemName);
data/edgar-1.23/src/system/load_save.c:1111:6:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
					sscanf(line, "%*s %s\n", itemName);
data/edgar-1.23/src/system/load_save.c:1226:3:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
		sscanf(line, "%s", itemName);
data/edgar-1.23/src/system/load_save.c:1285:4:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
			sscanf(line, "%*s %s\n", itemName);
data/edgar-1.23/src/system/resources.c:350:3:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
		sscanf(line, "%s", itemName);
data/edgar-1.23/src/system/resources.c:663:4:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
			sscanf(line, "%s", itemName);
data/edgar-1.23/src/system/resources.c:667:5:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
				sscanf(line, "%*s %s\n", itemName);
data/edgar-1.23/src/system/resources.c:702:12:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
				read = sscanf(line, "%*s %s %d %d", itemName, &x, &y);
data/edgar-1.23/src/system/resources.c:742:12:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
				read = sscanf(line, "%*s %s %s %s", itemName, key, value);
data/edgar-1.23/src/system/resources.c:767:12:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
				read = sscanf(line, "%*s %d %d %s %[^\n]s", &x, &y, key, value);
data/edgar-1.23/src/system/resources.c:787:12:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
				read = sscanf(line, "%*s %d %d %s %[^\n]s", &x, &y, key, value);
data/edgar-1.23/src/boss/evil_edgar.c:182:6:  [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 random;
data/edgar-1.23/src/boss/evil_edgar.c:220: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.
				switch (random)
data/edgar-1.23/src/i18n.c:63:16:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
			if ((lang = getenv("LC_ALL")) || (lang = getenv("LC_CTYPE")) || (lang = getenv("LANG")))
data/edgar-1.23/src/i18n.c:63:45:  [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 ((lang = getenv("LC_ALL")) || (lang = getenv("LC_CTYPE")) || (lang = getenv("LANG")))
data/edgar-1.23/src/i18n.c:63:76:  [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 ((lang = getenv("LC_ALL")) || (lang = getenv("LC_CTYPE")) || (lang = getenv("LANG")))
data/edgar-1.23/src/audio/audio.c:240: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 path[MAX_PATH_LENGTH];
data/edgar-1.23/src/audio/music.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 musicName[MAX_VALUE_LENGTH];
data/edgar-1.23/src/boss/awesome_boss.c:176:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char name[MAX_VALUE_LENGTH];
data/edgar-1.23/src/boss/azriel.c:1955: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 targetName[MAX_VALUE_LENGTH];
data/edgar-1.23/src/boss/black_book_2.c:1516:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char name[MAX_VALUE_LENGTH];
data/edgar-1.23/src/boss/black_book_2.c:2415: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 bodyName[MAX_VALUE_LENGTH];
data/edgar-1.23/src/boss/black_book_2.c:3410:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char name[MAX_VALUE_LENGTH];
data/edgar-1.23/src/boss/black_book_2.c:6633: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 itemName[MAX_LINE_LENGTH];
data/edgar-1.23/src/boss/centurion_boss.c:525:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char name[MAX_VALUE_LENGTH];
data/edgar-1.23/src/boss/gargoyle.c:1853:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char name[MAX_VALUE_LENGTH];
data/edgar-1.23/src/boss/gargoyle.c:3069: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 itemName[MAX_LINE_LENGTH];
data/edgar-1.23/src/boss/grimlore.c:2329: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 weaponName[MAX_VALUE_LENGTH];
data/edgar-1.23/src/boss/grimlore.c:2716: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 itemName[MAX_VALUE_LENGTH];
data/edgar-1.23/src/boss/snake_boss.c:288: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 bodyName[MAX_VALUE_LENGTH];
data/edgar-1.23/src/credits.c:587: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 copyright[MAX_VALUE_LENGTH];
data/edgar-1.23/src/credits.c:814: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).
		credits.creditLine[lineNum].r = atoi(token2);
data/edgar-1.23/src/credits.c:818: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).
		credits.creditLine[lineNum].g = atoi(token2);
data/edgar-1.23/src/credits.c:822: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).
		credits.creditLine[lineNum].b = atoi(token2);
data/edgar-1.23/src/cursor.c:38: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 entityNames[255][MAX_VALUE_LENGTH];
data/edgar-1.23/src/cursor.c:44:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char line[MAX_LINE_LENGTH], *token, *savePtr;
data/edgar-1.23/src/cursor.c:101:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char name[MAX_VALUE_LENGTH];
data/edgar-1.23/src/custom_actions.c:131: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 actionName[MAX_VALUE_LENGTH];
data/edgar-1.23/src/dialog.c:55:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char *text, *token, word[MAX_VALUE_LENGTH], *savePtr, *titleText;
data/edgar-1.23/src/dialog.c:318:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char buffer[MAX_VALUE_LENGTH];
data/edgar-1.23/src/draw.c:41:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char text[MAX_VALUE_LENGTH];
data/edgar-1.23/src/draw_editor.c:36:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char text[MAX_VALUE_LENGTH];
data/edgar-1.23/src/enemy/armour_changer.c:467:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char animationName[MAX_VALUE_LENGTH];
data/edgar-1.23/src/enemy/centipede.c:155:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char name[MAX_VALUE_LENGTH];
data/edgar-1.23/src/enemy/centurion.c:378:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char name[MAX_VALUE_LENGTH];
data/edgar-1.23/src/enemy/centurion.c:427:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char name[MAX_VALUE_LENGTH];
data/edgar-1.23/src/enemy/dark_summoner.c:138: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 summonList[MAX_VALUE_LENGTH], enemyToSummon[MAX_VALUE_LENGTH];
data/edgar-1.23/src/enemy/eye_stalk.c:174:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char bodyName[MAX_VALUE_LENGTH];
data/edgar-1.23/src/enemy/flame_statue.c:271:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char name[MAX_VALUE_LENGTH];
data/edgar-1.23/src/enemy/frog.c:531: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 itemName[MAX_LINE_LENGTH];
data/edgar-1.23/src/enemy/magic_missile.c:175:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char animName[MAX_VALUE_LENGTH];
data/edgar-1.23/src/enemy/mouth_stalk.c:214: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 bodyName[MAX_VALUE_LENGTH];
data/edgar-1.23/src/enemy/scanner.c:301: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 summonList[MAX_VALUE_LENGTH], enemyToSummon[MAX_VALUE_LENGTH];
data/edgar-1.23/src/enemy/skeleton.c:131:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char name[MAX_VALUE_LENGTH];
data/edgar-1.23/src/enemy/skeleton.c:765:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char name[MAX_VALUE_LENGTH];
data/edgar-1.23/src/enemy/skull_door.c:277:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char name[MAX_VALUE_LENGTH];
data/edgar-1.23/src/enemy/snail_shell.c:110:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char name[MAX_VALUE_LENGTH];
data/edgar-1.23/src/enemy/spike_wall.c:84:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char name[MAX_VALUE_LENGTH];
data/edgar-1.23/src/enemy/summoner.c:125: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 summonList[MAX_VALUE_LENGTH], enemyToSummon[MAX_VALUE_LENGTH];
data/edgar-1.23/src/enemy/whirlwind.c:264:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char itemName[MAX_LINE_LENGTH];
data/edgar-1.23/src/entity.c:1098: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(ent, &e, sizeof(Entity));
data/edgar-1.23/src/entity.c:1435: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 entityType[MAX_VALUE_LENGTH], entityName[MAX_VALUE_LENGTH], objectiveName[MAX_VALUE_LENGTH];
data/edgar-1.23/src/entity.c:1457: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 wait[10], anim[20];
data/edgar-1.23/src/entity.c:1502: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 wait[10], anim[20], entityName[MAX_VALUE_LENGTH];
data/edgar-1.23/src/entity.c:1555: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 wait[10], anim[20];
data/edgar-1.23/src/entity.c:1986: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 shadowAnim[MAX_VALUE_LENGTH];
data/edgar-1.23/src/event/global_trigger.c:46: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 triggerName[MAX_VALUE_LENGTH], targetName[MAX_VALUE_LENGTH], targetType[MAX_VALUE_LENGTH], count[MAX_VALUE_LENGTH];
data/edgar-1.23/src/event/global_trigger.c:61: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).
	addGlobalTrigger(triggerName, currentValue, atoi(count), getTriggerTypeByName(targetType), targetName);
data/edgar-1.23/src/event/global_trigger.c:110: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).
	addGlobalTrigger(value[triggerName], atoi(value[count]), atoi(value[total]), getTriggerTypeByName(value[targetType]), value[targetName]);
data/edgar-1.23/src/event/global_trigger.c:110:59:  [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).
	addGlobalTrigger(value[triggerName], atoi(value[count]), atoi(value[total]), getTriggerTypeByName(value[targetType]), value[targetName]);
data/edgar-1.23/src/event/global_trigger.c:158: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 message[MAX_MESSAGE_LENGTH];
data/edgar-1.23/src/event/global_trigger.c:263: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 message[MAX_MESSAGE_LENGTH], *allMessages;
data/edgar-1.23/src/event/map_trigger.c:43: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 triggerName[MAX_VALUE_LENGTH], targetName[MAX_VALUE_LENGTH], targetType[MAX_VALUE_LENGTH];
data/edgar-1.23/src/event/map_trigger.c:96: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).
	addMapTrigger(value[triggerName], atoi(value[count]), atoi(value[total]), getTriggerTypeByName(value[targetType]), value[targetName]);
data/edgar-1.23/src/event/map_trigger.c:96:56:  [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).
	addMapTrigger(value[triggerName], atoi(value[count]), atoi(value[total]), getTriggerTypeByName(value[targetType]), value[targetName]);
data/edgar-1.23/src/event/map_trigger.c:126: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 message[MAX_MESSAGE_LENGTH];
data/edgar-1.23/src/event/objective.c:42: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 objectiveName[MAX_MESSAGE_LENGTH], completionTrigger[MAX_VALUE_LENGTH];
data/edgar-1.23/src/event/objective.c:171: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 command[15], objectiveName[MAX_VALUE_LENGTH], entityName[MAX_VALUE_LENGTH];
data/edgar-1.23/src/event/script.c:57:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char filename[MAX_PATH_LENGTH], *line, *savePtr, **existingLines;
data/edgar-1.23/src/event/script.c:118:85:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				showErrorAndExit("Failed to allocate %d bytes for script line %d", (int)(sizeof(char *) * strlen(existingLines[i]) + 1), (i + 1));
data/edgar-1.23/src/event/script.c:195:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char *token, line[MAX_LINE_LENGTH], command[MAX_VALUE_LENGTH], *savePtr, *token2;
data/edgar-1.23/src/event/script.c:282:10:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			val = atoi(token);
data/edgar-1.23/src/event/script.c:441:16:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
				if (val != atoi(token2))
data/edgar-1.23/src/event/script.c:460:16:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
				if (val <= atoi(token2))
data/edgar-1.23/src/event/script.c:479:15:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
				if (val > atoi(token2))
data/edgar-1.23/src/event/script.c:528: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).
						if (e->health == atoi(token))
data/edgar-1.23/src/event/script.c:534: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).
					else if (e->health != atoi(token))
data/edgar-1.23/src/event/script.c:544: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).
					if (e->maxHealth != atoi(token))
data/edgar-1.23/src/event/script.c:558: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).
						if (e->mental == atoi(token))
data/edgar-1.23/src/event/script.c:564: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).
					else if (e->mental != atoi(token))
data/edgar-1.23/src/event/script.c:667:12:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
					val = atoi(token);
data/edgar-1.23/src/event/script.c:684:12:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
					val = atoi(token);
data/edgar-1.23/src/event/script.c:733: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).
					e->health = (prand() % atoi(token)) + 1;
data/edgar-1.23/src/event/script.c:738:18:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
					e->health = atoi(token);
data/edgar-1.23/src/event/script.c:840:15:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
				e->dirX = atoi(token);
data/edgar-1.23/src/event/script.c:847:15:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
				e->dirY = atoi(token);
data/edgar-1.23/src/event/script.c:909:10:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			val = atoi(token2);
data/edgar-1.23/src/event/script.c:1002: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).
			becomeJumpingSlime(atoi(token));
data/edgar-1.23/src/event/script.c:1018: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).
			script.thinkTime = atoi(token);
data/edgar-1.23/src/event/script.c:1046:18:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
				fadeOutMusic(atoi(token));
data/edgar-1.23/src/event/script.c:1053:17:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
				fadeInMusic(atoi(token));
data/edgar-1.23/src/event/script.c:1099: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).
			fadeFromColour(255, 255, 255, atoi(token));
data/edgar-1.23/src/event/script.c:1115: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).
				shakeScreen(LIGHT, atoi(token));
data/edgar-1.23/src/event/script.c:1122: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).
				shakeScreen(MEDIUM, atoi(token));
data/edgar-1.23/src/event/script.c:1129: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).
				shakeScreen(STRONG, atoi(token));
data/edgar-1.23/src/event/trigger.c:98: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).
	addTrigger(value[triggerName], atoi(value[count]), atoi(value[total]), getTriggerTypeByName(value[targetType]), value[targetName]);
data/edgar-1.23/src/event/trigger.c:98:53:  [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).
	addTrigger(value[triggerName], atoi(value[count]), atoi(value[total]), getTriggerTypeByName(value[targetType]), value[targetName]);
data/edgar-1.23/src/event/trigger.c:128: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 message[MAX_MESSAGE_LENGTH];
data/edgar-1.23/src/game.c:774:18:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
				game.audio = atoi(token);
data/edgar-1.23/src/game.c:784: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).
				game.sfxDefaultVolume = atoi(token);
data/edgar-1.23/src/game.c:794: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).
				game.musicDefaultVolume = atoi(token);
data/edgar-1.23/src/game.c:804: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).
				game.showHints = atoi(token);
data/edgar-1.23/src/game.c:814: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).
				game.fullscreen = atoi(token);
data/edgar-1.23/src/game.c:824: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).
				game.audioQuality = atoi(token);
data/edgar-1.23/src/game.c:849: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).
				game.fontSizeSmall = atoi(token);
data/edgar-1.23/src/game.c:859: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).
				game.fontSizeLarge = atoi(token);
data/edgar-1.23/src/graphics/animation.c:102: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).
			animation[animationID].frameCount = atoi(frameName);
data/edgar-1.23/src/graphics/animation.c:146: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).
				animation[animationID].frameID[i] = atoi(frameName);
data/edgar-1.23/src/graphics/animation.c:150:44:  [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).
				animation[animationID].frameTimer[i] = atoi(frameName);
data/edgar-1.23/src/graphics/animation.c:154: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).
				animation[animationID].offsetX[i] = atoi(frameName);
data/edgar-1.23/src/graphics/animation.c:158: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).
				animation[animationID].offsetY[i] = atoi(frameName);
data/edgar-1.23/src/graphics/decoration.c:470: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 decorationName[MAX_VALUE_LENGTH], entityName[MAX_VALUE_LENGTH];
data/edgar-1.23/src/graphics/font.c:57:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char *text[5];
data/edgar-1.23/src/graphics/font.c:74:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			ch = ((unsigned char *)text[j])[i];
data/edgar-1.23/src/graphics/graphics.c:37: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 screenshotPath[MAX_PATH_LENGTH];
data/edgar-1.23/src/graphics/graphics.c:1042:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char filename[MAX_PATH_LENGTH];
data/edgar-1.23/src/graphics/save_png.c:34:7:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	fp = fopen(name, "wb");
data/edgar-1.23/src/graphics/sprites.c:84:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char filename[MAX_FILE_LENGTH];
data/edgar-1.23/src/hud.c:135: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 quantity[4];
data/edgar-1.23/src/hud.c:364: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 timeValue[5];
data/edgar-1.23/src/hud.c:387:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char text[MAX_MESSAGE_LENGTH];
data/edgar-1.23/src/i18n.c:30: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 language[MAX_LINE_LENGTH], c[MAX_LINE_LENGTH];
data/edgar-1.23/src/i18n.c:90:7:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	fp = fopen(c, "rb");
data/edgar-1.23/src/i18n.c:113:8:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		fp = fopen(c, "rb");
data/edgar-1.23/src/input.c:776: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).
			control.button[CONTROL_LEFT] = atoi(token);
data/edgar-1.23/src/input.c:783: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).
			control.button[CONTROL_RIGHT] = atoi(token);
data/edgar-1.23/src/input.c:790: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).
			control.button[CONTROL_UP] = atoi(token);
data/edgar-1.23/src/input.c:797: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).
			control.button[CONTROL_DOWN] = atoi(token);
data/edgar-1.23/src/input.c:804: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).
			control.button[CONTROL_JUMP] = atoi(token);
data/edgar-1.23/src/input.c:811: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).
			control.button[CONTROL_ATTACK] = atoi(token);
data/edgar-1.23/src/input.c:818: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).
			control.button[CONTROL_BLOCK] = atoi(token);
data/edgar-1.23/src/input.c:825: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).
			control.button[CONTROL_PREVIOUS] = atoi(token);
data/edgar-1.23/src/input.c:832: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).
			control.button[CONTROL_NEXT] = atoi(token);
data/edgar-1.23/src/input.c:839: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).
			control.button[CONTROL_ACTIVATE] = atoi(token);
data/edgar-1.23/src/input.c:846: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).
			control.button[CONTROL_INTERACT] = atoi(token);
data/edgar-1.23/src/input.c:853: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).
			control.button[CONTROL_PAUSE] = atoi(token);
data/edgar-1.23/src/input.c:860: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).
			control.button[CONTROL_INVENTORY] = atoi(token);
data/edgar-1.23/src/input.c:867: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).
			control.deadZone = atoi(token);
data/edgar-1.23/src/input.c:903:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char text[MAX_VALUE_LENGTH];
data/edgar-1.23/src/inventory.c:716: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 command[15], itemName[MAX_VALUE_LENGTH], entityName[MAX_VALUE_LENGTH], quiet[MAX_VALUE_LENGTH];
data/edgar-1.23/src/inventory.c:840: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 description[MAX_MESSAGE_LENGTH];
data/edgar-1.23/src/inventory.c:950:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char text[MAX_MESSAGE_LENGTH];
data/edgar-1.23/src/item/bell_rope.c:126: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 tune[MAX_VALUE_LENGTH];
data/edgar-1.23/src/item/cloud_geyzer.c:66:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char name[MAX_VALUE_LENGTH];
data/edgar-1.23/src/item/cloud_geyzer.c:123:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char name[MAX_VALUE_LENGTH];
data/edgar-1.23/src/item/code_door.c:308: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 display[MAX_VALUE_LENGTH];
data/edgar-1.23/src/item/instruction_machine.c:219: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 display[MAX_VALUE_LENGTH];
data/edgar-1.23/src/item/item_remover.c:79: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 targetName[MAX_LINE_LENGTH];
data/edgar-1.23/src/item/jigsaw_puzzle.c:207: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 display[MAX_VALUE_LENGTH];
data/edgar-1.23/src/item/mastermind.c:203: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 display[MAX_VALUE_LENGTH];
data/edgar-1.23/src/item/mastermind_display.c:357: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 c[2];
data/edgar-1.23/src/item/mastermind_display.c:387: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 solution[6], c[2];
data/edgar-1.23/src/item/memory_match.c:211:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char display[MAX_VALUE_LENGTH];
data/edgar-1.23/src/item/safe.c:144: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 code[MAX_VALUE_LENGTH];
data/edgar-1.23/src/item/safe_combination.c:77: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 combination[MAX_VALUE_LENGTH];
data/edgar-1.23/src/item/safe_combination.c:105: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 combination[MAX_VALUE_LENGTH], turns[5];
data/edgar-1.23/src/item/safe_combination.c:125:10:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			val = atoi(turns);
data/edgar-1.23/src/item/sliding_puzzle.c:179: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 display[MAX_VALUE_LENGTH];
data/edgar-1.23/src/item/train.c:110:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char trackName[MAX_VALUE_LENGTH];
data/edgar-1.23/src/item/train_track.c:66:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char targetTrackName[MAX_VALUE_LENGTH];
data/edgar-1.23/src/item/train_track.c:102: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 targetTrackName[MAX_VALUE_LENGTH];
data/edgar-1.23/src/item/tread_mill.c:66:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char display[MAX_VALUE_LENGTH];
data/edgar-1.23/src/main.c:120:15:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			loadSlot = atoi(argv[i + 1]);
data/edgar-1.23/src/main.c:140:15:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			joystick = atoi(argv[i + 1]);
data/edgar-1.23/src/main_editor.c:44:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char filename[MAX_VALUE_LENGTH];
data/edgar-1.23/src/map.c:55:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char itemName[MAX_MESSAGE_LENGTH], filename[MAX_LINE_LENGTH], *line, *token, *savePtr1, *savePtr2;
data/edgar-1.23/src/map.c:251: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).
			map.animTileTotal = atoi(itemName);
data/edgar-1.23/src/map.c:286: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).
					map.animTile[animTileID].tile[x] = atoi(token);
data/edgar-1.23/src/map.c:305: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).
					map.tile[y][x] = atoi(token);
data/edgar-1.23/src/map.c:497:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char filename[MAX_LINE_LENGTH];
data/edgar-1.23/src/map.c:513:7:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	fp = fopen(filename, "wb");
data/edgar-1.23/src/map.c:647:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char filename[255];
data/edgar-1.23/src/map.c:1045:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char filename[MAX_PATH_LENGTH];
data/edgar-1.23/src/map.c:1349: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).
	setCameraPosition(atoi(x), atoi(y));
data/edgar-1.23/src/map.c:1349: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).
	setCameraPosition(atoi(x), atoi(y));
data/edgar-1.23/src/map.c:1363: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 limitPlayer[10];
data/edgar-1.23/src/menu/about_menu.c:69: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 versionText[MAX_VALUE_LENGTH], copyright[MAX_VALUE_LENGTH];
data/edgar-1.23/src/menu/options_menu.c:38: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 lastKeys[MAX_VALUE_LENGTH];
data/edgar-1.23/src/menu/stats_menu.c:77: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 menuName[MAX_VALUE_LENGTH], *token;
data/edgar-1.23/src/menu/widget.c:152:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char *text, *token, word[MAX_VALUE_LENGTH], *savePtr;
data/edgar-1.23/src/pak_creator.c:37: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 versionName[5];
data/edgar-1.23/src/pak_creator.c:58:8:  [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).
	pak = fopen(argv[argc - 1], "wb");
data/edgar-1.23/src/pak_creator.c:86: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).
	versionFile = fopen(versionName, "wb");
data/edgar-1.23/src/pak_creator.c:134:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char filename[MAX_FILE_LENGTH];
data/edgar-1.23/src/pak_creator.c:177:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char filename[1024];
data/edgar-1.23/src/pak_creator.c:225:11:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	infile = fopen(filename, "rb");
data/edgar-1.23/src/pak_creator.c:350:7:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	fp = fopen(pakFile, "rb");
data/edgar-1.23/src/player.c:1230: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 shieldName[MAX_VALUE_LENGTH], oldShieldName[MAX_VALUE_LENGTH];
data/edgar-1.23/src/po_creator.c:27: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 added[8192][MAX_LINE_LENGTH];
data/edgar-1.23/src/po_creator.c:33:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char line[MAX_LINE_LENGTH], filename[MAX_LINE_LENGTH], *token;
data/edgar-1.23/src/po_creator.c:41:7:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	fp = fopen("locale/edgar.pot", "rb");
data/edgar-1.23/src/po_creator.c:66:7:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	fp = fopen("messages.po", "rb");
data/edgar-1.23/src/po_creator.c:91:7:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	fp = fopen("data/medals.dat", "rb");
data/edgar-1.23/src/po_creator.c:152: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).
			fp = fopen(filename, "rb");
data/edgar-1.23/src/po_creator.c:262: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).
			fp = fopen(filename, "rb");
data/edgar-1.23/src/po_creator.c:326: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).
			fp = fopen(filename, "rb");
data/edgar-1.23/src/po_creator.c:422:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char buffer[MAX_LINE_LENGTH];
data/edgar-1.23/src/po_creator.c:446:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char filename[MAX_LINE_LENGTH], buffer[MAX_LINE_LENGTH];
data/edgar-1.23/src/po_creator.c:484: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).
			infile = fopen(filename, "rb");
data/edgar-1.23/src/status_panel.c:31:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char text[MAX_MESSAGE_LENGTH];
data/edgar-1.23/src/structs.h:59:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char name[MAX_FILE_LENGTH];
data/edgar-1.23/src/structs.h:90:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char name[MAX_VALUE_LENGTH];
data/edgar-1.23/src/structs.h:108:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char name[MAX_VALUE_LENGTH], objectiveName[MAX_VALUE_LENGTH], requires[MAX_VALUE_LENGTH];
data/edgar-1.23/src/structs.h:109: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 description[MAX_MESSAGE_LENGTH], animationName[MAX_VALUE_LENGTH];
data/edgar-1.23/src/structs.h:136:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char filename[MAX_VALUE_LENGTH], tilesetName[MAX_VALUE_LENGTH], ambienceName[MAX_VALUE_LENGTH];
data/edgar-1.23/src/structs.h:137:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char musicName[MAX_VALUE_LENGTH], mapName[MAX_VALUE_LENGTH];
data/edgar-1.23/src/structs.h:158:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char name[MAX_VALUE_LENGTH];
data/edgar-1.23/src/structs.h:181: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 nextMap[MAX_VALUE_LENGTH], playerStart[MAX_VALUE_LENGTH];
data/edgar-1.23/src/structs.h:182: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 customFont[MAX_FILE_LENGTH];
data/edgar-1.23/src/structs.h:203:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char text[MAX_MESSAGE_LENGTH];
data/edgar-1.23/src/structs.h:225:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char name[MAX_VALUE_LENGTH], key[MAX_PROPS_ENTRIES][MAX_VALUE_LENGTH], value[MAX_PROPS_ENTRIES][MAX_VALUE_LENGTH];
data/edgar-1.23/src/structs.h:231:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char name[MAX_VALUE_LENGTH];
data/edgar-1.23/src/structs.h:238:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char name[MAX_VALUE_LENGTH];
data/edgar-1.23/src/structs.h:244:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char name[MAX_VALUE_LENGTH];
data/edgar-1.23/src/structs.h:249: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 triggerName[MAX_VALUE_LENGTH], targetName[MAX_VALUE_LENGTH];
data/edgar-1.23/src/structs.h:256:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char name[MAX_MESSAGE_LENGTH], completionTrigger[MAX_VALUE_LENGTH];
data/edgar-1.23/src/structs.h:285: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 code[MAX_VALUE_LENGTH], description[MAX_MESSAGE_LENGTH];
data/edgar-1.23/src/structs.h:310:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char filename[MAX_FILE_LENGTH];
data/edgar-1.23/src/structs.h: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 boss[MAX_VALUE_LENGTH];
data/edgar-1.23/src/structs.h:330:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char text[MAX_LINE_LENGTH];
data/edgar-1.23/src/system/compress.c:34:7:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	fp = fopen(sourceName, "rb");
data/edgar-1.23/src/system/compress.c:84:7:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	fp = fopen(sourceName, "wb");
data/edgar-1.23/src/system/compress.c:117:7:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	fp = fopen(sourceName, "rb");
data/edgar-1.23/src/system/compress.c:205:7:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	fp = fopen(sourceName, "rb");
data/edgar-1.23/src/system/error.c:36:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char text[MAX_MESSAGE_LENGTH];
data/edgar-1.23/src/system/load_save.c:44: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 gameSavePath[MAX_PATH_LENGTH], tempFile[MAX_PATH_LENGTH], saveFileIndex[MAX_PATH_LENGTH], continueFile[MAX_PATH_LENGTH];
data/edgar-1.23/src/system/load_save.c:59:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char dir[MAX_PATH_LENGTH];
data/edgar-1.23/src/system/load_save.c:177: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 itemName[MAX_MESSAGE_LENGTH], mapName[MAX_MESSAGE_LENGTH], backup[MAX_PATH_LENGTH];
data/edgar-1.23/src/system/load_save.c:178: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 saveFile[MAX_PATH_LENGTH], *line, *savePtr, completion[5];
data/edgar-1.23/src/system/load_save.c:189:7:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	fp = fopen(saveFile, "rb");
data/edgar-1.23/src/system/load_save.c:386: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 location[MAX_VALUE_LENGTH], *line, *savePtr, itemName[MAX_MESSAGE_LENGTH], *returnedName, mapName[MAX_VALUE_LENGTH];
data/edgar-1.23/src/system/load_save.c:395: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).
	newSave = fopen(tempFile, "wb");
data/edgar-1.23/src/system/load_save.c:571:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char itemName[MAX_MESSAGE_LENGTH], *line, *savePtr;
data/edgar-1.23/src/system/load_save.c:572:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char saveFile[MAX_PATH_LENGTH];
data/edgar-1.23/src/system/load_save.c:574: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 tempSaveFile[MAX_PATH_LENGTH];
data/edgar-1.23/src/system/load_save.c:589:11:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
			read = fopen(saveFile, "rb");
data/edgar-1.23/src/system/load_save.c:612: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).
	write = fopen(tempSaveFile, "wb");
data/edgar-1.23/src/system/load_save.c:640: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).
	read = fopen(tempFile, "rb");
data/edgar-1.23/src/system/load_save.c:786:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buffer[MAX_VALUE_LENGTH], saveName[MAX_VALUE_LENGTH];
data/edgar-1.23/src/system/load_save.c:804:7:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	fp = fopen(saveFileIndex, "wb");
data/edgar-1.23/src/system/load_save.c:823: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 saveFile[MAX_PATH_LENGTH];
data/edgar-1.23/src/system/load_save.c:836:8:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		fp = fopen(saveFile, "rb");
data/edgar-1.23/src/system/load_save.c:861:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char *line, itemName[MAX_MESSAGE_LENGTH], *savePtr;
data/edgar-1.23/src/system/load_save.c:862: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 swapFile[MAX_PATH_LENGTH];
data/edgar-1.23/src/system/load_save.c:873: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).
	read = fopen(tempFile, "rb");
data/edgar-1.23/src/system/load_save.c:875: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).
	write = fopen(swapFile, "wb");
data/edgar-1.23/src/system/load_save.c:1004: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 itemName[MAX_MESSAGE_LENGTH], *line, *savePtr;
data/edgar-1.23/src/system/load_save.c:1005: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 saveFile[MAX_PATH_LENGTH];
data/edgar-1.23/src/system/load_save.c:1016: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).
	write = fopen(saveFile, "wb");
data/edgar-1.23/src/system/load_save.c:1044: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).
	read = fopen(tempFile, "rb");
data/edgar-1.23/src/system/load_save.c:1181: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 itemName[MAX_MESSAGE_LENGTH], mapName[MAX_MESSAGE_LENGTH];
data/edgar-1.23/src/system/load_save.c:1182: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 saveFile[MAX_PATH_LENGTH], *line, *savePtr;
data/edgar-1.23/src/system/load_save.c:1190:7:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	fp = fopen(saveFile, "rb");
data/edgar-1.23/src/system/load_save.c:1318:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char *line, itemName[MAX_MESSAGE_LENGTH], *savePtr;
data/edgar-1.23/src/system/load_save.c:1326: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).
	read = fopen(tempFile, "rb");
data/edgar-1.23/src/system/load_save.c:1380: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).
	read = fopen(tempFile, "rb");
data/edgar-1.23/src/system/load_save.c:1427:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char *line, itemName[MAX_MESSAGE_LENGTH], *savePtr;
data/edgar-1.23/src/system/load_save.c:1473:7:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	fp = fopen(tempFile, "rb");
data/edgar-1.23/src/system/load_save.c:1485:7:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	fp = fopen(continueFile, "rb");
data/edgar-1.23/src/system/load_save.c:1503: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 settingsFile[MAX_PATH_LENGTH], *line, *savePtr;
data/edgar-1.23/src/system/load_save.c:1515:7:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	fp = fopen(settingsFile, "rb");
data/edgar-1.23/src/system/load_save.c:1574: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 settingsFile[MAX_PATH_LENGTH];
data/edgar-1.23/src/system/load_save.c:1578:7:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	fp = fopen(settingsFile, "wb");
data/edgar-1.23/src/system/load_save.c:1599:15:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	sourceFile = fopen(src, "rb");
data/edgar-1.23/src/system/load_save.c:1606: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).
	destFile = fopen(dest, "wb");
data/edgar-1.23/src/system/load_save.c:1632: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 **entries, save0[MAX_PATH_LENGTH];
data/edgar-1.23/src/system/load_save.c:1657:7:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	fp = fopen(saveFileIndex, "rb");
data/edgar-1.23/src/system/load_save.c:1665:8:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		fp = fopen(save0, "rb");
data/edgar-1.23/src/system/load_save.c:1741: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 medalFile[MAX_PATH_LENGTH], *line, *savePtr;
data/edgar-1.23/src/system/load_save.c:1749:7:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	fp = fopen(medalFile, "rb");
data/edgar-1.23/src/system/load_save.c:1775: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 medalFile[MAX_PATH_LENGTH];
data/edgar-1.23/src/system/load_save.c:1781:7:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	fp = fopen(medalFile, "wb");
data/edgar-1.23/src/system/pak.c:29: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 pakFile[MAX_PATH_LENGTH];
data/edgar-1.23/src/system/pak.c:41:8:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		fp = fopen(pakFile, "rb");
data/edgar-1.23/src/system/pak.c:92:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char version[5];
data/edgar-1.23/src/system/pak.c:172:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                char fullName[MAX_PATH_LENGTH] = INSTALL_PATH;
data/edgar-1.23/src/system/pak.c:177:8:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		fp = fopen(fullName, "rb");
data/edgar-1.23/src/system/pak.c:191:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char temp[MAX_PATH_LENGTH];
data/edgar-1.23/src/system/pak.c:230:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                char fullName[MAX_PATH_LENGTH] = INSTALL_PATH;
data/edgar-1.23/src/system/pak.c:233:8:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		fp = fopen(fullName, "rb");
data/edgar-1.23/src/system/pak.c:274:8:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		fp = fopen(pakFile, "rb");
data/edgar-1.23/src/system/pak.c:336:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                char fullName[MAX_PATH_LENGTH] = INSTALL_PATH;
data/edgar-1.23/src/system/pak.c:339:8:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		fp = fopen(fullName, "rb");
data/edgar-1.23/src/system/pak.c:384:8:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		fp = fopen(pakFile, "rb");
data/edgar-1.23/src/system/pak.c:428: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).
			fp = fopen(filename, "wb");
data/edgar-1.23/src/system/pak.c:469:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                char fullName[MAX_PATH_LENGTH] = INSTALL_PATH;
data/edgar-1.23/src/system/pak.c:473:8:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		fp = fopen(fullName, "rb");
data/edgar-1.23/src/system/properties.c:89: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 path[MAX_PATH_LENGTH], *line, *token, *savePtr1, *savePtr2;
data/edgar-1.23/src/system/properties.c:482:10:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		e->x = atoi(value);
data/edgar-1.23/src/system/properties.c:487:10:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		e->y = atoi(value);
data/edgar-1.23/src/system/properties.c:492:15:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		e->startX = atoi(value);
data/edgar-1.23/src/system/properties.c:497:15:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		e->startY = atoi(value);
data/edgar-1.23/src/system/properties.c:502:13:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		e->endX = atoi(value);
data/edgar-1.23/src/system/properties.c:507:13:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		e->endY = atoi(value);
data/edgar-1.23/src/system/properties.c:522:18:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		e->thinkTime = atoi(value);
data/edgar-1.23/src/system/properties.c:532:21:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		e->maxThinkTime = atoi(value);
data/edgar-1.23/src/system/properties.c:554:15:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		e->health = atoi(value);
data/edgar-1.23/src/system/properties.c:564:18:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		e->maxHealth = atoi(value);
data/edgar-1.23/src/system/properties.c:569:15:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		e->damage = atoi(value);
data/edgar-1.23/src/system/properties.c:574:18:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		e->thinkTime = atoi(value);
data/edgar-1.23/src/system/properties.c:621:14:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		e->alpha = atoi(value);
data/edgar-1.23/src/system/properties.c:626:15:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		e->mental = atoi(value);
data/edgar-1.23/src/system/properties.c:631:18:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		e->spawnTime = atoi(value);
data/edgar-1.23/src/system/record.c:38: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 mapFile[6];
data/edgar-1.23/src/system/record.c:44: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).
	replayBuffer = fopen(name, "rb");
data/edgar-1.23/src/system/record.c:89: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).
	replayBuffer = fopen(name, "wb");
data/edgar-1.23/src/system/resources.c:275: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 *token, *line, itemName[MAX_VALUE_LENGTH], *savePtr2, *savePtr;
data/edgar-1.23/src/system/resources.c:390:75:  [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).
			e = addEntityFromResource(value[type], value[name], startX == -1 ? 0 : atoi(value[startX]), startY == -1 ? 0 : atoi(value[startY]));
data/edgar-1.23/src/system/resources.c:390:115:  [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).
			e = addEntityFromResource(value[type], value[name], startX == -1 ? 0 : atoi(value[startX]), startY == -1 ? 0 : atoi(value[startY]));
data/edgar-1.23/src/system/resources.c:631: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 patchFile[MAX_PATH_LENGTH], *line, *savePtr, itemName[MAX_VALUE_LENGTH];
data/edgar-1.23/src/system/resources.c:632: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 key[MAX_VALUE_LENGTH], value[MAX_VALUE_LENGTH];
data/edgar-1.23/src/tile_creator.c:34:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char name[20];
data/edgar-1.23/src/tile_creator.c:62:6:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	i = atoi(argv[2]);
data/edgar-1.23/src/tile_creator.c:90: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(name, "%d.png", i);
data/edgar-1.23/src/tile_creator.c:168:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char name[10];
data/edgar-1.23/src/tile_creator.c:176:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(name, "%d.png", i);
data/edgar-1.23/src/title.c:75: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 copyright[MAX_VALUE_LENGTH];
data/edgar-1.23/src/world/lift.c:167: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 targetName[MAX_VALUE_LENGTH];
data/edgar-1.23/src/world/lift.c:321: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 targetName[MAX_VALUE_LENGTH];
data/edgar-1.23/src/world/spawner.c:67: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 spawnList[MAX_VALUE_LENGTH], name[MAX_VALUE_LENGTH];
data/edgar-1.23/src/world/spawner.c:117: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 spawnList[MAX_VALUE_LENGTH], name[MAX_VALUE_LENGTH];
data/edgar-1.23/src/world/teleporter.c:184:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char mapName[MAX_VALUE_LENGTH];
data/edgar-1.23/src/audio/audio.c:54:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (line[strlen(line) - 1] == '\n')
data/edgar-1.23/src/audio/audio.c:56:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			line[strlen(line) - 1] = '\0';
data/edgar-1.23/src/audio/audio.c:59:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (line[strlen(line) - 1] == '\r')
data/edgar-1.23/src/audio/audio.c:61:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			line[strlen(line) - 1] = '\0';
data/edgar-1.23/src/credits.c:984: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).
	temp = malloc(strlen(line) + 1);
data/edgar-1.23/src/credits.c:988:78:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		showErrorAndExit("Failed to allocate a whole %d bytes for tokens...", (int)strlen(line) + 1);
data/edgar-1.23/src/credits.c:991:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	STRNCPY(temp, line, strlen(line) + 1);
data/edgar-1.23/src/credits.c:1168:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (strlen(credits.creditLine[2].text) != 0 && credits.creditLine[2].textImage == NULL)
data/edgar-1.23/src/cursor.c:81:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (entityNames[entityNamesLength][strlen(entityNames[entityNamesLength]) - 1] == '\n')
data/edgar-1.23/src/cursor.c:83:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			entityNames[entityNamesLength][strlen(entityNames[entityNamesLength]) - 1] = '\0';
data/edgar-1.23/src/cursor.c:86:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (entityNames[entityNamesLength][strlen(entityNames[entityNamesLength]) - 1] == '\r')
data/edgar-1.23/src/cursor.c:88:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			entityNames[entityNamesLength][strlen(entityNames[entityNamesLength]) - 1] = '\0';
data/edgar-1.23/src/cursor.c:418:41:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			setStatusPanelMessage("%s : %d %d", (strlen(e->objectiveName) == 0 ? e->name : e->objectiveName), (int)e->x, (int)e->y);
data/edgar-1.23/src/defs.h:155:31:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
#define STRNCPY(dest, src, n) strncpy(dest, src, n); dest[n - 1] = '\0'
data/edgar-1.23/src/dialog.c:64: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).
	text = malloc(strlen(msg) + 1);
data/edgar-1.23/src/dialog.c:68:84:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		showErrorAndExit("Failed to allocate a whole %d bytes for the Dialog Text", (int)strlen(msg) + 1);
data/edgar-1.23/src/dialog.c:71:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	STRNCPY(text, msg, strlen(msg) + 1);
data/edgar-1.23/src/dialog.c:77:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		titleText = malloc(strlen(title) + 1);
data/edgar-1.23/src/dialog.c:81:85:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			showErrorAndExit("Failed to allocate a whole %d bytes for the Dialog Text", (int)strlen(title) + 1);
data/edgar-1.23/src/dialog.c:84:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		STRNCPY(titleText, title, strlen(title) + 1);
data/edgar-1.23/src/dialog.c:131:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	STRNCPY(text, msg, strlen(msg) + 1);
data/edgar-1.23/src/dialog.c:186:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (word[strlen(word) - 2] == '\n')
data/edgar-1.23/src/dialog.c:190:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			word[strlen(word) - 2] = '\0';
data/edgar-1.23/src/dialog.c:197:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			word[strlen(word) - 1] = '\0';
data/edgar-1.23/src/dialog.c:328:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(buffer, string, p - string);
data/edgar-1.23/src/dialog.c:332:73:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	snprintf(buffer + (p - string), MAX_VALUE_LENGTH, "%s%s", replace, p + strlen(find));
data/edgar-1.23/src/enemy/enemy_generator.c:68:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen(self->objectiveName) == 0)
data/edgar-1.23/src/enemy/frog.c:87:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen(self->objectiveName) != 0)
data/edgar-1.23/src/entity.c:1282:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (name == NULL || strlen(name) == 0)
data/edgar-1.23/src/entity.c:1300:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (name == NULL || strlen(name) == 0)
data/edgar-1.23/src/entity.c:1456:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	int x, y, read;
data/edgar-1.23/src/entity.c:1501:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	int read;
data/edgar-1.23/src/entity.c:1554:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	int x, y, read;
data/edgar-1.23/src/event/global_trigger.c:160:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen(name) == 0)
data/edgar-1.23/src/event/global_trigger.c:246:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen(name) == 0)
data/edgar-1.23/src/event/global_trigger.c:289:4:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
			strncat(allMessages, message, (MAX_MESSAGE_LENGTH * MAX_TRIGGERS) - strlen(allMessages) - 1);
data/edgar-1.23/src/event/global_trigger.c:289: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).
			strncat(allMessages, message, (MAX_MESSAGE_LENGTH * MAX_TRIGGERS) - strlen(allMessages) - 1);
data/edgar-1.23/src/event/global_trigger.c:295:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen(allMessages) > 0)
data/edgar-1.23/src/event/global_trigger.c:297:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		allMessages[strlen(allMessages) - 2] = '\0';
data/edgar-1.23/src/event/global_trigger.c:300:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen(allMessages) == 0)
data/edgar-1.23/src/event/map_trigger.c:128:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen(name) == 0)
data/edgar-1.23/src/event/map_trigger.c:191:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen(name) == 0)
data/edgar-1.23/src/event/script.c:89:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			existingLines[i] = malloc(strlen(script.text[i]) + 1);
data/edgar-1.23/src/event/script.c:93: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).
				showErrorAndExit("Failed to allocate %d bytes for script line %d", (int)(sizeof(char *) * strlen(script.text[i]) + 1), (i + 1));
data/edgar-1.23/src/event/script.c:96: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).
			STRNCPY(existingLines[i], script.text[i], strlen(script.text[i]) + 1);
data/edgar-1.23/src/event/script.c:114:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			script.text[i] = malloc(strlen(existingLines[i]) + 1);
data/edgar-1.23/src/event/script.c:118: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).
				showErrorAndExit("Failed to allocate %d bytes for script line %d", (int)(sizeof(char *) * strlen(existingLines[i]) + 1), (i + 1));
data/edgar-1.23/src/event/script.c:121: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).
			STRNCPY(script.text[i], existingLines[i], strlen(existingLines[i]) + 1);
data/edgar-1.23/src/event/script.c:153:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (line[strlen(line) - 1] == '\n')
data/edgar-1.23/src/event/script.c:155:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			line[strlen(line) - 1] = '\0';
data/edgar-1.23/src/event/script.c:158:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (line[strlen(line) - 1] == '\r')
data/edgar-1.23/src/event/script.c:160:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			line[strlen(line) - 1] = '\0';
data/edgar-1.23/src/event/script.c:163:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		script.text[i] = malloc(strlen(line) + 1);
data/edgar-1.23/src/event/script.c:167:94:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			showErrorAndExit("Failed to allocate %d bytes for script line %d", (int)(sizeof(char *) * strlen(line) + 1), (i + 1));
data/edgar-1.23/src/event/script.c:170:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		STRNCPY(script.text[i], line, strlen(line) + 1);
data/edgar-1.23/src/event/script.c:231:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (strlen(line) == 0)
data/edgar-1.23/src/event/trigger.c:130:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen(name) == 0)
data/edgar-1.23/src/event/trigger.c:212:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen(name) == 0)
data/edgar-1.23/src/game.c:866:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen(game.customFont) != 0)
data/edgar-1.23/src/graphics/font.c:70:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		length = strlen(text[j]);
data/edgar-1.23/src/graphics/graphics.c:1044:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen(screenshotPath) != 0)
data/edgar-1.23/src/graphics/sprites.c:61:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (line[strlen(line) - 1] == '\n')
data/edgar-1.23/src/graphics/sprites.c:63:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			line[strlen(line) - 1] = '\0';
data/edgar-1.23/src/graphics/sprites.c:66:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (line[strlen(line) - 1] == '\r')
data/edgar-1.23/src/graphics/sprites.c:68:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			line[strlen(line) - 1] = '\0';
data/edgar-1.23/src/graphics/sprites.c:83:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	int i, x, y, w, h, read, alpha;
data/edgar-1.23/src/i18n.c:37:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		int read;
data/edgar-1.23/src/i18n.c:57:6:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings. Risk is low because the source is a
  constant character.
					strncat(language, "_", MAX_MESSAGE_LENGTH - strlen(language) - 1);
data/edgar-1.23/src/i18n.c:57:50:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					strncat(language, "_", MAX_MESSAGE_LENGTH - strlen(language) - 1);
data/edgar-1.23/src/i18n.c:59:6:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
					strncat(language, c, MAX_MESSAGE_LENGTH - strlen(language) - 1);
data/edgar-1.23/src/i18n.c:59:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					strncat(language, c, MAX_MESSAGE_LENGTH - strlen(language) - 1);
data/edgar-1.23/src/i18n.c:256:45:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		printf("Using %d of %d buckets (%d%%)\n", read, TABLE_SIZE, (read *  100) / TABLE_SIZE);
data/edgar-1.23/src/i18n.c:256:64:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		printf("Using %d of %d buckets (%d%%)\n", read, TABLE_SIZE, (read *  100) / TABLE_SIZE);
data/edgar-1.23/src/i18n.c:265:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	length = strlen(data);
data/edgar-1.23/src/i18n.c:327:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	newBucket->key   = malloc(strlen(key) + 1);
data/edgar-1.23/src/i18n.c:328:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	newBucket->value = malloc(strlen(value) + 1);
data/edgar-1.23/src/i18n.c:332:74:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		printf("Failed to allocate a whole %d bytes for a translation\n", (int)strlen(newBucket->key) + 1);
data/edgar-1.23/src/i18n.c:337:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	STRNCPY(newBucket->key, key, strlen(key) + 1);
data/edgar-1.23/src/i18n.c:338:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	STRNCPY(newBucket->value, value, strlen(value) + 1);
data/edgar-1.23/src/i18n.c:358: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).
			return strlen(bucket->value) == 0 ? key : bucket->value;
data/edgar-1.23/src/inventory.c:717:52:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	int quantity, success, failure, quantityToRemove, read;
data/edgar-1.23/src/inventory.c:722:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if (read < 7)
data/edgar-1.23/src/inventory.c:901: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).
			else if (strlen(e->description) == 0 && strlen(e->objectiveName) != 0)
data/edgar-1.23/src/inventory.c:901:44:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			else if (strlen(e->description) == 0 && strlen(e->objectiveName) != 0)
data/edgar-1.23/src/item/arrow_target.c:198:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			if (strlen(self->objectiveName) != 0)
data/edgar-1.23/src/item/code_door.c:97:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen(self->requires) != 0)
data/edgar-1.23/src/item/code_door.c:141:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (strlen(self->target->requires) == 0)
data/edgar-1.23/src/item/code_door.c:179:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (self->mental == strlen(self->target->requires))
data/edgar-1.23/src/item/code_door.c:205:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		self->thinkTime = self->mental > strlen(self->target->requires) ? 0 : self->maxThinkTime;
data/edgar-1.23/src/item/code_door.c:330:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen(self->requires) == 0)
data/edgar-1.23/src/item/colour_display.c:67:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen(self->requires) == 0)
data/edgar-1.23/src/item/light_pillar.c:105:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen(self->requires) != 0)
data/edgar-1.23/src/item/music_sheet_display.c:73:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	length = strlen(self->head->requires);
data/edgar-1.23/src/item/pedestal.c:211:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen(self->objectiveName) != 0)
data/edgar-1.23/src/item/robot.c:161: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).
	else if (strlen(e->requires) == 0)
data/edgar-1.23/src/item/safe.c:112:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen(self->requires) == 0)
data/edgar-1.23/src/item/safe_combination.c:81:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (strlen(self->requires) == 0)
data/edgar-1.23/src/item/safe_combination.c:112:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	length = strlen(self->requires);
data/edgar-1.23/src/item/safe_combination.c:127:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			if (strlen(combination) == 0)
data/edgar-1.23/src/item/safe_combination.c:137:4:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
			strncat(combination, self->description, MAX_MESSAGE_LENGTH - strlen(combination) - 1);
data/edgar-1.23/src/item/safe_combination.c:137:65:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			strncat(combination, self->description, MAX_MESSAGE_LENGTH - strlen(combination) - 1);
data/edgar-1.23/src/item/scale.c:73:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen(self->objectiveName) == 0)
data/edgar-1.23/src/map.c:1364:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	int read;
data/edgar-1.23/src/medal.c:61:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen(medalQueue.medalMessage.text) == 0)
data/edgar-1.23/src/menu/io_menu.c:180:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (saveFile == NULL || strlen(saveFile[j]) == 0)
data/edgar-1.23/src/menu/widget.c:159: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).
	text = malloc(strlen(msg) + 1);
data/edgar-1.23/src/menu/widget.c:163:84:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		showErrorAndExit("Failed to allocate a whole %d bytes for the Dialog Text", (int)strlen(msg) + 1);
data/edgar-1.23/src/menu/widget.c:166:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	STRNCPY(text, msg, strlen(msg) + 1);
data/edgar-1.23/src/menu/widget.c:195:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	STRNCPY(text, msg, strlen(msg) + 1);
data/edgar-1.23/src/menu/widget.c:209:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (word[strlen(word) - 2] == '\n')
data/edgar-1.23/src/menu/widget.c:213:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			word[strlen(word) - 2] = '\0';
data/edgar-1.23/src/menu/widget.c:220:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			word[strlen(word) - 1] = '\0';
data/edgar-1.23/src/player.c:2568:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (strlen(playerWeapon.name) > 0)
data/edgar-1.23/src/player.c:2573:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (strlen(playerShield.name) > 0)
data/edgar-1.23/src/po_creator.c:45:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (line[strlen(line) - 1] == '\n')
data/edgar-1.23/src/po_creator.c:47:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			line[strlen(line) - 1] = '\0';
data/edgar-1.23/src/po_creator.c:50:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (line[strlen(line) - 1] == '\r')
data/edgar-1.23/src/po_creator.c:52:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			line[strlen(line) - 1] = '\0';
data/edgar-1.23/src/po_creator.c:70:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (line[strlen(line) - 1] == '\n')
data/edgar-1.23/src/po_creator.c:72:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			line[strlen(line) - 1] = '\0';
data/edgar-1.23/src/po_creator.c:75:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (line[strlen(line) - 1] == '\r')
data/edgar-1.23/src/po_creator.c:77:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			line[strlen(line) - 1] = '\0';
data/edgar-1.23/src/po_creator.c:95:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (line[strlen(line) - 1] == '\n')
data/edgar-1.23/src/po_creator.c:97:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			line[strlen(line) - 1] = '\0';
data/edgar-1.23/src/po_creator.c:100:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (line[strlen(line) - 1] == '\r')
data/edgar-1.23/src/po_creator.c:102:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			line[strlen(line) - 1] = '\0';
data/edgar-1.23/src/po_creator.c:156: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 (line[strlen(line) - 1] == '\n')
data/edgar-1.23/src/po_creator.c:158: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).
					line[strlen(line) - 1] = '\0';
data/edgar-1.23/src/po_creator.c:161: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 (line[strlen(line) - 1] == '\r')
data/edgar-1.23/src/po_creator.c:163: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).
					line[strlen(line) - 1] = '\0';
data/edgar-1.23/src/po_creator.c:266: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 (line[strlen(line) - 1] == '\n')
data/edgar-1.23/src/po_creator.c:268: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).
					line[strlen(line) - 1] = '\0';
data/edgar-1.23/src/po_creator.c:271: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 (line[strlen(line) - 1] == '\r')
data/edgar-1.23/src/po_creator.c:273: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).
					line[strlen(line) - 1] = '\0';
data/edgar-1.23/src/po_creator.c:330: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 (line[strlen(line) - 1] == '\n')
data/edgar-1.23/src/po_creator.c:332: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).
					line[strlen(line) - 1] = '\0';
data/edgar-1.23/src/po_creator.c:335: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 (line[strlen(line) - 1] == '\r')
data/edgar-1.23/src/po_creator.c:337: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).
					line[strlen(line) - 1] = '\0';
data/edgar-1.23/src/po_creator.c:375:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	clean[strlen(clean) - 1] = '\0';
data/edgar-1.23/src/po_creator.c:432:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(buffer, string, p - string);
data/edgar-1.23/src/po_creator.c:436: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).
	snprintf(buffer + (p - string), MAX_LINE_LENGTH, "%s%s", replace, p + strlen(find));
data/edgar-1.23/src/status_panel.c:45:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen(text) > 0)
data/edgar-1.23/src/system/compress.c:115:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	int read, result;
data/edgar-1.23/src/system/compress.c:136:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if (read != 1)
data/edgar-1.23/src/system/compress.c:167:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if (read != 1)
data/edgar-1.23/src/system/compress.c:201:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	int read, result;
data/edgar-1.23/src/system/compress.c:224:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if (read != 1)
data/edgar-1.23/src/system/compress.c:245:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if (read != 1)
data/edgar-1.23/src/system/load_save.c:210:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (line[strlen(line) - 1] == '\n')
data/edgar-1.23/src/system/load_save.c:212:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			line[strlen(line) - 1] = '\0';
data/edgar-1.23/src/system/load_save.c:215:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (line[strlen(line) - 1] == '\r')
data/edgar-1.23/src/system/load_save.c:217:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			line[strlen(line) - 1] = '\0';
data/edgar-1.23/src/system/load_save.c:399: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).
	originalBuffer = malloc((strlen((char *)buffer) + 1) * sizeof(unsigned char));
data/edgar-1.23/src/system/load_save.c:403:77:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		showErrorAndExit("Failed to allocate %d bytes to patch save game", (int)((strlen((char *)buffer) + 1) * sizeof(unsigned char)));
data/edgar-1.23/src/system/load_save.c:416:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (line[strlen(line) - 1] == '\n')
data/edgar-1.23/src/system/load_save.c:418:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			line[strlen(line) - 1] = '\0';
data/edgar-1.23/src/system/load_save.c:421:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (line[strlen(line) - 1] == '\r')
data/edgar-1.23/src/system/load_save.c:423:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			line[strlen(line) - 1] = '\0';
data/edgar-1.23/src/system/load_save.c:437:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			if (strlen(mapName) == 0 || strcmpignorecase(line, mapName) == 0)
data/edgar-1.23/src/system/load_save.c:452:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				buffer = malloc((strlen((char *)originalBuffer) + 1) * sizeof(unsigned char));
data/edgar-1.23/src/system/load_save.c:456:80:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					showErrorAndExit("Failed to allocate %d bytes to patch save game", (int)((strlen((char *)originalBuffer) + 1) * sizeof(unsigned char)));
data/edgar-1.23/src/system/load_save.c:578:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	FILE *read;
data/edgar-1.23/src/system/load_save.c:598:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
				fclose(read);
data/edgar-1.23/src/system/load_save.c:652:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		fclose(read);
data/edgar-1.23/src/system/load_save.c:660: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 (line[strlen(line) - 1] == '\n')
data/edgar-1.23/src/system/load_save.c:662:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				line[strlen(line) - 1] = '\0';
data/edgar-1.23/src/system/load_save.c:665: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 (line[strlen(line) - 1] == '\r')
data/edgar-1.23/src/system/load_save.c:667:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				line[strlen(line) - 1] = '\0';
data/edgar-1.23/src/system/load_save.c:866:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	FILE *read;
data/edgar-1.23/src/system/load_save.c:887:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		fclose(read);
data/edgar-1.23/src/system/load_save.c:891:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (strlen((char *)buffer) == 0)
data/edgar-1.23/src/system/load_save.c:900: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 (line[strlen(line) - 1] == '\n')
data/edgar-1.23/src/system/load_save.c:902:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				line[strlen(line) - 1] = '\0';
data/edgar-1.23/src/system/load_save.c:905: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 (line[strlen(line) - 1] == '\r')
data/edgar-1.23/src/system/load_save.c:907:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				line[strlen(line) - 1] = '\0';
data/edgar-1.23/src/system/load_save.c:1009:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	FILE *read;
data/edgar-1.23/src/system/load_save.c:1056:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		fclose(read);
data/edgar-1.23/src/system/load_save.c:1064: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 (line[strlen(line) - 1] == '\n')
data/edgar-1.23/src/system/load_save.c:1066:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				line[strlen(line) - 1] = '\0';
data/edgar-1.23/src/system/load_save.c:1069: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 (line[strlen(line) - 1] == '\r')
data/edgar-1.23/src/system/load_save.c:1071:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				line[strlen(line) - 1] = '\0';
data/edgar-1.23/src/system/load_save.c:1207:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen((char *)buffer) == 0)
data/edgar-1.23/src/system/load_save.c:1216:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (line[strlen(line) - 1] == '\n')
data/edgar-1.23/src/system/load_save.c:1218:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			line[strlen(line) - 1] = '\0';
data/edgar-1.23/src/system/load_save.c:1221:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (line[strlen(line) - 1] == '\r')
data/edgar-1.23/src/system/load_save.c:1223:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			line[strlen(line) - 1] = '\0';
data/edgar-1.23/src/system/load_save.c:1320:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	FILE *read;
data/edgar-1.23/src/system/load_save.c:1338:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	fclose(read);
data/edgar-1.23/src/system/load_save.c:1346:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (line[strlen(line) - 1] == '\n')
data/edgar-1.23/src/system/load_save.c:1348:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			line[strlen(line) - 1] = '\0';
data/edgar-1.23/src/system/load_save.c:1351:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (line[strlen(line) - 1] == '\r')
data/edgar-1.23/src/system/load_save.c:1353:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			line[strlen(line) - 1] = '\0';
data/edgar-1.23/src/system/load_save.c:1376:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	FILE *read;
data/edgar-1.23/src/system/load_save.c:1392:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	fclose(read);
data/edgar-1.23/src/system/load_save.c:1400:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (line[strlen(line) - 1] == '\n')
data/edgar-1.23/src/system/load_save.c:1402:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			line[strlen(line) - 1] = '\0';
data/edgar-1.23/src/system/load_save.c:1405:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (line[strlen(line) - 1] == '\r')
data/edgar-1.23/src/system/load_save.c:1407:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			line[strlen(line) - 1] = '\0';
data/edgar-1.23/src/system/load_save.c:1441:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (line[strlen(line) - 1] == '\n')
data/edgar-1.23/src/system/load_save.c:1443:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			line[strlen(line) - 1] = '\0';
data/edgar-1.23/src/system/load_save.c:1446:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (line[strlen(line) - 1] == '\r')
data/edgar-1.23/src/system/load_save.c:1448:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			line[strlen(line) - 1] = '\0';
data/edgar-1.23/src/system/load_save.c:1613:14:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	while ((c = fgetc(sourceFile)) != EOF)
data/edgar-1.23/src/system/load_save.c:1686:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			entries[i][strlen(entries[i]) - 1] = '\0';
data/edgar-1.23/src/system/properties.c:119:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			if (strlen(properties[i].name) == 0)
data/edgar-1.23/src/system/properties.c:136:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					if (line[strlen(line) - 1] == '\n')
data/edgar-1.23/src/system/properties.c:138:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
						line[strlen(line) - 1] = '\0';
data/edgar-1.23/src/system/properties.c:141:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					if (line[strlen(line) - 1] == '\r')
data/edgar-1.23/src/system/properties.c:143:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
						line[strlen(line) - 1] = '\0';
data/edgar-1.23/src/system/properties.c:259: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).
	temp = malloc(strlen(flags) + 1);
data/edgar-1.23/src/system/properties.c:263:77:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		showErrorAndExit("Failed to allocate a whole %d bytes for flags...", (int)strlen(flags) + 1);
data/edgar-1.23/src/system/properties.c:266:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	STRNCPY(temp, flags, strlen(flags) + 1);
data/edgar-1.23/src/system/properties.c:372: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).
	temp = malloc(strlen(flags) + 1);
data/edgar-1.23/src/system/properties.c:376:77:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		showErrorAndExit("Failed to allocate a whole %d bytes for flags...", (int)strlen(flags) + 1);
data/edgar-1.23/src/system/properties.c:379:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	STRNCPY(temp, flags, strlen(flags) + 1);
data/edgar-1.23/src/system/properties.c:475:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen(name) == 0)
data/edgar-1.23/src/system/resources.c:85:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen(game.customFont) == 0)
data/edgar-1.23/src/system/resources.c:320:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (line[strlen(line) - 1] == '\n')
data/edgar-1.23/src/system/resources.c:322:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			line[strlen(line) - 1] = '\0';
data/edgar-1.23/src/system/resources.c:325:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (line[strlen(line) - 1] == '\r')
data/edgar-1.23/src/system/resources.c:327:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			line[strlen(line) - 1] = '\0';
data/edgar-1.23/src/system/resources.c:396:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					if (strlen(key[i]) > 0)
data/edgar-1.23/src/system/resources.c:633:30:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	int skipping = FALSE, x, y, read, found, saveMap;
data/edgar-1.23/src/system/resources.c:653: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 (line[strlen(line) - 1] == '\n')
data/edgar-1.23/src/system/resources.c:655:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				line[strlen(line) - 1] = '\0';
data/edgar-1.23/src/system/resources.c:658: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 (line[strlen(line) - 1] == '\r')
data/edgar-1.23/src/system/resources.c:660:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				line[strlen(line) - 1] = '\0';
data/edgar-1.23/src/world/pressure_plate.c:106:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (strlen(self->requires) == 0 || strcmpignorecase(self->requires, other->objectiveName) == 0)
data/edgar-1.23/src/world/spawner.c:71:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen(self->objectiveName) == 0)
data/edgar-1.23/src/world/switch.c:94:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (strlen(self->requires) != 0)
data/edgar-1.23/src/world/switch.c:119:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (strlen(self->objectiveName) != 0)
data/edgar-1.23/src/world/switch.c:143:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen(self->requires) != 0)
data/edgar-1.23/src/world/switch.c:220:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (self->thinkTime > 0 && strlen(self->requires) == 0)
data/edgar-1.23/src/world/switch.c:300:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen(self->objectiveName) == 0)
data/edgar-1.23/src/world/teleporter.c:145:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen(self->objectiveName) == 0)
data/edgar-1.23/src/world/vanishing_platform.c:97:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (self->active == FALSE && strlen(self->requires) == 0)

ANALYSIS SUMMARY:

Hits = 618
Lines analyzed = 143493 in approximately 9.74 seconds (14738 lines/second)
Physical Source Lines of Code (SLOC) = 93445
Hits@level = [0] 670 [1] 236 [2] 316 [3]   5 [4]  61 [5]   0
Hits@level+ = [0+] 1288 [1+] 618 [2+] 382 [3+]  66 [4+]  61 [5+]   0
Hits/KSLOC@level+ = [0+] 13.7835 [1+] 6.61352 [2+] 4.08797 [3+] 0.706298 [4+] 0.65279 [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.