diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2020-04-21 08:09:58 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2020-04-22 07:31:07 -0400 |
| commit | e1c511c6944673a9d0bdeceb4b5985b3afe29b1a (patch) | |
| tree | 5a78223f4ea51df507cf70fd5abfeb3fe9648de0 /zebra/zebra_errors.c | |
| parent | 58c3cdb922004056225a46cfde5bd6c36850bebd (diff) | |
ospfd: Limit possible message read to our buffer size
It's possible(but unlikely) that a read of data from the
network will give us bogus data. Don't automatically
just trust the data size from the network and limit
the read to the size of the buffer we have in play.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'zebra/zebra_errors.c')
0 files changed, 0 insertions, 0 deletions
