Initialize the out param from backtrace(). (Bug 549561) r=bsmedberg a2.0=tests

This commit is contained in:
L. David Baron 2010-09-21 19:32:48 -07:00
Родитель e539a829cf
Коммит 66ddae3bca
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -961,6 +961,7 @@ backtrace(tm_thread *t, int skip, int *immediate_abort)
* Create a single fake stack frame so that all the tools get
* data in the correct format.
*/
*immediate_abort = 0;
if (info->size < 1) {
PR_ASSERT(!info->buffer); /* !info->size == !info->buffer */
info->buffer = __libc_malloc(1 * sizeof(void*));