Summary: | ASTERISK-10509: [patch] use of unitialized buffer | ||
Reporter: | Dmitry Andrianov (dimas) | Labels: | |
Date Opened: | 2007-10-12 01:58:49 | Date Closed: | 2007-10-12 10:20:50 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | PBX/pbx_realtime |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) realtime.patch | |
Description: | If "app" column does not exist in the realtime table specified for switch=>Realtime, realtime_exec of pbx_realtime.c uses unitialized "app" buffer resulting in a message like [Oct 12 14:50:32] NOTICE[27993]: pbx_realtime.c:218 realtime_exec: No such application '?m·Ff*' for extension '1001' in context 'users-dispatch' ****** ADDITIONAL INFORMATION ****** attached patch fixes the problem and also adds logging when no application specified | ||
Comments: | By: Dmitry Andrianov (dimas) 2007-10-12 05:22:15 unitialized = unitialized By: Digium Subversion (svnbot) 2007-10-12 10:19:59 Repository: asterisk Revision: 85515 U branches/1.4/pbx/pbx_realtime.c ------------------------------------------------------------------------ r85515 | russell | 2007-10-12 10:19:57 -0500 (Fri, 12 Oct 2007) | 7 lines Fix the potential use of an uninitialized buffer in a log message. (closes issue ASTERISK-10509) Reported by: dimas Patches: realtime.patch uploaded by dimas (license 88) ------------------------------------------------------------------------ By: Digium Subversion (svnbot) 2007-10-12 10:20:50 Repository: asterisk Revision: 85516 _U trunk/ U trunk/pbx/pbx_realtime.c ------------------------------------------------------------------------ r85516 | russell | 2007-10-12 10:20:50 -0500 (Fri, 12 Oct 2007) | 15 lines Merged revisions 85515 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r85515 | russell | 2007-10-12 10:40:35 -0500 (Fri, 12 Oct 2007) | 7 lines Fix the potential use of an uninitialized buffer in a log message. (closes issue ASTERISK-10509) Reported by: dimas Patches: realtime.patch uploaded by dimas (license 88) ........ ------------------------------------------------------------------------ |