diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2022-01-24 07:02:37 -0500 |
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2022-02-04 10:29:38 -0500 |
| commit | cd44428d6230880b0f1c1a34886144889ca4ba79 (patch) | |
| tree | 379a24202c1be63f50395df915ea796de96d28ac /lib/command.h | |
| parent | d058d106f0e04d4fb531a2466c0e2d9a5a559663 (diff) | |
bgpd: Prevent use after variable goes out of scope
`struct prefix p` was declared inside an if statement
where we assign the address of to a pointer that is
then passed to a sub function. This will eventually
leave us in a bad state.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'lib/command.h')
0 files changed, 0 insertions, 0 deletions
