Re: [PATCH] hw/audio/c97: fix abort in audio_calloc()

2022-12-28 Thread Qiang Liu
Hi Volker, > Did you see my patches at > https://lists.nongnu.org/archive/html/qemu-devel/2022-12/msg02895.html ? > Patches 01/11 and 02/11 prevent the disturbing error message from > audio_calloc and later patches remove the audio_calloc function. > Oh, I missed these. Thank you for pointing it

Re: [PATCH] hw/audio/c97: fix abort in audio_calloc()

2022-12-26 Thread Volker Rümelin
Am 25.12.22 um 13:13 schrieb Qiang Liu: Hi Qiang, I didn't receive your email probably because the reverse DNS entry of your mail server isn't setup correctly. This is from the mail header of the qemu-devel mailing list server. X-Host-Lookup-Failed: Reverse DNS lookup failed for 220.184.252.86

Re: [PATCH] hw/audio/c97: fix abort in audio_calloc()

2022-12-25 Thread Bernhard Beschow
Am 25. Dezember 2022 12:13:57 UTC schrieb Qiang Liu : There is an 'a' missing in the topic: It should be ac97, not c97. Best regards, Bernhard >Section 5.10.2 of the AC97 specification (https://hands.com/~lkcl/ac97_r23.pdf) >shows the feasibility to support for rates other than 48kHZ. Specifi

Re: [PATCH] hw/audio/c97: fix abort in audio_calloc()

2022-12-25 Thread Bernhard Beschow
Am 25. Dezember 2022 12:13:57 UTC schrieb Qiang Liu : >Section 5.10.2 of the AC97 specification (https://hands.com/~lkcl/ac97_r23.pdf) >shows the feasibility to support for rates other than 48kHZ. Specifically, >AC97_PCM_Front_DAC_Rate (reg 2Ch) should be from 8kHZ to 48kHZ. > >Before Volker Rüm

Re: [PATCH] hw/audio/c97: fix abort in audio_calloc()

2022-12-25 Thread Christian Schoenebeck
On Sunday, December 25, 2022 1:13:57 PM CET Qiang Liu wrote: > Section 5.10.2 of the AC97 specification > (https://hands.com/~lkcl/ac97_r23.pdf) > shows the feasibility to support for rates other than 48kHZ. Specifically, > AC97_PCM_Front_DAC_Rate (reg 2Ch) should be from 8kHZ to 48kHZ. > > Befor

[PATCH] hw/audio/c97: fix abort in audio_calloc()

2022-12-25 Thread Qiang Liu
Section 5.10.2 of the AC97 specification (https://hands.com/~lkcl/ac97_r23.pdf) shows the feasibility to support for rates other than 48kHZ. Specifically, AC97_PCM_Front_DAC_Rate (reg 2Ch) should be from 8kHZ to 48kHZ. Before Volker Rümelin fixed it in 12f4abf6a245 and 0cbc8bd4694f, an adversary c