Summary: | ASTERISK-02058: [patch] chan_zap.c compiler warning / possible wrong value to libpri function | ||
Reporter: | Rob Gagnon (rgagnon) | Labels: | |
Date Opened: | 2004-07-19 00:24:57 | Date Closed: | 2004-09-25 02:26:23 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) chan_zap.c.patch.txt | |
Description: | in chan_zap.c v1.301: variable "s" in zt_call() line 1460 is not initialized. If the if-statement at line 1724 proves false, then a random value for "s" will more than likely trigger the value 1 for numcomplete to be sent to pri_sr_set_called() at line 1767. Simple patch initializes "s" | ||
Comments: | By: Rob Gagnon (rgagnon) 2004-07-19 00:25:49 [disclaimed] By: Rob Gagnon (rgagnon) 2004-07-19 12:21:06 Reminder sent to oej I see this is resoved in v1.303 of chan_zap.c... can close this bug I guess By: Olle Johansson (oej) 2004-07-19 12:36:46 Fixed in cvs. |