Skip to content

Add bounds checking to unique_ptr<T[]> and shared_ptr<T[]> #67372

Open
@ldionne

Description

The array specialization of unique_ptr and the base specialization of shared_ptr have operator[]. There should be an ABI configuration that makes it possible to do bounds checking for these types.

Metadata

Assignees

Labels

hardeningIssues related to the hardening effortlibc++libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions