https://bugs.kde.org/show_bug.cgi?id=508328

Mark Wielaard <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #5 from Mark Wielaard <[email protected]> ---
The new testcase needs to be moved under memcheck/tests/linux since it is linux
kernel specific.

You will want to check ML_(safe_to_deref) (pq, sizeof(struct vki_procmap_query)
in the PRE handler before doing any checks that need dereferencing pq.

Also check the other "in" fields (size, query_flags and query_addr) with
PRE_FIELD_READ in the PRE handler.

Also mark the other "out" fields (vma_*, inode, dev_*) as written  with
POST_FIELD_WRITE in the POST handler.
(In the POST handler you can probably just assume everything is written/defined
with POST_MEM_WRITE(pq, pq-<size) instead of doing individual
POST_FIELD_WRITEs)

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to