Skip to content

#2347: Refactor NotificationManager::Notification#31

Open
BurninTurtles wants to merge 3 commits into
BurninTurtles:1.17.0-milestone-stagingfrom
DavisNT:notifrefactor
Open

#2347: Refactor NotificationManager::Notification#31
BurninTurtles wants to merge 3 commits into
BurninTurtles:1.17.0-milestone-stagingfrom
DavisNT:notifrefactor

Conversation

@BurninTurtles

Copy link
Copy Markdown
Owner

Refactor NotificationManager::Notification to use constructors. This reduces risk of coding errors (incl. buffer overflows) when creating NotificationManager::Notification and copying text to it.

And fix a latent bug in ImmediateAlertService (include null terminator in the bytes copied and properly set size) using the constructor.

InfiniTimeOrg#2347

@BurninTurtles BurninTurtles added this to the 1.17.0-staging milestone May 25, 2026
Version characteristic returns 16bit not 32bit as described.
From copy & paste it was "To continue reading" instead of "To continue writing".
mark9064 and others added 2 commits July 19, 2026 21:30
Refactor NotificationManager::Notification to use constructors.
This reduces risk of coding errors (incl. buffer overflows) when
creating NotificationManager::Notification and copying text to it.

And fix a latent bug in ImmediateAlertService (include null terminator
in the bytes copied and properly set size) using the constructor.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants