mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-08-10 01:23:48 +08:00
fixed bug #46089: snmp: race condition on length change between get_object_def() and get_value()
This commit is contained in:
committed by
goldsimon
parent
ae7eeda88a
commit
9957cd4a2a
@@ -1175,12 +1175,12 @@ noleafs_get_object_def(u8_t ident_len, s32_t *ident, struct obj_def *od)
|
||||
od->instance = MIB_OBJECT_NONE;
|
||||
}
|
||||
|
||||
void
|
||||
noleafs_get_value(struct obj_def *od, u16_t len, void *value)
|
||||
u16_t
|
||||
noleafs_get_value(struct obj_def *od, void *value)
|
||||
{
|
||||
LWIP_UNUSED_ARG(od);
|
||||
LWIP_UNUSED_ARG(len);
|
||||
LWIP_UNUSED_ARG(value);
|
||||
return 0;
|
||||
}
|
||||
|
||||
u8_t
|
||||
|
||||
Reference in New Issue
Block a user