Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1637745 > unrolled thread
| Started by | David Miller <davem@davemloft.net> |
|---|---|
| First post | 2017-05-08 23:40 +0200 |
| Last post | 2017-05-08 23:40 +0200 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: [PATCH] ide: don't call memcpy with the same source and destination David Miller <davem@davemloft.net> - 2017-05-08 23:40 +0200
| From | David Miller <davem@davemloft.net> |
|---|---|
| Date | 2017-05-08 23:40 +0200 |
| Subject | Re: [PATCH] ide: don't call memcpy with the same source and destination |
| Message-ID | <tEYxQ-SB-21@gated-at.bofh.it> |
From: Mikulas Patocka <mpatocka@redhat.com> Date: Fri, 14 Apr 2017 14:35:33 -0400 (EDT) > The parisc architecture recently reimplemented the memcpy function and > their reimplementation crashed when source and destination overlapped. > > The crash happened in the function ide_complete_cmd where memcpy is called > with the same source and destination pointer. According to the C > specification, memcpy behavior is undefined if the source and destination > range overlaps. This patches fixes the undefined behavior. > > Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Applied.
Back to top | Article view | linux.kernel
csiph-web