Opened 9 years ago

Closed 9 years ago

#3970 closed defect (fixed)

#9971 crash @ OSCam Start (User Connect / Disconnect)

Reported by: BurnMasterRecords Owned by:
Priority: critical Component: Protocol - CCCam
Severity: high Keywords:
Cc: Sensitive: no

Description

Revision

9971

Issue Description

Crashes after Startup on AR71xx Platform.

When the issue occurs

At Startup

How the issue is reproducable

Simply Start OSCam an let CCcam Clients Connects.

2014/10/31 17:25:56 0 s init for all local cards done
2014/10/31 17:25:56 7CFF08 c anonymous disconnected from xxx
2014/10/31 17:25:56 7CC348 c anonymous disconnected from xxx
2014/10/31 17:25:56 7CA568 c anonymous disconnected from 192.168.1.201
2014/10/31 17:25:56 79CE20 c anonymous disconnected from xxx
2014/10/31 17:25:56 79B040 c anonymous disconnected from xxx
2014/10/31 17:25:56 7CE128 c anonymous disconnected from xxx
2014/10/31 17:26:00 80C638 c xxx: resolved ip=xxx
2014/10/31 17:26:00 80C638 c encrypted cccam-client xxx granted (xxx, au=off)

No other Last entrys in Logfile.

Attachments (1)

2module-cccshare.c.patch (451 bytes ) - added by Gumball3000 9 years ago.

Download all attachments as: .zip

Change History (9)

comment:1 by BurnMasterRecords, 9 years ago

#9970 works fine.

comment:2 by nm1, 9 years ago

good code is

while((srvidblock = ll_iter_next(&it)))

231 {
232 if(srvidblock->blocked_till > 0)
233 {
234 continue;
235 }

231 236 buf[ofs + 0] = srvidblock->sid >> 8;
232 237 buf[ofs + 1] = srvidblock->sid & 0xFF;

comment:3 by BurnMasterRecords, 9 years ago

With this Changes it works again.

Thanks.

comment:4 by Gumball3000, 9 years ago

Where is the difference?

This is the code form 9971, is it not?

comment:5 by BurnMasterRecords, 9 years ago

buf[ofs + 0] = srvid->sid >> 8; VS buf[ofs + 0] = srvidblock->sid >> 8;
buf[ofs + 1] = srvid->sid & 0xFF; VS buf[ofs + 1] = srvidblock->sid & 0xFF;

With your Patch (9971) OSCam Crashes direct.

comment:6 by Gumball3000, 9 years ago

I see. Thank you.

comment:7 by Gumball3000, 9 years ago

Atached patch should be applied to trunk, to fix it.

by Gumball3000, 9 years ago

Attachment: 2module-cccshare.c.patch added

comment:8 by BurnMasterRecords, 9 years ago

Resolution: fixed
Status: newclosed

Fixed @9972

Note: See TracTickets for help on using tickets.