diff options
| author | tsutsui <tsutsui@NetBSD.org> | 2011-05-05 04:38:20 +0000 |
|---|---|---|
| committer | tsutsui <tsutsui@NetBSD.org> | 2011-05-05 04:38:20 +0000 |
| commit | e7f41198e760e221ddaa5abf6c5b16938bca36c3 (patch) | |
| tree | 2260cd8b724a5285686e882a454cc199d878f2af /sys/dev/raidframe | |
| parent | 946b86bc9f1a6e29fd4ec438b688b81fb94ce16f (diff) | |
Fix buffer overrun in readdisklabel(9) (and writedisklabel(9))
that causes unexpected panic during installation and
DIAGNOSTIC pool assertions.
Also fix bp->b_flags in writedisklabel(9) error path.
The problem was reported from Y.Sugahara during XM6i development,
and this fix is confirmed on both X68030 (by me) and XM6i (by Sugahara).
XXX: broken dkbad support (which makes struct cpu_disklabel larger
XXX: than 512 bytes) should be removed...
Diffstat (limited to 'sys/dev/raidframe')
0 files changed, 0 insertions, 0 deletions
