Skip to content

Conversation

@andrewrk
Copy link
Member

@andrewrk andrewrk commented Jun 5, 2018

  • enable slicing for single-item ptr to arrays
  • disable slicing for other single-item pointers
  • enable indexing for single-item ptr to arrays
  • disable indexing for other single-item pointers

see #770
closes #386

@andrewrk andrewrk added the breaking Implementing this issue could cause existing code to no longer compile or have different behavior. label Jun 5, 2018
 * enable slicing for single-item ptr to arrays
 * disable slicing for other single-item pointers
 * enable indexing for single-item ptr to arrays
 * disable indexing for other single-item pointers

see #770
closes #386
@andrewrk andrewrk force-pushed the pointer-reform-slicing branch from 4823614 to 38c62a3 Compare June 5, 2018 00:36
@andrewrk andrewrk merged commit e53b683 into master Jun 5, 2018
@andrewrk andrewrk deleted the pointer-reform-slicing branch June 5, 2018 02:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking Implementing this issue could cause existing code to no longer compile or have different behavior.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

design flaw: Access out of bounds on pointer to array

1 participant