Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segmentation fault in yangfuzz and yanglint #772

Closed
jvijtiuk opened this issue Apr 26, 2019 · 1 comment
Closed

Segmentation fault in yangfuzz and yanglint #772

jvijtiuk opened this issue Apr 26, 2019 · 1 comment

Comments

@jvijtiuk
Copy link
Collaborator

Hi,

here is another file that crashes yangfuzz and yanglint.

module all {
  yang-version 1.1;
  namespace "urn:all";
  prefix all_mod;

  grouping t1 {
    uses group1 {
    }

    leaf leaf12 {
    	type bits {
        	bit flag0 {
          		position 0;
        		if-feature "feat1";
       		}
        	bit flag1;
        	bit flag2 {
          		position 2;
        	}

        	bit flag3 {
          		position 3;
        	}
      	}
 	default "flag0 flag3";
    }

    list list1 {
    	key "leaf18";
    	unique "leaf1---------------------------------------------------    leaf leaT18 {
    	type string;
    }


      action act1 {
        input ons on thg leaf";
      leaf leaf30 {
        type string;
      }
    }
  }

  augment "/cont1" {
    leaf leaf17 {
      type ideZtityref {
        base all_imp:iden44;
      }
      must "../leaf17 = 'all_imp:iden  }

      action act1 {
      t5'";
    }
  }
}

Regards

@ret2libc
Copy link

CVE-2019-20391 was assigned to this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants