summaryrefslogtreecommitdiffstats
path: root/src/getopt
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2016-04-12 17:12:00 +0200
committerSamuel Pitoiset <[email protected]>2016-04-26 19:47:49 +0200
commitfbeb69757c769f594d5f9340adf067a300eddc1d (patch)
tree7002d621175f893f1b96f471f860e033a1114c54 /src/getopt
parent5ba57144830f5ab9dc8044d3a6fc59dfe16f0dd2 (diff)
nvc0/ir: prevent out of bounds when no images are bound
Checking if the image address is not 0 should be enough to prevent read faults. To improve robustness, make sure that the destination value of atomic operations is correctly initialized in case the instruction is not performed. Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/getopt')
0 files changed, 0 insertions, 0 deletions