
Currently trying to cannibalize pyatvs Python code for establishing a pairing session to an AirPlay device. No need to reinvent the wheel, I don't feel like reversing encryption algorithms lmao. The overflow is in the SET_PARAMETER handling, it doesn't properly check size for setting volume or artist name over Metadata. Sending a command to set volume to a 2,000,000 char long string instead of a 0-100 int will overflow the buffer.