Skip to content

limeTRX does not check StreamCreate before adding the substream #404

Description

@dmitrymmm
stream->Add(device->StreamCreate(streamCfg, index));

StreamComposite::Add stores the raw pointer without validation. StreamCreate returns null when the board's stream port is unavailable (LimeSDR_XTRX) or when the internal TRXLooper::Setup rejects the configuration, and StreamComposite::Setup then dereferences it while summing the per-device channel counts.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions