From 89853c290fd822a88c56150dde50aaa1421c0c8c Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 4 May 2024 19:43:00 +0200 Subject: Adding debian version 4.2-5. Signed-off-by: Daniel Baumann --- .../patches/strcat-look-for-md-device-in-dev-md.patch | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 debian/patches/strcat-look-for-md-device-in-dev-md.patch (limited to 'debian/patches/strcat-look-for-md-device-in-dev-md.patch') diff --git a/debian/patches/strcat-look-for-md-device-in-dev-md.patch b/debian/patches/strcat-look-for-md-device-in-dev-md.patch new file mode 100644 index 0000000..083fd77 --- /dev/null +++ b/debian/patches/strcat-look-for-md-device-in-dev-md.patch @@ -0,0 +1,17 @@ +Description: Look for md device in /dev/md +Author: Martin Mares +Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=958060 +Forwarded: no +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +--- a/Monitor.c ++++ b/Monitor.c +@@ -188,7 +188,7 @@ int Monitor(struct mddev_dev *devlist, + st->devname = xstrdup(mdlist->devname); + else { + st->devname = xmalloc(8+strlen(mdlist->devname)+1); +- strcpy(strcpy(st->devname, "/dev/md/"), ++ strcat(strcpy(st->devname, "/dev/md/"), + mdlist->devname); + } + st->next = statelist; -- cgit v1.2.3