diff options
| author | cinap_lenrek <cinap_lenrek@felloff.net> | 2015-08-06 11:51:23 +0200 |
|---|---|---|
| committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2015-08-06 11:51:23 +0200 |
| commit | 281729551fd7351b410f788d267c9041ae1ef15f (patch) | |
| tree | faef5257028a3c4bfac6b8d0c6e9cde3f646d49b /lib | |
| parent | b09cd6786047e4572f98a7703992fe96e4312da7 (diff) | |
| download | plan9front-281729551fd7351b410f788d267c9041ae1ef15f.tar.xz | |
kernel: limit argv[] strings to the USTKSIZE to avoid overflow
argv[] strings get copied to the new processes stack segment, which
has a maximum size of USTKSIZE, so limit the size of the strings to
that and check early for overflow.
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions
