Uploaded image for project: 'VCL'
  1. VCL
  2. VCL-699

Process may die if $self->mn_os isn't defined and get_computer_private_ip_address is called

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.3.2
    • 2.4
    • vcld (backend)
    • None

    Description

      DataStructure.pm::get_computer_private_ip_address calls $self->mn_os to retrieve the contents of /etc/hosts. There is no error checking to make sure mn_os is defined/initialized. As a result, the process may die with an undefined subroutine message.

      Attachments

        Activity

          People

            arkurth Andrew Kurth
            arkurth Andrew Kurth
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: