On 1/14/2021 3:17 AM, Marc-André Lureau wrote:

Any update on this patch?
thanks

Hi,
I had been waiting for a feedback on my previous message.
I don't know the UAS subsystem that well, but can't find where the
variable-sized field that is causing the issue is actually used.

If it helps, I can send an RFC for converting

struct UASStatus {
    uint32_t                  stream;
    uas_iu                    status;
    uint32_t                  length;
    QTAILQ_ENTRY(UASStatus)   next;
};

to

struct UASStatus {
    uint32_t                  stream;
    uas_iu                    *status;
    uint32_t                  length;
    QTAILQ_ENTRY(UASStatus)   next;
};

And discuss it at that point.

Thanks,
Daniele

Reply via email to