Menu

#90 Exceeding MAX_XML_ED_OPS not gracefully handled

closed-fixed
nobody
main code (54)
5
2012-09-04
2012-02-16
No

Invoking "xmlstarlet ed" with a number of edit operations exceeding the MAX_XML_ED_OPS constant (hardcoded at 128) results in a segfault when memory beyond the ops[] array is indexed into.

Attempts to pass more edit operations on the command line than allowed should be identified and gracefully handled.

Discussion

  • Noam Postavsky

    Noam Postavsky - 2012-02-19
    • status: open --> open-fixed
     
  • Noam Postavsky

    Noam Postavsky - 2012-02-19

    I removed the hardcoded limitation in commit c3c2b173408f0432eccf74de87dabb59d3328e9a

     
  • Noam Postavsky

    Noam Postavsky - 2012-09-04

    Find in version 1.4.0

     
  • Noam Postavsky

    Noam Postavsky - 2012-09-04
    • status: open-fixed --> closed-fixed
     

Log in to post a comment.