[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-trivial] [PATCH] bt: fix use of uninitialized variable seqlen
From: |
Michael Tokarev |
Subject: |
Re: [Qemu-trivial] [PATCH] bt: fix use of uninitialized variable seqlen |
Date: |
Thu, 29 Oct 2015 11:03:54 +0300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.8.0 |
19.10.2015 17:08, Paolo Bonzini wrote:
> sdp_svc_match, sdp_attr_match and sdp_svc_attr_match read the last
> argument. The only sensible way to change the code is to make that last
> argument "len" instead of "seqlen" which is the length of a subsequence
> in the previous "if" branch.
A fun case. At the very least, the original code is definitely wrong,
so you're not adding a new bug :)
Applied to -trivial, thank you!
/mjt