Uploaded image for project: 'yangtools'
  1. yangtools
  2. YANGTOOLS-528

StackOverflowError on direct or indirect recursive extension definition

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • None
    • None
    • None
    • None
    • Operating System: All
      Platform: All

    • 4456

    Description

      Parsing of following yang model by statement parser causes StackOverflowError due to recursive extensions definition.

      module foo {
      namespace "foo";
      prefix foo;
      yang-version 1;

      extension a

      { foo:b; }

      extension b

      { foo:c; }

      extension c

      { foo:a; }

      extension r

      { foo:r; }

      }

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            pkajsa Peter Kajsa
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: