Summary: | ASTERISK-17230: [patch] [regression] Crash with "realtime show pgsql cache" | ||
Reporter: | Romain Bignon (romain_proformatique) | Labels: | |
Date Opened: | 2011-01-12 09:43:39.000-0600 | Date Closed: | 2011-01-27 14:09:35.000-0600 |
Priority: | Critical | Regression? | Yes |
Status: | Closed/Complete | Components: | Resources/res_config_pgsql |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) res_config_pgsql_fix.patch | |
Description: | The "realtime show pgsql cache" command crashes when giving a table name, because of the use of an uninitialized variable. This has been introduced in r300882 (2011-01-07). | ||
Comments: | By: Romain Bignon (romain_proformatique) 2011-01-14 03:53:56.000-0600 Note: when you use --enable-dev-mode, compilation fails because -Werror is enabled and gcc warns about the use of uninitialized variable. By: Digium Subversion (svnbot) 2011-01-27 14:09:34.000-0600 Repository: asterisk Revision: 304600 U trunk/res/res_config_pgsql.c ------------------------------------------------------------------------ r304600 | bbryant | 2011-01-27 14:09:34 -0600 (Thu, 27 Jan 2011) | 11 lines Patch that fixes the "realtime show pgsql cache" command crash when giving a table name, because of the use of an uninitialized variable. Fixes an error introduced in r300882. (closes issue ASTERISK-17230) Reported by: romain_proformatique Patches: res_config_pgsql_fix.patch uploaded by romain proformatique (license 975) Tested by: romain_proformatique ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=304600 |