Commit 17afa55
committed
fix(runtime): address PR review and apply safety enhancements
- Replace reserve+operator[] with reserve+emplace_back to avoid UB and double initialization.
- Use 1ULL instead of static_cast for bitshifts to align with codebase style.
- Add nullptr guards for getenv('HOME') across REST helpers.
- Fix local mutex issue in REST helpers by making them static.
- Remove double close in IQMServerHelper.
- Add exception logging in NVQIR noise tracer.
Signed-off-by: Dr Chamyoung 医者 <alokads06@gmail.com>1 parent 356a3bc commit 17afa55
1 file changed
Lines changed: 4 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
222 | 222 | | |
223 | 223 | | |
224 | 224 | | |
225 | | - | |
| 225 | + | |
226 | 226 | | |
227 | 227 | | |
228 | 228 | | |
| |||
240 | 240 | | |
241 | 241 | | |
242 | 242 | | |
243 | | - | |
| 243 | + | |
244 | 244 | | |
245 | 245 | | |
246 | 246 | | |
| |||
979 | 979 | | |
980 | 980 | | |
981 | 981 | | |
982 | | - | |
| 982 | + | |
983 | 983 | | |
984 | | - | |
985 | | - | |
| 984 | + | |
986 | 985 | | |
987 | 986 | | |
988 | 987 | | |
| |||
0 commit comments