summaryrefslogtreecommitdiff
path: root/device/buf.h
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2014-12-16 23:52:28 +0100
committerJustus Winter <4winter@informatik.uni-hamburg.de>2014-12-16 23:57:12 +0100
commitcde7c781e172c1fd55f74550b66712540a677d85 (patch)
tree74d820cb6ca3e38d09077059e0346260b3534865 /device/buf.h
parent1bb1ba65cb9efceeb20b4296f903f3fe58b3341e (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/buf.h')
0 files changed, 0 insertions, 0 deletions