Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • Kea Kea
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 506
    • Issues 506
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 57
    • Merge requests 57
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • ISC Open Source Projects
  • KeaKea
  • Merge requests
  • !1481

Closed
Created Nov 05, 2021 by Dan Theisen@djtDeveloper
  • Report abuse
Report abuse

[#2021] Allow 0 length OpaqueDataTuple to be pack()ed

  • Overview 6
  • Commits 1
  • Changes 2

A customer was attempting to modify an Option 124 packet with zero length Opaque Data. While unpack() currently supports decoding zero length OpaqueDataTuples from the wire format, pack() seemed to have an explicit check to prevent the encoding of zero length OpaqueDataTuples. This seems like an oversight considering that some clients seem to send zero length Opaque Data.

The check has been removed from pack(), and tests have been updated to reflect this requirement.

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: fix-opaque-data-pack