aboutsummaryrefslogtreecommitdiff
path: root/lib/libelf/elf_update.c
diff options
context:
space:
mode:
authorKevin Lo <kevlo@FreeBSD.org>2026-11-03 08:04:21 +0000
committerKevin Lo <kevlo@FreeBSD.org>2026-11-03 08:04:21 +0000
commit418b14ae076f310cab21ee6aabe2a7389c80dbb0 (patch)
tree10a10026f86c666fc94db50e337ae53dcb472a41 /lib/libelf/elf_update.c
parent6071292d39ab1b571b7e6b6858c4b59b652784d7 (diff)
uchcom: validate baud rate in uchcom_pre_paramHEADmain
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