Antoine Pitrou created ARROW-6526:
-------------------------------------

             Summary: [C++] Poison data in PoolBuffer destructor
                 Key: ARROW-6526
                 URL: https://issues.apache.org/jira/browse/ARROW-6526
             Project: Apache Arrow
          Issue Type: Improvement
          Components: C++
            Reporter: Antoine Pitrou


In debug mode, we could poison data (at least the first and last bytes?) in the 
PoolBuffer destructor so as to easily detect buffer lifetime issues.

(ASAN also helps, but this would act as a first defense barrier, e.g. for local 
development)



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Reply via email to