dxx-rebirth/similar/main
Kp f19f66bdb7 Fix crash entering save game name
Commit e6875641c9 moved allowed_chars from global scope into
individual newmenu_item entries.  However, it did not enforce that this
field be initialized, and some callers failed to do so.  The save game
menu was such a caller, and crashed when using an uninitialized value as
the allowed_chars pointer.  There is no character restriction here, so
explicitly set the pointer to nullptr.

Reported-by: kitelessd <https://github.com/dxx-rebirth/dxx-rebirth/issues/571>
Fixes: e6875641c9 ("Move Newmenu_allowed_chars into individual newmenu_item")
2021-02-08 01:56:15 +00:00
..
ai.cpp Add quick-exit path for robot awareness in no-robot games 2021-01-17 22:23:22 +00:00
aipath.cpp Move more symbols into namespaces 2020-12-26 21:17:29 +00:00
automap.cpp Move marker deletion are-you-sure to a non-blocking window 2020-12-27 22:03:09 +00:00
bm.cpp Move more symbols into namespaces 2020-12-26 21:17:29 +00:00
bmread.cpp Use enum class for weapon_info::bounce 2020-12-20 20:39:07 +00:00
cntrlcen.cpp Qualify more uses of shared_segment members 2020-08-24 01:31:28 +00:00
collide.cpp Use enumerated_array for Secondary_weapon_to_powerup 2021-01-17 22:23:22 +00:00
config.cpp Move ResolutionX, ResolutionY to CCfg 2021-01-25 00:45:07 +00:00
console.cpp Pass grs_font& to gr_set_curfont 2020-12-27 22:03:09 +00:00
controls.cpp Pass control_info & to various functions 2020-10-12 03:28:26 +00:00
credits.cpp Make kmatrix background optional 2020-12-26 21:17:29 +00:00
digiobj.cpp Remove unnecessary definitions of static member variables 2020-12-27 22:03:09 +00:00
dumpmine.cpp Use enum class for wallnum_t 2020-12-26 21:17:29 +00:00
effects.cpp Use enum class for index into ObjBitmaps 2020-10-07 03:59:14 +00:00
endlevel.cpp Simplify movie_play_status 2021-01-17 22:23:23 +00:00
fireball.cpp Use enumerated_array for Primary_weapon_to_weapon_info 2021-01-25 00:45:07 +00:00
fuelcen.cpp Convert uses of vmsegptr_t to shared_segment& where possible 2020-08-24 01:31:28 +00:00
fvi.cpp Move more symbols into namespaces 2020-12-26 21:17:29 +00:00
game.cpp Fix clang build break 2021-02-06 23:11:42 +00:00
gamecntl.cpp Use enumerated_array for Secondary_ammo_max 2021-01-25 00:45:07 +00:00
gamefont.cpp Use enum class for OGL_TEXFILT_* constants 2021-01-17 22:23:23 +00:00
gamemine.cpp Use enum class for wallnum_t 2020-12-26 21:17:29 +00:00
gamerend.cpp Use enum class for cockpit_3d_view 2021-01-25 00:45:07 +00:00
gamesave.cpp Make get_level_name menu inherit from newmenu 2020-12-27 22:03:09 +00:00
gameseg.cpp Move more symbols into namespaces 2020-12-26 21:17:29 +00:00
gameseq.cpp Use enum class for PlayMovie result 2021-01-17 22:23:23 +00:00
gauges.cpp Use enumerated_array for Secondary_weapon_to_weapon_info 2021-01-25 00:45:07 +00:00
generate-kconfig-udlr.py Convert kconfig array lookups to require correct enumerated type 2020-07-05 23:34:33 +00:00
hostage.cpp Move d_level_unique_object_state to a separate header 2020-08-10 03:45:14 +00:00
hud.cpp Move more symbols into namespaces 2020-12-26 21:17:29 +00:00
iff.cpp Refer to <memory> directly, not through "compiler-make_unique.h" 2020-05-02 21:18:43 +00:00
inferno.cpp Add type-specific tag wrappers for newmenu calls 2020-12-19 16:13:26 +00:00
kconfig.cpp Always delegate to window_create for send_creation_events 2020-12-20 20:39:07 +00:00
kconfig.ui-table.cpp Merge 'refs/pull/516/head' into master 2020-07-09 02:47:18 +00:00
kmatrix.cpp Improve post-level score screen message 2021-01-17 22:23:22 +00:00
laser.cpp Pass player_info to which_bomb 2021-01-17 22:23:22 +00:00
lighting.cpp Move more symbols into namespaces 2020-12-26 21:17:29 +00:00
menu.cpp Fix alignment of difficulty menu text 2021-02-02 14:15:34 +01:00
mglobal.cpp Use enum class for vertnum_t 2020-12-26 21:17:29 +00:00
mission.cpp Make mission_menu inherit from listbox 2020-12-27 22:03:09 +00:00
morph.cpp Move more symbols into namespaces 2020-12-26 21:17:29 +00:00
multi.cpp Use enumerated_array for Secondary_weapon_to_weapon_info 2021-01-25 00:45:07 +00:00
multibot.cpp Remove unnecessary definitions of static member variables 2020-12-27 22:03:09 +00:00
net_udp.cpp Fix anarchy/coop mouselook 2021-02-08 01:56:15 +00:00
newdemo.cpp Use enum class for cockpit_3d_view 2021-01-25 00:45:07 +00:00
newmenu.cpp Factor out mouse button scroll processing 2021-02-06 17:53:53 +00:00
object.cpp Use enum class for weapon_box_user 2021-01-17 22:23:23 +00:00
paging.cpp Use enum class for WALL_IS_DOORWAY_FLAG 2020-12-19 16:13:26 +00:00
physics.cpp Move more symbols into namespaces 2020-12-26 21:17:29 +00:00
piggy.cpp Fix incorrect read length in D1 piggy_read_sounds 2020-09-11 03:08:03 +00:00
player.cpp
playsave.cpp Use enum class for cockpit_3d_view 2021-01-25 00:45:07 +00:00
polyobj.cpp Move Pof_names to d_level_shared_polygon_model_state 2020-08-24 01:31:28 +00:00
powerup.cpp Use primary_weapon_index_t for pick_up_primary 2021-01-25 00:45:07 +00:00
render.cpp Move more symbols into namespaces 2020-12-26 21:17:29 +00:00
robot.cpp Move N_robot_joints to d_level_shared_robot_joint_state 2020-08-24 01:31:28 +00:00
scores.cpp Always delegate to window_create for send_creation_events 2020-12-20 20:39:07 +00:00
segment.cpp Use susegment for references introduced by valptridx conversion 2019-12-22 05:34:08 +00:00
slew.cpp Pass control_info & to various functions 2020-10-12 03:28:26 +00:00
songs.cpp Avoid reopening descent.sng 2020-07-05 23:34:33 +00:00
state.cpp Fix crash entering save game name 2021-02-08 01:56:15 +00:00
switch.cpp Convert multi_do_protocol_frame to dispatch through a vtable 2020-12-20 20:39:07 +00:00
terrain.cpp Reorder endlevel definitions to split by dcx/dsx 2020-10-01 03:25:27 +00:00
texmerge.cpp Use enum class for texture1_value 2020-09-11 03:08:02 +00:00
text.cpp Fix gcc-11 -Wmisleading-indentation warning 2020-12-14 00:04:41 +00:00
titles.cpp Use enum class for PlayMovie result 2021-01-17 22:23:23 +00:00
vclip.cpp is_proximity_bomb_or_smart_mine*: s/smart/player_smart/g 2019-08-15 01:34:22 +00:00
vers_id.cpp
wall.cpp Use enum class for wallnum_t 2020-12-26 21:17:29 +00:00
weapon.cpp Use primary_weapon_index_t for pick_up_primary 2021-01-25 00:45:07 +00:00