diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2024-03-04 18:07:42 -0500 |
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2024-03-04 18:08:06 -0500 |
| commit | e7a1fbbcf64659ae2057a2e1e20a6c1f842522ab (patch) | |
| tree | 4636d4ab3fa7ae7378f88639a1a6ed8d578f0aaf /python/makevars.py | |
| parent | c256a9a40a42d617ace08cfd7c7447e7cb705e38 (diff) | |
zebra: fnc->obuf could be accessed without a lock
Found by coverity. Let's just lock the writeable
amount to see if it is possible. It's ok because
we want to know if we have room *now*. If another
pthread runs it will only remove data from fnc->obuf
and make more room. So this is ok.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'python/makevars.py')
0 files changed, 0 insertions, 0 deletions
