Skip to content

Zk extension String Causes 'String Index Out of Range' Error #186

@noionion

Description

@noionion

In the isa_validator.py, during the check for the Z extension, the Zk string is compliant but causes a syntax error. The reason is that when performing the lexicographical comparison, the Zk string has a length of 3, and accessing str[2] will trigger a 'string index out of range' error.
img_v3_02dm_a1f01c05-6458-48d5-bec8-c6cd69a012fg

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions