Summary:ASTERISK-06666: Possible bug in size allocations
Reporter:evilbunny (evilbunny)Labels:
Date Opened:2006-03-30 14:14:01.000-0600Date Closed:2006-03-30 20:26:06.000-0600
Versions:Frequency of
Environment:Attachments:( 0) asterisk-mod-dir-patch.txt
Description:asterisk.c line 1879
ast_copy_string(ast_config_AST_MODULE_DIR, AST_MODULE_DIR, sizeof(ast_config_AST_VAR_DIR));
should be:
ast_copy_string(ast_config_AST_MODULE_DIR, AST_MODULE_DIR, sizeof(ast_config_AST_MODULE_DIR));
Comments:By: damin (damin) 2006-03-30 14:27:16.000-0600

I've uploaded a patch. Simple.

By: Andrey S Pankov (casper) 2006-03-30 15:56:22.000-0600

It would be nice if you fax a disclaimer... :)

By: evilbunny (evilbunny) 2006-03-30 16:15:51.000-0600

the fixes are trivial...

By: Tilghman Lesher (tilghman) 2006-03-30 16:47:54.000-0600

A fix this trivial does not need a disclaimer.  Committed to 1.2, merged to trunk.

By: damin (damin) 2006-03-30 20:26:06.000-0600

Even though this is a closed bug, I faxed and received back and executed copy of the disclaimer about 2 years ago. So, it's disclaimed code. All 6 bytes of it! ;)