Opened 12 years ago

Closed 12 years ago

#1369 closed defect (fixed)

Oscam crashes sometimes when loading the webinfo

Reported by: hperez Owned by: alno
Priority: major Component: Webinterface
Severity: medium Keywords:
Cc: Sensitive: no

Description

Revision

4125

Issue Description

Sometimes oscam crashes when loading the webinfo page. This is happening to me in the Azbox.

It happens more often when oscam is initializing (connecting to cccam servers).

A way to reproduce the problem is by running oscam with -d 255 (and sending the output to stdout). Because of the huge output in the console, initialization takes more time, so there are more chances to see the bug by reloading the web interface several times.

I think the problem was introduced in revision 3836, and I think it's caused because sometimes cl->cc is NULL.

I attach a patch, which I think fixes the problem.

Attachments (1)

webinfo_crash_fix.diff (1.0 KB ) - added by hperez 12 years ago.

Download all attachments as: .zip

Change History (3)

by hperez, 12 years ago

Attachment: webinfo_crash_fix.diff added

comment:1 by alno, 12 years ago

Thanks for investigation. I have no possibility to test cccam connections.

However - I'll apply the check for NULL this evening.

comment:2 by alno, 12 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.