• Andreas Henriksson's avatar
    Bug#526329: iproute: Segfault on garbage lladdr · cb2eb999
    Andreas Henriksson authored
    On tor, 2009-04-30 at 14:32 +0100, Timothy Baldwin wrote:
    > Package: iproute
    > Version: 20090324-1
    > Severity: minor
    >
    >
    > $ ip link set eth0 address help
    > "help" is invalid lladdr.
    > Segmentation fault
    >
    > Desipte the invalid command line arguments it shouldn't crash.
    >
    
    Callers need to check return value from ll_addr_a2n(). Patch below.
    Signed-off-by: default avatarAndreas Henriksson <andreas@fatal.se>
    cb2eb999
iplink.c 19.3 KB