[PATCH] get_linux_version_code: don't fail on 3.0-foo

Denys Vlasenko vda.linux at googlemail.com
Sat May 5 15:48:27 UTC 2012


On Fri, Apr 27, 2012 at 2:42 AM, Andreas Oberritter
<obi at opendreambox.org> wrote:
> Fixes segmentation fault in mount (nfs):
>
>  #0 __GI_____strtol_l_internal (nptr=0x0, endptr=0x0, base=10, group=<optimized out>, loc=0x77f6f3c8) at strtol_l.c:298
>  #1 __GI_strtol (nptr=<optimized out>, endptr=<optimized out>, base=<optimized out>) at strtol.c:110
>  #2 get_linux_version_code () at libbb/kernel_version.c:34
>  #3 find_kernel_nfs_mount_version () at util-linux/mount.c:979
>
> Signed-off-by: Andreas Oberritter <obi at opendreambox.org>

Applied, thanks!
-- 
vda


More information about the busybox mailing list