Skip to content

Commit

Permalink
drivers/nhs_ser.c: upsdrv_updateinfo(): revise byte-reading loop vs. …
Browse files Browse the repository at this point in the history
…packet data interpretation; un-indent more code [networkupstools#2692]

Add range-check to not overflow the datapacket[] buffer.

Signed-off-by: Jim Klimov <[email protected]>
  • Loading branch information
jimklimov committed Dec 9, 2024
1 parent ea015ec commit 3c1e3a2
Showing 1 changed file with 413 additions and 383 deletions.
Loading

0 comments on commit 3c1e3a2

Please sign in to comment.