Re: alsamixer crashes with SIGFPE

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Florian Faber wrote:
> there are several spots in alsamixer's mixer_display.c that cause SIGFPE
> through division by zero if (max-min) is zero:
> 
> bar_height = ((volumes[c] - min) * volume_height + max - min - 1) / (max - min);
> value = ((volumes[0] - min) * 100 + (max - min) / 2) / (max - min);

Thanks.  With which hardware do you see this error?


Regards,
Clemens
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux