[odamex-bug-reporter] [Bug 1053] New: "Map" CMD crashes if the level is not found

  • From: odamex-bugtracker@xxxxxxxxxx
  • To: odamex-bug-reporter@xxxxxxxxxxxxx
  • Date: Fri, 28 Mar 2014 17:23:12 +0000

http://odamex.net/bugs/show_bug.cgi?id=1053

            Bug ID: 1053
           Summary: "Map" CMD crashes if the level is not found
    Classification: Unclassified
           Product: Odamex
           Version: 0.7.x
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Server & Client
          Assignee: odamex-bug-reporter@xxxxxxxxxxxxx
          Reporter: Ch0wW@xxxxxxxx

Created attachment 477
  --> http://odamex.net/bugs/attachment.cgi?id=477&action=edit
Fix of the MAP cmd

If a map is not found on Odamex, the game quits, and restarts after 10 seconds.
The check is done in 1 part of the BEGIN_COMMAND(map) code, but not at the end
of it.

Even if it is minor, having the server crash because of an incorrect input is a
little annoying.

Fix below.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Other related posts:

  • » [odamex-bug-reporter] [Bug 1053] New: "Map" CMD crashes if the level is not found - odamex-bugtracker