diff options
| author | christos <christos@NetBSD.org> | 2003-05-16 14:01:56 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 2003-05-16 14:01:56 +0000 |
| commit | 15fab6425c5e7b9bf2d2941c284ae7f5c94f710b (patch) | |
| tree | b0b3e5af0a101d8dc8c00690d8140bcbb71a82f7 /sys/kern/exec_script.c | |
| parent | 240c9010bb4a9c51b24e767809f246ce4feb3c53 (diff) | |
Fix a variety of kernel panics related to unchecked export data:
1. sa_len was not properly checked.
2. sa_family was not properly checked [even used as an array index!]
3. we only know about inet4 and inet6, so make sure that the corresponding
data is valid before using it.
4. keep reference counts of addresses used (is that necessary?)
Diffstat (limited to 'sys/kern/exec_script.c')
0 files changed, 0 insertions, 0 deletions
