Accepting request 707905 from home:lee_duncan:branches:network
removed accidently-added temp patch OBS-URL: https://build.opensuse.org/request/show/707905 OBS-URL: https://build.opensuse.org/package/show/network/open-iscsi?expand=0&rev=130
This commit is contained in:
parent
598c0e0e79
commit
70fd9b9017
@ -26,7 +26,6 @@ Group: Productivity/Networking/Other
|
||||
Url: http://www.open-iscsi.com
|
||||
Source: %{name}-2.0.%{iscsi_release}.tar.bz2
|
||||
Patch1: %{name}-SUSE-latest.diff.bz2
|
||||
Patch2: temp-memcpy-fix.patch
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
BuildRequires: bison
|
||||
@ -109,7 +108,6 @@ the libopeniscsiusr library.
|
||||
%prep
|
||||
%setup -q -n %{name}-2.0.%{iscsi_release}
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
|
||||
%build
|
||||
[ -z "$SOURCE_DATE_EPOCH" ] || export KBUILD_BUILD_TIMESTAMP=@$SOURCE_DATE_EPOCH
|
||||
|
@ -1,13 +0,0 @@
|
||||
diff --git a/iscsiuio/src/unix/nic_utils.c b/iscsiuio/src/unix/nic_utils.c
|
||||
index aad679ecfabc..c2d96a6cdd5b 100644
|
||||
--- a/iscsiuio/src/unix/nic_utils.c
|
||||
+++ b/iscsiuio/src/unix/nic_utils.c
|
||||
@@ -611,7 +611,7 @@ static int from_uio_find_associated_host(nic_t *nic, int uio_minor,
|
||||
break;
|
||||
}
|
||||
|
||||
- strncpy(name,
|
||||
+ memcpy(name,
|
||||
parsed_name +
|
||||
extract_name_offset[path_iterator], name_size);
|
||||
|
Loading…
x
Reference in New Issue
Block a user