On 16 June 2013 04:35, Rusty Russell wrote:
> Mathias Krause writes:
>> If we pass a pointer to a const string in the form "module:symbol"
>> module_kallsyms_lookup_name() will try to split the string at the colon,
>> i.e., will try to modify r/o data. That will, in fact, fail on a kernel
>>
On 16 June 2013 04:35, Rusty Russell ru...@rustcorp.com.au wrote:
Mathias Krause mini...@googlemail.com writes:
If we pass a pointer to a const string in the form module:symbol
module_kallsyms_lookup_name() will try to split the string at the colon,
i.e., will try to modify r/o data. That
Mathias Krause writes:
> If we pass a pointer to a const string in the form "module:symbol"
> module_kallsyms_lookup_name() will try to split the string at the colon,
> i.e., will try to modify r/o data. That will, in fact, fail on a kernel
> with enabled CONFIG_DEBUG_RODATA.
>
> Avoid modifying
Mathias Krause mini...@googlemail.com writes:
If we pass a pointer to a const string in the form module:symbol
module_kallsyms_lookup_name() will try to split the string at the colon,
i.e., will try to modify r/o data. That will, in fact, fail on a kernel
with enabled CONFIG_DEBUG_RODATA.
If we pass a pointer to a const string in the form "module:symbol"
module_kallsyms_lookup_name() will try to split the string at the colon,
i.e., will try to modify r/o data. That will, in fact, fail on a kernel
with enabled CONFIG_DEBUG_RODATA.
Avoid modifying the passed string in
If we pass a pointer to a const string in the form module:symbol
module_kallsyms_lookup_name() will try to split the string at the colon,
i.e., will try to modify r/o data. That will, in fact, fail on a kernel
with enabled CONFIG_DEBUG_RODATA.
Avoid modifying the passed string in
6 matches
Mail list logo