commit | 4b919f7740f4875d73c0619a08d269d5c679e19f | [log] [tgz] |
---|---|---|
author | Ken Raeburn <raeburn@permabit.com> | Tue Jan 29 10:18:13 2013 +0100 |
committer | Jens Axboe <axboe@kernel.dk> | Tue Jan 29 10:18:13 2013 +0100 |
tree | 64f276b48147d939132f2e3af9dc110ac7a4fd5d | |
parent | 899fab33f71cd9fd7037ee4c0df707daa86a0bbd [diff] |
Fix crash with absurdly but not impossibly deeply nested device stacks Use the proper PATH_MAX for the max path for disk util, and use snprintf() to avoid potentially overwriting it. Modified by Jens to return NULL instead of exiting. Signed-off-by: Jens Axboe <axboe@kernel.dk>