diff options
| author | Kevin Lo <kevlo@FreeBSD.org> | 2026-11-03 08:04:21 +0000 |
|---|---|---|
| committer | Kevin Lo <kevlo@FreeBSD.org> | 2026-11-03 08:04:21 +0000 |
| commit | 418b14ae076f310cab21ee6aabe2a7389c80dbb0 (patch) | |
| tree | 10a10026f86c666fc94db50e337ae53dcb472a41 /lib/libelf/elf_update.c | |
| parent | 6071292d39ab1b571b7e6b6858c4b59b652784d7 (diff) | |
Check the requested baud rate in uchcom_pre_param() instead of working
around it in uchcom_calc_baudrate(), where a rate of 0 caused a
divide-by-zero. The pre_param callback is the proper place for this check.
Reviewed by: aokblast
Differential Revision: https://reviews.freebsd.org/D61127
Diffstat (limited to 'lib/libelf/elf_update.c')
0 files changed, 0 insertions, 0 deletions
