summaryrefslogtreecommitdiff
path: root/sys/src/cmd/python/Python/fmod.c
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2015-08-06 11:51:23 +0200
committercinap_lenrek <cinap_lenrek@felloff.net>2015-08-06 11:51:23 +0200
commit281729551fd7351b410f788d267c9041ae1ef15f (patch)
treefaef5257028a3c4bfac6b8d0c6e9cde3f646d49b /sys/src/cmd/python/Python/fmod.c
parentb09cd6786047e4572f98a7703992fe96e4312da7 (diff)
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 'sys/src/cmd/python/Python/fmod.c')
0 files changed, 0 insertions, 0 deletions