send_str() will segfault if passed NULL pointer #69

Closed
opened 2026-07-20 17:14:37 +02:00 by TapTap · 0 comments
Owner

Description

In line 140-141, calls without checking for NULL:

While no current callers pass NULL, this is a latent crash bug. The function should check for NULL and return false.

Similarly, (line 191) and (line 166) pass pointers through to without intermediate NULL checks where applicable.

Location

Suggested Fix

Add a NULL check at the top of :

Severity

Low

Category

Bug

## Description In line 140-141, calls without checking for NULL: While no current callers pass NULL, this is a latent crash bug. The function should check for NULL and return false. Similarly, (line 191) and (line 166) pass pointers through to without intermediate NULL checks where applicable. ## Location ## Suggested Fix Add a NULL check at the top of : ## Severity Low ## Category Bug
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: TapTap/FastSync#69