alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* sound:core:oss: what determines the value of plugin->extra_data in rate_src_frames()?
@ 2020-04-22 19:15 Xingyu Li
  0 siblings, 0 replies; only message in thread
From: Xingyu Li @ 2020-04-22 19:15 UTC (permalink / raw)
  To: alsa-devel

Hi all,

I encountered a problem about ALSA subsystem when I try to reproduce a bug
https://syzkaller.appspot.com/bug?id=54576f48248190caa29334a754275ce5e1d8be95
.
I run the PoC https://syzkaller.appspot.com/text?tag=ReproC&x=1275090ee00000,
it is supposed to crash the  kernel. But it sometimes does not.
Then I found the point is rate_src_frames() in sound/core/oss/rate.c. When
I can not reproduce the bug,data->old_src_frames variable
in rate_src_frames() and the passed arguments
frames are both 11. When it can reproduce, the value
of data->old_src_frames is 85. The variable data is one member extra_data
in plugin variable. But I can not find where it write to
plugin->extra_data. So I want to what determines the value
of plugin->extra_data? Why is the value of it different at different time?

Thanks

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-04-23  7:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-22 19:15 sound:core:oss: what determines the value of plugin->extra_data in rate_src_frames()? Xingyu Li

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).