Bug#389741: patch ipmi_lanp.c (ipmitool)

2006-09-28 Thread Gertjan Oude Lohuis [Byte]
tags 389741 +patch thanks --- ipmi_lanp.c.orig2006-09-28 17:09:35.484318234 +0200 +++ ipmi_lanp.c 2006-09-28 17:02:59.299655896 +0200 @@ -1437,29 +1437,44 @@ } } /* ip address */ - else if ((strncmp(argv[1], "ipaddr", 6) == 0) && -(get_cmdl

Bug#389741: update

2006-09-27 Thread Gertjan Oude Lohuis [Byte]
Same bug exists in version 1.8.1, which is default in stable (we backported 1.8.7-2). Bug is located in lib/ipmi_lanp.c, which does not check for the correct number of arguments with various 'lan set' commands. This is the case (at least) at lines 1215 (ipaddr), 1223 (netmask) and 1231 (maca