[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[csmith-project/creduce] 085633: Fixed a crash in UnionToStruct
Branch: refs/heads/master
Home: https://github.com/csmith-project/creduce
Commit: 0856335ee369ca243d177c4183c168f68c5ceb6e
https://github.com/csmith-project/creduce/commit/0856335ee369ca243d177c4183c168f68c5ceb6e
Author: Yang Chen <chenyang@cs.utah.edu>
Date: 2015-08-23 (Sun, 23 Aug 2015)
Changed paths:
M clang_delta/UnionToStruct.cpp
Log Message:
-----------
Fixed a crash in UnionToStruct
Patched by Johan Bengtsson
"In rewriteOneVarDecl the code assumed that the new variable was
initialized using an initializer list. If the variable was initialized
by copying another variable of the same type the transform would crash."