From 2c088f61bf4d73964e4d73f09412ec74a52e5518 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sat, 9 Aug 2014 11:42:23 +0200 Subject: changes to version 2.9.4 --- lib/lanplus/lanplus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/lanplus/lanplus.c') diff --git a/lib/lanplus/lanplus.c b/lib/lanplus/lanplus.c index 40d3ab4..b695837 100644 --- a/lib/lanplus/lanplus.c +++ b/lib/lanplus/lanplus.c @@ -904,7 +904,7 @@ ipmi_lan_poll_recv(struct ipmi_intf * intf) if (rsp->data_len && rsp->payload.ipmi_response.cmd== 0x34) { - memcpy(rsp->data, &rsp->data[offset], + memmove(rsp->data, &rsp->data[offset], (rsp->data_len-offset)); printbuf( &rsp->data[offset], (rsp->data_len-offset), -- cgit v1.2.3