summaryrefslogtreecommitdiff
path: root/python/makevars.py
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2024-03-04 18:07:42 -0500
committerDonald Sharp <sharpd@nvidia.com>2024-03-04 18:08:06 -0500
commite7a1fbbcf64659ae2057a2e1e20a6c1f842522ab (patch)
tree4636d4ab3fa7ae7378f88639a1a6ed8d578f0aaf /python/makevars.py
parentc256a9a40a42d617ace08cfd7c7447e7cb705e38 (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