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

Fix os crash caused by optoe when class switch #413

Merged
merged 2 commits into from
Jul 16, 2024

Commits on Jul 12, 2024

  1. Fix os crash caused by optoe when class switch

    When the device is initially set to optoe2, there is an option->client[1].
    If echo 3>dev_class is manually set at this time, as for optoe3, option->client[1] is meaningless
    but the content is still the address data of optoe2, accessing an illegal address will occur, causing the device to crash.
    
    Therefore, set option->client[1] to NULL when unregistering device
    
    Signed-off-by: philo <philo@micasnetworks.com>
    philo-micas committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    5f77d1a View commit details
    Browse the repository at this point in the history

Commits on Jul 15, 2024

  1. Configuration menu
    Copy the full SHA
    fc4abe4 View commit details
    Browse the repository at this point in the history