commit | bd91fe6da8fd69c8e0b3e6f8bfbfcffdbda08512 | [log] [tgz] |
---|---|---|
author | Patrick Tjin <pattjin@google.com> | Tue Oct 13 08:06:00 2015 -0700 |
committer | Patrick Tjin <pattjin@google.com> | Fri Nov 13 08:39:28 2015 -0800 |
tree | 05c348b4f98d0af764f405b19bf09a51ed432156 | |
parent | b90dc8e52d71f8febd282a8b8c455d602a9ce6f6 [diff] |
msm: ipc_socket: fix leak of kernel memory to userspace Limit the size of copy to the minimum of what was asked for or the number of results returned to prevent leaking of uninitialized kernel memory to userspace. Bug: 24157888 Signed-off-by: Patrick Tjin <pattjin@google.com> Change-Id: I7433135ea3345905c053a81d0d759619b46c1430