Re: [libdvben50221] [PATCH] Assign same resource_id in open_session_response when "resource non-existent"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, May 17, 2011 at 8:46 AM, Brice DUBOST <braice@xxxxxxxxxx> wrote:
> On 18/01/2011 15:42, Tomer Barletz wrote:
>> Attached a patch for a bug in the lookup_callback function, were in
>> case of a non-existent resource, the connected_resource_id is not
>> initialized and then used in the open_session_response call of the
>> session layer.
>>
>
> Hello
>
> Can you explain what kind of bug it fixes ?
>
> Thanks
>

The standard states that in case the module can't provide the
requested resource , it should reply with the same resource id - this
is the only line that was added.
Also, since the caller to this function might use the variable
returned, this variable must be initialized.
The attached patch solves both bugs.

Tomer
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux