diff options
author | Justus Winter <4winter@informatik.uni-hamburg.de> | 2014-12-16 23:52:28 +0100 |
---|---|---|
committer | Justus Winter <4winter@informatik.uni-hamburg.de> | 2014-12-16 23:57:12 +0100 |
commit | cde7c781e172c1fd55f74550b66712540a677d85 (patch) | |
tree | 74d820cb6ca3e38d09077059e0346260b3534865 /device | |
parent | 1bb1ba65cb9efceeb20b4296f903f3fe58b3341e (diff) |
kern: gracefully handle bogus sample pc sequence number
If a sequence number larger than the sample control sequence number is
supplied, `nsamples' becomes negative. Handle this gracefully.
* kern/pc_sample.c (get_sampled_pcs): Handle bogus sequence number.
Diffstat (limited to 'device')
0 files changed, 0 insertions, 0 deletions