serenity-rs / songbird

An async Rust library for the Discord voice API
ISC License
391 stars 111 forks source link

Driver: Fix slot length check on packet passthrough #231

Closed FelixMcFelix closed 7 months ago

FelixMcFelix commented 7 months ago

Corrects a buffer length check identified in #230 which was reversed, such that overly large Opus packets would panic on a subsequent write_all.