commit | 8d61c6ee30ea24755dfd111fb497c0533c0ff461 | [log] [tgz] |
---|---|---|
author | Nick Kralevich <nnk@google.com> | Wed Jul 11 14:30:39 2012 -0700 |
committer | Nick Kralevich <nnk@google.com> | Wed Jul 11 14:30:39 2012 -0700 |
tree | 8672586770d12ba04b2cc5841da05ebf37b79087 | |
parent | cf36684dd6ea25b2490317f2f76d2586b4c3e834 [diff] |
Don't call memcpy() with size > src FORTIFY_SOURCE detected code of the form char foo[10]; char bar[20]; memcpy(bar, foo, 20); this code has a read buffer overflow, reading more data from foo than it contains. Change-Id: I7b85a2788763a839ce66a37ba84d597167c4a078