Skip to content
  • Bastien Nocera's avatar
    aeslib: Fix use-after-free in aeslib · c1112618
    Bastien Nocera authored
    If a USB transfer is started but not completed in one go, the wdata we
    pass to continue_write_regv() will already be freed by the time we try
    to use it again.
    
    Only free() the wdata on error, or when the USB transfer is completed.
    
    Closes: #180
    c1112618