Menu

#159 incorrect error checking in the inetlisteningservers_test

Version 5.8
closed-fixed
9
2014-07-11
2011-04-21
No

In OVAL 5.8, we changed the datatype of the local_port entity of the linux-def:inetlisteningservers_test from string to int. As a result, we changed the datatype in the local_port item entity to int. However, in the CollectItems() method, we are still checking to see if the local_port entity has a datatype of string and a operation of equals, not equal, or pattern match. As a result, the OVAL Interpreter is incorrectly throwing an exception. We should check to see if we have similar issues in other probes that have entities where the datatype was changed in OVAL 5.8.

Discussion

  • Danny Haynes

    Danny Haynes - 2013-07-15
    • assigned_to: Michael Chisholm
    • Priority: 5 --> 9
     
  • Danny Haynes

    Danny Haynes - 2013-07-15

    The "Changes that Break Backward Compatibility" page should help identify entities that have changed datatypes and may need to be updated (if we haven't already).

    http://oval.mitre.org/language/about/backwardcompatibility.html

     
  • Michael Chisholm

    • status: open --> closed-fixed
     
  • Michael Chisholm

    Fixed (inetlisteningservers probe specifically) in r1795.

     

Log in to post a comment.