chiark / gitweb /
udevd: queue-export - fix crash
authorAlan Jenkins <alan-jenkins@tuffmail.co.uk>
Thu, 28 May 2009 16:59:06 +0000 (17:59 +0100)
committerKay Sievers <kay.sievers@vrfy.org>
Thu, 28 May 2009 17:19:42 +0000 (19:19 +0200)
commit542aeeb48ab002c6136885f99aa23870f8ffa25b
tree60fd3be181fc8c8122253948bd6b2681ba4cbc67
parenta29b30b4115db16035998c551117685d8152a496
udevd: queue-export - fix crash

The math in skip_to() was the wrong way round and allocated a
variable size array on the stack with a massively negative size.

Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
udev/lib/libudev-queue-export.c