RTEMS | Review all uart/console driver set_attributes() for B0 handling (#5558)

SHIVAM DEOLANKAR (@D3athSkulll) gitlab at rtems.org
Sat Apr 25 01:31:36 UTC 2026




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.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260425/4c665e69/attachment.htm>


More information about the bugs mailing list