Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Size test is destructive #6

Open
pogo555 opened this issue Dec 8, 2022 · 0 comments
Open

Size test is destructive #6

pogo555 opened this issue Dec 8, 2022 · 0 comments
Assignees
Labels

Comments

@pogo555
Copy link

pogo555 commented Dec 8, 2022

Expected Behavior

The memory should be left undisturbed after the constructor has checked its size.

Actual Behavior

The bytes at the bottom of the memory and the putative top of memory are overwritten during the size test. If the memory is battery backed, then data will be lost.

Steps to Reproduce the Problem

  • Instantiate the class
  • Read the data at the bottom and the several putative size boundaries. They will be 0xff, left over from the size check

Specifications

  • Library Version: 1.0.6
  • IDE Version: 1.8.15
  • Platform: Arduino
  • Subsystem:
  • any other details needed to reproduce the problem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants