Commit aaff953
committed
Check if flag content does not exist
Before it was just assumed that the data exists, but as that would be accessing data after the array it mostly uses a nullpointer and with that causes a segmentation fault.
This is being fixed with this change so that things like
./tau test.tau --max-iter
don't cause a crash.1 parent 05ebcd8 commit aaff953
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
115 | 120 | | |
116 | 121 | | |
117 | 122 | | |
| |||
0 commit comments