diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2023-07-12 11:26:14 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2023-07-12 11:26:14 +0000 |
commit | 1510cd6a2cde0fd779853ffc78bcddf4406c99d8 (patch) | |
tree | 7f6aefe48e3f7735f1a25ba0c1a6316d09234368 /usr.sbin/bgpd/rde.c | |
parent | f2afb880d578195e2b0d0a4c9295d6e1e2daa962 (diff) |
Use ssize_t instead of short for line lengths
sthen hit a binary patch containing a 'line' of length > 32kB. This made
the short used for storing the line length wrap and resulted in a buffer
underflow and segfault. This uses a larger type, which doesn't actually
fix the problem, but makes it much less likely to be hit.
ok florian otto sthen
Diffstat (limited to 'usr.sbin/bgpd/rde.c')
0 files changed, 0 insertions, 0 deletions