Re: Invalid read well inside a block alloc'd

Paul-Antoine Arras <[email protected]>
Newsgroups gmane.comp.debugging.valgrind
Message-ID <[email protected]>
Le 14/01/2020 à 19:51, Tom Hughes a écrit :
> On 14/01/2020 16:53, Paul-Antoine Arras wrote:
> 
[...]
>> I struggle to understand how a read into a block of properly alloc'd 
>> memory can be invalid, given that the application doesn't use client 
>> requests.
[...]
>> How can a block of dynamically-allocated memory be marked 
>> unaddressable without having been freed?
> 
> By using the VALGRIND_MAKE_MEM_NOACCESS macro.
> 

Sure, but as I mentioned in my message, the application code does not 
use client requests.


_______________________________________________
Valgrind-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.