[crash][pjmedia-videodev] iInitialization/refresh

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

if some of devices wasn't initialized device factory op would be NULL. 
And we'll have crash on:

static pj_status_t init_driver(unsigned drv_idx, pj_bool_t refresh)
{
-----
     dev_cnt = f->op->get_dev_count(f);
-----
}

I think should be some return statement.

-- 
Regards,
R. Savchenko.




[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux