From 60ef11679e636bd499051b6288b5ea9da6321e7c Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Wed, 24 Sep 2014 16:51:38 +0200 Subject: [PATCH] removed old patch --- pcscd-1.8.10-safer-udev-usage.patch | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 pcscd-1.8.10-safer-udev-usage.patch diff --git a/pcscd-1.8.10-safer-udev-usage.patch b/pcscd-1.8.10-safer-udev-usage.patch deleted file mode 100644 index bf46c06..0000000 --- a/pcscd-1.8.10-safer-udev-usage.patch +++ /dev/null @@ -1,28 +0,0 @@ -diff -ur pcsc-lite-1.8.10.orig/src/hotplug_libudev.c pcsc-lite-1.8.10/src/hotplug_libudev.c ---- pcsc-lite-1.8.10.orig/src/hotplug_libudev.c 2013-10-06 12:25:18.000000000 +0200 -+++ pcsc-lite-1.8.10/src/hotplug_libudev.c 2014-06-03 09:54:44.289011617 +0200 -@@ -541,6 +541,12 @@ - fd_set fds; - - udev_monitor = udev_monitor_new_from_netlink(udev, "udev"); -+ if (udev_monitor == NULL) -+ { -+ Log1(PCSC_LOG_ERROR, "udev_monitor_new_from_netlink() error\n"); -+ return; -+ } -+ - - /* filter only the interfaces */ - r = udev_monitor_filter_add_match_subsystem_devtype(udev_monitor, "usb", -@@ -560,6 +566,11 @@ - - /* udev monitor file descriptor */ - fd = udev_monitor_get_fd(udev_monitor); -+ if (fd < 0) -+ { -+ Log2(PCSC_LOG_ERROR, "udev_monitor_get_fd() error: %d\n", fd); -+ return; -+ } - - while (!AraKiriHotPlug) - {