Bug#509167: mdadm: check asprintf() return codes
Dustin Kirkland
kirkland at canonical.com
Fri Dec 19 02:21:32 UTC 2008
Package: mdadm
Version: 2.6.7.1-1
Severity: normal
Tags: patch
Hello,
I have attached a minor patch that we're carrying in Ubuntu, against the
mdadm-2.6.7.1-1 source.
This rather trivial patch checks the return codes of 3 asprintf() memory
allocations, to prevent segfaults on memory-challenged systems.
Thanks,
--
:-Dustin
Dustin Kirkland
Ubuntu Server Developer
Canonical, LTD
kirkland at canonical.com
GPG: 1024D/83A61194
-------------- next part --------------
A non-text attachment was scrubbed...
Name: assert.diff
Type: text/x-patch
Size: 1399 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-mdadm-devel/attachments/20081218/a9a73a74/attachment.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://lists.alioth.debian.org/pipermail/pkg-mdadm-devel/attachments/20081218/a9a73a74/attachment.pgp
More information about the pkg-mdadm-devel
mailing list