RTEMS | bsp/arm/tms570: protect against baud rate divide-by-zero (!1216)
Avi Weiss (@thnkslprpt)
gitlab at rtems.org
Fri Apr 24 07:36:39 UTC 2026
Avi Weiss commented on a discussion on bsps/arm/tms570/console/tms570-sci.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1216#note_148970
> */
>
> /* Baud rate */
> - baudrate = rtems_termios_baud_to_number(cfgetospeed(t));
> + speed = cfgetospeed(t);
> + baudrate = rtems_termios_baud_to_number(speed);
@opticron just for clarity but it's not necessary - I removed it.
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1216#note_148970
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/20260424/e2b4579b/attachment-0001.htm>
More information about the bugs
mailing list