ashishmac7 d9f3866574 Fix: Check memory allocation before memset operation
- Moved the NULL check after memory allocation to occur before the memset call.
  This prevents potential undefined behavior if the allocation fails.
- Ensures safe memory handling and avoids crashes due to dereferencing NULL.

Signed-off-by: CMT-Ashish <ashish.macwan@comminent.com>
Signed-off-by: ashishmac7 <ashishmac777@gmail.com>
2025-04-14 22:10:42 +02:00
..
2024-12-05 08:34:15 +01:00
2024-12-05 08:34:15 +01:00
2024-06-21 16:47:39 +02:00