Summary: | ASTERISK-02092: [patch] memset on possible NULL pointer | ||
Reporter: | martijnpr (martijnpr) | Labels: | |
Date Opened: | 2004-07-23 05:12:35 | Date Closed: | 2004-09-25 02:37:46 |
Priority: | Critical | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) q921.c.diff | |
Description: | At q921.c:386 a memset is done on what could possibly be a NULL pointer. This can easily be fixed by moving the memset call inside the "if (f)" condition. ****** ADDITIONAL INFORMATION ****** 921.c.diff provided (diff -Naur) | ||
Comments: | By: Mark Spencer (markster) 2004-07-23 12:18:27 The patch didn't apply but it was a trivial change. Of course this would only crash if you were out of memory, and if that happens, things are going to be very bad anyway. |