]> git.proxmox.com Git - mirror_frr.git/commit
lib: handle str2mac case where buffer is allocated by the function
authorPhilippe Guibert <philippe.guibert@6wind.com>
Wed, 1 Feb 2017 18:05:19 +0000 (19:05 +0100)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Tue, 14 Feb 2017 12:58:59 +0000 (13:58 +0100)
commit0362b0a7ec8bdd58cea755d97972c2f2ae4a9bbf
tree5388c3d680f2cfe4c1be77d0520a2bba15faf00a
parentc215ecaf837f770f401b949a021c9e0f09421a37
lib: handle str2mac case where buffer is allocated by the function

The case where no buffer is passed to the str2mac function is handled.
In that case, a buffer is allocated. Then the check against the buffer
length is not done.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
lib/prefix.c