#6 Fail to encode ServiceClassName

closed
nobody
None
5
2010-06-26
2006-01-02
danielm5
No

Including the attribute 'ServiceClassName' in a docsis
file and trying to encode it fails with 'Segmentation
Fault'.

Commenting out the line 311 in 'docsis_encode.c' seems
to resolv the problem.

The function is: encode_strzero
The line 311 is: free(helper->strval);
just before the return sentence of the end of the function.

Discussion

  • Richard Laager
    Richard Laager
    2010-06-11

    I'm taking over the abandoned docsis project. That said, I don't know much about the codebase. I tried adding a ServiceClassName to a config file, but it didn't crash for me. Can you provide a whole configuration file that'll trigger this problem? (You can strip out whatever you like, as long as it still crashes.) Also, which version of docsis are you using? Please also try version 0.9.6, which I plan on releasing today. Which OS? Are you on a 32-bit or 64-bit system?

     
  • Richard Laager
    Richard Laager
    2010-06-11

    • status: open --> pending
     
    • status: pending --> closed
     
  • This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).