projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix UBSAN warnings in linux/device.c.
[tinc]
/
src
/
linux
/
device.c
diff --git
a/src/linux/device.c
b/src/linux/device.c
index
8e23959
..
dfe75b6
100644
(file)
--- a/
src/linux/device.c
+++ b/
src/linux/device.c
@@
-142,7
+142,7
@@
static void close_device(void) {
}
static bool read_packet(vpn_packet_t *packet) {
- size_t inlen;
+ s
s
ize_t inlen;
switch(device_type) {
case DEVICE_TYPE_TUN: