1

[alpine-devel] [PATCH] Fix util-linux segfault when reading /proc/swaps

Jeff Pohlmeyer
Details
Message ID
<CAEuRe+2DFg31fajUzTq5RtfbuESg7+Z_Cv_uv5nWa3Qz19woiA@mail.gmail.com>
Sender timestamp
1386168786
DKIM signature
missing
Download raw message
I was getting a segfault with "swapon -s" and "swapoff -a" and after some
searching I found a bug report[1] that explains the problem is in libmount
and affects some other util-linux programs as well. After rebuilding with
an updated patch[2] the problem seems to be fixed. The new patch looks like
it might have a few other changes, but I didn't dig too deeply into it.


- Jeff


[1] https://bugs.busybox.net/show_bug.cgi?id=6428
[2] http://git.buildroot.net/buildroot/tree/package/util-linux/util-linux-001-sscanf-no-ms-as.patch?id=62d15df19a0d181a266a88b46525d0d4959c8739
Natanael Copa
Details
Message ID
<20131204160601.42d63cb2@ncopa-desktop.alpinelinux.org>
In-Reply-To
<CAEuRe+2DFg31fajUzTq5RtfbuESg7+Z_Cv_uv5nWa3Qz19woiA@mail.gmail.com> (view parent)
Sender timestamp
1386169561
DKIM signature
missing
Download raw message
On Wed, 4 Dec 2013 08:53:06 -0600
Jeff Pohlmeyer <yetanothergeek@gmail.com> wrote:

> Fix util-linux segfault when reading /proc/swaps
applied. thanks!

-nc


---
Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---