SHIVAM DEOLANKAR commented: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5558#note_149039


Inspected the conSetAttr() for bsps/i386/pc386/

Reviewed `conSetAttr()` in pc386 tty driver. The function does not guard 
against baud rate 0 and passes it directly to `BSP_uart_set_attributes()`, 
which may result in divide-by-zero. Needs an explicit check to return error 
when baud is 0 similar to the MR !1216.

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5558#note_149039
You're receiving this email because of your account on gitlab.rtems.org.


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to