diff options
| author | Olivier Dugeon <olivier.dugeon@orange.com> | 2023-04-21 18:09:28 +0200 |
|---|---|---|
| committer | Olivier Dugeon <olivier.dugeon@orange.com> | 2023-04-21 18:09:28 +0200 |
| commit | 871b46e7eb86009f1bea3cf397a8d2c38ceacd40 (patch) | |
| tree | b701ce6347a454b029cc08d42a53e3c5a1a2a09a /lib/module.c | |
| parent | 0633fb7856e75f5631d25386eb240b49d1f5cb0d (diff) | |
lib: Link State memory corruption
In function ls_find_subnet(), prefix argument is directly copied into
subnet.key structure to find corresponding subnet in RB Tree. This could leadr
to a memory corruption. Function prefix_copy() must be used instead.
This patch replaces the direct prefix copy by a call to prefix_copy() function
to avoid this memory issue.
Signed-off-by: Olivier Dugeon <olivier.dugeon@orange.com>
Diffstat (limited to 'lib/module.c')
0 files changed, 0 insertions, 0 deletions
