Revision d17367a77457f556e7614f2e80db5d5a902e1268 authored by libin on 03 November 2015, 00:58:47 UTC, committed by Greg Kroah-Hartman on 31 January 2016, 19:23:40 UTC
commit c84da8b9ad3761eef43811181c7e896e9834b26b upstream.

In nop_mcount, shdr->sh_offset and welp->r_offset should handle
endianness properly, otherwise it will trigger Segmentation fault
if the recordmcount main and file.o have different endianness.

Link: http://lkml.kernel.org/r/563806C7.7070606@huawei.com

Signed-off-by: Li Bin <huawei.libin@huawei.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

1 parent 1f6d936
History

back to top