Skip to content

Code in programmable_base.h causes signal 11 in some cases #3

Open

Description

@patcamwol

In the applyHwLoadRequests method, a vector called usedStatusIndices is created and initialize with the same size as the number of children (persona) devices, with a default value of -1. In the case of one of the hw_load_requests failing, this vector is iterated over in an attempt to undo the previous, successful hw_load_requests. However, the value in the vector is not checked and the index of -1 is used to access another vector, which eventually results in a segmentation fault. I created a patch which can be found here:

This can be applied with:

patch -p0 < programmable_base.h.patch

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