diff options
| author | cinap_lenrek <cinap_lenrek@felloff.net> | 2020-02-28 16:48:42 +0100 |
|---|---|---|
| committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2020-02-28 16:48:42 +0100 |
| commit | 17a92f3995976b5d7618d1a2442e0028c1b192de (patch) | |
| tree | bb80be4a3d1482b48d1392b3e43f63d156ecf557 /lib | |
| parent | adb36de077c9bcd99072e86c7f84bac46a58e326 (diff) | |
| download | plan9front-17a92f3995976b5d7618d1a2442e0028c1b192de.tar.xz | |
devproc: make sure writewatchpt() doesnt overflow the watchpoint array
the user buffer could be changed while we parse it resulting
in a different number of watchpoints than initially calculated.
so add a check to the parse loop so we wont overflow the
watchpoint array.
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions
