Skip to content

Protect against buffer overflow, null pointer dereference#25

Open
rdmark wants to merge 1 commit intowebsnarf:masterfrom
Netatalk:rdmark-patch-2
Open

Protect against buffer overflow, null pointer dereference#25
rdmark wants to merge 1 commit intowebsnarf:masterfrom
Netatalk:rdmark-patch-2

Conversation

@rdmark
Copy link

@rdmark rdmark commented Mar 1, 2025

Plug a few potential memory issues flagged by SonarQube static analysis.

  • extra protection against buffer overflow in blk2bstr()
  • avoid null pointer dereference in bjoin()
  • free memory when exiting bssplitstrcb() early to avoid memory leak

Plug a few potential memory issues flagged by SonarQube static analysis.

- extra protection against buffer overflow in blk2bstr()
- avoid null pointer dereference in bjoin()
- free memory when exiting bssplitstrcb() early to avoid memory leak
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.

1 participant