mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-07-08 05:49:17 +00:00
Added ubsan
This commit is contained in:
@ -22,6 +22,8 @@ namespace UniversalAsynchronousReceiverTransmitter
|
||||
|
||||
this->Port = Port;
|
||||
|
||||
if (Port > 7)
|
||||
return;
|
||||
if (serialports[Port])
|
||||
return;
|
||||
|
||||
|
Reference in New Issue
Block a user