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

ipp: nameLength should be uint16, not int16 #350

Merged
merged 1 commit into from
Apr 28, 2022

Commits on Apr 28, 2022

  1. ipp: nameLength should be uint16, not int16

    nameLength is used for slice allocation.  If the value is unmarshaled
    as a negative value, then a runtime error will occur:
    
       runtime error: makeslice: len out of range
    
    (this commit also includes some minor formatting cleanup)
    codyprime committed Apr 28, 2022
    Configuration menu
    Copy the full SHA
    367af0e View commit details
    Browse the repository at this point in the history