Menu

#40 PER Encoding of BIT STRING greater than 64k

open-accepted
None
7
2007-12-30
2007-11-02
cinimod
No

I've generated ASN.1 and C code to encode using it to test segmentation for sizes greater than 64k. The XER looks almost right (there is a spurious line break) but the PER looks nothing like what I would have expected (I'm checking this on the asn1.org mailing list).

Discussion

  • cinimod

    cinimod - 2007-11-02

    ASN.1 Definitions

     
  • cinimod

    cinimod - 2007-11-02

    Generated C Encoding Program

     
  • cinimod

    cinimod - 2007-11-02

    Logged In: YES
    user_id=1912759
    Originator: YES

    You'll need this as well.
    File Added: generated.c

     
  • cinimod

    cinimod - 2007-11-02

    Logged In: YES
    user_id=1912759
    Originator: YES

    Sorry I couldn't upload the complete file - it was too big for sourceforge but hopefully you can fill in missing lines.

     
  • cinimod

    cinimod - 2007-11-02

    Logged In: YES
    user_id=1912759
    Originator: YES

    Here's the XER. Note that an extra octet is output on the last line. I'd have expected a new line.
    File Added: generated.xml

     
  • cinimod

    cinimod - 2007-11-02

    Generated XER

     
  • cinimod

    cinimod - 2007-11-02

    Logged In: YES
    user_id=1912759
    Originator: YES

    And here's the PER.
    File Added: generated.per

     
  • cinimod

    cinimod - 2007-11-02
     
  • cinimod

    cinimod - 2007-11-02

    Logged In: YES
    user_id=1912759
    Originator: YES

    See http://lists.asn1.org/pipermail/asn1/2007-November/001081.html for the correct PER.

     
  • Lev Walkin

    Lev Walkin - 2007-12-04
    • priority: 5 --> 7
    • assigned_to: nobody --> vlm
    • labels: --> 733532
    • status: open --> pending-accepted
     
  • SourceForge Robot

    Logged In: YES
    user_id=1312539
    Originator: NO

    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).

     
  • SourceForge Robot

    • status: pending-accepted --> closed-accepted
     
  • cinimod

    cinimod - 2007-12-30

    Logged In: YES
    user_id=1912759
    Originator: YES

    Not really sure why this was closed.

     
  • cinimod

    cinimod - 2007-12-30
    • labels: 733532 -->
    • status: closed-accepted --> open-accepted
     

Log in to post a comment.

MongoDB Logo MongoDB