Mesa (master): gallivm: Ignore unknown file type in non-debug builds.
Vinson Lee
vlee at kemper.freedesktop.org
Thu Nov 21 06:36:59 UTC 2013
Module: Mesa
Branch: master
Commit: 7f56780915e352fda80b0e062591995021916859
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7f56780915e352fda80b0e062591995021916859
Author: Vinson Lee <vlee at freedesktop.org>
Date: Tue Nov 19 23:16:34 2013 -0800
gallivm: Ignore unknown file type in non-debug builds.
Fixes "Uninitialized pointer read" defect reported by Coverity.
Signed-off-by: Vinson Lee <vlee at freedesktop.org>
Reviewed-by: Jose Fonseca <jfonseca at vmware.com>
---
src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c b/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c
index 37f7a56..6d8dc8c 100644
--- a/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c
+++ b/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c
@@ -2410,6 +2410,7 @@ emit_dump_file(struct lp_build_tgsi_soa_context *bld,
res = LLVMBuildLoad(builder, reg_ptr, "");
} else {
assert(0);
+ continue;
}
emit_dump_reg(gallivm, file, index, chan, res);
More information about the mesa-commit
mailing list