brltty-6.8-6.fc44
List of Findings
Error: SHELLCHECK_WARNING: [#def1]
/usr/bin/brltty-config.sh:26:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def2]
/usr/bin/brltty-config.sh:27:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING (CWE-457): [#def3]
/usr/bin/brltty-config.sh:32:10: warning[SC2154]: new is referenced but not assigned.
Error: SHELLCHECK_WARNING: [#def4]
/usr/bin/brltty-config.sh:40:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def5]
/usr/bin/brltty-config.sh:41:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def6]
/usr/bin/brltty-config.sh:42:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def7]
/usr/bin/brltty-config.sh:43:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def8]
/usr/bin/brltty-config.sh:44:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def9]
/usr/bin/brltty-config.sh:45:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def10]
/usr/bin/brltty-config.sh:46:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def11]
/usr/bin/brltty-config.sh:47:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def12]
/usr/bin/brltty-config.sh:49:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def13]
/usr/bin/brltty-config.sh:50:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def14]
/usr/bin/brltty-config.sh:51:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def15]
/usr/bin/brltty-config.sh:52:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def16]
/usr/bin/brltty-config.sh:53:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def17]
/usr/bin/brltty-config.sh:55:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def18]
/usr/bin/brltty-config.sh:56:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def19]
/usr/bin/brltty-config.sh:57:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def20]
/usr/bin/brltty-config.sh:58:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def21]
/usr/bin/brltty-config.sh:59:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def22]
/usr/bin/brltty-config.sh:60:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def23]
/usr/bin/brltty-config.sh:61:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def24]
/usr/bin/brltty-config.sh:62:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def25]
/usr/bin/brltty-config.sh:64:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def26]
/usr/bin/brltty-config.sh:65:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def27]
/usr/bin/brltty-config.sh:66:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def28]
/usr/bin/brltty-config.sh:67:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def29]
/usr/bin/brltty-config.sh:68:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def30]
/usr/bin/brltty-config.sh:70:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def31]
/usr/bin/brltty-config.sh:71:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def32]
/usr/bin/brltty-config.sh:72:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def33]
/usr/bin/brltty-config.sh:73:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def34]
/usr/bin/brltty-config.sh:74:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def35]
/usr/bin/brltty-config.sh:75:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def36]
/usr/bin/brltty-config.sh:76:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def37]
/usr/bin/brltty-config.sh:77:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def38]
/usr/bin/brltty-config.sh:79:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def39]
/usr/bin/brltty-config.sh:81:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def40]
/usr/bin/brltty-config.sh:82:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def41]
/usr/bin/brltty-config.sh:83:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING (CWE-457): [#def42]
/usr/bin/brltty-genkey:24:4: warning[SC2154]: programDirectory is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-477): [#def43]
/usr/bin/brltty-genkey:50:21: warning[SC2166]: Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.
Error: SHELLCHECK_WARNING: [#def44]
/usr/bin/brltty-genkey:57:6: warning[SC3028]: In POSIX sh, RANDOM is undefined.
Error: SHELLCHECK_WARNING (CWE-457): [#def45]
/usr/bin/brltty-mkuser:22:4: warning[SC2154]: programDirectory is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def46]
/usr/bin/brltty-mkuser:50:5: warning[SC2154]: useSudo is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def47]
/usr/bin/brltty-mkuser:52:8: warning[SC2154]: testMode is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def48]
/usr/bin/brltty-mkuser:113:5: warning[SC2154]: allowChanges is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def49]
/usr/bin/brltty-mkuser:116:5: warning[SC2154]: allowCreate is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def50]
/usr/bin/brltty-mkuser:148:2: warning[SC2154]: noGroups is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def51]
/usr/bin/brltty-mkuser:149:5: warning[SC2154]: noALSA is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def52]
/usr/bin/brltty-mkuser:150:5: warning[SC2154]: noBrlapi is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def53]
/usr/bin/brltty-mkuser:151:5: warning[SC2154]: noConsoles is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def54]
/usr/bin/brltty-mkuser:152:5: warning[SC2154]: noKeyboards is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def55]
/usr/bin/brltty-mkuser:153:5: warning[SC2154]: noPulse is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def56]
/usr/bin/brltty-mkuser:154:5: warning[SC2154]: noSerial is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def57]
/usr/bin/brltty-mkuser:155:5: warning[SC2154]: noUSB is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-571): [#def58]
/usr/bin/brltty-prologue.bash:126:10: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-457): [#def59]
/usr/bin/brltty-prologue.bash:170:46: warning[SC2154]: programDirectory is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def60]
/usr/bin/brltty-prologue.bash:173:65: warning[SC2154]: programName is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-477): [#def61]
/usr/bin/brltty-prologue.bash:316:118: warning[SC2166]: Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.
Error: SHELLCHECK_WARNING (CWE-563): [#def62]
/usr/bin/brltty-prologue.sh:22:10: warning[SC2034]: initialDirectory appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-571): [#def63]
/usr/bin/brltty-prologue.sh:22:10: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-571): [#def64]
/usr/bin/brltty-prologue.sh:23:10: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING: [#def65]
/usr/bin/brltty-prologue.sh:26:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def66]
/usr/bin/brltty-prologue.sh:45:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def67]
/usr/bin/brltty-prologue.sh:48:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def68]
/usr/bin/brltty-prologue.sh:49:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def69]
/usr/bin/brltty-prologue.sh:53:7: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING (CWE-457): [#def70]
/usr/bin/brltty-prologue.sh:60:20: warning[SC2154]: programLogLevel_task is referenced but not assigned.
Error: SHELLCHECK_WARNING: [#def71]
/usr/bin/brltty-prologue.sh:63:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def72]
/usr/bin/brltty-prologue.sh:64:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def73]
/usr/bin/brltty-prologue.sh:66:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def74]
/usr/bin/brltty-prologue.sh:67:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING (CWE-156): [#def75]
/usr/bin/brltty-prologue.sh:104:14: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING: [#def76]
/usr/bin/brltty-prologue.sh:107:7: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def77]
/usr/bin/brltty-prologue.sh:108:7: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING (CWE-252): [#def78]
/usr/bin/brltty-prologue.sh:112:10: warning[SC2164]: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
Error: SHELLCHECK_WARNING: [#def79]
/usr/bin/brltty-prologue.sh:119:88: warning[SC3049]: In POSIX sh, using lower/mixed case for signal names is undefined.
Error: SHELLCHECK_WARNING: [#def80]
/usr/bin/brltty-prologue.sh:124:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def81]
/usr/bin/brltty-prologue.sh:126:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING (CWE-477): [#def82]
/usr/bin/brltty-prologue.sh:130:24: warning[SC2166]: Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.
Error: SHELLCHECK_WARNING (CWE-477): [#def83]
/usr/bin/brltty-prologue.sh:130:42: warning[SC2166]: Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.
Error: SHELLCHECK_WARNING (CWE-477): [#def84]
/usr/bin/brltty-prologue.sh:130:60: warning[SC2166]: Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.
Error: SHELLCHECK_WARNING (CWE-477): [#def85]
/usr/bin/brltty-prologue.sh:130:78: warning[SC2166]: Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.
Error: SHELLCHECK_WARNING (CWE-252): [#def86]
/usr/bin/brltty-prologue.sh:133:7: warning[SC2164]: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
Error: SHELLCHECK_WARNING: [#def87]
/usr/bin/brltty-prologue.sh:139:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def88]
/usr/bin/brltty-prologue.sh:140:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def89]
/usr/bin/brltty-prologue.sh:141:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING (CWE-571): [#def90]
/usr/bin/brltty-prologue.sh:141:10: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-571): [#def91]
/usr/bin/brltty-prologue.sh:152:10: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING: [#def92]
/usr/bin/brltty-prologue.sh:155:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def93]
/usr/bin/brltty-prologue.sh:156:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def94]
/usr/bin/brltty-prologue.sh:157:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def95]
/usr/bin/brltty-prologue.sh:159:11: warning[SC3060]: In POSIX sh, string replacement is undefined.
Error: SHELLCHECK_WARNING: [#def96]
/usr/bin/brltty-prologue.sh:160:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def97]
/usr/bin/brltty-prologue.sh:164:7: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def98]
/usr/bin/brltty-prologue.sh:167:7: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def99]
/usr/bin/brltty-prologue.sh:169:7: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def100]
/usr/bin/brltty-prologue.sh:176:35: warning[SC3059]: In POSIX sh, case modification is undefined.
Error: SHELLCHECK_WARNING: [#def101]
/usr/bin/brltty-prologue.sh:181:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def102]
/usr/bin/brltty-prologue.sh:182:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def103]
/usr/bin/brltty-prologue.sh:188:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def104]
/usr/bin/brltty-prologue.sh:189:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def105]
/usr/bin/brltty-prologue.sh:191:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def106]
/usr/bin/brltty-prologue.sh:196:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def107]
/usr/bin/brltty-prologue.sh:197:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def108]
/usr/bin/brltty-prologue.sh:198:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def109]
/usr/bin/brltty-prologue.sh:199:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def110]
/usr/bin/brltty-prologue.sh:205:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def111]
/usr/bin/brltty-prologue.sh:206:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def112]
/usr/bin/brltty-prologue.sh:207:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def113]
/usr/bin/brltty-prologue.sh:213:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def114]
/usr/bin/brltty-prologue.sh:215:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def115]
/usr/bin/brltty-prologue.sh:216:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def116]
/usr/bin/brltty-prologue.sh:222:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def117]
/usr/bin/brltty-prologue.sh:223:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def118]
/usr/bin/brltty-prologue.sh:225:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def119]
/usr/bin/brltty-prologue.sh:226:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def120]
/usr/bin/brltty-prologue.sh:230:7: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING (CWE-571): [#def121]
/usr/bin/brltty-prologue.sh:230:13: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING: [#def122]
/usr/bin/brltty-prologue.sh:230:42: warning[SC3003]: In POSIX sh, $'..' is undefined.
Error: SHELLCHECK_WARNING: [#def123]
/usr/bin/brltty-prologue.sh:231:7: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def124]
/usr/bin/brltty-prologue.sh:250:10: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING (CWE-571): [#def125]
/usr/bin/brltty-prologue.sh:250:16: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING: [#def126]
/usr/bin/brltty-prologue.sh:279:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def127]
/usr/bin/brltty-prologue.sh:286:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def128]
/usr/bin/brltty-prologue.sh:293:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def129]
/usr/bin/brltty-prologue.sh:300:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def130]
/usr/bin/brltty-prologue.sh:303:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def131]
/usr/bin/brltty-prologue.sh:306:7: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def132]
/usr/bin/brltty-prologue.sh:318:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def133]
/usr/bin/brltty-prologue.sh:319:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def134]
/usr/bin/brltty-prologue.sh:321:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING (CWE-571): [#def135]
/usr/bin/brltty-prologue.sh:321:10: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING: [#def136]
/usr/bin/brltty-prologue.sh:329:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def137]
/usr/bin/brltty-prologue.sh:330:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def138]
/usr/bin/brltty-prologue.sh:341:7: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def139]
/usr/bin/brltty-prologue.sh:348:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def140]
/usr/bin/brltty-prologue.sh:351:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def141]
/usr/bin/brltty-prologue.sh:353:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def142]
/usr/bin/brltty-prologue.sh:357:7: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def143]
/usr/bin/brltty-prologue.sh:375:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def144]
/usr/bin/brltty-prologue.sh:387:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def145]
/usr/bin/brltty-prologue.sh:388:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def146]
/usr/bin/brltty-prologue.sh:389:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def147]
/usr/bin/brltty-prologue.sh:390:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def148]
/usr/bin/brltty-prologue.sh:410:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def149]
/usr/bin/brltty-prologue.sh:413:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def150]
/usr/bin/brltty-prologue.sh:423:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def151]
/usr/bin/brltty-prologue.sh:424:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def152]
/usr/bin/brltty-prologue.sh:427:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def153]
/usr/bin/brltty-prologue.sh:434:7: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING (CWE-571): [#def154]
/usr/bin/brltty-prologue.sh:434:13: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING: [#def155]
/usr/bin/brltty-prologue.sh:443:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def156]
/usr/bin/brltty-prologue.sh:451:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def157]
/usr/bin/brltty-prologue.sh:458:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def158]
/usr/bin/brltty-prologue.sh:466:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def159]
/usr/bin/brltty-prologue.sh:473:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def160]
/usr/bin/brltty-prologue.sh:484:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def161]
/usr/bin/brltty-prologue.sh:491:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def162]
/usr/bin/brltty-prologue.sh:497:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING (CWE-398): [#def163]
/usr/bin/brltty-prologue.sh:502:19: warning[SC2115]: Use "${var:?}" to ensure this never expands to /* .
Error: SHELLCHECK_WARNING: [#def164]
/usr/bin/brltty-prologue.sh:513:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def165]
/usr/bin/brltty-prologue.sh:514:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def166]
/usr/bin/brltty-prologue.sh:515:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def167]
/usr/bin/brltty-prologue.sh:516:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def168]
/usr/bin/brltty-prologue.sh:523:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING (CWE-563): [#def169]
/usr/bin/brltty-prologue.sh:549:1: warning[SC2034]: programOptionValue_counter appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def170]
/usr/bin/brltty-prologue.sh:550:1: warning[SC2034]: programOptionValue_flag appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def171]
/usr/bin/brltty-prologue.sh:551:1: warning[SC2034]: programOptionValue_list appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def172]
/usr/bin/brltty-prologue.sh:552:1: warning[SC2034]: programOptionValue_string appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING: [#def173]
/usr/bin/brltty-prologue.sh:555:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def174]
/usr/bin/brltty-prologue.sh:556:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def175]
/usr/bin/brltty-prologue.sh:557:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def176]
/usr/bin/brltty-prologue.sh:558:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def177]
/usr/bin/brltty-prologue.sh:559:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def178]
/usr/bin/brltty-prologue.sh:564:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def179]
/usr/bin/brltty-prologue.sh:586:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING (CWE-571): [#def180]
/usr/bin/brltty-prologue.sh:586:10: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING: [#def181]
/usr/bin/brltty-prologue.sh:589:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def182]
/usr/bin/brltty-prologue.sh:605:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def183]
/usr/bin/brltty-prologue.sh:612:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def184]
/usr/bin/brltty-prologue.sh:613:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def185]
/usr/bin/brltty-prologue.sh:615:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def186]
/usr/bin/brltty-prologue.sh:624:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING (CWE-571): [#def187]
/usr/bin/brltty-prologue.sh:624:10: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING: [#def188]
/usr/bin/brltty-prologue.sh:642:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def189]
/usr/bin/brltty-prologue.sh:654:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING (CWE-571): [#def190]
/usr/bin/brltty-prologue.sh:654:10: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING: [#def191]
/usr/bin/brltty-prologue.sh:660:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def192]
/usr/bin/brltty-prologue.sh:663:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def193]
/usr/bin/brltty-prologue.sh:664:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def194]
/usr/bin/brltty-prologue.sh:694:7: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def195]
/usr/bin/brltty-prologue.sh:695:7: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def196]
/usr/bin/brltty-prologue.sh:699:10: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING (CWE-571): [#def197]
/usr/bin/brltty-prologue.sh:699:16: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING: [#def198]
/usr/bin/brltty-prologue.sh:706:10: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING (CWE-571): [#def199]
/usr/bin/brltty-prologue.sh:706:16: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING: [#def200]
/usr/bin/brltty-prologue.sh:707:10: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING (CWE-571): [#def201]
/usr/bin/brltty-prologue.sh:707:16: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING: [#def202]
/usr/bin/brltty-prologue.sh:719:7: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def203]
/usr/bin/brltty-prologue.sh:720:7: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def204]
/usr/bin/brltty-prologue.sh:724:10: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING (CWE-571): [#def205]
/usr/bin/brltty-prologue.sh:724:16: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING: [#def206]
/usr/bin/brltty-prologue.sh:732:10: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING (CWE-571): [#def207]
/usr/bin/brltty-prologue.sh:732:16: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING: [#def208]
/usr/bin/brltty-prologue.sh:738:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING (CWE-571): [#def209]
/usr/bin/brltty-prologue.sh:738:10: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING: [#def210]
/usr/bin/brltty-prologue.sh:752:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def211]
/usr/bin/brltty-prologue.sh:761:13: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING (CWE-457): [#def212]
/usr/bin/brltty-prologue.sh:784:8: warning[SC2154]: programOption_showUsageSummary is referenced but not assigned.
Error: SHELLCHECK_WARNING: [#def213]
/usr/bin/brltty-prologue.sh:790:4: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING (CWE-457): [#def214]
/usr/bin/brltty-prologue.sh:803:50: warning[SC2154]: programOption_verboseCount is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def215]
/usr/bin/brltty-prologue.sh:803:79: warning[SC2154]: programOption_quietCount is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def216]
/usr/bin/brltty-setcaps:30:5: warning[SC2154]: useSudo is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def217]
/usr/bin/brltty-setcaps:32:8: warning[SC2154]: testMode is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-571): [#def218]
/usr/bin/brltty-setcaps:49:13: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-457): [#def219]
/usr/bin/brltty-setcaps:52:47: warning[SC2154]: executablePath is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def220]
/usr/bin/brltty-setcaps:102:13: warning[SC2154]: rootUser is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def221]
/usr/bin/brltty-setcaps:103:13: warning[SC2154]: rootGroup is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def222]
/usr/bin/brltty-setcaps:108:2: warning[SC2154]: noCapabilities is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def223]
/usr/bin/brltty-setcaps:109:5: warning[SC2154]: noCreation is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def224]
/usr/bin/brltty-setcaps:110:5: warning[SC2154]: noDevices is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def225]
/usr/bin/brltty-setcaps:111:5: warning[SC2154]: noGroups is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def226]
/usr/bin/brltty-setcaps:112:5: warning[SC2154]: noInput is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def227]
/usr/bin/brltty-setcaps:113:5: warning[SC2154]: noModules is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def228]
/usr/bin/brltty-setcaps:114:5: warning[SC2154]: noOwnership is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def229]
/usr/bin/brltty-setcaps:115:5: warning[SC2154]: noPermissions is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def230]
/usr/bin/brltty-setcaps:116:5: warning[SC2154]: noSpeaker is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def231]
/usr/bin/brltty-term:26:9: warning[SC2154]: programName is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def232]
/usr/bin/brltty-term:109:27: warning[SC2154]: shellPath is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def233]
/usr/bin/brltty-term:116:7: warning[SC2154]: brlttyPath is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-156): [#def234]
/usr/lib/dracut/modules.d/99brltty/brltty-start.sh:68:26: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-457): [#def235]
/usr/lib/dracut/modules.d/99brltty/module-setup.sh:17:10: warning[SC2154]: initdir is referenced but not assigned.
Error: SHELLCHECK_WARNING: [#def236]
/usr/lib/dracut/modules.d/99brltty/module-setup.sh:17:50: error[SC2283]: Remove spaces around = to assign (or use [ ] to compare, or quote '=' if literal).
Error: SHELLCHECK_WARNING: [#def237]
/usr/lib/dracut/modules.d/99brltty/module-setup.sh:18:45: error[SC2283]: Remove spaces around = to assign (or use [ ] to compare, or quote '=' if literal).
Error: SHELLCHECK_WARNING (CWE-571): [#def238]
/usr/lib/dracut/modules.d/99brltty/module-setup.sh:36:10: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-156): [#def239]
/usr/lib/dracut/modules.d/99brltty/module-setup.sh:41:27: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-156): [#def240]
/usr/lib/dracut/modules.d/99brltty/module-setup.sh:44:32: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-156): [#def241]
/usr/lib/dracut/modules.d/99brltty/module-setup.sh:47:31: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-457): [#def242]
/usr/lib/dracut/modules.d/99brltty/module-setup.sh:64:26: warning[SC2154]: moddir is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-571): [#def243]
/usr/lib/dracut/modules.d/99brltty/module-setup.sh:72:10: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-571): [#def244]
/usr/lib/dracut/modules.d/99brltty/module-setup.sh:78:16: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-156): [#def245]
/usr/lib/dracut/modules.d/99brltty/module-setup.sh:283:16: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-571): [#def246]
/usr/lib/dracut/modules.d/99brltty/module-setup.sh:307:16: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-156): [#def247]
/usr/lib/dracut/modules.d/99brltty/module-setup.sh:328:22: warning[SC2046]: Quote this to prevent word splitting.
Error: GCC_ANALYZER_WARNING (CWE-457): [#def248]
brltty-6.8/minimal/Drivers/Braille/Alva/braille.c:731:11: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*new[<unknown>]’
brltty-6.8/minimal/Drivers/Braille/Alva/braille.c:1935:1: enter_function: entry to ‘brl_construct’
brltty-6.8/minimal/Drivers/Braille/Alva/braille.c:1936:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Drivers/Braille/Alva/braille.c:1937:5: branch_true: ...to here
brltty-6.8/minimal/Drivers/Braille/Alva/braille.c:1940:9: call_function: calling ‘connectResource’ from ‘brl_construct’
brltty-6.8/minimal/Drivers/Braille/Alva/braille.c:1940:9: return_function: returning to ‘brl_construct’ from ‘connectResource’
brltty-6.8/minimal/Drivers/Braille/Alva/braille.c:1940:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Drivers/Braille/Alva/braille.c:1941:15: branch_true: ...to here
brltty-6.8/minimal/Drivers/Braille/Alva/braille.c:1951:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Drivers/Braille/Alva/braille.c:1952:13: branch_true: ...to here
brltty-6.8/minimal/Drivers/Braille/Alva/braille.c:1952:13: call_function: calling ‘updateSettings’ from ‘brl_construct’
Error: GCC_ANALYZER_WARNING (CWE-127): [#def249]
brltty-6.8/minimal/Drivers/Braille/Alva/braille.c:1211:5: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
brltty-6.8/minimal/Drivers/Braille/Alva/braille.c:1722:1: enter_function: entry to ‘detectModel2u’
brltty-6.8/minimal/Drivers/Braille/Alva/braille.c:1727:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Drivers/Braille/Alva/braille.c:1727:21: branch_true: ...to here
brltty-6.8/minimal/Drivers/Braille/Alva/braille.c:1727:21: call_function: calling ‘setVersions2’ from ‘detectModel2u’
Error: GCC_ANALYZER_WARNING (CWE-124): [#def250]
brltty-6.8/minimal/Drivers/Braille/Alva/braille.c:1214:5: warning[-Wanalyzer-out-of-bounds]: stack-based buffer underwrite
brltty-6.8/minimal/Drivers/Braille/Alva/braille.c:1722:1: enter_function: entry to ‘detectModel2u’
brltty-6.8/minimal/Drivers/Braille/Alva/braille.c:1727:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Drivers/Braille/Alva/braille.c:1727:21: branch_true: ...to here
brltty-6.8/minimal/Drivers/Braille/Alva/braille.c:1727:21: call_function: calling ‘setVersions2’ from ‘detectModel2u’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def251]
brltty-6.8/minimal/Drivers/Braille/B2G/braille.c:195:21: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(&directoryPath)’
brltty-6.8/minimal/Drivers/Braille/B2G/braille.c:192:20: acquire_memory: allocated here
brltty-6.8/minimal/Drivers/Braille/B2G/braille.c:192:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Drivers/Braille/B2G/braille.c:192:6: branch_true: ...to here
brltty-6.8/minimal/Drivers/Braille/B2G/braille.c:195:21: throw: if ‘readdir’ throws an exception...
brltty-6.8/minimal/Drivers/Braille/B2G/braille.c:195:21: danger: ‘opendir(&directoryPath)’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def252]
brltty-6.8/minimal/Drivers/Braille/B2G/braille.c:208:5: warning[-Wanalyzer-malloc-leak]: leak of ‘devicePath’
brltty-6.8/minimal/Drivers/Braille/B2G/braille.c:192:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Drivers/Braille/B2G/braille.c:192:6: branch_true: ...to here
brltty-6.8/minimal/Drivers/Braille/B2G/braille.c:195:12: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Drivers/Braille/B2G/braille.c:199:18: branch_true: ...to here
brltty-6.8/minimal/Drivers/Braille/B2G/braille.c:203:28: acquire_memory: allocated here
brltty-6.8/minimal/Drivers/Braille/B2G/braille.c:203:12: branch_false: following ‘false’ branch (when ‘devicePath’ is non-NULL)...
brltty-6.8/minimal/Drivers/Braille/B2G/braille.c:204:9: branch_false: ...to here
brltty-6.8/minimal/Drivers/Braille/B2G/braille.c:208:5: throw: if ‘closedir’ throws an exception...
brltty-6.8/minimal/Drivers/Braille/B2G/braille.c:208:5: danger: ‘devicePath’ leaks here; was allocated at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def253]
brltty-6.8/minimal/Drivers/Braille/B2G/braille.c:284:6: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/braille0", 1)’
brltty-6.8/minimal/Drivers/Braille/B2G/braille.c:323:1: enter_function: entry to ‘brl_construct’
brltty-6.8/minimal/Drivers/Braille/B2G/braille.c:324:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Drivers/Braille/B2G/braille.c:324:6: branch_true: ...to here
brltty-6.8/minimal/Drivers/Braille/B2G/braille.c:330:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Drivers/Braille/B2G/braille.c:331:11: branch_true: ...to here
brltty-6.8/minimal/Drivers/Braille/B2G/braille.c:331:11: call_function: calling ‘openBrailleDevice’ from ‘brl_construct’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def254]
brltty-6.8/minimal/Drivers/Braille/Baum/braille.c:2736:36: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘packet[1]’
brltty-6.8/minimal/Drivers/Braille/Baum/braille.c:2803:1: enter_function: entry to ‘processPowerBraillePackets’
brltty-6.8/minimal/Drivers/Braille/Baum/braille.c:2807:18: call_function: inlined call to ‘getPowerBraillePacket’ from ‘processPowerBraillePackets’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def255]
brltty-6.8/minimal/Drivers/Braille/Canute/braille.c:311:6: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc((long unsigned int)*brl.textRows * 8)’
brltty-6.8/minimal/Drivers/Braille/Canute/braille.c:523:1: enter_function: entry to ‘brl_construct’
brltty-6.8/minimal/Drivers/Braille/Canute/braille.c:524:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Drivers/Braille/Canute/braille.c:525:5: branch_true: ...to here
brltty-6.8/minimal/Drivers/Braille/Canute/braille.c:557:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Drivers/Braille/Canute/braille.c:558:11: branch_true: ...to here
brltty-6.8/minimal/Drivers/Braille/Canute/braille.c:558:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Drivers/Braille/Canute/braille.c:561:13: branch_true: ...to here
brltty-6.8/minimal/Drivers/Braille/Canute/braille.c:561:12: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Drivers/Braille/Canute/braille.c:566:15: branch_true: ...to here
brltty-6.8/minimal/Drivers/Braille/Canute/braille.c:566:15: call_function: calling ‘allocateRowEntries’ from ‘brl_construct’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def256]
brltty-6.8/minimal/Drivers/Braille/DotPad/braille.c:247:6: warning[-Wanalyzer-malloc-leak]: leak of ‘calloc((long unsigned int)*brl_47(D)->data.display.externalRows, (long unsigned int)*brl_47(D)->data.display.externalColumns)’
brltty-6.8/minimal/Drivers/Braille/DotPad/braille.c:529:1: enter_function: entry to ‘reconfigureDisplay’
brltty-6.8/minimal/Drivers/Braille/DotPad/braille.c:531:22: call_function: calling ‘configureDisplay’ from ‘reconfigureDisplay’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def257]
brltty-6.8/minimal/Drivers/Braille/DotPad/braille.c:707:23: warning[-Wanalyzer-null-argument]: use of NULL ‘data’ where non-null expected
brltty-6.8/minimal/Drivers/Braille/DotPad/braille.c:1301:1: enter_function: entry to ‘writeIdentifyRequest’
brltty-6.8/minimal/Drivers/Braille/DotPad/braille.c:1302:10: call_function: calling ‘writeRequest’ from ‘writeIdentifyRequest’
Error: GCC_ANALYZER_WARNING (CWE-121): [#def258]
brltty-6.8/minimal/Drivers/Braille/DotPad/braille.c:1082:7: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
brltty-6.8/minimal/Drivers/Braille/DotPad/braille.c:1073:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Drivers/Braille/DotPad/braille.c:1073:21: branch_true: ...to here
brltty-6.8/minimal/Drivers/Braille/DotPad/braille.c:1075:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Drivers/Braille/DotPad/braille.c:1075:31: branch_true: ...to here
brltty-6.8/minimal/Drivers/Braille/DotPad/braille.c:1077:19: branch_false: following ‘false’ branch (when ‘dataSize <= i’)...
brltty-6.8/minimal/Drivers/Braille/DotPad/braille.c:1077:19: branch_false: ...to here
brltty-6.8/minimal/Drivers/Braille/DotPad/braille.c:1081:12: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Drivers/Braille/DotPad/braille.c:1082:12: branch_true: ...to here
brltty-6.8/minimal/Drivers/Braille/DotPad/braille.c:1082:7: danger: write of 1 byte at offset ‘(int)arraySize’ exceeds the buffer
Error: GCC_ANALYZER_WARNING (CWE-401): [#def259]
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:33:3: warning[-Wanalyzer-malloc-leak]: leak of ‘buffer’
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:191:17: enter_function: entry to ‘brl_message’
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:197:27: acquire_memory: allocated here
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:211:3: call_function: calling ‘brl_write’ from ‘brl_message’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def260]
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:33:3: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:217:25: enter_function: entry to ‘showbrfile’
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:221:24: acquire_memory: allocated here
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:230:3: call_function: calling ‘brl_write’ from ‘showbrfile’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def261]
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:33:3: warning[-Wanalyzer-malloc-leak]: leak of ‘str’
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:217:25: enter_function: entry to ‘showbrfile’
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:222:24: acquire_memory: allocated here
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:230:3: call_function: calling ‘brl_write’ from ‘showbrfile’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def262]
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:34:3: warning[-Wanalyzer-malloc-leak]: leak of ‘buffer’
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:191:17: enter_function: entry to ‘brl_message’
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:197:27: acquire_memory: allocated here
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:211:3: call_function: calling ‘brl_write’ from ‘brl_message’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def263]
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:34:3: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:217:25: enter_function: entry to ‘showbrfile’
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:221:24: acquire_memory: allocated here
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:230:3: call_function: calling ‘brl_write’ from ‘showbrfile’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def264]
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:34:3: warning[-Wanalyzer-malloc-leak]: leak of ‘str’
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:217:25: enter_function: entry to ‘showbrfile’
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:222:24: acquire_memory: allocated here
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:230:3: call_function: calling ‘brl_write’ from ‘showbrfile’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def265]
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:67:13: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:217:25: enter_function: entry to ‘showbrfile’
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:221:24: acquire_memory: allocated here
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:230:3: call_function: calling ‘brl_write’ from ‘showbrfile’
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:230:3: return_function: returning to ‘showbrfile’ from ‘brl_write’
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:233:7: call_function: calling ‘brl_read’ from ‘showbrfile’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def266]
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:67:13: warning[-Wanalyzer-malloc-leak]: leak of ‘str’
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:217:25: enter_function: entry to ‘showbrfile’
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:222:24: acquire_memory: allocated here
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:230:3: call_function: calling ‘brl_write’ from ‘showbrfile’
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:230:3: return_function: returning to ‘showbrfile’ from ‘brl_write’
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:233:7: call_function: calling ‘brl_read’ from ‘showbrfile’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def267]
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:71:11: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:260:17: enter_function: entry to ‘brl_listfiles’
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:263:31: acquire_memory: allocated here
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:270:10: branch_true: following ‘true’ branch (when ‘end == 0’)...
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:272:11: branch_true: ...to here
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:272:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:273:9: branch_true: ...to here
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:273:9: call_function: calling ‘showbrfile’ from ‘brl_listfiles’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def268]
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:71:11: warning[-Wanalyzer-malloc-leak]: leak of ‘str’
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:217:25: enter_function: entry to ‘showbrfile’
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:222:24: acquire_memory: allocated here
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:230:3: call_function: calling ‘brl_write’ from ‘showbrfile’
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:230:3: return_function: returning to ‘showbrfile’ from ‘brl_write’
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:233:7: call_function: calling ‘brl_read’ from ‘showbrfile’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def269]
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:86:9: warning[-Wanalyzer-malloc-leak]: leak of ‘buffer’
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:191:17: enter_function: entry to ‘brl_message’
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:197:27: acquire_memory: allocated here
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:211:3: call_function: calling ‘brl_write’ from ‘brl_message’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def270]
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:86:9: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:217:25: enter_function: entry to ‘showbrfile’
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:221:24: acquire_memory: allocated here
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:230:3: call_function: calling ‘brl_write’ from ‘showbrfile’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def271]
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:86:9: warning[-Wanalyzer-malloc-leak]: leak of ‘str’
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:217:25: enter_function: entry to ‘showbrfile’
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:222:24: acquire_memory: allocated here
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:230:3: call_function: calling ‘brl_write’ from ‘showbrfile’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def272]
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:90:7: warning[-Wanalyzer-malloc-leak]: leak of ‘buffer’
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:191:17: enter_function: entry to ‘brl_message’
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:197:27: acquire_memory: allocated here
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:211:3: call_function: calling ‘brl_write’ from ‘brl_message’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def273]
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:90:7: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:217:25: enter_function: entry to ‘showbrfile’
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:221:24: acquire_memory: allocated here
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:230:3: call_function: calling ‘brl_write’ from ‘showbrfile’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def274]
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:90:7: warning[-Wanalyzer-malloc-leak]: leak of ‘str’
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:217:25: enter_function: entry to ‘showbrfile’
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:222:24: acquire_memory: allocated here
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:230:3: call_function: calling ‘brl_write’ from ‘showbrfile’
Error: CPPCHECK_WARNING (CWE-682): [#def275]
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:200: error[nullPointerArithmeticOutOfMemory]: If memory allocation fails: pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-476): [#def276]
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:200: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: p++
Error: GCC_ANALYZER_WARNING (CWE-476): [#def277]
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:200:3: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘buffer’
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:197:27: acquire_memory: this call could return NULL
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:200:3: danger: ‘buffer’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def278]
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:224: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: buf
Error: GCC_ANALYZER_WARNING (CWE-476): [#def279]
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:224:3: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘buf’
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:221:24: acquire_memory: this call could return NULL
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:224:3: danger: ‘buf’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/22/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def280]
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:225: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: buf
Error: CPPCHECK_WARNING (CWE-476): [#def281]
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:226: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: buf
Error: CPPCHECK_WARNING (CWE-476): [#def282]
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:227: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: buf
Error: CPPCHECK_WARNING (CWE-476): [#def283]
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:228: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: buf
Error: CPPCHECK_WARNING (CWE-476): [#def284]
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:229: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: buf
Error: CPPCHECK_WARNING (CWE-682): [#def285]
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:230: error[nullPointerArithmeticOutOfMemory]: If memory allocation fails: pointer addition with NULL pointer.
Error: GCC_ANALYZER_WARNING (CWE-688): [#def286]
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:244:3: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘str’ where non-null expected
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:217:25: enter_function: entry to ‘showbrfile’
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:222:24: acquire_memory: this call could return NULL
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:230:3: call_function: calling ‘brl_write’ from ‘showbrfile’
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:230:3: return_function: returning to ‘showbrfile’ from ‘brl_write’
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:233:7: call_function: calling ‘brl_read’ from ‘showbrfile’
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:233:7: return_function: returning to ‘showbrfile’ from ‘brl_read’
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:239:6: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:244:22: branch_false: ...to here
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:244:3: danger: argument 1 (‘str’) from [(2)](sarif:/runs/0/results/23/codeFlows/0/threadFlows/0/locations/1) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-401): [#def287]
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:252:1: warning[-Wanalyzer-malloc-leak]: leak of ‘str’
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:217:25: enter_function: entry to ‘showbrfile’
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:222:24: acquire_memory: allocated here
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:230:3: call_function: calling ‘brl_write’ from ‘showbrfile’
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:230:3: return_function: returning to ‘showbrfile’ from ‘brl_write’
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:233:7: call_function: calling ‘brl_read’ from ‘showbrfile’
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:233:7: return_function: returning to ‘showbrfile’ from ‘brl_read’
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:239:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:241:7: branch_true: ...to here
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_brl.c:252:1: danger: ‘str’ leaks here; was allocated at [(2)](sarif:/runs/0/results/24/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def288]
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:44:7: warning[-Wanalyzer-malloc-leak]: leak of ‘map’
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:68:17: enter_function: entry to ‘k2txt’
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:78:6: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:83:3: branch_false: ...to here
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:85:9: acquire_memory: allocated here
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:90:6: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:90:6: branch_false: ...to here
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:107:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:110:14: branch_true: ...to here
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:121:10: call_function: calling ‘dos2unix’ from ‘k2txt’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def289]
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:45:7: warning[-Wanalyzer-malloc-leak]: leak of ‘map’
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:68:17: enter_function: entry to ‘k2txt’
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:78:6: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:83:3: branch_false: ...to here
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:85:9: acquire_memory: allocated here
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:90:6: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:90:6: branch_false: ...to here
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:107:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:110:14: branch_true: ...to here
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:121:10: call_function: calling ‘dos2unix’ from ‘k2txt’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def290]
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:49:7: warning[-Wanalyzer-malloc-leak]: leak of ‘map’
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:68:17: enter_function: entry to ‘k2txt’
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:78:6: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:83:3: branch_false: ...to here
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:85:9: acquire_memory: allocated here
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:90:6: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:90:6: branch_false: ...to here
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:107:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:110:14: branch_true: ...to here
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:121:10: call_function: calling ‘dos2unix’ from ‘k2txt’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def291]
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:49:7: warning[-Wanalyzer-malloc-leak]: leak of ‘tmpmap’
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:42:17: acquire_memory: allocated here
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:42:6: branch_false: following ‘false’ branch (when ‘tmpmap’ is non-NULL)...
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:47:18: branch_false: ...to here
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:47:6: branch_true: following ‘true’ branch (when ‘tmpmap2’ is NULL)...
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:49:7: branch_true: ...to here
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:49:7: throw: if ‘perror’ throws an exception...
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:49:7: danger: ‘tmpmap’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def292]
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:50:7: warning[-Wanalyzer-malloc-leak]: leak of ‘map’
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:68:17: enter_function: entry to ‘k2txt’
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:78:6: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:83:3: branch_false: ...to here
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:85:9: acquire_memory: allocated here
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:90:6: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:90:6: branch_false: ...to here
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:107:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:110:14: branch_true: ...to here
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:121:10: call_function: calling ‘dos2unix’ from ‘k2txt’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def293]
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:50:7: warning[-Wanalyzer-malloc-leak]: leak of ‘tmpmap’
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:42:17: acquire_memory: allocated here
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:42:6: branch_false: following ‘false’ branch (when ‘tmpmap’ is non-NULL)...
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:47:18: branch_false: ...to here
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:47:6: branch_true: following ‘true’ branch (when ‘tmpmap2’ is NULL)...
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:49:7: branch_true: ...to here
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:50:7: throw: if ‘eutp_abort’ throws an exception...
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:50:7: danger: ‘tmpmap’ leaks here; was allocated at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def294]
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:53:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘tmpmap’
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:42:17: acquire_memory: allocated here
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:42:6: release_memory: assuming ‘tmpmap’ is NULL
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:42:6: branch_true: following ‘true’ branch (when ‘tmpmap’ is NULL)...
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:44:7: branch_true: ...to here
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:47:6: branch_false: following ‘false’ branch (when ‘tmpmap2’ is non-NULL)...
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:52:8: branch_false: ...to here
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:52:15: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:53:17: branch_true: ...to here
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:53:5: danger: dereference of NULL ‘tmpmap + i’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def295]
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:56:3: warning[-Wanalyzer-malloc-leak]: leak of ‘map’
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:68:17: enter_function: entry to ‘k2txt’
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:78:6: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:83:3: branch_false: ...to here
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:85:9: acquire_memory: allocated here
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:90:6: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:90:6: branch_false: ...to here
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:107:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:110:14: branch_true: ...to here
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:121:10: call_function: calling ‘dos2unix’ from ‘k2txt’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def296]
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:56:3: warning[-Wanalyzer-malloc-leak]: leak of ‘p2’
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:42:6: branch_true: following ‘true’ branch (when ‘tmpmap’ is NULL)...
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:44:7: branch_true: ...to here
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:47:18: acquire_memory: allocated here
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:47:6: branch_false: following ‘false’ branch (when ‘tmpmap2’ is non-NULL)...
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:52:8: branch_false: ...to here
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:52:15: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:54:3: branch_false: ...to here
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:56:3: throw: if ‘iconv’ throws an exception...
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:56:3: danger: ‘p2’ leaks here; was allocated at [(3)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def297]
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:56:3: warning[-Wanalyzer-malloc-leak]: leak of ‘p’
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:42:17: acquire_memory: allocated here
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:42:6: branch_false: following ‘false’ branch (when ‘tmpmap’ is non-NULL)...
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:47:18: branch_false: ...to here
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:47:6: branch_false: following ‘false’ branch (when ‘tmpmap2’ is non-NULL)...
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:52:8: branch_false: ...to here
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:52:15: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:53:17: branch_true: ...to here
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:52:15: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:53:17: branch_true: ...to here
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:52:15: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:54:3: branch_false: ...to here
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:56:3: throw: if ‘iconv’ throws an exception...
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:56:3: danger: ‘p’ leaks here; was allocated at [(1)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def298]
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:81:14: warning[-Wanalyzer-malloc-leak]: leak of ‘newmap’
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:78:6: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:83:3: branch_false: ...to here
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:86:12: acquire_memory: allocated here
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:90:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:92:7: branch_true: ...to here
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:81:14: danger: ‘newmap’ leaks here; was allocated at [(3)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/2)
Error: COMPILER_WARNING (CWE-252): [#def299]
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c: scope_hint: In function ‘k2txt’
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:87:3: warning[-Wunused-result]: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def300]
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:89:3: warning[-Wanalyzer-malloc-leak]: leak of ‘map’
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:78:6: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:83:3: branch_false: ...to here
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:85:9: acquire_memory: allocated here
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:89:3: throw: if ‘close’ throws an exception...
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:89:3: danger: ‘map’ leaks here; was allocated at [(3)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def301]
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:89:3: warning[-Wanalyzer-malloc-leak]: leak of ‘newmap’
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:78:6: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:83:3: branch_false: ...to here
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:86:12: acquire_memory: allocated here
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:89:3: throw: if ‘close’ throws an exception...
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:89:3: danger: ‘newmap’ leaks here; was allocated at [(3)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def302]
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:90:13: warning[-Wanalyzer-malloc-leak]: leak of ‘map’
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:78:6: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:83:3: branch_false: ...to here
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:85:9: acquire_memory: allocated here
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:90:13: throw: if ‘open’ throws an exception...
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:90:13: danger: ‘map’ leaks here; was allocated at [(3)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def303]
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:90:13: warning[-Wanalyzer-malloc-leak]: leak of ‘newmap’
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:78:6: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:83:3: branch_false: ...to here
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:86:12: acquire_memory: allocated here
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:90:13: throw: if ‘open’ throws an exception...
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:90:13: danger: ‘newmap’ leaks here; was allocated at [(3)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def304]
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:92:7: warning[-Wanalyzer-malloc-leak]: leak of ‘map’
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:78:6: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:83:3: branch_false: ...to here
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:85:9: acquire_memory: allocated here
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:90:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:92:7: branch_true: ...to here
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:92:7: throw: if ‘perror’ throws an exception...
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:92:7: danger: ‘map’ leaks here; was allocated at [(3)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def305]
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:92:7: warning[-Wanalyzer-malloc-leak]: leak of ‘newmap’
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:78:6: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:83:3: branch_false: ...to here
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:86:12: acquire_memory: allocated here
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:90:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:92:7: branch_true: ...to here
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:92:7: throw: if ‘perror’ throws an exception...
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:92:7: danger: ‘newmap’ leaks here; was allocated at [(3)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/2)
Error: CPPCHECK_WARNING (CWE-401): [#def306]
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:93: error[memleak]: Memory leak: newmap
Error: GCC_ANALYZER_WARNING (CWE-476): [#def307]
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:97:11: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘map’
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:78:6: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:83:3: branch_false: ...to here
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:85:9: acquire_memory: this call could return NULL
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:90:6: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:90:6: branch_false: ...to here
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:97:11: danger: ‘map + (sizetype)i’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def308]
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:111:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘newmap’
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:78:6: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:83:3: branch_false: ...to here
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:86:12: acquire_memory: this call could return NULL
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:90:6: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:90:6: branch_false: ...to here
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:107:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:110:14: branch_true: ...to here
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:111:9: danger: ‘malloc(size + 1) + (sizetype)o’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def309]
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:113:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘newmap’
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:78:6: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:83:3: branch_false: ...to here
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:86:12: acquire_memory: this call could return NULL
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:90:6: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:90:6: branch_false: ...to here
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:107:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:110:14: branch_true: ...to here
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:113:9: danger: ‘malloc(size + 1) + (sizetype)o’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def310]
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:115:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘newmap’
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:78:6: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:83:3: branch_false: ...to here
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:86:12: acquire_memory: this call could return NULL
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:90:6: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:90:6: branch_false: ...to here
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:107:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:110:14: branch_true: ...to here
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:115:9: danger: ‘malloc(size + 1) + (sizetype)o’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def311]
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:117:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘newmap’
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:78:6: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:83:3: branch_false: ...to here
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:86:12: acquire_memory: this call could return NULL
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:90:6: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:90:6: branch_false: ...to here
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:107:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:110:14: branch_true: ...to here
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:117:9: danger: ‘malloc(size + 1) + (sizetype)o’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/2)
Error: COMPILER_WARNING (CWE-252): [#def312]
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:122:3: warning[-Wunused-result]: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def313]
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:127:1: warning[-Wanalyzer-malloc-leak]: leak of ‘map’
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:78:6: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:83:3: branch_false: ...to here
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:85:9: acquire_memory: allocated here
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:90:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:92:7: branch_true: ...to here
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:127:1: danger: ‘map’ leaks here; was allocated at [(3)](sarif:/runs/0/results/22/codeFlows/0/threadFlows/0/locations/2)
Error: CPPCHECK_WARNING (CWE-686): [#def314]
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:146: error[invalidFunctionArgBool]: Invalid toupper() argument nr 1. A non-boolean value is required.
Error: CPPCHECK_WARNING (CWE-686): [#def315]
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:148: error[invalidFunctionArgBool]: Invalid toupper() argument nr 1. A non-boolean value is required.
Error: CPPCHECK_WARNING (CWE-686): [#def316]
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:149: error[invalidFunctionArgBool]: Invalid toupper() argument nr 1. A non-boolean value is required.
Error: COMPILER_WARNING (CWE-252): [#def317]
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c: scope_hint: In function ‘txt2k’
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:191:3: warning[-Wunused-result]: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def318]
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:193:3: warning[-Wanalyzer-malloc-leak]: leak of ‘map’
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:183:6: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:188:3: branch_false: ...to here
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:190:9: acquire_memory: allocated here
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:193:3: throw: if ‘close’ throws an exception...
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:193:3: danger: ‘map’ leaks here; was allocated at [(3)](sarif:/runs/0/results/23/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def319]
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:194:13: warning[-Wanalyzer-malloc-leak]: leak of ‘map’
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:183:6: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:188:3: branch_false: ...to here
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:190:9: acquire_memory: allocated here
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:194:13: throw: if ‘open’ throws an exception...
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:194:13: danger: ‘map’ leaks here; was allocated at [(3)](sarif:/runs/0/results/24/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def320]
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:196:7: warning[-Wanalyzer-malloc-leak]: leak of ‘map’
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:183:6: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:188:3: branch_false: ...to here
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:190:9: acquire_memory: allocated here
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:194:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:196:7: branch_true: ...to here
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:196:7: throw: if ‘perror’ throws an exception...
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:196:7: danger: ‘map’ leaks here; was allocated at [(3)](sarif:/runs/0/results/25/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def321]
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:202:1: warning[-Wanalyzer-malloc-leak]: leak of ‘map’
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:183:6: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:188:3: branch_false: ...to here
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:190:9: acquire_memory: allocated here
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_convert.c:202:1: danger: ‘map’ leaks here; was allocated at [(3)](sarif:/runs/0/results/26/codeFlows/0/threadFlows/0/locations/2)
Error: COMPILER_WARNING (CWE-252): [#def322]
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_transfer.c: scope_hint: In function ‘brtopc’
brltty-6.8/minimal/Drivers/Braille/EuroBraille/eutp_transfer.c:123:7: warning[-Wunused-result]: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’
Error: GCC_ANALYZER_WARNING (CWE-121): [#def323]
brltty-6.8/minimal/Drivers/Braille/HandyTech/braille.c:885:7: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
brltty-6.8/minimal/Drivers/Braille/HandyTech/braille.c:877:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Drivers/Braille/HandyTech/braille.c:877:6: branch_true: ...to here
brltty-6.8/minimal/Drivers/Braille/HandyTech/braille.c:878:12: branch_true: following ‘true’ branch (when ‘size != 0’)...
brltty-6.8/minimal/Drivers/Braille/HandyTech/braille.c:878:18: branch_true: ...to here
brltty-6.8/minimal/Drivers/Braille/HandyTech/braille.c:880:21: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Drivers/Braille/HandyTech/braille.c:880:29: branch_false: ...to here
brltty-6.8/minimal/Drivers/Braille/HandyTech/braille.c:885:7: danger: write of ‘(unsigned char)hidInDataSize + 254’ bytes at offset ‘2’ exceeds the buffer
Error: GCC_ANALYZER_WARNING (CWE-688): [#def324]
brltty-6.8/minimal/Drivers/Braille/MDV/braille.c:192:10: warning[-Wanalyzer-null-argument]: use of NULL ‘data’ where non-null expected
brltty-6.8/minimal/Drivers/Braille/MDV/braille.c:298:1: enter_function: entry to ‘writeIdentifyRequest’
brltty-6.8/minimal/Drivers/Braille/MDV/braille.c:299:10: call_function: calling ‘writePacket’ from ‘writeIdentifyRequest’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def325]
brltty-6.8/minimal/Drivers/Braille/TTY/braille.c:252:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
brltty-6.8/minimal/Drivers/Braille/TTY/braille.c:273:1: enter_function: entry to ‘brl_writeWindow’
brltty-6.8/minimal/Drivers/Braille/TTY/braille.c:285:6: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Drivers/Braille/TTY/braille.c:295:3: branch_false: ...to here
brltty-6.8/minimal/Drivers/Braille/TTY/braille.c:301:30: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Drivers/Braille/TTY/braille.c:302:35: branch_true: ...to here
brltty-6.8/minimal/Drivers/Braille/TTY/braille.c:305:35: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Drivers/Braille/TTY/braille.c:319:7: branch_false: ...to here
brltty-6.8/minimal/Drivers/Braille/TTY/braille.c:320:7: call_function: calling ‘writeText’ from ‘brl_writeWindow’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def326]
brltty-6.8/minimal/Drivers/Braille/TechniBraille/braille.c:86:10: warning[-Wanalyzer-null-argument]: use of NULL ‘data’ where non-null expected
brltty-6.8/minimal/Drivers/Braille/TechniBraille/braille.c:141:1: enter_function: entry to ‘brl_construct’
brltty-6.8/minimal/Drivers/Braille/TechniBraille/braille.c:142:6: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Drivers/Braille/TechniBraille/braille.c:147:23: branch_false: ...to here
brltty-6.8/minimal/Drivers/Braille/TechniBraille/braille.c:147:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Drivers/Braille/TechniBraille/braille.c:149:5: branch_true: ...to here
brltty-6.8/minimal/Drivers/Braille/TechniBraille/braille.c:151:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Drivers/Braille/TechniBraille/braille.c:152:11: branch_true: ...to here
brltty-6.8/minimal/Drivers/Braille/TechniBraille/braille.c:152:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Drivers/Braille/TechniBraille/braille.c:153:13: branch_true: ...to here
brltty-6.8/minimal/Drivers/Braille/TechniBraille/braille.c:153:13: call_function: calling ‘writePacket’ from ‘brl_construct’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def327]
brltty-6.8/minimal/Drivers/Braille/Virtual/braille.c:572:7: warning[-Wanalyzer-malloc-leak]: leak of ‘readCommandLine()’
brltty-6.8/minimal/Drivers/Braille/Virtual/braille.c:1195:1: enter_function: entry to ‘brl_readCommand’
brltty-6.8/minimal/Drivers/Braille/Virtual/braille.c:1197:16: call_function: calling ‘readCommandLine’ from ‘brl_readCommand’
brltty-6.8/minimal/Drivers/Braille/Virtual/braille.c:1197:16: return_function: returning to ‘brl_readCommand’ from ‘readCommandLine’
brltty-6.8/minimal/Drivers/Braille/Virtual/braille.c:1199:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Drivers/Braille/Virtual/braille.c:1201:5: branch_true: ...to here
brltty-6.8/minimal/Drivers/Braille/Virtual/braille.c:1201:5: throw: if ‘logMessage’ throws an exception...
brltty-6.8/minimal/Drivers/Braille/Virtual/braille.c:572:7: danger: ‘readCommandLine()’ leaks here; was allocated at [(14)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/13)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def328]
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_main.c:94:5: warning[-Wanalyzer-malloc-leak]: leak of ‘keyname’
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_main.c:175:5: enter_function: entry to ‘main’
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_main.c:182:11: call_function: calling ‘CheckSendOrRecv’ from ‘main’
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_main.c:182:11: return_function: returning to ‘main’ from ‘CheckSendOrRecv’
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_main.c:185:5: branch_true: following ‘true’ branch (when ‘home’ is non-NULL)...
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_main.c:185:29: branch_true: ...to here
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_main.c:189:3: call_function: calling ‘Parse’ from ‘main’
Error: CPPCHECK_WARNING (CWE-476): [#def329]
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_main.c:95: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: keyname
Error: GCC_ANALYZER_WARNING (CWE-688): [#def330]
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_main.c:95:5: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘keyname’ where non-null expected
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_main.c:175:5: enter_function: entry to ‘main’
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_main.c:182:11: call_function: calling ‘CheckSendOrRecv’ from ‘main’
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_main.c:182:11: return_function: returning to ‘main’ from ‘CheckSendOrRecv’
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_main.c:185:5: branch_true: following ‘true’ branch (when ‘home’ is non-NULL)...
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_main.c:185:29: branch_true: ...to here
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_main.c:189:3: call_function: calling ‘Parse’ from ‘main’
Error: CPPCHECK_WARNING (CWE-476): [#def331]
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_main.c:98: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: socketport
Error: GCC_ANALYZER_WARNING (CWE-688): [#def332]
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_main.c:98:5: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘socketport’ where non-null expected
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_main.c:175:5: enter_function: entry to ‘main’
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_main.c:182:11: call_function: calling ‘CheckSendOrRecv’ from ‘main’
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_main.c:182:11: return_function: returning to ‘main’ from ‘CheckSendOrRecv’
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_main.c:185:5: branch_true: following ‘true’ branch (when ‘home’ is non-NULL)...
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_main.c:185:29: branch_true: ...to here
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_main.c:189:3: call_function: calling ‘Parse’ from ‘main’
Error: CPPCHECK_WARNING (CWE-476): [#def333]
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_main.c:101: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: visiobases_ext
Error: GCC_ANALYZER_WARNING (CWE-688): [#def334]
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_main.c:101:5: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘visiobases_ext’ where non-null expected
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_main.c:175:5: enter_function: entry to ‘main’
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_main.c:182:11: call_function: calling ‘CheckSendOrRecv’ from ‘main’
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_main.c:182:11: return_function: returning to ‘main’ from ‘CheckSendOrRecv’
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_main.c:185:5: branch_true: following ‘true’ branch (when ‘home’ is non-NULL)...
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_main.c:185:29: branch_true: ...to here
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_main.c:189:3: call_function: calling ‘Parse’ from ‘main’
Error: CPPCHECK_WARNING (CWE-476): [#def335]
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_main.c:102: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: visiobases_ext
Error: CPPCHECK_WARNING (CWE-476): [#def336]
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_main.c:105: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: visiobases_dir
Error: GCC_ANALYZER_WARNING (CWE-688): [#def337]
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_main.c:105:5: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘visiobases_dir’ where non-null expected
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_main.c:175:5: enter_function: entry to ‘main’
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_main.c:182:11: call_function: calling ‘CheckSendOrRecv’ from ‘main’
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_main.c:182:11: return_function: returning to ‘main’ from ‘CheckSendOrRecv’
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_main.c:185:5: branch_true: following ‘true’ branch (when ‘home’ is non-NULL)...
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_main.c:185:29: branch_true: ...to here
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_main.c:189:3: call_function: calling ‘Parse’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def338]
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:107:7: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:301:6: enter_function: entry to ‘fileput’
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:318:7: call_function: calling ‘tryToFind’ from ‘fileput’
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:318:7: return_function: returning to ‘fileput’ from ‘tryToFind’
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:318:5: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:323:1: branch_false: ...to here
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:324:2: call_function: inlined call to ‘transfer_init’ from ‘fileput’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def339]
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:107:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:301:6: enter_function: entry to ‘fileput’
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:318:7: call_function: calling ‘tryToFind’ from ‘fileput’
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:318:7: return_function: returning to ‘fileput’ from ‘tryToFind’
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:318:5: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:323:1: branch_false: ...to here
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:324:2: call_function: inlined call to ‘transfer_init’ from ‘fileput’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def340]
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:277:11: warning[-Wanalyzer-malloc-leak]: leak of ‘f2’
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:301:6: enter_function: entry to ‘fileput’
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:307:5: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:307:25: branch_true: ...to here
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:308:14: acquire_memory: allocated here
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:311:7: call_function: calling ‘tryToFind’ from ‘fileput’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def341]
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:280:12: warning[-Wanalyzer-malloc-leak]: leak of ‘f2’
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:301:6: enter_function: entry to ‘fileput’
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:307:5: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:307:25: branch_true: ...to here
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:308:14: acquire_memory: allocated here
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:311:7: call_function: calling ‘tryToFind’ from ‘fileput’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def342]
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:283:13: warning[-Wanalyzer-malloc-leak]: leak of ‘f2’
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:301:6: enter_function: entry to ‘fileput’
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:307:5: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:307:25: branch_true: ...to here
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:308:14: acquire_memory: allocated here
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:311:7: call_function: calling ‘tryToFind’ from ‘fileput’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def343]
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:286:14: warning[-Wanalyzer-malloc-leak]: leak of ‘f2’
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:301:6: enter_function: entry to ‘fileput’
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:307:5: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:307:25: branch_true: ...to here
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:308:14: acquire_memory: allocated here
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:311:7: call_function: calling ‘tryToFind’ from ‘fileput’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def344]
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:289:15: warning[-Wanalyzer-malloc-leak]: leak of ‘f2’
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:301:6: enter_function: entry to ‘fileput’
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:307:5: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:307:25: branch_true: ...to here
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:308:14: acquire_memory: allocated here
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:311:7: call_function: calling ‘tryToFind’ from ‘fileput’
Error: CPPCHECK_WARNING (CWE-476): [#def345]
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:309: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: f2
Error: GCC_ANALYZER_WARNING (CWE-688): [#def346]
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:309:3: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘f2’ where non-null expected
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:307:5: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:307:25: branch_true: ...to here
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:308:14: acquire_memory: this call could return NULL
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:309:3: danger: argument 1 (‘f2’) from [(3)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/2) could be NULL where non-null expected
Error: CPPCHECK_WARNING (CWE-476): [#def347]
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:310: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: f2
Error: GCC_ANALYZER_WARNING (CWE-775): [#def348]
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:344:3: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:301:6: enter_function: entry to ‘fileput’
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:318:7: call_function: calling ‘tryToFind’ from ‘fileput’
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:318:7: return_function: returning to ‘fileput’ from ‘tryToFind’
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:318:5: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:323:1: branch_false: ...to here
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:324:2: call_function: inlined call to ‘transfer_init’ from ‘fileput’
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:326:2: branch_true: ...to here
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:344:3: throw: if ‘brlapi_sendRaw’ throws an exception...
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:344:3: danger: ‘fd’ leaks here; was opened at [(8)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def349]
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:346:3: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:301:6: enter_function: entry to ‘fileput’
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:318:7: call_function: calling ‘tryToFind’ from ‘fileput’
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:318:7: return_function: returning to ‘fileput’ from ‘tryToFind’
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:318:5: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:323:1: branch_false: ...to here
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:324:2: call_function: inlined call to ‘transfer_init’ from ‘fileput’
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:326:2: branch_true: ...to here
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:344:3: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:345:3: branch_false: ...to here
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:346:3: throw: if ‘fflush’ throws an exception...
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:346:3: danger: ‘fd’ leaks here; was opened at [(8)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def350]
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:347:3: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:301:6: enter_function: entry to ‘fileput’
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:318:7: call_function: calling ‘tryToFind’ from ‘fileput’
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:318:7: return_function: returning to ‘fileput’ from ‘tryToFind’
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:318:5: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:323:1: branch_false: ...to here
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:324:2: call_function: inlined call to ‘transfer_init’ from ‘fileput’
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:326:2: branch_true: ...to here
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:344:3: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:345:3: branch_false: ...to here
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:347:3: throw: if ‘brlapi_recvRaw’ throws an exception...
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:347:3: danger: ‘fd’ leaks here; was opened at [(8)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def351]
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:371:2: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:301:6: enter_function: entry to ‘fileput’
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:318:7: call_function: calling ‘tryToFind’ from ‘fileput’
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:318:7: return_function: returning to ‘fileput’ from ‘tryToFind’
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:318:5: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:323:1: branch_false: ...to here
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:324:2: call_function: inlined call to ‘transfer_init’ from ‘fileput’
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:326:2: branch_true: ...to here
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:344:3: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:345:3: branch_false: ...to here
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:347:3: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:371:2: throw: if ‘close’ throws an exception...
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:371:2: danger: ‘fd’ leaks here; was opened at [(8)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def352]
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:402:2: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:301:6: enter_function: entry to ‘fileput’
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:318:7: call_function: calling ‘tryToFind’ from ‘fileput’
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:318:7: return_function: returning to ‘fileput’ from ‘tryToFind’
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:318:5: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:323:1: branch_false: ...to here
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:324:2: call_function: inlined call to ‘transfer_init’ from ‘fileput’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def353]
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:403:2: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:301:6: enter_function: entry to ‘fileput’
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:318:7: call_function: calling ‘tryToFind’ from ‘fileput’
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:318:7: return_function: returning to ‘fileput’ from ‘tryToFind’
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:318:5: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:323:1: branch_false: ...to here
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:324:2: call_function: inlined call to ‘transfer_init’ from ‘fileput’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def354]
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:404:2: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:301:6: enter_function: entry to ‘fileput’
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:318:7: call_function: calling ‘tryToFind’ from ‘fileput’
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:318:7: return_function: returning to ‘fileput’ from ‘tryToFind’
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:318:5: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:323:1: branch_false: ...to here
brltty-6.8/minimal/Drivers/Braille/VisioBraille/vstp_transfer.c:324:2: call_function: inlined call to ‘transfer_init’ from ‘fileput’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def355]
brltty-6.8/minimal/Drivers/Braille/Voyager/braille.c:255:20: warning[-Wanalyzer-malloc-leak]: leak of ‘getUsbString(brl, request)’
brltty-6.8/minimal/Drivers/Braille/Voyager/braille.c:569:1: enter_function: entry to ‘logUsbString’
brltty-6.8/minimal/Drivers/Braille/Voyager/braille.c:570:21: call_function: calling ‘getUsbString’ from ‘logUsbString’
brltty-6.8/minimal/Drivers/Braille/Voyager/braille.c:570:21: return_function: returning to ‘logUsbString’ from ‘getUsbString’
brltty-6.8/minimal/Drivers/Braille/Voyager/braille.c:572:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Drivers/Braille/Voyager/braille.c:573:5: branch_true: ...to here
brltty-6.8/minimal/Drivers/Braille/Voyager/braille.c:573:5: throw: if ‘logMessage’ throws an exception...
brltty-6.8/minimal/Drivers/Braille/Voyager/braille.c:255:20: danger: ‘getUsbString(brl, request)’ leaks here; was allocated at [(6)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/5)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def356]
brltty-6.8/minimal/Drivers/Braille/XWindow/braille.c:782:16: warning[-Wanalyzer-malloc-leak]: leak of ‘argv’
brltty-6.8/minimal/Drivers/Braille/XWindow/braille.c:778:15: acquire_memory: allocated here
brltty-6.8/minimal/Drivers/Braille/XWindow/braille.c:778:6: branch_true: following ‘true’ branch (when ‘argv’ is non-NULL)...
brltty-6.8/minimal/Drivers/Braille/XWindow/braille.c:779:5: branch_true: ...to here
brltty-6.8/minimal/Drivers/Braille/XWindow/braille.c:782:16: throw: if ‘XtVaOpenApplication’ throws an exception...
brltty-6.8/minimal/Drivers/Braille/XWindow/braille.c:782:16: danger: ‘argv’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def357]
brltty-6.8/minimal/Drivers/Braille/XWindow/braille.c:1141:38: warning[-Wanalyzer-malloc-leak]: leak of ‘args2’
brltty-6.8/minimal/Drivers/Braille/XWindow/braille.c:1121:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Drivers/Braille/XWindow/braille.c:1126:22: branch_true: ...to here
brltty-6.8/minimal/Drivers/Braille/XWindow/braille.c:1128:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Drivers/Braille/XWindow/braille.c:1129:39: branch_true: ...to here
brltty-6.8/minimal/Drivers/Braille/XWindow/braille.c:1131:12: branch_true: following ‘true’ branch (when ‘args2’ is non-NULL)...
brltty-6.8/minimal/Drivers/Braille/XWindow/braille.c:1132:31: branch_true: ...to here
brltty-6.8/minimal/Drivers/Braille/XWindow/braille.c:1136:14: branch_true: following ‘true’ branch (when ‘name’ is non-NULL)...
brltty-6.8/minimal/Drivers/Braille/XWindow/braille.c:1137:37: branch_true: ...to here
brltty-6.8/minimal/Drivers/Braille/XWindow/braille.c:1141:16: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Drivers/Braille/XWindow/braille.c:1141:38: branch_true: ...to here
brltty-6.8/minimal/Drivers/Braille/XWindow/braille.c:1141:38: throw: if ‘deallocateStrings’ throws an exception...
brltty-6.8/minimal/Drivers/Braille/XWindow/braille.c:1141:38: danger: ‘args2’ leaks here; was allocated at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def358]
brltty-6.8/minimal/Drivers/Braille/XWindow/braille.c:1141:38: warning[-Wanalyzer-malloc-leak]: leak of ‘name’
brltty-6.8/minimal/Drivers/Braille/XWindow/braille.c:1121:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Drivers/Braille/XWindow/braille.c:1126:22: branch_true: ...to here
brltty-6.8/minimal/Drivers/Braille/XWindow/braille.c:1128:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Drivers/Braille/XWindow/braille.c:1129:39: branch_true: ...to here
brltty-6.8/minimal/Drivers/Braille/XWindow/braille.c:1131:12: branch_true: following ‘true’ branch (when ‘args2’ is non-NULL)...
brltty-6.8/minimal/Drivers/Braille/XWindow/braille.c:1132:31: branch_true: ...to here
brltty-6.8/minimal/Drivers/Braille/XWindow/braille.c:1132:24: acquire_memory: allocated here
brltty-6.8/minimal/Drivers/Braille/XWindow/braille.c:1136:14: branch_true: following ‘true’ branch (when ‘name’ is non-NULL)...
brltty-6.8/minimal/Drivers/Braille/XWindow/braille.c:1137:37: branch_true: ...to here
brltty-6.8/minimal/Drivers/Braille/XWindow/braille.c:1141:16: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Drivers/Braille/XWindow/braille.c:1141:38: branch_true: ...to here
brltty-6.8/minimal/Drivers/Braille/XWindow/braille.c:1141:38: throw: if ‘deallocateStrings’ throws an exception...
brltty-6.8/minimal/Drivers/Braille/XWindow/braille.c:1141:38: danger: ‘name’ leaks here; was allocated at [(8)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def359]
brltty-6.8/minimal/Drivers/Braille/XWindow/braille.c:1148:13: warning[-Wanalyzer-malloc-leak]: leak of ‘args2’
brltty-6.8/minimal/Drivers/Braille/XWindow/braille.c:1121:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Drivers/Braille/XWindow/braille.c:1126:22: branch_true: ...to here
brltty-6.8/minimal/Drivers/Braille/XWindow/braille.c:1128:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Drivers/Braille/XWindow/braille.c:1129:39: branch_true: ...to here
brltty-6.8/minimal/Drivers/Braille/XWindow/braille.c:1131:12: branch_true: following ‘true’ branch (when ‘args2’ is non-NULL)...
brltty-6.8/minimal/Drivers/Braille/XWindow/braille.c:1132:31: branch_true: ...to here
brltty-6.8/minimal/Drivers/Braille/XWindow/braille.c:1136:14: branch_false: following ‘false’ branch (when ‘name’ is NULL)...
brltty-6.8/minimal/Drivers/Braille/XWindow/braille.c:1148:13: branch_false: ...to here
brltty-6.8/minimal/Drivers/Braille/XWindow/braille.c:1148:13: throw: if ‘logMallocError’ throws an exception...
brltty-6.8/minimal/Drivers/Braille/XWindow/braille.c:1148:13: danger: ‘args2’ leaks here; was allocated at [(5)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def360]
brltty-6.8/minimal/Drivers/Braille/XWindow/braille.c:1151:22: warning[-Wanalyzer-malloc-leak]: leak of ‘args2’
brltty-6.8/minimal/Drivers/Braille/XWindow/braille.c:1121:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Drivers/Braille/XWindow/braille.c:1126:22: branch_true: ...to here
brltty-6.8/minimal/Drivers/Braille/XWindow/braille.c:1128:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Drivers/Braille/XWindow/braille.c:1129:39: branch_true: ...to here
brltty-6.8/minimal/Drivers/Braille/XWindow/braille.c:1131:12: branch_true: following ‘true’ branch (when ‘args2’ is non-NULL)...
brltty-6.8/minimal/Drivers/Braille/XWindow/braille.c:1132:31: branch_true: ...to here
brltty-6.8/minimal/Drivers/Braille/XWindow/braille.c:1136:14: branch_false: following ‘false’ branch (when ‘name’ is NULL)...
brltty-6.8/minimal/Drivers/Braille/XWindow/braille.c:1148:13: branch_false: ...to here
brltty-6.8/minimal/Drivers/Braille/XWindow/braille.c:1151:22: throw: if ‘deallocateStrings’ throws an exception...
brltty-6.8/minimal/Drivers/Braille/XWindow/braille.c:1151:22: danger: ‘args2’ leaks here; was allocated at [(5)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/4)
Error: CPPCHECK_WARNING (CWE-401): [#def361]
brltty-6.8/minimal/Drivers/Screen/AtSpi2/a2_screen.c:248: error[memleakOnRealloc]: Common realloc mistake: 'curRows' nulled but not freed upon failure
Error: CPPCHECK_WARNING (CWE-401): [#def362]
brltty-6.8/minimal/Drivers/Screen/AtSpi2/a2_screen.c:249: error[memleakOnRealloc]: Common realloc mistake: 'curRowLengths' nulled but not freed upon failure
Error: CPPCHECK_WARNING (CWE-401): [#def363]
brltty-6.8/minimal/Drivers/Screen/AtSpi2/a2_screen.c:261: error[memleakOnRealloc]: Common realloc mistake: 'curRows' nulled but not freed upon failure
Error: CPPCHECK_WARNING (CWE-401): [#def364]
brltty-6.8/minimal/Drivers/Screen/AtSpi2/a2_screen.c:262: error[memleakOnRealloc]: Common realloc mistake: 'curRowLengths' nulled but not freed upon failure
Error: CPPCHECK_WARNING (CWE-476): [#def365]
brltty-6.8/minimal/Drivers/Screen/AtSpi2/a2_screen.c:788: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: ret
Error: CPPCHECK_WARNING (CWE-476): [#def366]
brltty-6.8/minimal/Drivers/Screen/AtSpi2/a2_screen.c:1336: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: a2Watch
Error: GCC_ANALYZER_WARNING (CWE-476): [#def367]
brltty-6.8/minimal/Drivers/Screen/AtSpi2/a2_screen.c:1336:3: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘a2Watch’
brltty-6.8/minimal/Drivers/Screen/AtSpi2/a2_screen.c:1335:29: acquire_memory: this call could return NULL
brltty-6.8/minimal/Drivers/Screen/AtSpi2/a2_screen.c:1336:3: danger: ‘a2Watch’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def368]
brltty-6.8/minimal/Drivers/Screen/AtSpi2/a2_screen.c:1337:15: warning[-Wanalyzer-malloc-leak]: leak of ‘a2Watch’
brltty-6.8/minimal/Drivers/Screen/AtSpi2/a2_screen.c:1335:29: acquire_memory: allocated here
brltty-6.8/minimal/Drivers/Screen/AtSpi2/a2_screen.c:1337:15: throw: if ‘dbus_watch_get_flags’ throws an exception...
brltty-6.8/minimal/Drivers/Screen/AtSpi2/a2_screen.c:1337:15: danger: ‘a2Watch’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def369]
brltty-6.8/minimal/Drivers/Screen/AtSpi2/a2_screen.c:1338:7: warning[-Wanalyzer-malloc-leak]: leak of ‘a2Watch’
brltty-6.8/minimal/Drivers/Screen/AtSpi2/a2_screen.c:1335:29: acquire_memory: allocated here
brltty-6.8/minimal/Drivers/Screen/AtSpi2/a2_screen.c:1338:7: throw: if ‘dbus_watch_get_enabled’ throws an exception...
brltty-6.8/minimal/Drivers/Screen/AtSpi2/a2_screen.c:1338:7: danger: ‘a2Watch’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def370]
brltty-6.8/minimal/Drivers/Screen/AtSpi2/a2_screen.c:1341:7: warning[-Wanalyzer-malloc-leak]: leak of ‘a2Watch’
brltty-6.8/minimal/Drivers/Screen/AtSpi2/a2_screen.c:1335:29: acquire_memory: allocated here
brltty-6.8/minimal/Drivers/Screen/AtSpi2/a2_screen.c:1338:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Drivers/Screen/AtSpi2/a2_screen.c:1338:6: branch_true: ...to here
brltty-6.8/minimal/Drivers/Screen/AtSpi2/a2_screen.c:1340:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Drivers/Screen/AtSpi2/a2_screen.c:1341:54: branch_true: ...to here
brltty-6.8/minimal/Drivers/Screen/AtSpi2/a2_screen.c:1341:7: throw: if ‘asyncMonitorFileInput’ throws an exception...
brltty-6.8/minimal/Drivers/Screen/AtSpi2/a2_screen.c:1341:7: danger: ‘a2Watch’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def371]
brltty-6.8/minimal/Drivers/Screen/AtSpi2/a2_screen.c:1341:54: warning[-Wanalyzer-malloc-leak]: leak of ‘a2Watch’
brltty-6.8/minimal/Drivers/Screen/AtSpi2/a2_screen.c:1335:29: acquire_memory: allocated here
brltty-6.8/minimal/Drivers/Screen/AtSpi2/a2_screen.c:1338:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Drivers/Screen/AtSpi2/a2_screen.c:1338:6: branch_true: ...to here
brltty-6.8/minimal/Drivers/Screen/AtSpi2/a2_screen.c:1340:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Drivers/Screen/AtSpi2/a2_screen.c:1341:54: branch_true: ...to here
brltty-6.8/minimal/Drivers/Screen/AtSpi2/a2_screen.c:1341:54: throw: if ‘dbus_watch_get_unix_fd’ throws an exception...
brltty-6.8/minimal/Drivers/Screen/AtSpi2/a2_screen.c:1341:54: danger: ‘a2Watch’ leaks here; was allocated at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def372]
brltty-6.8/minimal/Drivers/Screen/AtSpi2/a2_screen.c:1343:7: warning[-Wanalyzer-malloc-leak]: leak of ‘a2Watch’
brltty-6.8/minimal/Drivers/Screen/AtSpi2/a2_screen.c:1335:29: acquire_memory: allocated here
brltty-6.8/minimal/Drivers/Screen/AtSpi2/a2_screen.c:1338:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Drivers/Screen/AtSpi2/a2_screen.c:1338:6: branch_true: ...to here
brltty-6.8/minimal/Drivers/Screen/AtSpi2/a2_screen.c:1340:8: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Drivers/Screen/AtSpi2/a2_screen.c:1340:8: branch_false: ...to here
brltty-6.8/minimal/Drivers/Screen/AtSpi2/a2_screen.c:1342:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Drivers/Screen/AtSpi2/a2_screen.c:1343:56: branch_true: ...to here
brltty-6.8/minimal/Drivers/Screen/AtSpi2/a2_screen.c:1343:7: throw: if ‘asyncMonitorFileOutput’ throws an exception...
brltty-6.8/minimal/Drivers/Screen/AtSpi2/a2_screen.c:1343:7: danger: ‘a2Watch’ leaks here; was allocated at [(1)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def373]
brltty-6.8/minimal/Drivers/Screen/AtSpi2/a2_screen.c:1343:56: warning[-Wanalyzer-malloc-leak]: leak of ‘a2Watch’
brltty-6.8/minimal/Drivers/Screen/AtSpi2/a2_screen.c:1335:29: acquire_memory: allocated here
brltty-6.8/minimal/Drivers/Screen/AtSpi2/a2_screen.c:1338:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Drivers/Screen/AtSpi2/a2_screen.c:1338:6: branch_true: ...to here
brltty-6.8/minimal/Drivers/Screen/AtSpi2/a2_screen.c:1340:8: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Drivers/Screen/AtSpi2/a2_screen.c:1340:8: branch_false: ...to here
brltty-6.8/minimal/Drivers/Screen/AtSpi2/a2_screen.c:1342:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Drivers/Screen/AtSpi2/a2_screen.c:1343:56: branch_true: ...to here
brltty-6.8/minimal/Drivers/Screen/AtSpi2/a2_screen.c:1343:56: throw: if ‘dbus_watch_get_unix_fd’ throws an exception...
brltty-6.8/minimal/Drivers/Screen/AtSpi2/a2_screen.c:1343:56: danger: ‘a2Watch’ leaks here; was allocated at [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def374]
brltty-6.8/minimal/Drivers/Screen/AtSpi2/a2_screen.c:1345:3: warning[-Wanalyzer-malloc-leak]: leak of ‘a2Watch’
brltty-6.8/minimal/Drivers/Screen/AtSpi2/a2_screen.c:1335:29: acquire_memory: allocated here
brltty-6.8/minimal/Drivers/Screen/AtSpi2/a2_screen.c:1345:3: throw: if ‘dbus_watch_set_data’ throws an exception...
brltty-6.8/minimal/Drivers/Screen/AtSpi2/a2_screen.c:1345:3: danger: ‘a2Watch’ leaks here; was allocated at [(1)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def375]
brltty-6.8/minimal/Drivers/Screen/AtSpi2/a2_screen.c:1403: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: a2Timeout
Error: GCC_ANALYZER_WARNING (CWE-476): [#def376]
brltty-6.8/minimal/Drivers/Screen/AtSpi2/a2_screen.c:1403:3: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘a2Timeout’
brltty-6.8/minimal/Drivers/Screen/AtSpi2/a2_screen.c:1402:33: acquire_memory: this call could return NULL
brltty-6.8/minimal/Drivers/Screen/AtSpi2/a2_screen.c:1403:3: danger: ‘a2Timeout’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def377]
brltty-6.8/minimal/Drivers/Screen/AtSpi2/a2_screen.c:1404:7: warning[-Wanalyzer-malloc-leak]: leak of ‘a2Timeout’
brltty-6.8/minimal/Drivers/Screen/AtSpi2/a2_screen.c:1402:33: acquire_memory: allocated here
brltty-6.8/minimal/Drivers/Screen/AtSpi2/a2_screen.c:1404:7: throw: if ‘dbus_timeout_get_enabled’ throws an exception...
brltty-6.8/minimal/Drivers/Screen/AtSpi2/a2_screen.c:1404:7: danger: ‘a2Timeout’ leaks here; was allocated at [(1)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def378]
brltty-6.8/minimal/Drivers/Screen/AtSpi2/a2_screen.c:1405:5: warning[-Wanalyzer-malloc-leak]: leak of ‘a2Timeout’
brltty-6.8/minimal/Drivers/Screen/AtSpi2/a2_screen.c:1402:33: acquire_memory: allocated here
brltty-6.8/minimal/Drivers/Screen/AtSpi2/a2_screen.c:1404:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Drivers/Screen/AtSpi2/a2_screen.c:1405:5: branch_true: ...to here
brltty-6.8/minimal/Drivers/Screen/AtSpi2/a2_screen.c:1405:5: throw: if ‘dbus_timeout_get_interval’ throws an exception...
brltty-6.8/minimal/Drivers/Screen/AtSpi2/a2_screen.c:1405:5: danger: ‘a2Timeout’ leaks here; was allocated at [(1)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def379]
brltty-6.8/minimal/Drivers/Screen/AtSpi2/a2_screen.c:1406:3: warning[-Wanalyzer-malloc-leak]: leak of ‘a2Timeout’
brltty-6.8/minimal/Drivers/Screen/AtSpi2/a2_screen.c:1402:33: acquire_memory: allocated here
brltty-6.8/minimal/Drivers/Screen/AtSpi2/a2_screen.c:1404:6: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Drivers/Screen/AtSpi2/a2_screen.c:1406:3: branch_false: ...to here
brltty-6.8/minimal/Drivers/Screen/AtSpi2/a2_screen.c:1406:3: throw: if ‘dbus_timeout_set_data’ throws an exception...
brltty-6.8/minimal/Drivers/Screen/AtSpi2/a2_screen.c:1406:3: danger: ‘a2Timeout’ leaks here; was allocated at [(1)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def380]
brltty-6.8/minimal/Drivers/Screen/FileViewer/screen.c:93:7: warning[-Wanalyzer-malloc-leak]: leak of ‘text’
brltty-6.8/minimal/Drivers/Screen/FileViewer/screen.c:341:1: enter_function: entry to ‘construct_FileViewerScreen’
brltty-6.8/minimal/Drivers/Screen/FileViewer/screen.c:349:3: call_function: calling ‘loadFile’ from ‘construct_FileViewerScreen’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def381]
brltty-6.8/minimal/Drivers/Screen/FileViewer/screen.c:110:33: warning[-Wanalyzer-malloc-leak]: leak of ‘text’
brltty-6.8/minimal/Drivers/Screen/FileViewer/screen.c:341:1: enter_function: entry to ‘construct_FileViewerScreen’
brltty-6.8/minimal/Drivers/Screen/FileViewer/screen.c:349:3: call_function: calling ‘loadFile’ from ‘construct_FileViewerScreen’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def382]
brltty-6.8/minimal/Drivers/Screen/FileViewer/screen.c:114:5: warning[-Wanalyzer-malloc-leak]: leak of ‘text’
brltty-6.8/minimal/Drivers/Screen/FileViewer/screen.c:341:1: enter_function: entry to ‘construct_FileViewerScreen’
brltty-6.8/minimal/Drivers/Screen/FileViewer/screen.c:349:3: call_function: calling ‘loadFile’ from ‘construct_FileViewerScreen’
Error: COMPILER_WARNING (CWE-704): [#def383]
brltty-6.8/minimal/Drivers/Screen/FileViewer/screen.c: scope_hint: In function ‘setScreenContent’
brltty-6.8/minimal/Drivers/Screen/FileViewer/screen.c:120:23: warning[-Wdiscarded-qualifiers]: initialization discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def384]
brltty-6.8/minimal/Drivers/Screen/FileViewer/screen.c:120:23: warning[-Wdiscarded-qualifiers]: initialization discards ‘const’ qualifier from pointer target type
Error: GCC_ANALYZER_WARNING (CWE-401): [#def385]
brltty-6.8/minimal/Drivers/Screen/FileViewer/screen.c:133:5: warning[-Wanalyzer-malloc-leak]: leak of ‘text’
brltty-6.8/minimal/Drivers/Screen/FileViewer/screen.c:341:1: enter_function: entry to ‘construct_FileViewerScreen’
brltty-6.8/minimal/Drivers/Screen/FileViewer/screen.c:349:3: call_function: calling ‘loadFile’ from ‘construct_FileViewerScreen’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def386]
brltty-6.8/minimal/Drivers/Screen/FileViewer/screen.c:151:30: warning[-Wanalyzer-malloc-leak]: leak of ‘text’
brltty-6.8/minimal/Drivers/Screen/FileViewer/screen.c:341:1: enter_function: entry to ‘construct_FileViewerScreen’
brltty-6.8/minimal/Drivers/Screen/FileViewer/screen.c:349:3: call_function: calling ‘loadFile’ from ‘construct_FileViewerScreen’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def387]
brltty-6.8/minimal/Drivers/Screen/FileViewer/screen.c:157:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(filePath, 0)’
brltty-6.8/minimal/Drivers/Screen/FileViewer/screen.c:341:1: enter_function: entry to ‘construct_FileViewerScreen’
brltty-6.8/minimal/Drivers/Screen/FileViewer/screen.c:349:3: call_function: calling ‘loadFile’ from ‘construct_FileViewerScreen’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def388]
brltty-6.8/minimal/Drivers/Screen/FileViewer/screen.c:161:23: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(filePath, 0)’
brltty-6.8/minimal/Drivers/Screen/FileViewer/screen.c:341:1: enter_function: entry to ‘construct_FileViewerScreen’
brltty-6.8/minimal/Drivers/Screen/FileViewer/screen.c:349:3: call_function: calling ‘loadFile’ from ‘construct_FileViewerScreen’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def389]
brltty-6.8/minimal/Drivers/Screen/FileViewer/screen.c:164:11: warning[-Wanalyzer-malloc-leak]: leak of ‘text’
brltty-6.8/minimal/Drivers/Screen/FileViewer/screen.c:341:1: enter_function: entry to ‘construct_FileViewerScreen’
brltty-6.8/minimal/Drivers/Screen/FileViewer/screen.c:349:3: call_function: calling ‘loadFile’ from ‘construct_FileViewerScreen’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def390]
brltty-6.8/minimal/Drivers/Screen/Linux/screen.c:435:14: warning[-Wanalyzer-malloc-leak]: leak of ‘vtName(consoleName, vt)’
brltty-6.8/minimal/Drivers/Screen/Linux/screen.c:2750:1: enter_function: entry to ‘selectRegion’
brltty-6.8/minimal/Drivers/Screen/Linux/screen.c:2751:7: call_function: calling ‘controlCurrentConsole’ from ‘selectRegion’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def391]
brltty-6.8/minimal/Drivers/Screen/Linux/screen.c:435:14: warning[-Wanalyzer-malloc-leak]: leak of ‘vtName(screenName, vt)’
brltty-6.8/minimal/Drivers/Screen/Linux/screen.c:1816:1: enter_function: entry to ‘isUnusedConsole’
brltty-6.8/minimal/Drivers/Screen/Linux/screen.c:1820:7: call_function: calling ‘openScreenDevice’ from ‘isUnusedConsole’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def392]
brltty-6.8/minimal/Drivers/Screen/Linux/screen.c:435:14: warning[-Wanalyzer-malloc-leak]: leak of ‘vtName(unicodeDeviceName, vt)’
brltty-6.8/minimal/Drivers/Screen/Linux/screen.c:2040:1: enter_function: entry to ‘describe_LinuxScreen’
brltty-6.8/minimal/Drivers/Screen/Linux/screen.c:2041:6: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Drivers/Screen/Linux/screen.c:2046:7: branch_false: ...to here
brltty-6.8/minimal/Drivers/Screen/Linux/screen.c:2046:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Drivers/Screen/Linux/screen.c:2047:9: branch_true: ...to here
brltty-6.8/minimal/Drivers/Screen/Linux/screen.c:2047:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Drivers/Screen/Linux/screen.c:2048:12: branch_true: ...to here
brltty-6.8/minimal/Drivers/Screen/Linux/screen.c:2048:12: call_function: calling ‘getScreenProperties’ from ‘describe_LinuxScreen’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def393]
brltty-6.8/minimal/Drivers/Screen/Linux/screen.c:476:19: warning[-Wanalyzer-malloc-leak]: leak of ‘vtName(consoleName, vt)’
brltty-6.8/minimal/Drivers/Screen/Linux/screen.c:2805:1: enter_function: entry to ‘switchVirtualTerminal_LinuxScreen’
brltty-6.8/minimal/Drivers/Screen/Linux/screen.c:2808:11: call_function: inlined call to ‘controlMainConsole’ from ‘switchVirtualTerminal_LinuxScreen’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def394]
brltty-6.8/minimal/Drivers/Screen/Linux/screen.c:479:7: warning[-Wanalyzer-malloc-leak]: leak of ‘vtName(consoleName, vt)’
brltty-6.8/minimal/Drivers/Screen/Linux/screen.c:2805:1: enter_function: entry to ‘switchVirtualTerminal_LinuxScreen’
brltty-6.8/minimal/Drivers/Screen/Linux/screen.c:2808:11: call_function: inlined call to ‘controlMainConsole’ from ‘switchVirtualTerminal_LinuxScreen’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def395]
brltty-6.8/minimal/Drivers/Screen/Linux/screen.c:585:7: warning[-Wanalyzer-malloc-leak]: leak of ‘sfm.entries’
brltty-6.8/minimal/Drivers/Screen/Linux/screen.c:1389:1: enter_function: entry to ‘setTranslationTable’
brltty-6.8/minimal/Drivers/Screen/Linux/screen.c:1391:20: call_function: calling ‘setScreenFontMap’ from ‘setTranslationTable’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def396]
brltty-6.8/minimal/Drivers/Screen/Linux/screen.c:712:19: warning[-Wanalyzer-malloc-leak]: leak of ‘vtName(unicodeDeviceName, vt)’
brltty-6.8/minimal/Drivers/Screen/Linux/screen.c:2040:1: enter_function: entry to ‘describe_LinuxScreen’
brltty-6.8/minimal/Drivers/Screen/Linux/screen.c:2041:6: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Drivers/Screen/Linux/screen.c:2046:7: branch_false: ...to here
brltty-6.8/minimal/Drivers/Screen/Linux/screen.c:2046:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Drivers/Screen/Linux/screen.c:2047:9: branch_true: ...to here
brltty-6.8/minimal/Drivers/Screen/Linux/screen.c:2047:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Drivers/Screen/Linux/screen.c:2048:12: branch_true: ...to here
brltty-6.8/minimal/Drivers/Screen/Linux/screen.c:2048:12: call_function: calling ‘getScreenProperties’ from ‘describe_LinuxScreen’
Error: CPPCHECK_WARNING (CWE-457): [#def397]
brltty-6.8/minimal/Drivers/Screen/Linux/screen.c:788: warning[uninitvar]: Uninitialized variable: buffer
Error: GCC_ANALYZER_WARNING (CWE-401): [#def398]
brltty-6.8/minimal/Drivers/Screen/Linux/screen.c:880:18: warning[-Wanalyzer-malloc-leak]: leak of ‘vtName(screenName, vt)’
brltty-6.8/minimal/Drivers/Screen/Linux/screen.c:1816:1: enter_function: entry to ‘isUnusedConsole’
brltty-6.8/minimal/Drivers/Screen/Linux/screen.c:1820:7: call_function: calling ‘openScreenDevice’ from ‘isUnusedConsole’
Error: CPPCHECK_WARNING (CWE-476): [#def399]
brltty-6.8/minimal/Headers/bitfield.h:76: error[ctunullpointer]: Null pointer dereference: to
Error: COMPILER_WARNING: [#def400]
brltty-6.8/minimal/Drivers/Braille/TTY/braille.c:40: included_from: Included from here.
brltty-6.8/minimal/Headers/get_curses.h:54:2: warning[-Wcpp]: #warning curses package either unspecified or unsupported
Error: COMPILER_WARNING: [#def401]
brltty-6.8/minimal/Headers/get_curses.h:54:2: warning[-Wcpp]: #warning curses package either unspecified or unsupported
Error: COMPILER_WARNING: [#def402]
brltty-6.8/minimal/Programs/kbd_linux.c:27: included_from: Included from here.
brltty-6.8/minimal/Programs/kbd_linux.c: scope_hint: In function ‘monitorKeyboard’
brltty-6.8/minimal/Headers/strfmt.h:65:12: warning[-Wformat-truncation=]: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 251
/usr/include/bits/stdio2.h:68:10: note: ‘__snprintf_chk’ output between 6 and 261 bytes into a destination of size 256
Error: GCC_ANALYZER_WARNING (CWE-401): [#def403]
brltty-6.8/minimal/Programs/addresses.c:85:7: warning[-Wanalyzer-malloc-leak]: leak of ‘entry’
brltty-6.8/minimal/Programs/addresses.c:109:1: enter_function: entry to ‘setAddressName’
brltty-6.8/minimal/Programs/addresses.c:124:16: acquire_memory: allocated here
brltty-6.8/minimal/Programs/addresses.c:124:6: branch_true: following ‘true’ branch (when ‘entry’ is non-NULL)...
brltty-6.8/minimal/Programs/addresses.c:128:5: branch_true: ...to here
brltty-6.8/minimal/Programs/addresses.c:131:8: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/addresses.c:137:9: branch_false: ...to here
brltty-6.8/minimal/Programs/addresses.c:137:9: call_function: calling ‘insertAddressEntry’ from ‘setAddressName’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def404]
brltty-6.8/minimal/Programs/async_alarm.c:144:28: warning[-Wanalyzer-malloc-leak]: leak of ‘alarm’
brltty-6.8/minimal/Programs/async_alarm.c:124:1: enter_function: entry to ‘newAlarmElement’
brltty-6.8/minimal/Programs/async_alarm.c:126:19: call_function: calling ‘getAlarmQueue’ from ‘newAlarmElement’
brltty-6.8/minimal/Programs/async_alarm.c:126:19: return_function: returning to ‘newAlarmElement’ from ‘getAlarmQueue’
brltty-6.8/minimal/Programs/async_alarm.c:128:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/async_alarm.c:131:18: branch_true: ...to here
brltty-6.8/minimal/Programs/async_alarm.c:131:18: acquire_memory: allocated here
brltty-6.8/minimal/Programs/async_alarm.c:131:8: branch_true: following ‘true’ branch (when ‘alarm’ is non-NULL)...
brltty-6.8/minimal/Programs/async_alarm.c:132:7: branch_true: ...to here
brltty-6.8/minimal/Programs/async_alarm.c:144:28: throw: if ‘enqueueItem’ throws an exception...
brltty-6.8/minimal/Programs/async_alarm.c:144:28: danger: ‘alarm’ leaks here; was allocated at [(14)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/13)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def405]
brltty-6.8/minimal/Programs/async_event.c:109:9: warning[-Wanalyzer-malloc-leak]: leak of ‘event’
brltty-6.8/minimal/Programs/async_event.c:104:16: acquire_memory: allocated here
brltty-6.8/minimal/Programs/async_event.c:104:6: branch_true: following ‘true’ branch (when ‘event’ is non-NULL)...
brltty-6.8/minimal/Programs/async_event.c:104:6: branch_true: ...to here
brltty-6.8/minimal/Programs/async_event.c:109:9: throw: if ‘createAnonymousPipe’ throws an exception...
brltty-6.8/minimal/Programs/async_event.c:109:9: danger: ‘event’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def406]
brltty-6.8/minimal/Programs/async_io.c:169:34: warning[-Wanalyzer-malloc-leak]: leak of ‘extension’
brltty-6.8/minimal/Programs/async_io.c:943:1: enter_function: entry to ‘newFileMonitorOperation’
brltty-6.8/minimal/Programs/async_io.c:947:20: acquire_memory: allocated here
brltty-6.8/minimal/Programs/async_io.c:947:6: branch_true: following ‘true’ branch (when ‘extension’ is non-NULL)...
brltty-6.8/minimal/Programs/async_io.c:948:27: branch_true: ...to here
brltty-6.8/minimal/Programs/async_io.c:951:26: call_function: calling ‘newOperation’ from ‘newFileMonitorOperation’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def407]
brltty-6.8/minimal/Programs/async_io.c:169:34: warning[-Wanalyzer-malloc-leak]: leak of ‘operation’
brltty-6.8/minimal/Programs/async_io.c:892:1: enter_function: entry to ‘newOperation’
brltty-6.8/minimal/Programs/async_io.c:900:20: acquire_memory: allocated here
brltty-6.8/minimal/Programs/async_io.c:900:6: branch_true: following ‘true’ branch (when ‘operation’ is non-NULL)...
brltty-6.8/minimal/Programs/async_io.c:903:28: branch_true: ...to here
brltty-6.8/minimal/Programs/async_io.c:903:28: call_function: calling ‘getFunctionElement’ from ‘newOperation’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def408]
brltty-6.8/minimal/Programs/async_io.c:176:7: warning[-Wanalyzer-malloc-leak]: leak of ‘extension’
brltty-6.8/minimal/Programs/async_io.c:943:1: enter_function: entry to ‘newFileMonitorOperation’
brltty-6.8/minimal/Programs/async_io.c:947:20: acquire_memory: allocated here
brltty-6.8/minimal/Programs/async_io.c:947:6: branch_true: following ‘true’ branch (when ‘extension’ is non-NULL)...
brltty-6.8/minimal/Programs/async_io.c:948:27: branch_true: ...to here
brltty-6.8/minimal/Programs/async_io.c:951:26: call_function: calling ‘newOperation’ from ‘newFileMonitorOperation’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def409]
brltty-6.8/minimal/Programs/async_io.c:176:7: warning[-Wanalyzer-malloc-leak]: leak of ‘operation’
brltty-6.8/minimal/Programs/async_io.c:892:1: enter_function: entry to ‘newOperation’
brltty-6.8/minimal/Programs/async_io.c:900:20: acquire_memory: allocated here
brltty-6.8/minimal/Programs/async_io.c:900:6: branch_true: following ‘true’ branch (when ‘operation’ is non-NULL)...
brltty-6.8/minimal/Programs/async_io.c:903:28: branch_true: ...to here
brltty-6.8/minimal/Programs/async_io.c:903:28: call_function: calling ‘getFunctionElement’ from ‘newOperation’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def410]
brltty-6.8/minimal/Programs/async_io.c:573:26: warning[-Wanalyzer-malloc-leak]: leak of ‘extension’
brltty-6.8/minimal/Programs/async_io.c:943:1: enter_function: entry to ‘newFileMonitorOperation’
brltty-6.8/minimal/Programs/async_io.c:947:20: acquire_memory: allocated here
brltty-6.8/minimal/Programs/async_io.c:947:6: branch_true: following ‘true’ branch (when ‘extension’ is non-NULL)...
brltty-6.8/minimal/Programs/async_io.c:948:27: branch_true: ...to here
brltty-6.8/minimal/Programs/async_io.c:951:26: call_function: calling ‘newOperation’ from ‘newFileMonitorOperation’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def411]
brltty-6.8/minimal/Programs/async_io.c:573:26: warning[-Wanalyzer-malloc-leak]: leak of ‘operation’
brltty-6.8/minimal/Programs/async_io.c:892:1: enter_function: entry to ‘newOperation’
brltty-6.8/minimal/Programs/async_io.c:900:20: acquire_memory: allocated here
brltty-6.8/minimal/Programs/async_io.c:900:6: branch_true: following ‘true’ branch (when ‘operation’ is non-NULL)...
brltty-6.8/minimal/Programs/async_io.c:903:28: branch_true: ...to here
brltty-6.8/minimal/Programs/async_io.c:903:28: call_function: calling ‘getFunctionElement’ from ‘newOperation’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def412]
brltty-6.8/minimal/Programs/async_io.c:850:28: warning[-Wanalyzer-malloc-leak]: leak of ‘extension’
brltty-6.8/minimal/Programs/async_io.c:943:1: enter_function: entry to ‘newFileMonitorOperation’
brltty-6.8/minimal/Programs/async_io.c:947:20: acquire_memory: allocated here
brltty-6.8/minimal/Programs/async_io.c:947:6: branch_true: following ‘true’ branch (when ‘extension’ is non-NULL)...
brltty-6.8/minimal/Programs/async_io.c:948:27: branch_true: ...to here
brltty-6.8/minimal/Programs/async_io.c:951:26: call_function: calling ‘newOperation’ from ‘newFileMonitorOperation’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def413]
brltty-6.8/minimal/Programs/async_io.c:850:28: warning[-Wanalyzer-malloc-leak]: leak of ‘operation’
brltty-6.8/minimal/Programs/async_io.c:892:1: enter_function: entry to ‘newOperation’
brltty-6.8/minimal/Programs/async_io.c:900:20: acquire_memory: allocated here
brltty-6.8/minimal/Programs/async_io.c:900:6: branch_true: following ‘true’ branch (when ‘operation’ is non-NULL)...
brltty-6.8/minimal/Programs/async_io.c:903:28: branch_true: ...to here
brltty-6.8/minimal/Programs/async_io.c:903:28: call_function: calling ‘getFunctionElement’ from ‘newOperation’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def414]
brltty-6.8/minimal/Programs/async_io.c:862:37: warning[-Wanalyzer-malloc-leak]: leak of ‘extension’
brltty-6.8/minimal/Programs/async_io.c:943:1: enter_function: entry to ‘newFileMonitorOperation’
brltty-6.8/minimal/Programs/async_io.c:947:20: acquire_memory: allocated here
brltty-6.8/minimal/Programs/async_io.c:947:6: branch_true: following ‘true’ branch (when ‘extension’ is non-NULL)...
brltty-6.8/minimal/Programs/async_io.c:948:27: branch_true: ...to here
brltty-6.8/minimal/Programs/async_io.c:951:26: call_function: calling ‘newOperation’ from ‘newFileMonitorOperation’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def415]
brltty-6.8/minimal/Programs/async_io.c:862:37: warning[-Wanalyzer-malloc-leak]: leak of ‘function’
brltty-6.8/minimal/Programs/async_io.c:839:1: enter_function: entry to ‘getFunctionElement’
brltty-6.8/minimal/Programs/async_io.c:840:22: call_function: calling ‘getFunctionQueue’ from ‘getFunctionElement’
brltty-6.8/minimal/Programs/async_io.c:840:22: return_function: returning to ‘getFunctionElement’ from ‘getFunctionQueue’
brltty-6.8/minimal/Programs/async_io.c:842:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/async_io.c:844:19: branch_true: ...to here
brltty-6.8/minimal/Programs/async_io.c:851:12: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/async_io.c:889:1: branch_false: ...to here
brltty-6.8/minimal/Programs/async_io.c:855:8: branch_true: following ‘true’ branch (when ‘create != 0’)...
brltty-6.8/minimal/Programs/async_io.c:858:23: branch_true: ...to here
brltty-6.8/minimal/Programs/async_io.c:858:23: acquire_memory: allocated here
brltty-6.8/minimal/Programs/async_io.c:858:10: branch_true: following ‘true’ branch (when ‘function’ is non-NULL)...
brltty-6.8/minimal/Programs/async_io.c:859:9: branch_true: ...to here
brltty-6.8/minimal/Programs/async_io.c:862:37: throw: if ‘newQueue’ throws an exception...
brltty-6.8/minimal/Programs/async_io.c:862:37: danger: ‘function’ leaks here; was allocated at [(18)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/17)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def416]
brltty-6.8/minimal/Programs/async_io.c:862:37: warning[-Wanalyzer-malloc-leak]: leak of ‘operation’
brltty-6.8/minimal/Programs/async_io.c:892:1: enter_function: entry to ‘newOperation’
brltty-6.8/minimal/Programs/async_io.c:900:20: acquire_memory: allocated here
brltty-6.8/minimal/Programs/async_io.c:900:6: branch_true: following ‘true’ branch (when ‘operation’ is non-NULL)...
brltty-6.8/minimal/Programs/async_io.c:903:28: branch_true: ...to here
brltty-6.8/minimal/Programs/async_io.c:903:28: call_function: calling ‘getFunctionElement’ from ‘newOperation’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def417]
brltty-6.8/minimal/Programs/async_io.c:868:13: warning[-Wanalyzer-malloc-leak]: leak of ‘function’
brltty-6.8/minimal/Programs/async_io.c:839:1: enter_function: entry to ‘getFunctionElement’
brltty-6.8/minimal/Programs/async_io.c:840:22: call_function: calling ‘getFunctionQueue’ from ‘getFunctionElement’
brltty-6.8/minimal/Programs/async_io.c:840:22: return_function: returning to ‘getFunctionElement’ from ‘getFunctionQueue’
brltty-6.8/minimal/Programs/async_io.c:842:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/async_io.c:844:19: branch_true: ...to here
brltty-6.8/minimal/Programs/async_io.c:851:12: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/async_io.c:889:1: branch_false: ...to here
brltty-6.8/minimal/Programs/async_io.c:855:8: branch_true: following ‘true’ branch (when ‘create != 0’)...
brltty-6.8/minimal/Programs/async_io.c:858:23: branch_true: ...to here
brltty-6.8/minimal/Programs/async_io.c:858:23: acquire_memory: allocated here
brltty-6.8/minimal/Programs/async_io.c:858:10: branch_true: following ‘true’ branch (when ‘function’ is non-NULL)...
brltty-6.8/minimal/Programs/async_io.c:859:9: branch_true: ...to here
brltty-6.8/minimal/Programs/async_io.c:862:12: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/async_io.c:868:13: branch_true: ...to here
brltty-6.8/minimal/Programs/async_io.c:868:13: throw: if ‘setQueueData’ throws an exception...
brltty-6.8/minimal/Programs/async_io.c:868:13: danger: ‘function’ leaks here; was allocated at [(18)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/17)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def418]
brltty-6.8/minimal/Programs/async_io.c:868:13: warning[-Wanalyzer-malloc-leak]: leak of ‘operation’
brltty-6.8/minimal/Programs/async_io.c:892:1: enter_function: entry to ‘newOperation’
brltty-6.8/minimal/Programs/async_io.c:900:20: acquire_memory: allocated here
brltty-6.8/minimal/Programs/async_io.c:900:6: branch_true: following ‘true’ branch (when ‘operation’ is non-NULL)...
brltty-6.8/minimal/Programs/async_io.c:903:28: branch_true: ...to here
brltty-6.8/minimal/Programs/async_io.c:903:28: call_function: calling ‘getFunctionElement’ from ‘newOperation’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def419]
brltty-6.8/minimal/Programs/async_io.c:871:39: warning[-Wanalyzer-malloc-leak]: leak of ‘function’
brltty-6.8/minimal/Programs/async_io.c:839:1: enter_function: entry to ‘getFunctionElement’
brltty-6.8/minimal/Programs/async_io.c:840:22: call_function: calling ‘getFunctionQueue’ from ‘getFunctionElement’
brltty-6.8/minimal/Programs/async_io.c:840:22: return_function: returning to ‘getFunctionElement’ from ‘getFunctionQueue’
brltty-6.8/minimal/Programs/async_io.c:842:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/async_io.c:844:19: branch_true: ...to here
brltty-6.8/minimal/Programs/async_io.c:851:12: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/async_io.c:889:1: branch_false: ...to here
brltty-6.8/minimal/Programs/async_io.c:855:8: branch_true: following ‘true’ branch (when ‘create != 0’)...
brltty-6.8/minimal/Programs/async_io.c:858:23: branch_true: ...to here
brltty-6.8/minimal/Programs/async_io.c:858:23: acquire_memory: allocated here
brltty-6.8/minimal/Programs/async_io.c:858:10: branch_true: following ‘true’ branch (when ‘function’ is non-NULL)...
brltty-6.8/minimal/Programs/async_io.c:859:9: branch_true: ...to here
brltty-6.8/minimal/Programs/async_io.c:862:12: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/async_io.c:868:13: branch_true: ...to here
brltty-6.8/minimal/Programs/async_io.c:871:14: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/async_io.c:871:39: branch_true: ...to here
brltty-6.8/minimal/Programs/async_io.c:871:39: throw: if the called function throws an exception...
brltty-6.8/minimal/Programs/async_io.c:871:39: danger: ‘function’ leaks here; was allocated at [(18)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/17)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def420]
brltty-6.8/minimal/Programs/async_io.c:871:39: warning[-Wanalyzer-malloc-leak]: leak of ‘operation’
brltty-6.8/minimal/Programs/async_io.c:892:1: enter_function: entry to ‘newOperation’
brltty-6.8/minimal/Programs/async_io.c:900:20: acquire_memory: allocated here
brltty-6.8/minimal/Programs/async_io.c:900:6: branch_true: following ‘true’ branch (when ‘operation’ is non-NULL)...
brltty-6.8/minimal/Programs/async_io.c:903:28: branch_true: ...to here
brltty-6.8/minimal/Programs/async_io.c:903:28: call_function: calling ‘getFunctionElement’ from ‘newOperation’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def421]
brltty-6.8/minimal/Programs/async_io.c:874:32: warning[-Wanalyzer-malloc-leak]: leak of ‘function’
brltty-6.8/minimal/Programs/async_io.c:839:1: enter_function: entry to ‘getFunctionElement’
brltty-6.8/minimal/Programs/async_io.c:840:22: call_function: calling ‘getFunctionQueue’ from ‘getFunctionElement’
brltty-6.8/minimal/Programs/async_io.c:840:22: return_function: returning to ‘getFunctionElement’ from ‘getFunctionQueue’
brltty-6.8/minimal/Programs/async_io.c:842:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/async_io.c:844:19: branch_true: ...to here
brltty-6.8/minimal/Programs/async_io.c:851:12: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/async_io.c:889:1: branch_false: ...to here
brltty-6.8/minimal/Programs/async_io.c:855:8: branch_true: following ‘true’ branch (when ‘create != 0’)...
brltty-6.8/minimal/Programs/async_io.c:858:23: branch_true: ...to here
brltty-6.8/minimal/Programs/async_io.c:858:23: acquire_memory: allocated here
brltty-6.8/minimal/Programs/async_io.c:858:10: branch_true: following ‘true’ branch (when ‘function’ is non-NULL)...
brltty-6.8/minimal/Programs/async_io.c:859:9: branch_true: ...to here
brltty-6.8/minimal/Programs/async_io.c:862:12: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/async_io.c:868:13: branch_true: ...to here
brltty-6.8/minimal/Programs/async_io.c:871:14: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/async_io.c:874:32: branch_false: ...to here
brltty-6.8/minimal/Programs/async_io.c:874:32: throw: if ‘enqueueItem’ throws an exception...
brltty-6.8/minimal/Programs/async_io.c:874:32: danger: ‘function’ leaks here; was allocated at [(18)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/17)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def422]
brltty-6.8/minimal/Programs/async_signal.c:165:3: warning[-Wanalyzer-malloc-leak]: leak of ‘sig’
brltty-6.8/minimal/Programs/async_signal.c:533:1: enter_function: entry to ‘getSignalElement’
brltty-6.8/minimal/Programs/async_signal.c:534:20: call_function: calling ‘getSignalQueue’ from ‘getSignalElement’
brltty-6.8/minimal/Programs/async_signal.c:534:20: return_function: returning to ‘getSignalElement’ from ‘getSignalQueue’
brltty-6.8/minimal/Programs/async_signal.c:536:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/async_signal.c:538:30: branch_true: ...to here
brltty-6.8/minimal/Programs/async_signal.c:545:12: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/async_signal.c:589:1: branch_false: ...to here
brltty-6.8/minimal/Programs/async_signal.c:549:8: branch_true: following ‘true’ branch (when ‘create != 0’)...
brltty-6.8/minimal/Programs/async_signal.c:552:18: branch_true: ...to here
brltty-6.8/minimal/Programs/async_signal.c:552:18: acquire_memory: allocated here
brltty-6.8/minimal/Programs/async_signal.c:552:10: branch_true: following ‘true’ branch (when ‘sig’ is non-NULL)...
brltty-6.8/minimal/Programs/async_signal.c:552:10: branch_true: ...to here
brltty-6.8/minimal/Programs/async_signal.c:557:12: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/async_signal.c:563:13: branch_true: ...to here
brltty-6.8/minimal/Programs/async_signal.c:574:13: call_function: calling ‘asyncWithAllSignalsBlocked’ from ‘getSignalElement’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def423]
brltty-6.8/minimal/Programs/async_signal.c:267:5: warning[-Wanalyzer-malloc-leak]: leak of ‘sig’
brltty-6.8/minimal/Programs/async_signal.c:533:1: enter_function: entry to ‘getSignalElement’
brltty-6.8/minimal/Programs/async_signal.c:534:20: call_function: calling ‘getSignalQueue’ from ‘getSignalElement’
brltty-6.8/minimal/Programs/async_signal.c:534:20: return_function: returning to ‘getSignalElement’ from ‘getSignalQueue’
brltty-6.8/minimal/Programs/async_signal.c:536:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/async_signal.c:538:30: branch_true: ...to here
brltty-6.8/minimal/Programs/async_signal.c:545:12: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/async_signal.c:589:1: branch_false: ...to here
brltty-6.8/minimal/Programs/async_signal.c:549:8: branch_true: following ‘true’ branch (when ‘create != 0’)...
brltty-6.8/minimal/Programs/async_signal.c:552:18: branch_true: ...to here
brltty-6.8/minimal/Programs/async_signal.c:552:18: acquire_memory: allocated here
brltty-6.8/minimal/Programs/async_signal.c:552:10: branch_true: following ‘true’ branch (when ‘sig’ is non-NULL)...
brltty-6.8/minimal/Programs/async_signal.c:552:10: branch_true: ...to here
brltty-6.8/minimal/Programs/async_signal.c:557:12: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/async_signal.c:563:13: branch_true: ...to here
brltty-6.8/minimal/Programs/async_signal.c:574:13: call_function: calling ‘asyncWithAllSignalsBlocked’ from ‘getSignalElement’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def424]
brltty-6.8/minimal/Programs/async_signal.c:517:31: warning[-Wanalyzer-malloc-leak]: leak of ‘sig’
brltty-6.8/minimal/Programs/async_signal.c:533:1: enter_function: entry to ‘getSignalElement’
brltty-6.8/minimal/Programs/async_signal.c:534:20: call_function: calling ‘getSignalQueue’ from ‘getSignalElement’
brltty-6.8/minimal/Programs/async_signal.c:534:20: return_function: returning to ‘getSignalElement’ from ‘getSignalQueue’
brltty-6.8/minimal/Programs/async_signal.c:536:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/async_signal.c:538:30: branch_true: ...to here
brltty-6.8/minimal/Programs/async_signal.c:545:12: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/async_signal.c:589:1: branch_false: ...to here
brltty-6.8/minimal/Programs/async_signal.c:549:8: branch_true: following ‘true’ branch (when ‘create != 0’)...
brltty-6.8/minimal/Programs/async_signal.c:552:18: branch_true: ...to here
brltty-6.8/minimal/Programs/async_signal.c:552:18: acquire_memory: allocated here
brltty-6.8/minimal/Programs/async_signal.c:552:10: branch_true: following ‘true’ branch (when ‘sig’ is non-NULL)...
brltty-6.8/minimal/Programs/async_signal.c:552:10: branch_true: ...to here
brltty-6.8/minimal/Programs/async_signal.c:557:12: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/async_signal.c:563:13: branch_true: ...to here
brltty-6.8/minimal/Programs/async_signal.c:574:13: call_function: calling ‘asyncWithAllSignalsBlocked’ from ‘getSignalElement’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def425]
brltty-6.8/minimal/Programs/async_signal.c:557:30: warning[-Wanalyzer-malloc-leak]: leak of ‘sig’
brltty-6.8/minimal/Programs/async_signal.c:533:1: enter_function: entry to ‘getSignalElement’
brltty-6.8/minimal/Programs/async_signal.c:534:20: call_function: calling ‘getSignalQueue’ from ‘getSignalElement’
brltty-6.8/minimal/Programs/async_signal.c:534:20: return_function: returning to ‘getSignalElement’ from ‘getSignalQueue’
brltty-6.8/minimal/Programs/async_signal.c:536:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/async_signal.c:538:30: branch_true: ...to here
brltty-6.8/minimal/Programs/async_signal.c:545:12: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/async_signal.c:589:1: branch_false: ...to here
brltty-6.8/minimal/Programs/async_signal.c:549:8: branch_true: following ‘true’ branch (when ‘create != 0’)...
brltty-6.8/minimal/Programs/async_signal.c:552:18: branch_true: ...to here
brltty-6.8/minimal/Programs/async_signal.c:552:18: acquire_memory: allocated here
brltty-6.8/minimal/Programs/async_signal.c:552:10: branch_true: following ‘true’ branch (when ‘sig’ is non-NULL)...
brltty-6.8/minimal/Programs/async_signal.c:552:10: branch_true: ...to here
brltty-6.8/minimal/Programs/async_signal.c:557:30: throw: if ‘newQueue’ throws an exception...
brltty-6.8/minimal/Programs/async_signal.c:557:30: danger: ‘sig’ leaks here; was allocated at [(18)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/17)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def426]
brltty-6.8/minimal/Programs/async_signal.c:563:13: warning[-Wanalyzer-malloc-leak]: leak of ‘sig’
brltty-6.8/minimal/Programs/async_signal.c:533:1: enter_function: entry to ‘getSignalElement’
brltty-6.8/minimal/Programs/async_signal.c:534:20: call_function: calling ‘getSignalQueue’ from ‘getSignalElement’
brltty-6.8/minimal/Programs/async_signal.c:534:20: return_function: returning to ‘getSignalElement’ from ‘getSignalQueue’
brltty-6.8/minimal/Programs/async_signal.c:536:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/async_signal.c:538:30: branch_true: ...to here
brltty-6.8/minimal/Programs/async_signal.c:545:12: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/async_signal.c:589:1: branch_false: ...to here
brltty-6.8/minimal/Programs/async_signal.c:549:8: branch_true: following ‘true’ branch (when ‘create != 0’)...
brltty-6.8/minimal/Programs/async_signal.c:552:18: branch_true: ...to here
brltty-6.8/minimal/Programs/async_signal.c:552:18: acquire_memory: allocated here
brltty-6.8/minimal/Programs/async_signal.c:552:10: branch_true: following ‘true’ branch (when ‘sig’ is non-NULL)...
brltty-6.8/minimal/Programs/async_signal.c:552:10: branch_true: ...to here
brltty-6.8/minimal/Programs/async_signal.c:557:12: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/async_signal.c:563:13: branch_true: ...to here
brltty-6.8/minimal/Programs/async_signal.c:563:13: throw: if ‘setQueueData’ throws an exception...
brltty-6.8/minimal/Programs/async_signal.c:563:13: danger: ‘sig’ leaks here; was allocated at [(18)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/17)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def427]
brltty-6.8/minimal/Programs/async_signal.c:578:11: warning[-Wanalyzer-malloc-leak]: leak of ‘sig’
brltty-6.8/minimal/Programs/async_signal.c:533:1: enter_function: entry to ‘getSignalElement’
brltty-6.8/minimal/Programs/async_signal.c:534:20: call_function: calling ‘getSignalQueue’ from ‘getSignalElement’
brltty-6.8/minimal/Programs/async_signal.c:534:20: return_function: returning to ‘getSignalElement’ from ‘getSignalQueue’
brltty-6.8/minimal/Programs/async_signal.c:536:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/async_signal.c:538:30: branch_true: ...to here
brltty-6.8/minimal/Programs/async_signal.c:545:12: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/async_signal.c:589:1: branch_false: ...to here
brltty-6.8/minimal/Programs/async_signal.c:549:8: branch_true: following ‘true’ branch (when ‘create != 0’)...
brltty-6.8/minimal/Programs/async_signal.c:552:18: branch_true: ...to here
brltty-6.8/minimal/Programs/async_signal.c:552:18: acquire_memory: allocated here
brltty-6.8/minimal/Programs/async_signal.c:552:10: branch_true: following ‘true’ branch (when ‘sig’ is non-NULL)...
brltty-6.8/minimal/Programs/async_signal.c:552:10: branch_true: ...to here
brltty-6.8/minimal/Programs/async_signal.c:557:12: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/async_signal.c:563:13: branch_true: ...to here
brltty-6.8/minimal/Programs/async_signal.c:574:13: call_function: calling ‘asyncWithAllSignalsBlocked’ from ‘getSignalElement’
brltty-6.8/minimal/Programs/async_signal.c:574:13: return_function: returning to ‘getSignalElement’ from ‘asyncWithAllSignalsBlocked’
brltty-6.8/minimal/Programs/async_signal.c:575:16: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/async_signal.c:589:1: branch_false: ...to here
brltty-6.8/minimal/Programs/async_signal.c:578:11: throw: if ‘deallocateQueue’ throws an exception...
brltty-6.8/minimal/Programs/async_signal.c:578:11: danger: ‘sig’ leaks here; was allocated at [(18)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/17)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def428]
brltty-6.8/minimal/Programs/async_task.c:47:34: warning[-Wanalyzer-malloc-leak]: leak of ‘task’
brltty-6.8/minimal/Programs/async_task.c:100:1: enter_function: entry to ‘asyncAddTask’
brltty-6.8/minimal/Programs/async_task.c:103:15: acquire_memory: allocated here
brltty-6.8/minimal/Programs/async_task.c:103:6: branch_true: following ‘true’ branch (when ‘task’ is non-NULL)...
brltty-6.8/minimal/Programs/async_task.c:105:5: branch_true: ...to here
brltty-6.8/minimal/Programs/async_task.c:108:8: branch_false: following ‘false’ branch (when ‘event’ is NULL)...
brltty-6.8/minimal/Programs/async_task.c:110:16: branch_false: ...to here
brltty-6.8/minimal/Programs/async_task.c:110:16: call_function: calling ‘addTask’ from ‘asyncAddTask’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def429]
brltty-6.8/minimal/Programs/async_task.c:54:7: warning[-Wanalyzer-malloc-leak]: leak of ‘task’
brltty-6.8/minimal/Programs/async_task.c:100:1: enter_function: entry to ‘asyncAddTask’
brltty-6.8/minimal/Programs/async_task.c:103:15: acquire_memory: allocated here
brltty-6.8/minimal/Programs/async_task.c:103:6: branch_true: following ‘true’ branch (when ‘task’ is non-NULL)...
brltty-6.8/minimal/Programs/async_task.c:105:5: branch_true: ...to here
brltty-6.8/minimal/Programs/async_task.c:108:8: branch_false: following ‘false’ branch (when ‘event’ is NULL)...
brltty-6.8/minimal/Programs/async_task.c:110:16: branch_false: ...to here
brltty-6.8/minimal/Programs/async_task.c:110:16: call_function: calling ‘addTask’ from ‘asyncAddTask’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def430]
brltty-6.8/minimal/Programs/async_task.c:79:21: warning[-Wanalyzer-malloc-leak]: leak of ‘task’
brltty-6.8/minimal/Programs/async_task.c:100:1: enter_function: entry to ‘asyncAddTask’
brltty-6.8/minimal/Programs/async_task.c:103:15: acquire_memory: allocated here
brltty-6.8/minimal/Programs/async_task.c:103:6: branch_true: following ‘true’ branch (when ‘task’ is non-NULL)...
brltty-6.8/minimal/Programs/async_task.c:105:5: branch_true: ...to here
brltty-6.8/minimal/Programs/async_task.c:108:8: branch_false: following ‘false’ branch (when ‘event’ is NULL)...
brltty-6.8/minimal/Programs/async_task.c:110:16: branch_false: ...to here
brltty-6.8/minimal/Programs/async_task.c:110:16: call_function: calling ‘addTask’ from ‘asyncAddTask’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def431]
brltty-6.8/minimal/Programs/async_task.c:90:9: warning[-Wanalyzer-malloc-leak]: leak of ‘task’
brltty-6.8/minimal/Programs/async_task.c:100:1: enter_function: entry to ‘asyncAddTask’
brltty-6.8/minimal/Programs/async_task.c:103:15: acquire_memory: allocated here
brltty-6.8/minimal/Programs/async_task.c:103:6: branch_true: following ‘true’ branch (when ‘task’ is non-NULL)...
brltty-6.8/minimal/Programs/async_task.c:105:5: branch_true: ...to here
brltty-6.8/minimal/Programs/async_task.c:108:8: branch_false: following ‘false’ branch (when ‘event’ is NULL)...
brltty-6.8/minimal/Programs/async_task.c:110:16: branch_false: ...to here
brltty-6.8/minimal/Programs/async_task.c:110:16: call_function: calling ‘addTask’ from ‘asyncAddTask’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def432]
brltty-6.8/minimal/Programs/async_task.c:109:11: warning[-Wanalyzer-malloc-leak]: leak of ‘task’
brltty-6.8/minimal/Programs/async_task.c:103:15: acquire_memory: allocated here
brltty-6.8/minimal/Programs/async_task.c:103:6: branch_true: following ‘true’ branch (when ‘task’ is non-NULL)...
brltty-6.8/minimal/Programs/async_task.c:105:5: branch_true: ...to here
brltty-6.8/minimal/Programs/async_task.c:108:8: branch_true: following ‘true’ branch (when ‘event’ is non-NULL)...
brltty-6.8/minimal/Programs/async_task.c:109:11: branch_true: ...to here
brltty-6.8/minimal/Programs/async_task.c:109:11: throw: if ‘asyncSignalEvent’ throws an exception...
brltty-6.8/minimal/Programs/async_task.c:109:11: danger: ‘task’ leaks here; was allocated at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def433]
brltty-6.8/minimal/Programs/auth.c:290:9: warning[-Wanalyzer-malloc-leak]: leak of ‘*definition.initialize(parameter)’
brltty-6.8/minimal/Programs/auth.c:662:1: enter_function: entry to ‘authBegin’
brltty-6.8/minimal/Programs/auth.c:665:6: branch_true: following ‘true’ branch (when ‘auth’ is non-NULL)...
brltty-6.8/minimal/Programs/auth.c:666:5: branch_true: ...to here
brltty-6.8/minimal/Programs/auth.c:675:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/auth.c:676:12: branch_true: ...to here
brltty-6.8/minimal/Programs/auth.c:676:10: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/auth.c:681:35: branch_false: ...to here
brltty-6.8/minimal/Programs/auth.c:681:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/auth.c:682:13: branch_true: ...to here
brltty-6.8/minimal/Programs/auth.c:682:13: call_function: calling ‘initializeMethodDescriptors’ from ‘authBegin’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def434]
brltty-6.8/minimal/Programs/auth.c:294:7: warning[-Wanalyzer-malloc-leak]: leak of ‘keyfile’
brltty-6.8/minimal/Programs/auth.c:662:1: enter_function: entry to ‘authBegin’
brltty-6.8/minimal/Programs/auth.c:665:6: branch_true: following ‘true’ branch (when ‘auth’ is non-NULL)...
brltty-6.8/minimal/Programs/auth.c:666:5: branch_true: ...to here
brltty-6.8/minimal/Programs/auth.c:675:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/auth.c:676:12: branch_true: ...to here
brltty-6.8/minimal/Programs/auth.c:676:10: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/auth.c:681:35: branch_false: ...to here
brltty-6.8/minimal/Programs/auth.c:681:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/auth.c:682:13: branch_true: ...to here
brltty-6.8/minimal/Programs/auth.c:682:13: call_function: calling ‘initializeMethodDescriptors’ from ‘authBegin’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def435]
brltty-6.8/minimal/Programs/auth.c:350:11: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
brltty-6.8/minimal/Programs/auth.c:338:15: acquire_memory: allocated here
brltty-6.8/minimal/Programs/auth.c:338:6: branch_true: following ‘true’ branch (when ‘user’ is non-NULL)...
brltty-6.8/minimal/Programs/auth.c:343:10: branch_true: ...to here
brltty-6.8/minimal/Programs/auth.c:343:8: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/auth.c:350:11: branch_false: ...to here
brltty-6.8/minimal/Programs/auth.c:350:11: throw: if ‘isInteger’ throws an exception...
brltty-6.8/minimal/Programs/auth.c:350:11: danger: ‘user’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def436]
brltty-6.8/minimal/Programs/auth.c:357:32: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
brltty-6.8/minimal/Programs/auth.c:338:15: acquire_memory: allocated here
brltty-6.8/minimal/Programs/auth.c:338:6: branch_true: following ‘true’ branch (when ‘user’ is non-NULL)...
brltty-6.8/minimal/Programs/auth.c:343:10: branch_true: ...to here
brltty-6.8/minimal/Programs/auth.c:343:8: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/auth.c:350:11: branch_false: ...to here
brltty-6.8/minimal/Programs/auth.c:350:10: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/auth.c:372:1: branch_false: ...to here
brltty-6.8/minimal/Programs/auth.c:357:32: throw: if ‘getpwnam’ throws an exception...
brltty-6.8/minimal/Programs/auth.c:357:32: danger: ‘user’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def437]
brltty-6.8/minimal/Programs/auth.c:364:5: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
brltty-6.8/minimal/Programs/auth.c:338:15: acquire_memory: allocated here
brltty-6.8/minimal/Programs/auth.c:338:6: branch_true: following ‘true’ branch (when ‘user’ is non-NULL)...
brltty-6.8/minimal/Programs/auth.c:343:10: branch_true: ...to here
brltty-6.8/minimal/Programs/auth.c:343:8: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/auth.c:350:11: branch_false: ...to here
brltty-6.8/minimal/Programs/auth.c:350:10: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/auth.c:372:1: branch_false: ...to here
brltty-6.8/minimal/Programs/auth.c:358:10: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/auth.c:364:5: branch_false: ...to here
brltty-6.8/minimal/Programs/auth.c:364:5: throw: if ‘logMessage’ throws an exception...
brltty-6.8/minimal/Programs/auth.c:364:5: danger: ‘user’ leaks here; was allocated at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def438]
brltty-6.8/minimal/Programs/auth.c:405:11: warning[-Wanalyzer-malloc-leak]: leak of ‘group’
brltty-6.8/minimal/Programs/auth.c:393:16: acquire_memory: allocated here
brltty-6.8/minimal/Programs/auth.c:393:6: branch_true: following ‘true’ branch (when ‘group’ is non-NULL)...
brltty-6.8/minimal/Programs/auth.c:398:10: branch_true: ...to here
brltty-6.8/minimal/Programs/auth.c:398:8: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/auth.c:405:11: branch_false: ...to here
brltty-6.8/minimal/Programs/auth.c:405:11: throw: if ‘isInteger’ throws an exception...
brltty-6.8/minimal/Programs/auth.c:405:11: danger: ‘group’ leaks here; was allocated at [(1)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def439]
brltty-6.8/minimal/Programs/auth.c:412:31: warning[-Wanalyzer-malloc-leak]: leak of ‘group’
brltty-6.8/minimal/Programs/auth.c:393:16: acquire_memory: allocated here
brltty-6.8/minimal/Programs/auth.c:393:6: branch_true: following ‘true’ branch (when ‘group’ is non-NULL)...
brltty-6.8/minimal/Programs/auth.c:398:10: branch_true: ...to here
brltty-6.8/minimal/Programs/auth.c:398:8: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/auth.c:405:11: branch_false: ...to here
brltty-6.8/minimal/Programs/auth.c:405:10: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/auth.c:427:1: branch_false: ...to here
brltty-6.8/minimal/Programs/auth.c:412:31: throw: if ‘getgrnam’ throws an exception...
brltty-6.8/minimal/Programs/auth.c:412:31: danger: ‘group’ leaks here; was allocated at [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def440]
brltty-6.8/minimal/Programs/auth.c:419:5: warning[-Wanalyzer-malloc-leak]: leak of ‘group’
brltty-6.8/minimal/Programs/auth.c:393:16: acquire_memory: allocated here
brltty-6.8/minimal/Programs/auth.c:393:6: branch_true: following ‘true’ branch (when ‘group’ is non-NULL)...
brltty-6.8/minimal/Programs/auth.c:398:10: branch_true: ...to here
brltty-6.8/minimal/Programs/auth.c:398:8: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/auth.c:405:11: branch_false: ...to here
brltty-6.8/minimal/Programs/auth.c:405:10: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/auth.c:427:1: branch_false: ...to here
brltty-6.8/minimal/Programs/auth.c:413:10: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/auth.c:419:5: branch_false: ...to here
brltty-6.8/minimal/Programs/auth.c:419:5: throw: if ‘logMessage’ throws an exception...
brltty-6.8/minimal/Programs/auth.c:419:5: danger: ‘group’ leaks here; was allocated at [(1)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def441]
brltty-6.8/minimal/Programs/auth.c:675:29: warning[-Wanalyzer-malloc-leak]: leak of ‘auth’
brltty-6.8/minimal/Programs/auth.c:665:15: acquire_memory: allocated here
brltty-6.8/minimal/Programs/auth.c:665:6: branch_true: following ‘true’ branch (when ‘auth’ is non-NULL)...
brltty-6.8/minimal/Programs/auth.c:666:5: branch_true: ...to here
brltty-6.8/minimal/Programs/auth.c:675:29: throw: if ‘splitString’ throws an exception...
brltty-6.8/minimal/Programs/auth.c:675:29: danger: ‘auth’ leaks here; was allocated at [(1)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def442]
brltty-6.8/minimal/Programs/bluetooth.c:45:3: warning[-Wanalyzer-malloc-leak]: leak of ‘connection’
brltty-6.8/minimal/Programs/bluetooth.c:501:1: enter_function: entry to ‘bthOpenConnection’
brltty-6.8/minimal/Programs/bluetooth.c:504:21: acquire_memory: allocated here
brltty-6.8/minimal/Programs/bluetooth.c:504:6: branch_true: following ‘true’ branch (when ‘connection’ is non-NULL)...
brltty-6.8/minimal/Programs/bluetooth.c:504:6: branch_true: ...to here
brltty-6.8/minimal/Programs/bluetooth.c:509:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/bluetooth.c:515:13: branch_true: ...to here
brltty-6.8/minimal/Programs/bluetooth.c:515:13: call_function: calling ‘bthRecallConnectError’ from ‘bthOpenConnection’
brltty-6.8/minimal/Programs/bluetooth.c:515:13: return_function: returning to ‘bthOpenConnection’ from ‘bthRecallConnectError’
brltty-6.8/minimal/Programs/bluetooth.c:515:12: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/bluetooth.c:552:1: branch_false: ...to here
brltty-6.8/minimal/Programs/bluetooth.c:522:12: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/bluetooth.c:522:106: branch_true: ...to here
brltty-6.8/minimal/Programs/bluetooth.c:522:32: call_function: calling ‘bthDiscoverSerialPortChannel’ from ‘bthOpenConnection’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def443]
brltty-6.8/minimal/Programs/bluetooth.c:46:20: warning[-Wanalyzer-malloc-leak]: leak of ‘connection’
brltty-6.8/minimal/Programs/bluetooth.c:501:1: enter_function: entry to ‘bthOpenConnection’
brltty-6.8/minimal/Programs/bluetooth.c:504:21: acquire_memory: allocated here
brltty-6.8/minimal/Programs/bluetooth.c:504:6: branch_true: following ‘true’ branch (when ‘connection’ is non-NULL)...
brltty-6.8/minimal/Programs/bluetooth.c:504:6: branch_true: ...to here
brltty-6.8/minimal/Programs/bluetooth.c:509:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/bluetooth.c:515:13: branch_true: ...to here
brltty-6.8/minimal/Programs/bluetooth.c:515:13: call_function: calling ‘bthRecallConnectError’ from ‘bthOpenConnection’
brltty-6.8/minimal/Programs/bluetooth.c:515:13: return_function: returning to ‘bthOpenConnection’ from ‘bthRecallConnectError’
brltty-6.8/minimal/Programs/bluetooth.c:515:12: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/bluetooth.c:552:1: branch_false: ...to here
brltty-6.8/minimal/Programs/bluetooth.c:522:12: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/bluetooth.c:522:106: branch_true: ...to here
brltty-6.8/minimal/Programs/bluetooth.c:522:32: call_function: calling ‘bthDiscoverSerialPortChannel’ from ‘bthOpenConnection’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def444]
brltty-6.8/minimal/Programs/bluetooth.c:59:3: warning[-Wanalyzer-malloc-leak]: leak of ‘connection’
brltty-6.8/minimal/Programs/bluetooth.c:501:1: enter_function: entry to ‘bthOpenConnection’
brltty-6.8/minimal/Programs/bluetooth.c:504:21: acquire_memory: allocated here
brltty-6.8/minimal/Programs/bluetooth.c:504:6: branch_true: following ‘true’ branch (when ‘connection’ is non-NULL)...
brltty-6.8/minimal/Programs/bluetooth.c:504:6: branch_true: ...to here
brltty-6.8/minimal/Programs/bluetooth.c:509:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/bluetooth.c:515:13: branch_true: ...to here
brltty-6.8/minimal/Programs/bluetooth.c:515:13: call_function: calling ‘bthRecallConnectError’ from ‘bthOpenConnection’
brltty-6.8/minimal/Programs/bluetooth.c:515:13: return_function: returning to ‘bthOpenConnection’ from ‘bthRecallConnectError’
brltty-6.8/minimal/Programs/bluetooth.c:515:12: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/bluetooth.c:552:1: branch_false: ...to here
brltty-6.8/minimal/Programs/bluetooth.c:522:12: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/bluetooth.c:523:9: branch_false: ...to here
brltty-6.8/minimal/Programs/bluetooth.c:523:9: call_function: inlined call to ‘bthLogChannel’ from ‘bthOpenConnection’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def445]
brltty-6.8/minimal/Programs/bluetooth.c:86:10: warning[-Wanalyzer-malloc-leak]: leak of ‘connection’
brltty-6.8/minimal/Programs/bluetooth.c:501:1: enter_function: entry to ‘bthOpenConnection’
brltty-6.8/minimal/Programs/bluetooth.c:504:21: acquire_memory: allocated here
brltty-6.8/minimal/Programs/bluetooth.c:504:6: branch_true: following ‘true’ branch (when ‘connection’ is non-NULL)...
brltty-6.8/minimal/Programs/bluetooth.c:504:6: branch_true: ...to here
brltty-6.8/minimal/Programs/bluetooth.c:509:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/bluetooth.c:515:13: branch_true: ...to here
brltty-6.8/minimal/Programs/bluetooth.c:515:13: call_function: calling ‘bthRecallConnectError’ from ‘bthOpenConnection’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def446]
brltty-6.8/minimal/Programs/bluetooth.c:103:35: warning[-Wanalyzer-malloc-leak]: leak of ‘connection’
brltty-6.8/minimal/Programs/bluetooth.c:501:1: enter_function: entry to ‘bthOpenConnection’
brltty-6.8/minimal/Programs/bluetooth.c:504:21: acquire_memory: allocated here
brltty-6.8/minimal/Programs/bluetooth.c:504:6: branch_true: following ‘true’ branch (when ‘connection’ is non-NULL)...
brltty-6.8/minimal/Programs/bluetooth.c:504:6: branch_true: ...to here
brltty-6.8/minimal/Programs/bluetooth.c:509:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/bluetooth.c:515:13: branch_true: ...to here
brltty-6.8/minimal/Programs/bluetooth.c:515:13: call_function: calling ‘bthRecallConnectError’ from ‘bthOpenConnection’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def447]
brltty-6.8/minimal/Programs/bluetooth.c:113:13: warning[-Wanalyzer-malloc-leak]: leak of ‘connection’
brltty-6.8/minimal/Programs/bluetooth.c:501:1: enter_function: entry to ‘bthOpenConnection’
brltty-6.8/minimal/Programs/bluetooth.c:504:21: acquire_memory: allocated here
brltty-6.8/minimal/Programs/bluetooth.c:504:6: branch_true: following ‘true’ branch (when ‘connection’ is non-NULL)...
brltty-6.8/minimal/Programs/bluetooth.c:504:6: branch_true: ...to here
brltty-6.8/minimal/Programs/bluetooth.c:509:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/bluetooth.c:515:13: branch_true: ...to here
brltty-6.8/minimal/Programs/bluetooth.c:515:13: call_function: calling ‘bthRecallConnectError’ from ‘bthOpenConnection’
brltty-6.8/minimal/Programs/bluetooth.c:515:13: return_function: returning to ‘bthOpenConnection’ from ‘bthRecallConnectError’
brltty-6.8/minimal/Programs/bluetooth.c:515:12: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/bluetooth.c:552:1: branch_false: ...to here
brltty-6.8/minimal/Programs/bluetooth.c:522:12: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/bluetooth.c:523:9: branch_false: ...to here
brltty-6.8/minimal/Programs/bluetooth.c:530:16: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/bluetooth.c:534:17: branch_false: ...to here
brltty-6.8/minimal/Programs/bluetooth.c:540:9: call_function: calling ‘bthRememberConnectError’ from ‘bthOpenConnection’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def448]
brltty-6.8/minimal/Programs/bluetooth.c:113:13: warning[-Wanalyzer-malloc-leak]: leak of ‘entry’
brltty-6.8/minimal/Programs/bluetooth.c:184:1: enter_function: entry to ‘bthRememberConnectError’
brltty-6.8/minimal/Programs/bluetooth.c:185:33: call_function: calling ‘bthGetDeviceEntry’ from ‘bthRememberConnectError’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def449]
brltty-6.8/minimal/Programs/bluetooth.c:116:9: warning[-Wanalyzer-malloc-leak]: leak of ‘connection’
brltty-6.8/minimal/Programs/bluetooth.c:501:1: enter_function: entry to ‘bthOpenConnection’
brltty-6.8/minimal/Programs/bluetooth.c:504:21: acquire_memory: allocated here
brltty-6.8/minimal/Programs/bluetooth.c:504:6: branch_true: following ‘true’ branch (when ‘connection’ is non-NULL)...
brltty-6.8/minimal/Programs/bluetooth.c:504:6: branch_true: ...to here
brltty-6.8/minimal/Programs/bluetooth.c:509:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/bluetooth.c:515:13: branch_true: ...to here
brltty-6.8/minimal/Programs/bluetooth.c:515:13: call_function: calling ‘bthRecallConnectError’ from ‘bthOpenConnection’
brltty-6.8/minimal/Programs/bluetooth.c:515:13: return_function: returning to ‘bthOpenConnection’ from ‘bthRecallConnectError’
brltty-6.8/minimal/Programs/bluetooth.c:515:12: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/bluetooth.c:552:1: branch_false: ...to here
brltty-6.8/minimal/Programs/bluetooth.c:522:12: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/bluetooth.c:523:9: branch_false: ...to here
brltty-6.8/minimal/Programs/bluetooth.c:530:16: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/bluetooth.c:534:17: branch_false: ...to here
brltty-6.8/minimal/Programs/bluetooth.c:540:9: call_function: calling ‘bthRememberConnectError’ from ‘bthOpenConnection’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def450]
brltty-6.8/minimal/Programs/bluetooth.c:509:34: warning[-Wanalyzer-malloc-leak]: leak of ‘connection’
brltty-6.8/minimal/Programs/bluetooth.c:504:21: acquire_memory: allocated here
brltty-6.8/minimal/Programs/bluetooth.c:504:6: branch_true: following ‘true’ branch (when ‘connection’ is non-NULL)...
brltty-6.8/minimal/Programs/bluetooth.c:504:6: branch_true: ...to here
brltty-6.8/minimal/Programs/bluetooth.c:509:34: throw: if ‘bthNewConnectionExtension’ throws an exception...
brltty-6.8/minimal/Programs/bluetooth.c:509:34: danger: ‘connection’ leaks here; was allocated at [(1)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def451]
brltty-6.8/minimal/Programs/bluetooth.c:527:11: warning[-Wanalyzer-malloc-leak]: leak of ‘connection’
brltty-6.8/minimal/Programs/bluetooth.c:501:1: enter_function: entry to ‘bthOpenConnection’
brltty-6.8/minimal/Programs/bluetooth.c:504:21: acquire_memory: allocated here
brltty-6.8/minimal/Programs/bluetooth.c:504:6: branch_true: following ‘true’ branch (when ‘connection’ is non-NULL)...
brltty-6.8/minimal/Programs/bluetooth.c:504:6: branch_true: ...to here
brltty-6.8/minimal/Programs/bluetooth.c:509:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/bluetooth.c:515:13: branch_true: ...to here
brltty-6.8/minimal/Programs/bluetooth.c:515:13: call_function: calling ‘bthRecallConnectError’ from ‘bthOpenConnection’
brltty-6.8/minimal/Programs/bluetooth.c:515:13: return_function: returning to ‘bthOpenConnection’ from ‘bthRecallConnectError’
brltty-6.8/minimal/Programs/bluetooth.c:515:12: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/bluetooth.c:552:1: branch_false: ...to here
brltty-6.8/minimal/Programs/bluetooth.c:522:12: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/bluetooth.c:523:9: branch_false: ...to here
brltty-6.8/minimal/Programs/bluetooth.c:527:11: throw: if ‘startTimePeriod’ throws an exception...
brltty-6.8/minimal/Programs/bluetooth.c:527:11: danger: ‘connection’ leaks here; was allocated at [(2)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def452]
brltty-6.8/minimal/Programs/bluetooth.c:530:17: warning[-Wanalyzer-malloc-leak]: leak of ‘connection’
brltty-6.8/minimal/Programs/bluetooth.c:501:1: enter_function: entry to ‘bthOpenConnection’
brltty-6.8/minimal/Programs/bluetooth.c:504:21: acquire_memory: allocated here
brltty-6.8/minimal/Programs/bluetooth.c:504:6: branch_true: following ‘true’ branch (when ‘connection’ is non-NULL)...
brltty-6.8/minimal/Programs/bluetooth.c:504:6: branch_true: ...to here
brltty-6.8/minimal/Programs/bluetooth.c:509:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/bluetooth.c:515:13: branch_true: ...to here
brltty-6.8/minimal/Programs/bluetooth.c:515:13: call_function: calling ‘bthRecallConnectError’ from ‘bthOpenConnection’
brltty-6.8/minimal/Programs/bluetooth.c:515:13: return_function: returning to ‘bthOpenConnection’ from ‘bthRecallConnectError’
brltty-6.8/minimal/Programs/bluetooth.c:515:12: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/bluetooth.c:552:1: branch_false: ...to here
brltty-6.8/minimal/Programs/bluetooth.c:522:12: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/bluetooth.c:523:9: branch_false: ...to here
brltty-6.8/minimal/Programs/bluetooth.c:530:17: throw: if ‘bthOpenChannel’ throws an exception...
brltty-6.8/minimal/Programs/bluetooth.c:530:17: danger: ‘connection’ leaks here; was allocated at [(2)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def453]
brltty-6.8/minimal/Programs/bluetooth.c:534:17: warning[-Wanalyzer-malloc-leak]: leak of ‘connection’
brltty-6.8/minimal/Programs/bluetooth.c:501:1: enter_function: entry to ‘bthOpenConnection’
brltty-6.8/minimal/Programs/bluetooth.c:504:21: acquire_memory: allocated here
brltty-6.8/minimal/Programs/bluetooth.c:504:6: branch_true: following ‘true’ branch (when ‘connection’ is non-NULL)...
brltty-6.8/minimal/Programs/bluetooth.c:504:6: branch_true: ...to here
brltty-6.8/minimal/Programs/bluetooth.c:509:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/bluetooth.c:515:13: branch_true: ...to here
brltty-6.8/minimal/Programs/bluetooth.c:515:13: call_function: calling ‘bthRecallConnectError’ from ‘bthOpenConnection’
brltty-6.8/minimal/Programs/bluetooth.c:515:13: return_function: returning to ‘bthOpenConnection’ from ‘bthRecallConnectError’
brltty-6.8/minimal/Programs/bluetooth.c:515:12: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/bluetooth.c:552:1: branch_false: ...to here
brltty-6.8/minimal/Programs/bluetooth.c:522:12: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/bluetooth.c:523:9: branch_false: ...to here
brltty-6.8/minimal/Programs/bluetooth.c:530:16: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/bluetooth.c:534:17: branch_false: ...to here
brltty-6.8/minimal/Programs/bluetooth.c:534:17: throw: if ‘afterTimePeriod’ throws an exception...
brltty-6.8/minimal/Programs/bluetooth.c:534:17: danger: ‘connection’ leaks here; was allocated at [(2)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def454]
brltty-6.8/minimal/Programs/bluetooth.c:536:13: warning[-Wanalyzer-malloc-leak]: leak of ‘connection’
brltty-6.8/minimal/Programs/bluetooth.c:501:1: enter_function: entry to ‘bthOpenConnection’
brltty-6.8/minimal/Programs/bluetooth.c:504:21: acquire_memory: allocated here
brltty-6.8/minimal/Programs/bluetooth.c:504:6: branch_true: following ‘true’ branch (when ‘connection’ is non-NULL)...
brltty-6.8/minimal/Programs/bluetooth.c:504:6: branch_true: ...to here
brltty-6.8/minimal/Programs/bluetooth.c:509:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/bluetooth.c:515:13: branch_true: ...to here
brltty-6.8/minimal/Programs/bluetooth.c:515:13: call_function: calling ‘bthRecallConnectError’ from ‘bthOpenConnection’
brltty-6.8/minimal/Programs/bluetooth.c:515:13: return_function: returning to ‘bthOpenConnection’ from ‘bthRecallConnectError’
brltty-6.8/minimal/Programs/bluetooth.c:515:12: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/bluetooth.c:552:1: branch_false: ...to here
brltty-6.8/minimal/Programs/bluetooth.c:522:12: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/bluetooth.c:523:9: branch_false: ...to here
brltty-6.8/minimal/Programs/bluetooth.c:530:16: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/bluetooth.c:534:17: branch_false: ...to here
brltty-6.8/minimal/Programs/bluetooth.c:534:16: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/bluetooth.c:535:17: branch_false: ...to here
brltty-6.8/minimal/Programs/bluetooth.c:535:16: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/bluetooth.c:536:13: branch_false: ...to here
brltty-6.8/minimal/Programs/bluetooth.c:536:13: throw: if ‘asyncWait’ throws an exception...
brltty-6.8/minimal/Programs/bluetooth.c:536:13: danger: ‘connection’ leaks here; was allocated at [(2)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def455]
brltty-6.8/minimal/Programs/bluetooth.c:543:7: warning[-Wanalyzer-malloc-leak]: leak of ‘connection’
brltty-6.8/minimal/Programs/bluetooth.c:501:1: enter_function: entry to ‘bthOpenConnection’
brltty-6.8/minimal/Programs/bluetooth.c:504:21: acquire_memory: allocated here
brltty-6.8/minimal/Programs/bluetooth.c:504:6: branch_true: following ‘true’ branch (when ‘connection’ is non-NULL)...
brltty-6.8/minimal/Programs/bluetooth.c:504:6: branch_true: ...to here
brltty-6.8/minimal/Programs/bluetooth.c:509:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/bluetooth.c:515:13: branch_true: ...to here
brltty-6.8/minimal/Programs/bluetooth.c:515:13: call_function: calling ‘bthRecallConnectError’ from ‘bthOpenConnection’
brltty-6.8/minimal/Programs/bluetooth.c:515:13: return_function: returning to ‘bthOpenConnection’ from ‘bthRecallConnectError’
brltty-6.8/minimal/Programs/bluetooth.c:543:7: throw: if ‘bthReleaseConnectionExtension’ throws an exception...
brltty-6.8/minimal/Programs/bluetooth.c:543:7: danger: ‘connection’ leaks here; was allocated at [(2)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def456]
brltty-6.8/minimal/Programs/bluetooth_linux.c:220:5: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘socketDescriptor’
brltty-6.8/minimal/Programs/bluetooth_linux.c:217:39: acquire_resource: socket created here
brltty-6.8/minimal/Programs/bluetooth_linux.c:219:6: branch_true: following ‘true’ branch (when ‘socketDescriptor != -1’)...
brltty-6.8/minimal/Programs/bluetooth_linux.c:220:5: branch_true: ...to here
brltty-6.8/minimal/Programs/bluetooth_linux.c:220:5: throw: if ‘setCloseOnExec’ throws an exception...
brltty-6.8/minimal/Programs/bluetooth_linux.c:220:5: danger: ‘socketDescriptor’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def457]
brltty-6.8/minimal/Programs/brl_base.c:391:28: warning[-Wanalyzer-malloc-leak]: leak of ‘msg’
brltty-6.8/minimal/Programs/brl_base.c:374:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/brl_base.c:377:10: branch_true: ...to here
brltty-6.8/minimal/Programs/brl_base.c:377:8: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/brl_base.c:383:23: branch_false: ...to here
brltty-6.8/minimal/Programs/brl_base.c:383:16: acquire_memory: allocated here
brltty-6.8/minimal/Programs/brl_base.c:383:8: branch_true: following ‘true’ branch (when ‘msg’ is non-NULL)...
brltty-6.8/minimal/Programs/brl_base.c:383:8: branch_true: ...to here
brltty-6.8/minimal/Programs/brl_base.c:391:28: throw: if ‘findElement’ throws an exception...
brltty-6.8/minimal/Programs/brl_base.c:391:28: danger: ‘msg’ leaks here; was allocated at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def458]
brltty-6.8/minimal/Programs/brl_base.c:576:7: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
brltty-6.8/minimal/Programs/brl_base.c:560:6: branch_true: following ‘true’ branch (when ‘map’ is non-NULL)...
brltty-6.8/minimal/Programs/brl_base.c:560:6: branch_true: ...to here
brltty-6.8/minimal/Programs/brl_base.c:566:8: branch_false: following ‘false’ branch (when ‘count > 3’)...
brltty-6.8/minimal/Programs/brl_base.c:571:31: branch_false: ...to here
brltty-6.8/minimal/Programs/brl_base.c:571:24: acquire_memory: allocated here
brltty-6.8/minimal/Programs/brl_base.c:571:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/brl_base.c:571:8: branch_true: ...to here
brltty-6.8/minimal/Programs/brl_base.c:572:24: branch_true: following ‘true’ branch (when ‘i < count’)...
brltty-6.8/minimal/Programs/brl_base.c:573:34: branch_true: ...to here
brltty-6.8/minimal/Programs/brl_base.c:576:7: throw: if ‘qsort’ throws an exception...
brltty-6.8/minimal/Programs/brl_base.c:576:7: danger: ‘<unknown>’ leaks here; was allocated at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def459]
brltty-6.8/minimal/Programs/brl_base.c:576:7: warning[-Wanalyzer-malloc-leak]: leak of ‘map’
brltty-6.8/minimal/Programs/brl_base.c:560:14: acquire_memory: allocated here
brltty-6.8/minimal/Programs/brl_base.c:560:6: branch_true: following ‘true’ branch (when ‘map’ is non-NULL)...
brltty-6.8/minimal/Programs/brl_base.c:560:6: branch_true: ...to here
brltty-6.8/minimal/Programs/brl_base.c:566:8: branch_false: following ‘false’ branch (when ‘count > 3’)...
brltty-6.8/minimal/Programs/brl_base.c:571:31: branch_false: ...to here
brltty-6.8/minimal/Programs/brl_base.c:571:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/brl_base.c:571:8: branch_true: ...to here
brltty-6.8/minimal/Programs/brl_base.c:572:24: branch_true: following ‘true’ branch (when ‘i < count’)...
brltty-6.8/minimal/Programs/brl_base.c:573:34: branch_true: ...to here
brltty-6.8/minimal/Programs/brl_base.c:576:7: throw: if ‘qsort’ throws an exception...
brltty-6.8/minimal/Programs/brl_base.c:576:7: danger: ‘map’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-562): [#def460]
brltty-6.8/minimal/Programs/brlapi_client.c:619: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
Error: CPPCHECK_WARNING (CWE-562): [#def461]
brltty-6.8/minimal/Programs/brlapi_client.c:621: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
Error: GCC_ANALYZER_WARNING (CWE-401): [#def462]
brltty-6.8/minimal/Programs/brlapi_client.c:2718:9: warning[-Wanalyzer-malloc-leak]: leak of ‘brlapi_error_location()’
brltty-6.8/minimal/Programs/brlapi_client.c:1448:24: enter_function: entry to ‘brlapi__getParameter’
brltty-6.8/minimal/Programs/brlapi_client.c:1454:5: call_function: calling ‘brlapi_error_location’ from ‘brlapi__getParameter’
brltty-6.8/minimal/Programs/brlapi_client.c:1454:5: return_function: returning to ‘brlapi__getParameter’ from ‘brlapi_error_location’
brltty-6.8/minimal/Programs/brlapi_client.c:2718:9: danger: ‘brlapi_error_location()’ leaks here; was allocated at [(12)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/11)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def463]
brltty-6.8/minimal/Programs/brlapi_client.c:2726:18: warning[-Wanalyzer-malloc-leak]: leak of ‘errorp’
brltty-6.8/minimal/Programs/brlapi_client.c:2560:20: enter_function: entry to ‘brlapi__ignoreKeyRanges’
brltty-6.8/minimal/Programs/brlapi_client.c:2562:10: call_function: calling ‘ignore_accept_key_ranges’ from ‘brlapi__ignoreKeyRanges’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def464]
brltty-6.8/minimal/Programs/brlapi_client.c:2734:1: warning[-Wanalyzer-malloc-leak]: leak of ‘errorp’
brltty-6.8/minimal/Programs/brlapi_client.c:2724:21: acquire_memory: allocated here
brltty-6.8/minimal/Programs/brlapi_client.c:2724:12: branch_true: following ‘true’ branch (when ‘errorp’ is non-NULL)...
brltty-6.8/minimal/Programs/brlapi_client.c:2724:50: branch_true: ...to here
brltty-6.8/minimal/Programs/brlapi_client.c:2724:13: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/brlapi_client.c:2724:13: branch_false: ...to here
brltty-6.8/minimal/Programs/brlapi_client.c:2734:1: danger: ‘errorp’ leaks here; was allocated at [(1)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def465]
brltty-6.8/minimal/Programs/brlapi_common.h:606: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: ret
Error: CPPCHECK_WARNING (CWE-476): [#def466]
brltty-6.8/minimal/Programs/brlapi_server.c:2453: error[ctunullpointer]: Null pointer dereference: c
Error: CPPCHECK_WARNING (CWE-476): [#def467]
brltty-6.8/minimal/Programs/brlapi_server.c:2602: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: s
Error: CPPCHECK_WARNING (CWE-476): [#def468]
brltty-6.8/minimal/Programs/brlapi_server.c:2603: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: s
Error: CPPCHECK_WARNING (CWE-476): [#def469]
brltty-6.8/minimal/Programs/brlapi_server.c:2604: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: s
Error: CPPCHECK_WARNING (CWE-476): [#def470]
brltty-6.8/minimal/Programs/brlapi_server.c:2605: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: s
Error: CPPCHECK_WARNING (CWE-476): [#def471]
brltty-6.8/minimal/Programs/brlapi_server.c:2606: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: s
Error: CPPCHECK_WARNING (CWE-476): [#def472]
brltty-6.8/minimal/Programs/brlapi_server.c:2607: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: s
Error: CPPCHECK_WARNING (CWE-476): [#def473]
brltty-6.8/minimal/Programs/brlapi_server.c:2608: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: s
Error: CPPCHECK_WARNING (CWE-401): [#def474]
brltty-6.8/minimal/Programs/brlapi_server.c:4612: error[memleakOnRealloc]: Common realloc mistake: 'coreWindowText' nulled but not freed upon failure
Error: CPPCHECK_WARNING (CWE-401): [#def475]
brltty-6.8/minimal/Programs/brlapi_server.c:4613: error[memleakOnRealloc]: Common realloc mistake: 'coreWindowDots' nulled but not freed upon failure
Error: GCC_ANALYZER_WARNING (CWE-401): [#def476]
brltty-6.8/minimal/Programs/brltty-ctb.c:310:23: warning[-Wanalyzer-malloc-leak]: leak of ‘makeUtf8FromCells(__builtin_alloca_with_align((sizetype)((int)text.length << 3), 8), (long unsigned int)outputCount)’
brltty-6.8/minimal/Programs/brltty-ctb.c:362:8: enter_function: entry to ‘processContractsOperands’
brltty-6.8/minimal/Programs/brltty-ctb.c:365:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/brltty-ctb.c:368:9: branch_true: ...to here
brltty-6.8/minimal/Programs/brltty-ctb.c:368:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/brltty-ctb.c:368:62: branch_true: ...to here
brltty-6.8/minimal/Programs/brltty-ctb.c:382:25: call_function: calling ‘makeUtf8FromCells’ from ‘processContractsOperands’
brltty-6.8/minimal/Programs/brltty-ctb.c:382:25: return_function: returning to ‘processContractsOperands’ from ‘makeUtf8FromCells’
brltty-6.8/minimal/Programs/brltty-ctb.c:382:12: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/brltty-ctb.c:385:26: branch_true: ...to here
brltty-6.8/minimal/Programs/brltty-ctb.c:385:26: call_function: calling ‘makeUtf8FromCells’ from ‘processContractsOperands’
brltty-6.8/minimal/Programs/brltty-ctb.c:385:26: return_function: returning to ‘processContractsOperands’ from ‘makeUtf8FromCells’
brltty-6.8/minimal/Programs/brltty-ctb.c:385:15: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/brltty-ctb.c:386:15: branch_true: ...to here
brltty-6.8/minimal/Programs/brltty-ctb.c:386:15: throw: if ‘reportDataError’ throws an exception...
brltty-6.8/minimal/Programs/brltty-ctb.c:310:23: danger: ‘makeUtf8FromCells(__builtin_alloca_with_align((sizetype)((int)text.length << 3), 8), (long unsigned int)outputCount)’ leaks here; was allocated at [(19)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/18)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def477]
brltty-6.8/minimal/Programs/brltty-ctb.c:318:21: warning[-Wanalyzer-malloc-leak]: leak of ‘ch’
brltty-6.8/minimal/Programs/brltty-ctb.c:310:16: acquire_memory: allocated here
brltty-6.8/minimal/Programs/brltty-ctb.c:312:6: branch_true: following ‘true’ branch (when ‘text’ is non-NULL)...
brltty-6.8/minimal/Programs/brltty-ctb.c:312:6: branch_true: ...to here
brltty-6.8/minimal/Programs/brltty-ctb.c:316:15: branch_true: following ‘true’ branch (when ‘i < count’)...
brltty-6.8/minimal/Programs/brltty-ctb.c:318:45: branch_true: ...to here
brltty-6.8/minimal/Programs/brltty-ctb.c:318:21: throw: if ‘convertWcharToUtf8’ throws an exception...
brltty-6.8/minimal/Programs/brltty-ctb.c:318:21: danger: ‘ch’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def478]
brltty-6.8/minimal/Programs/brltty-ctb.c:318:21: warning[-Wanalyzer-malloc-leak]: leak of ‘text’
brltty-6.8/minimal/Programs/brltty-ctb.c:310:16: acquire_memory: allocated here
brltty-6.8/minimal/Programs/brltty-ctb.c:312:6: branch_true: following ‘true’ branch (when ‘text’ is non-NULL)...
brltty-6.8/minimal/Programs/brltty-ctb.c:312:6: branch_true: ...to here
brltty-6.8/minimal/Programs/brltty-ctb.c:316:15: branch_true: following ‘true’ branch (when ‘i < count’)...
brltty-6.8/minimal/Programs/brltty-ctb.c:318:45: branch_true: ...to here
brltty-6.8/minimal/Programs/brltty-ctb.c:320:10: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/brltty-ctb.c:323:10: branch_false: ...to here
brltty-6.8/minimal/Programs/brltty-ctb.c:316:15: branch_true: following ‘true’ branch (when ‘i < count’)...
brltty-6.8/minimal/Programs/brltty-ctb.c:318:45: branch_true: ...to here
brltty-6.8/minimal/Programs/brltty-ctb.c:318:21: throw: if ‘convertWcharToUtf8’ throws an exception...
brltty-6.8/minimal/Programs/brltty-ctb.c:318:21: danger: ‘text’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-457): [#def479]
brltty-6.8/minimal/Programs/brltty-lscmds.c:236: warning[uninitvar]: Uninitialized variables: commands.name, commands.description, commands.code, commands.isToggle, commands.isMotion, commands.isRow, commands.isVertical, commands.isHorizontal, commands.isPanning, commands.isInput, commands.isCharacter, commands.isBraille, commands.isKeyboard, commands.isRouting, commands.isColumn, commands.isOffset, commands.isRange
Error: GCC_ANALYZER_WARNING (CWE-401): [#def480]
brltty-6.8/minimal/Programs/brltty-lsinc.c:51:10: warning[-Wanalyzer-malloc-leak]: leak of ‘name’
brltty-6.8/minimal/Programs/brltty-lsinc.c:49:12: acquire_memory: allocated here
brltty-6.8/minimal/Programs/brltty-lsinc.c:50:8: branch_false: following ‘false’ branch (when ‘name’ is non-NULL)...
brltty-6.8/minimal/Programs/brltty-lsinc.c:51:10: branch_false: ...to here
brltty-6.8/minimal/Programs/brltty-lsinc.c:51:10: throw: if ‘tsearch’ throws an exception...
brltty-6.8/minimal/Programs/brltty-lsinc.c:51:10: danger: ‘name’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def481]
brltty-6.8/minimal/Programs/brltty-lsinc.c:54:1: warning[-Wanalyzer-malloc-leak]: leak of ‘name’
brltty-6.8/minimal/Programs/brltty-lsinc.c:49:12: acquire_memory: allocated here
brltty-6.8/minimal/Programs/brltty-lsinc.c:50:8: branch_false: following ‘false’ branch (when ‘name’ is non-NULL)...
brltty-6.8/minimal/Programs/brltty-lsinc.c:51:10: branch_false: ...to here
brltty-6.8/minimal/Programs/brltty-lsinc.c:51:8: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/brltty-lsinc.c:52:5: branch_false: ...to here
brltty-6.8/minimal/Programs/brltty-lsinc.c:54:1: danger: ‘name’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-457): [#def482]
brltty-6.8/minimal/Programs/brltty-ttb.c:403: warning[uninitvar]: Uninitialized variables: inputCharactersBuffer.character, inputCharactersBuffer.dots
Error: GCC_ANALYZER_WARNING (CWE-401): [#def483]
brltty-6.8/minimal/Programs/charset.c:149:8: warning[-Wanalyzer-malloc-leak]: leak of ‘charset’
brltty-6.8/minimal/Programs/charset.c:144:19: acquire_memory: allocated here
brltty-6.8/minimal/Programs/charset.c:144:6: branch_false: following ‘false’ branch (when ‘charset’ is non-NULL)...
brltty-6.8/minimal/Programs/charset.c:149:8: branch_false: ...to here
brltty-6.8/minimal/Programs/charset.c:149:8: throw: if ‘registerCharacterSet’ throws an exception...
brltty-6.8/minimal/Programs/charset.c:149:8: danger: ‘charset’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def484]
brltty-6.8/minimal/Programs/charset.c:157:5: warning[-Wanalyzer-malloc-leak]: leak of ‘charset’
brltty-6.8/minimal/Programs/charset.c:144:19: acquire_memory: allocated here
brltty-6.8/minimal/Programs/charset.c:144:6: branch_false: following ‘false’ branch (when ‘charset’ is non-NULL)...
brltty-6.8/minimal/Programs/charset.c:149:8: branch_false: ...to here
brltty-6.8/minimal/Programs/charset.c:149:6: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/charset.c:154:7: branch_false: ...to here
brltty-6.8/minimal/Programs/charset.c:154:6: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/charset.c:157:5: branch_false: ...to here
brltty-6.8/minimal/Programs/charset.c:157:5: throw: if ‘registerProgramMemory’ throws an exception...
brltty-6.8/minimal/Programs/charset.c:157:5: danger: ‘charset’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-121): [#def485]
brltty-6.8/minimal/Programs/charset_iconv.c:121:9: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
brltty-6.8/minimal/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:121:8: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:132:5: branch_false: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:121:8: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:132:5: branch_false: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:121:9: danger: out-of-bounds write from byte 88 till byte 95 but ‘convTable’ ends at byte 64
Error: GCC_ANALYZER_WARNING (CWE-126): [#def486]
brltty-6.8/minimal/Programs/charset_iconv.c:121:39: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
brltty-6.8/minimal/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:121:8: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:132:5: branch_false: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:121:8: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:132:5: branch_false: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:121:39: danger: out-of-bounds read from byte 80 till byte 87 but ‘convTable’ ends at byte 64
Error: GCC_ANALYZER_WARNING (CWE-401): [#def487]
brltty-6.8/minimal/Programs/charset_iconv.c:121:56: warning[-Wanalyzer-malloc-leak]: leak of ‘iconv_open(*conv.toCharset, *conv.fromCharset)’
brltty-6.8/minimal/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:121:28: acquire_memory: allocated here
brltty-6.8/minimal/Programs/charset_iconv.c:121:8: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:132:5: branch_false: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:121:28: throw: if ‘iconv_open’ throws an exception...
brltty-6.8/minimal/Programs/charset_iconv.c:121:56: danger: ‘iconv_open(*conv.toCharset, *conv.fromCharset)’ leaks here; was allocated at [(3)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-126): [#def488]
brltty-6.8/minimal/Programs/charset_iconv.c:121:56: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
brltty-6.8/minimal/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:121:8: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:132:5: branch_false: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:121:8: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:132:5: branch_false: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:121:56: danger: out-of-bounds read from byte 72 till byte 79 but ‘convTable’ ends at byte 64
Error: GCC_ANALYZER_WARNING (CWE-401): [#def489]
brltty-6.8/minimal/Programs/charset_iconv.c:122:7: warning[-Wanalyzer-malloc-leak]: leak of ‘convTable[0].newHandle’
brltty-6.8/minimal/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:121:28: acquire_memory: allocated here
brltty-6.8/minimal/Programs/charset_iconv.c:121:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:122:7: branch_true: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:122:7: throw: if ‘logSystemError’ throws an exception...
brltty-6.8/minimal/Programs/charset_iconv.c:122:7: danger: ‘convTable[0].newHandle’ leaks here; was allocated at [(3)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def490]
brltty-6.8/minimal/Programs/charset_iconv.c:122:7: warning[-Wanalyzer-malloc-leak]: leak of ‘convTable[1].newHandle’
brltty-6.8/minimal/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:121:28: acquire_memory: allocated here
brltty-6.8/minimal/Programs/charset_iconv.c:121:8: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:132:5: branch_false: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:121:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:122:7: branch_true: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:122:7: throw: if ‘logSystemError’ throws an exception...
brltty-6.8/minimal/Programs/charset_iconv.c:122:7: danger: ‘convTable[1].newHandle’ leaks here; was allocated at [(3)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def491]
brltty-6.8/minimal/Programs/charset_iconv.c:122:7: warning[-Wanalyzer-malloc-leak]: leak of ‘convTable[2].newHandle’
brltty-6.8/minimal/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:121:28: acquire_memory: allocated here
brltty-6.8/minimal/Programs/charset_iconv.c:121:8: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:132:5: branch_false: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:121:8: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:132:5: branch_false: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:121:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:122:7: branch_true: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:122:7: throw: if ‘logSystemError’ throws an exception...
brltty-6.8/minimal/Programs/charset_iconv.c:122:7: danger: ‘convTable[2].newHandle’ leaks here; was allocated at [(3)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def492]
brltty-6.8/minimal/Programs/charset_iconv.c:122:7: warning[-Wanalyzer-malloc-leak]: leak of ‘convTable[3].newHandle’
brltty-6.8/minimal/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:121:28: acquire_memory: allocated here
brltty-6.8/minimal/Programs/charset_iconv.c:121:8: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:132:5: branch_false: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:121:8: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:132:5: branch_false: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:121:8: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:132:5: branch_false: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:121:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:122:7: branch_true: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:122:7: throw: if ‘logSystemError’ throws an exception...
brltty-6.8/minimal/Programs/charset_iconv.c:122:7: danger: ‘convTable[3].newHandle’ leaks here; was allocated at [(3)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def493]
brltty-6.8/minimal/Programs/charset_iconv.c:126:9: warning[-Wanalyzer-malloc-leak]: leak of ‘convTable[1].newHandle’
brltty-6.8/minimal/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:121:28: acquire_memory: allocated here
brltty-6.8/minimal/Programs/charset_iconv.c:121:8: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:132:5: branch_false: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:121:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:122:7: branch_true: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:124:14: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:125:9: branch_true: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:126:9: throw: if ‘iconv_close’ throws an exception...
brltty-6.8/minimal/Programs/charset_iconv.c:126:9: danger: ‘convTable[1].newHandle’ leaks here; was allocated at [(3)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def494]
brltty-6.8/minimal/Programs/charset_iconv.c:126:9: warning[-Wanalyzer-malloc-leak]: leak of ‘convTable[2].newHandle’
brltty-6.8/minimal/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:121:28: acquire_memory: allocated here
brltty-6.8/minimal/Programs/charset_iconv.c:121:8: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:132:5: branch_false: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:121:8: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:132:5: branch_false: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:121:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:122:7: branch_true: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:124:14: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:125:9: branch_true: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:126:9: throw: if ‘iconv_close’ throws an exception...
brltty-6.8/minimal/Programs/charset_iconv.c:126:9: danger: ‘convTable[2].newHandle’ leaks here; was allocated at [(3)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def495]
brltty-6.8/minimal/Programs/charset_iconv.c:126:9: warning[-Wanalyzer-malloc-leak]: leak of ‘convTable[3].newHandle’
brltty-6.8/minimal/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:121:28: acquire_memory: allocated here
brltty-6.8/minimal/Programs/charset_iconv.c:121:8: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:132:5: branch_false: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:121:8: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:132:5: branch_false: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:121:8: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:132:5: branch_false: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:121:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:122:7: branch_true: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:124:14: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:125:9: branch_true: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:126:9: throw: if ‘iconv_close’ throws an exception...
brltty-6.8/minimal/Programs/charset_iconv.c:126:9: danger: ‘convTable[3].newHandle’ leaks here; was allocated at [(3)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-126): [#def496]
brltty-6.8/minimal/Programs/charset_iconv.c:126:9: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
brltty-6.8/minimal/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:121:8: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:132:5: branch_false: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:121:8: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:132:5: branch_false: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:121:8: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:132:5: branch_false: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:121:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:122:7: branch_true: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:124:14: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:125:9: branch_true: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:126:9: danger: out-of-bounds read from byte 88 till byte 95 but ‘convTable’ ends at byte 64
Error: GCC_ANALYZER_WARNING (CWE-401): [#def497]
brltty-6.8/minimal/Programs/charset_iconv.c:129:14: warning[-Wanalyzer-malloc-leak]: leak of ‘convTable[0].newHandle’
brltty-6.8/minimal/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:121:28: acquire_memory: allocated here
brltty-6.8/minimal/Programs/charset_iconv.c:121:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:122:7: branch_true: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:124:14: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:129:14: branch_false: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:129:14: danger: ‘convTable[0].newHandle’ leaks here; was allocated at [(3)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def498]
brltty-6.8/minimal/Programs/charset_iconv.c:129:14: warning[-Wanalyzer-malloc-leak]: leak of ‘convTable[1].newHandle’
brltty-6.8/minimal/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:121:28: acquire_memory: allocated here
brltty-6.8/minimal/Programs/charset_iconv.c:121:8: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:132:5: branch_false: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:121:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:122:7: branch_true: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:129:14: danger: ‘convTable[1].newHandle’ leaks here; was allocated at [(3)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-126): [#def499]
brltty-6.8/minimal/Programs/charset_iconv.c:138:10: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
brltty-6.8/minimal/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:121:8: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:132:5: branch_false: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:121:8: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:132:5: branch_false: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:121:8: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:132:5: branch_false: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:120:10: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:120:10: branch_false: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:135:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:136:5: branch_true: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:138:10: danger: out-of-bounds read from byte 64 till byte 71 but ‘convTable’ ends at byte 64
Error: GCC_ANALYZER_WARNING (CWE-401): [#def500]
brltty-6.8/minimal/Programs/charset_iconv.c:141:7: warning[-Wanalyzer-malloc-leak]: leak of ‘convTable[1].newHandle’
brltty-6.8/minimal/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:121:28: acquire_memory: allocated here
brltty-6.8/minimal/Programs/charset_iconv.c:121:8: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:132:5: branch_false: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:121:8: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:132:5: branch_false: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:120:10: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:120:10: branch_false: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:135:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:136:5: branch_true: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:138:8: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:141:7: branch_false: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:141:7: throw: if ‘iconv_close’ throws an exception...
brltty-6.8/minimal/Programs/charset_iconv.c:141:7: danger: ‘convTable[1].newHandle’ leaks here; was allocated at [(3)](sarif:/runs/0/results/22/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def501]
brltty-6.8/minimal/Programs/charset_iconv.c:141:7: warning[-Wanalyzer-malloc-leak]: leak of ‘convTable[firstTime].newHandle’
brltty-6.8/minimal/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:121:28: acquire_memory: allocated here
brltty-6.8/minimal/Programs/charset_iconv.c:121:8: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:132:5: branch_false: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:120:10: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:120:10: branch_false: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:135:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:136:5: branch_true: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:138:8: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:141:7: branch_false: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:141:7: throw: if ‘iconv_close’ throws an exception...
brltty-6.8/minimal/Programs/charset_iconv.c:141:7: danger: ‘convTable[firstTime].newHandle’ leaks here; was allocated at [(3)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-126): [#def502]
brltty-6.8/minimal/Programs/charset_iconv.c:144:21: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
brltty-6.8/minimal/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:121:8: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:132:5: branch_false: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:121:8: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:132:5: branch_false: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:121:8: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:132:5: branch_false: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:120:10: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:120:10: branch_false: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:135:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:136:5: branch_true: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:138:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:144:21: branch_true: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:144:21: danger: out-of-bounds read from byte 88 till byte 95 but ‘convTable’ ends at byte 64
Error: GCC_ANALYZER_WARNING (CWE-401): [#def503]
brltty-6.8/minimal/Programs/charset_iconv.c:147:18: warning[-Wanalyzer-malloc-leak]: leak of ‘convTable[0].newHandle’
brltty-6.8/minimal/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:121:28: acquire_memory: allocated here
brltty-6.8/minimal/Programs/charset_iconv.c:121:8: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:132:5: branch_false: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:120:10: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:120:10: branch_false: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:135:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:136:5: branch_true: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:138:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:144:21: branch_true: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:135:10: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:147:6: branch_false: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:147:6: branch_true: following ‘true’ branch (when ‘firstTime != 0’)...
brltty-6.8/minimal/Programs/charset_iconv.c:147:18: branch_true: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:147:18: throw: if ‘onProgramExit’ throws an exception...
brltty-6.8/minimal/Programs/charset_iconv.c:147:18: danger: ‘convTable[0].newHandle’ leaks here; was allocated at [(3)](sarif:/runs/0/results/25/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def504]
brltty-6.8/minimal/Programs/charset_iconv.c:147:18: warning[-Wanalyzer-malloc-leak]: leak of ‘convTable[1].newHandle’
brltty-6.8/minimal/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:121:28: acquire_memory: allocated here
brltty-6.8/minimal/Programs/charset_iconv.c:121:8: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:132:5: branch_false: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:121:8: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:132:5: branch_false: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:120:10: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:120:10: branch_false: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:135:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:136:5: branch_true: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:138:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:144:21: branch_true: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:135:10: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:147:6: branch_false: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:147:6: branch_true: following ‘true’ branch (when ‘firstTime != 0’)...
brltty-6.8/minimal/Programs/charset_iconv.c:147:18: branch_true: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:147:18: throw: if ‘onProgramExit’ throws an exception...
brltty-6.8/minimal/Programs/charset_iconv.c:147:18: danger: ‘convTable[1].newHandle’ leaks here; was allocated at [(3)](sarif:/runs/0/results/26/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def505]
brltty-6.8/minimal/Programs/charset_iconv.c:147:18: warning[-Wanalyzer-malloc-leak]: leak of ‘convTable[2].newHandle’
brltty-6.8/minimal/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:121:28: acquire_memory: allocated here
brltty-6.8/minimal/Programs/charset_iconv.c:121:8: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:132:5: branch_false: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:121:8: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:132:5: branch_false: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:121:8: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:132:5: branch_false: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:120:10: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:120:10: branch_false: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:135:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:136:5: branch_true: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:138:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:144:21: branch_true: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:135:10: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:147:6: branch_false: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:147:6: branch_true: following ‘true’ branch (when ‘firstTime != 0’)...
brltty-6.8/minimal/Programs/charset_iconv.c:147:18: branch_true: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:147:18: throw: if ‘onProgramExit’ throws an exception...
brltty-6.8/minimal/Programs/charset_iconv.c:147:18: danger: ‘convTable[2].newHandle’ leaks here; was allocated at [(3)](sarif:/runs/0/results/27/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def506]
brltty-6.8/minimal/Programs/charset_iconv.c:149:1: warning[-Wanalyzer-malloc-leak]: leak of ‘convTable[2].newHandle’
brltty-6.8/minimal/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:121:28: acquire_memory: allocated here
brltty-6.8/minimal/Programs/charset_iconv.c:121:8: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:132:5: branch_false: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:121:8: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:132:5: branch_false: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:121:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:122:7: branch_true: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:149:1: danger: ‘convTable[2].newHandle’ leaks here; was allocated at [(3)](sarif:/runs/0/results/28/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def507]
brltty-6.8/minimal/Programs/charset_iconv.c:149:1: warning[-Wanalyzer-malloc-leak]: leak of ‘convTable[3].newHandle’
brltty-6.8/minimal/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:121:28: acquire_memory: allocated here
brltty-6.8/minimal/Programs/charset_iconv.c:121:8: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:132:5: branch_false: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:121:8: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:132:5: branch_false: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:121:8: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:132:5: branch_false: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:121:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/charset_iconv.c:122:7: branch_true: ...to here
brltty-6.8/minimal/Programs/charset_iconv.c:149:1: danger: ‘convTable[3].newHandle’ leaks here; was allocated at [(3)](sarif:/runs/0/results/29/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def508]
brltty-6.8/minimal/Programs/clipboard.c:81:32: warning[-Wanalyzer-malloc-leak]: leak of ‘entry’
brltty-6.8/minimal/Programs/clipboard.c:80:18: acquire_memory: allocated here
brltty-6.8/minimal/Programs/clipboard.c:80:8: branch_true: following ‘true’ branch (when ‘entry’ is non-NULL)...
brltty-6.8/minimal/Programs/clipboard.c:81:32: branch_true: ...to here
brltty-6.8/minimal/Programs/clipboard.c:81:32: throw: if ‘allocateCharacters’ throws an exception...
brltty-6.8/minimal/Programs/clipboard.c:81:32: danger: ‘entry’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def509]
brltty-6.8/minimal/Programs/clipboard.c:85:13: warning[-Wanalyzer-malloc-leak]: leak of ‘entry’
brltty-6.8/minimal/Programs/clipboard.c:80:18: acquire_memory: allocated here
brltty-6.8/minimal/Programs/clipboard.c:80:8: branch_true: following ‘true’ branch (when ‘entry’ is non-NULL)...
brltty-6.8/minimal/Programs/clipboard.c:81:32: branch_true: ...to here
brltty-6.8/minimal/Programs/clipboard.c:81:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/clipboard.c:82:9: branch_true: ...to here
brltty-6.8/minimal/Programs/clipboard.c:85:13: throw: if ‘enqueueItem’ throws an exception...
brltty-6.8/minimal/Programs/clipboard.c:85:13: danger: ‘entry’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def510]
brltty-6.8/minimal/Programs/clipboard.c:91:9: warning[-Wanalyzer-malloc-leak]: leak of ‘entry’
brltty-6.8/minimal/Programs/clipboard.c:80:18: acquire_memory: allocated here
brltty-6.8/minimal/Programs/clipboard.c:80:8: branch_true: following ‘true’ branch (when ‘entry’ is non-NULL)...
brltty-6.8/minimal/Programs/clipboard.c:81:32: branch_true: ...to here
brltty-6.8/minimal/Programs/clipboard.c:81:10: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/clipboard.c:91:9: branch_false: ...to here
brltty-6.8/minimal/Programs/clipboard.c:91:9: throw: if ‘logMallocError’ throws an exception...
brltty-6.8/minimal/Programs/clipboard.c:91:9: danger: ‘entry’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def511]
brltty-6.8/minimal/Programs/clipboard.c:256:31: warning[-Wanalyzer-malloc-leak]: leak of ‘cpb’
brltty-6.8/minimal/Programs/clipboard.c:249:14: acquire_memory: allocated here
brltty-6.8/minimal/Programs/clipboard.c:249:6: branch_true: following ‘true’ branch (when ‘cpb’ is non-NULL)...
brltty-6.8/minimal/Programs/clipboard.c:250:5: branch_true: ...to here
brltty-6.8/minimal/Programs/clipboard.c:256:31: throw: if ‘newQueue’ throws an exception...
brltty-6.8/minimal/Programs/clipboard.c:256:31: danger: ‘cpb’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def512]
brltty-6.8/minimal/Programs/clipboard.c:264:1: warning[-Wanalyzer-malloc-leak]: leak of ‘cpb’
brltty-6.8/minimal/Programs/clipboard.c:249:14: acquire_memory: allocated here
brltty-6.8/minimal/Programs/clipboard.c:249:6: branch_true: following ‘true’ branch (when ‘cpb’ is non-NULL)...
brltty-6.8/minimal/Programs/clipboard.c:250:5: branch_true: ...to here
brltty-6.8/minimal/Programs/clipboard.c:256:8: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/clipboard.c:256:8: branch_false: ...to here
brltty-6.8/minimal/Programs/clipboard.c:264:1: danger: ‘cpb’ leaks here; was allocated at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def513]
brltty-6.8/minimal/Programs/clipboard.c:282:1: warning[-Wanalyzer-malloc-leak]: leak of ‘cpb’
brltty-6.8/minimal/Programs/clipboard.c:300:1: enter_function: entry to ‘getMainClipboard’
brltty-6.8/minimal/Programs/clipboard.c:304:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/clipboard.c:305:24: branch_true: ...to here
brltty-6.8/minimal/Programs/clipboard.c:305:24: call_function: calling ‘newClipboard’ from ‘getMainClipboard’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def514]
brltty-6.8/minimal/Programs/cmd_clipboard.c:713:22: warning[-Wanalyzer-malloc-leak]: leak of ‘ccd’
brltty-6.8/minimal/Programs/cmd_clipboard.c:711:14: acquire_memory: allocated here
brltty-6.8/minimal/Programs/cmd_clipboard.c:711:6: branch_true: following ‘true’ branch (when ‘ccd’ is non-NULL)...
brltty-6.8/minimal/Programs/cmd_clipboard.c:712:5: branch_true: ...to here
brltty-6.8/minimal/Programs/cmd_clipboard.c:713:22: throw: if ‘getMainClipboard’ throws an exception...
brltty-6.8/minimal/Programs/cmd_clipboard.c:713:22: danger: ‘ccd’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def515]
brltty-6.8/minimal/Programs/cmd_clipboard.c:719:9: warning[-Wanalyzer-malloc-leak]: leak of ‘ccd’
brltty-6.8/minimal/Programs/cmd_clipboard.c:711:14: acquire_memory: allocated here
brltty-6.8/minimal/Programs/cmd_clipboard.c:711:6: branch_true: following ‘true’ branch (when ‘ccd’ is non-NULL)...
brltty-6.8/minimal/Programs/cmd_clipboard.c:712:5: branch_true: ...to here
brltty-6.8/minimal/Programs/cmd_clipboard.c:719:9: throw: if ‘pushCommandHandler’ throws an exception...
brltty-6.8/minimal/Programs/cmd_clipboard.c:719:9: danger: ‘ccd’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def516]
brltty-6.8/minimal/Programs/cmd_input.c:428:31: warning[-Wanalyzer-malloc-leak]: leak of ‘icd’
brltty-6.8/minimal/Programs/cmd_input.c:423:14: acquire_memory: allocated here
brltty-6.8/minimal/Programs/cmd_input.c:423:6: branch_true: following ‘true’ branch (when ‘icd’ is non-NULL)...
brltty-6.8/minimal/Programs/cmd_input.c:424:5: branch_true: ...to here
brltty-6.8/minimal/Programs/cmd_input.c:428:31: throw: if ‘registerReportListener’ throws an exception...
brltty-6.8/minimal/Programs/cmd_input.c:428:31: danger: ‘icd’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def517]
brltty-6.8/minimal/Programs/cmd_keycodes.c:799:31: warning[-Wanalyzer-malloc-leak]: leak of ‘kcd’
brltty-6.8/minimal/Programs/cmd_keycodes.c:795:14: acquire_memory: allocated here
brltty-6.8/minimal/Programs/cmd_keycodes.c:795:6: branch_true: following ‘true’ branch (when ‘kcd’ is non-NULL)...
brltty-6.8/minimal/Programs/cmd_keycodes.c:796:5: branch_true: ...to here
brltty-6.8/minimal/Programs/cmd_keycodes.c:799:31: throw: if ‘registerReportListener’ throws an exception...
brltty-6.8/minimal/Programs/cmd_keycodes.c:799:31: danger: ‘kcd’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def518]
brltty-6.8/minimal/Programs/cmd_learn.c:58:13: warning[-Wanalyzer-malloc-leak]: leak of ‘lmp’
brltty-6.8/minimal/Programs/cmd_learn.c:54:18: acquire_memory: allocated here
brltty-6.8/minimal/Programs/cmd_learn.c:54:10: branch_true: following ‘true’ branch (when ‘lmp’ is non-NULL)...
brltty-6.8/minimal/Programs/cmd_learn.c:56:9: branch_true: ...to here
brltty-6.8/minimal/Programs/cmd_learn.c:58:13: throw: if ‘asyncAddTask’ throws an exception...
brltty-6.8/minimal/Programs/cmd_learn.c:58:13: danger: ‘lmp’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-457): [#def519]
brltty-6.8/minimal/Programs/cmd_navigation.c:233: warning[uninitvar]: Uninitialized variable: text
Error: GCC_ANALYZER_WARNING (CWE-401): [#def520]
brltty-6.8/minimal/Programs/cmd_override.c:194:9: warning[-Wanalyzer-malloc-leak]: leak of ‘ocd’
brltty-6.8/minimal/Programs/cmd_override.c:189:14: acquire_memory: allocated here
brltty-6.8/minimal/Programs/cmd_override.c:189:6: branch_true: following ‘true’ branch (when ‘ocd’ is non-NULL)...
brltty-6.8/minimal/Programs/cmd_override.c:190:5: branch_true: ...to here
brltty-6.8/minimal/Programs/cmd_override.c:194:9: throw: if ‘pushCommandHandler’ throws an exception...
brltty-6.8/minimal/Programs/cmd_override.c:194:9: danger: ‘ocd’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def521]
brltty-6.8/minimal/Programs/cmd_preferences.c:180:9: warning[-Wanalyzer-malloc-leak]: leak of ‘pcd’
brltty-6.8/minimal/Programs/cmd_preferences.c:177:14: acquire_memory: allocated here
brltty-6.8/minimal/Programs/cmd_preferences.c:177:6: branch_true: following ‘true’ branch (when ‘pcd’ is non-NULL)...
brltty-6.8/minimal/Programs/cmd_preferences.c:178:5: branch_true: ...to here
brltty-6.8/minimal/Programs/cmd_preferences.c:180:9: throw: if ‘pushCommandHandler’ throws an exception...
brltty-6.8/minimal/Programs/cmd_preferences.c:180:9: danger: ‘pcd’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def522]
brltty-6.8/minimal/Programs/cmd_queue.c:271:13: warning[-Wanalyzer-malloc-leak]: leak of ‘item’
brltty-6.8/minimal/Programs/cmd_queue.c:260:6: branch_false: following ‘false’ branch (when ‘command != -1’)...
brltty-6.8/minimal/Programs/cmd_queue.c:263:20: branch_false: ...to here
brltty-6.8/minimal/Programs/cmd_queue.c:265:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/cmd_queue.c:266:32: branch_true: ...to here
brltty-6.8/minimal/Programs/cmd_queue.c:266:32: acquire_memory: allocated here
brltty-6.8/minimal/Programs/cmd_queue.c:268:10: branch_true: following ‘true’ branch (when ‘item’ is non-NULL)...
brltty-6.8/minimal/Programs/cmd_queue.c:269:9: branch_true: ...to here
brltty-6.8/minimal/Programs/cmd_queue.c:271:13: throw: if ‘enqueueItem’ throws an exception...
brltty-6.8/minimal/Programs/cmd_queue.c:271:13: danger: ‘item’ leaks here; was allocated at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def523]
brltty-6.8/minimal/Programs/cmd_queue.c:307:28: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
brltty-6.8/minimal/Programs/cmd_queue.c:287:1: enter_function: entry to ‘pushCommandHandler’
brltty-6.8/minimal/Programs/cmd_queue.c:296:6: branch_true: following ‘true’ branch (when ‘chl’ is non-NULL)...
brltty-6.8/minimal/Programs/cmd_queue.c:297:5: branch_true: ...to here
brltty-6.8/minimal/Programs/cmd_queue.c:305:35: call_function: inlined call to ‘getCommandHandlerTop’ from ‘pushCommandHandler’
brltty-6.8/minimal/Programs/cmd_queue.c:307:28: branch_true: ...to here
brltty-6.8/minimal/Programs/cmd_queue.c:307:28: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def524]
brltty-6.8/minimal/Programs/cmd_queue.c:323:24: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
brltty-6.8/minimal/Programs/cmd_queue.c:321:1: enter_function: entry to ‘popCommandHandler’
brltty-6.8/minimal/Programs/cmd_queue.c:322:31: call_function: inlined call to ‘getCommandHandlerTop’ from ‘popCommandHandler’
brltty-6.8/minimal/Programs/cmd_queue.c:323:24: branch_true: ...to here
brltty-6.8/minimal/Programs/cmd_queue.c:323:24: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def525]
brltty-6.8/minimal/Programs/cmd_touch.c:116:54: warning[-Wanalyzer-malloc-leak]: leak of ‘tcd’
brltty-6.8/minimal/Programs/cmd_touch.c:113:14: acquire_memory: allocated here
brltty-6.8/minimal/Programs/cmd_touch.c:113:6: branch_true: following ‘true’ branch (when ‘tcd’ is non-NULL)...
brltty-6.8/minimal/Programs/cmd_touch.c:114:5: branch_true: ...to here
brltty-6.8/minimal/Programs/cmd_touch.c:116:54: throw: if ‘registerReportListener’ throws an exception...
brltty-6.8/minimal/Programs/cmd_touch.c:116:54: danger: ‘tcd’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-457): [#def526]
brltty-6.8/minimal/Programs/cmdline.c:451:11: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*indexToLetter[index]’
brltty-6.8/minimal/Programs/cmdline.c:413:32: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/cmdline.c:438:5: branch_false: ...to here
brltty-6.8/minimal/Programs/cmdline.c:447:32: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/cmdline.c:448:42: branch_true: ...to here
brltty-6.8/minimal/Programs/cmdline.c:450:10: branch_false: following ‘false’ branch (when ‘word’ is non-NULL)...
brltty-6.8/minimal/Programs/cmdline.c:451:11: branch_false: ...to here
brltty-6.8/minimal/Programs/cmdline.c:451:11: danger: use of uninitialized value ‘*indexToLetter[index]’ here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def527]
brltty-6.8/minimal/Programs/cmdline.c:877:17: warning[-Wanalyzer-malloc-leak]: leak of ‘newSetting’
brltty-6.8/minimal/Programs/cmdline.c:865:36: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/cmdline.c:866:40: branch_true: ...to here
brltty-6.8/minimal/Programs/cmdline.c:868:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/cmdline.c:869:19: branch_true: ...to here
brltty-6.8/minimal/Programs/cmdline.c:874:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/cmdline.c:875:13: branch_true: ...to here
brltty-6.8/minimal/Programs/cmdline.c:875:12: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/cmdline.c:876:29: branch_true: ...to here
brltty-6.8/minimal/Programs/cmdline.c:876:29: acquire_memory: allocated here
brltty-6.8/minimal/Programs/cmdline.c:876:14: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/cmdline.c:877:17: branch_true: ...to here
brltty-6.8/minimal/Programs/cmdline.c:877:17: throw: if the called function throws an exception...
brltty-6.8/minimal/Programs/cmdline.c:877:17: danger: ‘newSetting’ leaks here; was allocated at [(9)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def528]
brltty-6.8/minimal/Programs/cmdline.c:1068:9: warning[-Wanalyzer-malloc-leak]: leak of ‘directive’
brltty-6.8/minimal/Programs/cmdline.c:1048:36: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/cmdline.c:1049:40: branch_true: ...to here
brltty-6.8/minimal/Programs/cmdline.c:1051:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/cmdline.c:1057:25: acquire_memory: allocated here
brltty-6.8/minimal/Programs/cmdline.c:1057:10: branch_false: following ‘false’ branch (when ‘directive’ is non-NULL)...
brltty-6.8/minimal/Programs/cmdline.c:1063:7: branch_false: ...to here
brltty-6.8/minimal/Programs/cmdline.c:1068:9: throw: if ‘convertUtf8ToWchars’ throws an exception...
brltty-6.8/minimal/Programs/cmdline.c:1068:9: danger: ‘directive’ leaks here; was allocated at [(5)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def529]
brltty-6.8/minimal/Programs/cmdline.c:1234:7: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(path, "r")’
brltty-6.8/minimal/Programs/cmdline.c:1257:1: enter_function: entry to ‘processInputFile’
brltty-6.8/minimal/Programs/cmdline.c:1258:6: branch_false: following ‘false’ branch (when the strings are non-equal)...
brltty-6.8/minimal/Programs/cmdline.c:1263:20: branch_false: ...to here
brltty-6.8/minimal/Programs/cmdline.c:1263:20: acquire_resource: opened here
brltty-6.8/minimal/Programs/cmdline.c:1265:8: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/cmdline.c:1270:32: branch_false: ...to here
brltty-6.8/minimal/Programs/cmdline.c:1270:32: call_function: calling ‘processInputStream’ from ‘processInputFile’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def530]
brltty-6.8/minimal/Programs/cmdline.c:1234:7: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(path, "r")’
brltty-6.8/minimal/Programs/cmdline.c:1257:1: enter_function: entry to ‘processInputFile’
brltty-6.8/minimal/Programs/cmdline.c:1258:6: branch_false: following ‘false’ branch (when the strings are non-equal)...
brltty-6.8/minimal/Programs/cmdline.c:1263:20: branch_false: ...to here
brltty-6.8/minimal/Programs/cmdline.c:1263:20: acquire_memory: allocated here
brltty-6.8/minimal/Programs/cmdline.c:1265:8: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/cmdline.c:1270:32: branch_false: ...to here
brltty-6.8/minimal/Programs/cmdline.c:1270:32: call_function: calling ‘processInputStream’ from ‘processInputFile’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def531]
brltty-6.8/minimal/Programs/config.c:2806:10: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
brltty-6.8/minimal/Programs/config.c:2910:1: enter_function: entry to ‘background’
brltty-6.8/minimal/Programs/config.c:2913:6: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/config.c:2918:3: branch_false: ...to here
brltty-6.8/minimal/Programs/config.c:2924:8: branch_false: following ‘false’ branch (when ‘child != -1’)...
brltty-6.8/minimal/Programs/config.c:2929:8: branch_false: ...to here
brltty-6.8/minimal/Programs/config.c:2929:8: branch_true: following ‘true’ branch (when ‘child != 0’)...
brltty-6.8/minimal/Programs/config.c:2932:11: branch_true: ...to here
brltty-6.8/minimal/Programs/config.c:2934:12: call_function: inlined call to ‘makePidFile’ from ‘background’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def532]
brltty-6.8/minimal/Programs/config.c:2918:3: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
brltty-6.8/minimal/Programs/config.c:2913:6: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/config.c:2918:3: branch_false: ...to here
brltty-6.8/minimal/Programs/config.c:2918:3: throw: if ‘fflush’ throws an exception...
brltty-6.8/minimal/Programs/config.c:2918:3: danger: ‘fds[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def533]
brltty-6.8/minimal/Programs/config.c:2918:3: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
brltty-6.8/minimal/Programs/config.c:2913:6: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/config.c:2918:3: branch_false: ...to here
brltty-6.8/minimal/Programs/config.c:2918:3: throw: if ‘fflush’ throws an exception...
brltty-6.8/minimal/Programs/config.c:2918:3: danger: ‘fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def534]
brltty-6.8/minimal/Programs/config.c:2919:3: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
brltty-6.8/minimal/Programs/config.c:2913:6: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/config.c:2918:3: branch_false: ...to here
brltty-6.8/minimal/Programs/config.c:2919:3: throw: if ‘fflush’ throws an exception...
brltty-6.8/minimal/Programs/config.c:2919:3: danger: ‘fds[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def535]
brltty-6.8/minimal/Programs/config.c:2919:3: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
brltty-6.8/minimal/Programs/config.c:2913:6: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/config.c:2918:3: branch_false: ...to here
brltty-6.8/minimal/Programs/config.c:2919:3: throw: if ‘fflush’ throws an exception...
brltty-6.8/minimal/Programs/config.c:2919:3: danger: ‘fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def536]
brltty-6.8/minimal/Programs/config.c:2925:7: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
brltty-6.8/minimal/Programs/config.c:2913:6: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/config.c:2918:3: branch_false: ...to here
brltty-6.8/minimal/Programs/config.c:2924:8: branch_true: following ‘true’ branch (when ‘child == -1’)...
brltty-6.8/minimal/Programs/config.c:2925:7: branch_true: ...to here
brltty-6.8/minimal/Programs/config.c:2925:7: throw: if ‘logSystemError’ throws an exception...
brltty-6.8/minimal/Programs/config.c:2925:7: danger: ‘fds[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def537]
brltty-6.8/minimal/Programs/config.c:2925:7: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
brltty-6.8/minimal/Programs/config.c:2913:6: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/config.c:2918:3: branch_false: ...to here
brltty-6.8/minimal/Programs/config.c:2924:8: branch_true: following ‘true’ branch (when ‘child == -1’)...
brltty-6.8/minimal/Programs/config.c:2925:7: branch_true: ...to here
brltty-6.8/minimal/Programs/config.c:2925:7: throw: if ‘logSystemError’ throws an exception...
brltty-6.8/minimal/Programs/config.c:2925:7: danger: ‘fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def538]
brltty-6.8/minimal/Programs/config.c:2932:11: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
brltty-6.8/minimal/Programs/config.c:2913:6: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/config.c:2918:3: branch_false: ...to here
brltty-6.8/minimal/Programs/config.c:2924:8: branch_false: following ‘false’ branch (when ‘child != -1’)...
brltty-6.8/minimal/Programs/config.c:2929:8: branch_false: ...to here
brltty-6.8/minimal/Programs/config.c:2929:8: branch_true: following ‘true’ branch (when ‘child != 0’)...
brltty-6.8/minimal/Programs/config.c:2932:11: branch_true: ...to here
brltty-6.8/minimal/Programs/config.c:2932:11: throw: if ‘close’ throws an exception...
brltty-6.8/minimal/Programs/config.c:2932:11: danger: ‘fds[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def539]
brltty-6.8/minimal/Programs/config.c:2932:11: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
brltty-6.8/minimal/Programs/config.c:2913:6: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/config.c:2918:3: branch_false: ...to here
brltty-6.8/minimal/Programs/config.c:2924:8: branch_false: following ‘false’ branch (when ‘child != -1’)...
brltty-6.8/minimal/Programs/config.c:2929:8: branch_false: ...to here
brltty-6.8/minimal/Programs/config.c:2929:8: branch_true: following ‘true’ branch (when ‘child != 0’)...
brltty-6.8/minimal/Programs/config.c:2932:11: branch_true: ...to here
brltty-6.8/minimal/Programs/config.c:2932:11: throw: if ‘close’ throws an exception...
brltty-6.8/minimal/Programs/config.c:2932:11: danger: ‘fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def540]
brltty-6.8/minimal/Programs/config.c:2932:32: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
brltty-6.8/minimal/Programs/config.c:2913:6: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/config.c:2918:3: branch_false: ...to here
brltty-6.8/minimal/Programs/config.c:2924:8: branch_false: following ‘false’ branch (when ‘child != -1’)...
brltty-6.8/minimal/Programs/config.c:2929:8: branch_false: ...to here
brltty-6.8/minimal/Programs/config.c:2929:8: branch_true: following ‘true’ branch (when ‘child != 0’)...
brltty-6.8/minimal/Programs/config.c:2932:11: branch_true: ...to here
brltty-6.8/minimal/Programs/config.c:2932:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/config.c:2932:32: branch_true: ...to here
brltty-6.8/minimal/Programs/config.c:2932:32: throw: if ‘logSystemError’ throws an exception...
brltty-6.8/minimal/Programs/config.c:2932:32: danger: ‘fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def541]
brltty-6.8/minimal/Programs/config.c:2940:11: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
brltty-6.8/minimal/Programs/config.c:2913:6: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/config.c:2918:3: branch_false: ...to here
brltty-6.8/minimal/Programs/config.c:2924:8: branch_false: following ‘false’ branch (when ‘child != -1’)...
brltty-6.8/minimal/Programs/config.c:2929:8: branch_false: ...to here
brltty-6.8/minimal/Programs/config.c:2929:8: branch_true: following ‘true’ branch (when ‘child != 0’)...
brltty-6.8/minimal/Programs/config.c:2932:11: branch_true: ...to here
brltty-6.8/minimal/Programs/config.c:2940:11: throw: if ‘close’ throws an exception...
brltty-6.8/minimal/Programs/config.c:2940:11: danger: ‘fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def542]
brltty-6.8/minimal/Programs/config.c:2945:7: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
brltty-6.8/minimal/Programs/config.c:2913:6: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/config.c:2918:3: branch_false: ...to here
brltty-6.8/minimal/Programs/config.c:2924:8: branch_false: following ‘false’ branch (when ‘child != -1’)...
brltty-6.8/minimal/Programs/config.c:2929:8: branch_false: ...to here
brltty-6.8/minimal/Programs/config.c:2929:8: branch_false: following ‘false’ branch (when ‘child == 0’)...
brltty-6.8/minimal/Programs/config.c:2945:7: branch_false: ...to here
brltty-6.8/minimal/Programs/config.c:2945:7: throw: if ‘close’ throws an exception...
brltty-6.8/minimal/Programs/config.c:2945:7: danger: ‘fds[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def543]
brltty-6.8/minimal/Programs/config.c:2945:7: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
brltty-6.8/minimal/Programs/config.c:2913:6: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/config.c:2918:3: branch_false: ...to here
brltty-6.8/minimal/Programs/config.c:2924:8: branch_false: following ‘false’ branch (when ‘child != -1’)...
brltty-6.8/minimal/Programs/config.c:2929:8: branch_false: ...to here
brltty-6.8/minimal/Programs/config.c:2929:8: branch_false: following ‘false’ branch (when ‘child == 0’)...
brltty-6.8/minimal/Programs/config.c:2945:7: branch_false: ...to here
brltty-6.8/minimal/Programs/config.c:2945:7: throw: if ‘close’ throws an exception...
brltty-6.8/minimal/Programs/config.c:2945:7: danger: ‘fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def544]
brltty-6.8/minimal/Programs/config.c:2945:28: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
brltty-6.8/minimal/Programs/config.c:2913:6: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/config.c:2918:3: branch_false: ...to here
brltty-6.8/minimal/Programs/config.c:2924:8: branch_false: following ‘false’ branch (when ‘child != -1’)...
brltty-6.8/minimal/Programs/config.c:2929:8: branch_false: ...to here
brltty-6.8/minimal/Programs/config.c:2929:8: branch_false: following ‘false’ branch (when ‘child == 0’)...
brltty-6.8/minimal/Programs/config.c:2945:7: branch_false: ...to here
brltty-6.8/minimal/Programs/config.c:2945:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/config.c:2945:28: branch_true: ...to here
brltty-6.8/minimal/Programs/config.c:2945:28: throw: if ‘logSystemError’ throws an exception...
brltty-6.8/minimal/Programs/config.c:2945:28: danger: ‘fds[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def545]
brltty-6.8/minimal/Programs/config.c:2950:53: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
brltty-6.8/minimal/Programs/config.c:2913:6: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/config.c:2918:3: branch_false: ...to here
brltty-6.8/minimal/Programs/config.c:2924:8: branch_false: following ‘false’ branch (when ‘child != -1’)...
brltty-6.8/minimal/Programs/config.c:2929:8: branch_false: ...to here
brltty-6.8/minimal/Programs/config.c:2929:8: branch_false: following ‘false’ branch (when ‘child == 0’)...
brltty-6.8/minimal/Programs/config.c:2945:7: branch_false: ...to here
brltty-6.8/minimal/Programs/config.c:2950:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/config.c:2950:53: branch_true: ...to here
brltty-6.8/minimal/Programs/config.c:2950:53: throw: if ‘logSystemError’ throws an exception...
brltty-6.8/minimal/Programs/config.c:2950:53: danger: ‘fds[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def546]
brltty-6.8/minimal/Programs/config.c:2951:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
brltty-6.8/minimal/Programs/config.c:2913:6: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/config.c:2918:3: branch_false: ...to here
brltty-6.8/minimal/Programs/config.c:2924:8: branch_false: following ‘false’ branch (when ‘child != -1’)...
brltty-6.8/minimal/Programs/config.c:2929:8: branch_false: ...to here
brltty-6.8/minimal/Programs/config.c:2929:8: branch_false: following ‘false’ branch (when ‘child == 0’)...
brltty-6.8/minimal/Programs/config.c:2945:7: branch_false: ...to here
brltty-6.8/minimal/Programs/config.c:2951:9: throw: if ‘close’ throws an exception...
brltty-6.8/minimal/Programs/config.c:2951:9: danger: ‘fds[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def547]
brltty-6.8/minimal/Programs/core.c:190:5: warning[-Wanalyzer-malloc-leak]: leak of ‘pre’
brltty-6.8/minimal/Programs/core.c:181:14: acquire_memory: allocated here
brltty-6.8/minimal/Programs/core.c:181:6: branch_true: following ‘true’ branch (when ‘pre’ is non-NULL)...
brltty-6.8/minimal/Programs/core.c:184:28: branch_true: ...to here
brltty-6.8/minimal/Programs/core.c:190:5: throw: if ‘suspendUpdates’ throws an exception...
brltty-6.8/minimal/Programs/core.c:190:5: danger: ‘pre’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def548]
brltty-6.8/minimal/Programs/core.c:1279:11: warning[-Wanalyzer-malloc-leak]: leak of ‘iep’
brltty-6.8/minimal/Programs/core.c:1272:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/core.c:1275:16: branch_true: ...to here
brltty-6.8/minimal/Programs/core.c:1275:16: acquire_memory: allocated here
brltty-6.8/minimal/Programs/core.c:1275:8: branch_true: following ‘true’ branch (when ‘iep’ is non-NULL)...
brltty-6.8/minimal/Programs/core.c:1277:7: branch_true: ...to here
brltty-6.8/minimal/Programs/core.c:1279:11: throw: if ‘asyncSignalEvent’ throws an exception...
brltty-6.8/minimal/Programs/core.c:1279:11: danger: ‘iep’ leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def549]
brltty-6.8/minimal/Programs/core.c:1470:3: warning[-Wanalyzer-malloc-leak]: leak of ‘ctd’
brltty-6.8/minimal/Programs/core.c:1512:1: enter_function: entry to ‘runCoreTask’
brltty-6.8/minimal/Programs/core.c:1515:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/core.c:1518:16: branch_true: ...to here
brltty-6.8/minimal/Programs/core.c:1518:16: acquire_memory: allocated here
brltty-6.8/minimal/Programs/core.c:1518:8: branch_true: following ‘true’ branch (when ‘ctd’ is non-NULL)...
brltty-6.8/minimal/Programs/core.c:1518:8: branch_true: ...to here
brltty-6.8/minimal/Programs/core.c:1527:10: branch_true: following ‘true’ branch (when ‘wait == 0’)...
brltty-6.8/minimal/Programs/core.c:1528:9: call_function: inlined call to ‘logCoreTaskAction’ from ‘runCoreTask’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def550]
brltty-6.8/minimal/Programs/core.c:1527:39: warning[-Wanalyzer-malloc-leak]: leak of ‘ctd’
brltty-6.8/minimal/Programs/core.c:1515:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/core.c:1518:16: branch_true: ...to here
brltty-6.8/minimal/Programs/core.c:1518:16: acquire_memory: allocated here
brltty-6.8/minimal/Programs/core.c:1518:8: branch_true: following ‘true’ branch (when ‘ctd’ is non-NULL)...
brltty-6.8/minimal/Programs/core.c:1518:8: branch_true: ...to here
brltty-6.8/minimal/Programs/core.c:1527:10: branch_false: following ‘false’ branch (when ‘wait != 0’)...
brltty-6.8/minimal/Programs/core.c:1527:39: branch_false: ...to here
brltty-6.8/minimal/Programs/core.c:1527:39: throw: if ‘asyncNewEvent’ throws an exception...
brltty-6.8/minimal/Programs/core.c:1527:39: danger: ‘ctd’ leaks here; was allocated at [(3)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def551]
brltty-6.8/minimal/Programs/core.c:1530:13: warning[-Wanalyzer-malloc-leak]: leak of ‘ctd’
brltty-6.8/minimal/Programs/core.c:1512:1: enter_function: entry to ‘runCoreTask’
brltty-6.8/minimal/Programs/core.c:1515:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/core.c:1518:16: branch_true: ...to here
brltty-6.8/minimal/Programs/core.c:1518:16: acquire_memory: allocated here
brltty-6.8/minimal/Programs/core.c:1518:8: branch_true: following ‘true’ branch (when ‘ctd’ is non-NULL)...
brltty-6.8/minimal/Programs/core.c:1518:8: branch_true: ...to here
brltty-6.8/minimal/Programs/core.c:1527:10: branch_true: following ‘true’ branch (when ‘wait == 0’)...
brltty-6.8/minimal/Programs/core.c:1528:9: call_function: inlined call to ‘logCoreTaskAction’ from ‘runCoreTask’
brltty-6.8/minimal/Programs/core.c:1530:13: throw: if ‘asyncAddTask’ throws an exception...
brltty-6.8/minimal/Programs/core.c:1530:13: danger: ‘ctd’ leaks here; was allocated at [(4)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def552]
brltty-6.8/minimal/Programs/ctb_compile.c:750:33: warning[-Wanalyzer-malloc-leak]: leak of ‘table’
brltty-6.8/minimal/Programs/ctb_compile.c:748:16: acquire_memory: allocated here
brltty-6.8/minimal/Programs/ctb_compile.c:748:6: branch_true: following ‘true’ branch (when ‘table’ is non-NULL)...
brltty-6.8/minimal/Programs/ctb_compile.c:749:5: branch_true: ...to here
brltty-6.8/minimal/Programs/ctb_compile.c:750:33: throw: if ‘getContractionTableTranslationMethods_native’ throws an exception...
brltty-6.8/minimal/Programs/ctb_compile.c:750:33: danger: ‘table’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def553]
brltty-6.8/minimal/Programs/ctb_compile.c:822:5: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
brltty-6.8/minimal/Programs/ctb_compile.c:863:1: enter_function: entry to ‘compileContractionTable_external’
brltty-6.8/minimal/Programs/ctb_compile.c:866:6: branch_true: following ‘true’ branch (when ‘table’ is non-NULL)...
brltty-6.8/minimal/Programs/ctb_compile.c:867:5: branch_true: ...to here
brltty-6.8/minimal/Programs/ctb_compile.c:869:41: acquire_memory: allocated here
brltty-6.8/minimal/Programs/ctb_compile.c:869:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/ctb_compile.c:870:7: branch_true: ...to here
brltty-6.8/minimal/Programs/ctb_compile.c:879:11: call_function: calling ‘startContractionCommand’ from ‘compileContractionTable_external’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def554]
brltty-6.8/minimal/Programs/ctb_compile.c:822:5: warning[-Wanalyzer-malloc-leak]: leak of ‘table’
brltty-6.8/minimal/Programs/ctb_compile.c:863:1: enter_function: entry to ‘compileContractionTable_external’
brltty-6.8/minimal/Programs/ctb_compile.c:866:16: acquire_memory: allocated here
brltty-6.8/minimal/Programs/ctb_compile.c:866:6: branch_true: following ‘true’ branch (when ‘table’ is non-NULL)...
brltty-6.8/minimal/Programs/ctb_compile.c:867:5: branch_true: ...to here
brltty-6.8/minimal/Programs/ctb_compile.c:869:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/ctb_compile.c:870:7: branch_true: ...to here
brltty-6.8/minimal/Programs/ctb_compile.c:879:11: call_function: calling ‘startContractionCommand’ from ‘compileContractionTable_external’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def555]
brltty-6.8/minimal/Programs/ctb_compile.c:827:5: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
brltty-6.8/minimal/Programs/ctb_compile.c:863:1: enter_function: entry to ‘compileContractionTable_external’
brltty-6.8/minimal/Programs/ctb_compile.c:866:6: branch_true: following ‘true’ branch (when ‘table’ is non-NULL)...
brltty-6.8/minimal/Programs/ctb_compile.c:867:5: branch_true: ...to here
brltty-6.8/minimal/Programs/ctb_compile.c:869:41: acquire_memory: allocated here
brltty-6.8/minimal/Programs/ctb_compile.c:869:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/ctb_compile.c:870:7: branch_true: ...to here
brltty-6.8/minimal/Programs/ctb_compile.c:879:11: call_function: calling ‘startContractionCommand’ from ‘compileContractionTable_external’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def556]
brltty-6.8/minimal/Programs/ctb_compile.c:827:5: warning[-Wanalyzer-malloc-leak]: leak of ‘table’
brltty-6.8/minimal/Programs/ctb_compile.c:863:1: enter_function: entry to ‘compileContractionTable_external’
brltty-6.8/minimal/Programs/ctb_compile.c:866:16: acquire_memory: allocated here
brltty-6.8/minimal/Programs/ctb_compile.c:866:6: branch_true: following ‘true’ branch (when ‘table’ is non-NULL)...
brltty-6.8/minimal/Programs/ctb_compile.c:867:5: branch_true: ...to here
brltty-6.8/minimal/Programs/ctb_compile.c:869:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/ctb_compile.c:870:7: branch_true: ...to here
brltty-6.8/minimal/Programs/ctb_compile.c:879:11: call_function: calling ‘startContractionCommand’ from ‘compileContractionTable_external’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def557]
brltty-6.8/minimal/Programs/ctb_compile.c:871:35: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
brltty-6.8/minimal/Programs/ctb_compile.c:866:6: branch_true: following ‘true’ branch (when ‘table’ is non-NULL)...
brltty-6.8/minimal/Programs/ctb_compile.c:867:5: branch_true: ...to here
brltty-6.8/minimal/Programs/ctb_compile.c:869:41: acquire_memory: allocated here
brltty-6.8/minimal/Programs/ctb_compile.c:869:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/ctb_compile.c:870:7: branch_true: ...to here
brltty-6.8/minimal/Programs/ctb_compile.c:871:35: throw: if ‘getContractionTableTranslationMethods_external’ throws an exception...
brltty-6.8/minimal/Programs/ctb_compile.c:871:35: danger: ‘<unknown>’ leaks here; was allocated at [(3)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def558]
brltty-6.8/minimal/Programs/ctb_compile.c:871:35: warning[-Wanalyzer-malloc-leak]: leak of ‘table’
brltty-6.8/minimal/Programs/ctb_compile.c:866:16: acquire_memory: allocated here
brltty-6.8/minimal/Programs/ctb_compile.c:866:6: branch_true: following ‘true’ branch (when ‘table’ is non-NULL)...
brltty-6.8/minimal/Programs/ctb_compile.c:867:5: branch_true: ...to here
brltty-6.8/minimal/Programs/ctb_compile.c:869:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/ctb_compile.c:870:7: branch_true: ...to here
brltty-6.8/minimal/Programs/ctb_compile.c:871:35: throw: if ‘getContractionTableTranslationMethods_external’ throws an exception...
brltty-6.8/minimal/Programs/ctb_compile.c:871:35: danger: ‘table’ leaks here; was allocated at [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def559]
brltty-6.8/minimal/Programs/ctb_compile.c:885:7: warning[-Wanalyzer-malloc-leak]: leak of ‘table’
brltty-6.8/minimal/Programs/ctb_compile.c:866:16: acquire_memory: allocated here
brltty-6.8/minimal/Programs/ctb_compile.c:866:6: branch_true: following ‘true’ branch (when ‘table’ is non-NULL)...
brltty-6.8/minimal/Programs/ctb_compile.c:867:5: branch_true: ...to here
brltty-6.8/minimal/Programs/ctb_compile.c:869:8: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/ctb_compile.c:885:7: branch_false: ...to here
brltty-6.8/minimal/Programs/ctb_compile.c:885:7: throw: if ‘logMallocError’ throws an exception...
brltty-6.8/minimal/Programs/ctb_compile.c:885:7: danger: ‘table’ leaks here; was allocated at [(1)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/0)
Error: COMPILER_WARNING (CWE-704): [#def560]
brltty-6.8/minimal/Programs/ctb_external.c: scope_hint: In function ‘handleExternalResponse_outputOffsets’
brltty-6.8/minimal/Programs/ctb_external.c:240:27: warning[-Wdiscarded-qualifiers]: initialization discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def561]
brltty-6.8/minimal/Programs/ctb_external.c:240:27: warning[-Wdiscarded-qualifiers]: initialization discards ‘const’ qualifier from pointer target type
Error: GCC_ANALYZER_WARNING (CWE-401): [#def562]
brltty-6.8/minimal/Programs/ctb_native.c:521:7: warning[-Wanalyzer-malloc-leak]: leak of ‘rule’
brltty-6.8/minimal/Programs/ctb_native.c:1221:1: enter_function: entry to ‘finishCharacterEntry_native’
brltty-6.8/minimal/Programs/ctb_native.c:1226:8: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/ctb_native.c:1230:23: branch_false: ...to here
brltty-6.8/minimal/Programs/ctb_native.c:1235:14: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/ctb_native.c:1236:14: branch_true: ...to here
brltty-6.8/minimal/Programs/ctb_native.c:1236:14: call_function: calling ‘setAlwaysRule’ from ‘finishCharacterEntry_native’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def563]
brltty-6.8/minimal/Programs/datafile.c:95:5: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
brltty-6.8/minimal/Programs/datafile.c:239:1: enter_function: entry to ‘findDataOperand’
brltty-6.8/minimal/Programs/datafile.c:244:6: branch_true: following ‘true’ branch (when ‘description’ is non-NULL)...
brltty-6.8/minimal/Programs/datafile.c:244:20: branch_true: ...to here
brltty-6.8/minimal/Programs/datafile.c:244:20: call_function: calling ‘reportDataError’ from ‘findDataOperand’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def564]
brltty-6.8/minimal/Programs/file.c:134:23: warning[-Wanalyzer-malloc-leak]: leak of ‘getPathDirectory(path)’
brltty-6.8/minimal/Programs/file.c:476:1: enter_function: entry to ‘ensureDirectory’
brltty-6.8/minimal/Programs/file.c:479:6: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/file.c:481:13: branch_false: ...to here
brltty-6.8/minimal/Programs/file.c:481:13: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/file.c:485:22: branch_false: ...to here
brltty-6.8/minimal/Programs/file.c:485:22: call_function: calling ‘getPathDirectory’ from ‘ensureDirectory’
brltty-6.8/minimal/Programs/file.c:485:22: return_function: returning to ‘ensureDirectory’ from ‘getPathDirectory’
brltty-6.8/minimal/Programs/file.c:486:10: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/file.c:489:11: branch_false: ...to here
brltty-6.8/minimal/Programs/file.c:489:10: branch_true: following ‘true’ branch (when the strings are non-equal)...
brltty-6.8/minimal/Programs/file.c:490:18: branch_true: ...to here
brltty-6.8/minimal/Programs/file.c:490:18: call_function: calling ‘ensureDirectory’ from ‘ensureDirectory’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def565]
brltty-6.8/minimal/Programs/file.c:204:10: warning[-Wanalyzer-malloc-leak]: leak of ‘paths’
brltty-6.8/minimal/Programs/file.c:755:1: enter_function: entry to ‘getPrimaryOverrideDirectory’
brltty-6.8/minimal/Programs/file.c:756:36: call_function: calling ‘getAllOverrideDirectories’ from ‘getPrimaryOverrideDirectory’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def566]
brltty-6.8/minimal/Programs/file.c:204:10: warning[-Wanalyzer-malloc-leak]: leak of ‘primary’
brltty-6.8/minimal/Programs/file.c:755:1: enter_function: entry to ‘getPrimaryOverrideDirectory’
brltty-6.8/minimal/Programs/file.c:756:36: call_function: calling ‘getAllOverrideDirectories’ from ‘getPrimaryOverrideDirectory’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def567]
brltty-6.8/minimal/Programs/file.c:617:15: warning[-Wanalyzer-malloc-leak]: leak of ‘getHomeDirectory()’
brltty-6.8/minimal/Programs/file.c:755:1: enter_function: entry to ‘getPrimaryOverrideDirectory’
brltty-6.8/minimal/Programs/file.c:756:36: call_function: calling ‘getAllOverrideDirectories’ from ‘getPrimaryOverrideDirectory’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def568]
brltty-6.8/minimal/Programs/file.c:619:5: warning[-Wanalyzer-malloc-leak]: leak of ‘paths’
brltty-6.8/minimal/Programs/file.c:755:1: enter_function: entry to ‘getPrimaryOverrideDirectory’
brltty-6.8/minimal/Programs/file.c:756:36: call_function: calling ‘getAllOverrideDirectories’ from ‘getPrimaryOverrideDirectory’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def569]
brltty-6.8/minimal/Programs/file.c:636:3: warning[-Wanalyzer-malloc-leak]: leak of ‘paths’
brltty-6.8/minimal/Programs/file.c:755:1: enter_function: entry to ‘getPrimaryOverrideDirectory’
brltty-6.8/minimal/Programs/file.c:756:36: call_function: calling ‘getAllOverrideDirectories’ from ‘getPrimaryOverrideDirectory’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def570]
brltty-6.8/minimal/Programs/file.c:636:3: warning[-Wanalyzer-malloc-leak]: leak of ‘primary’
brltty-6.8/minimal/Programs/file.c:755:1: enter_function: entry to ‘getPrimaryOverrideDirectory’
brltty-6.8/minimal/Programs/file.c:756:36: call_function: calling ‘getAllOverrideDirectories’ from ‘getPrimaryOverrideDirectory’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def571]
brltty-6.8/minimal/Programs/file.c:689:13: warning[-Wanalyzer-malloc-leak]: leak of ‘paths’
brltty-6.8/minimal/Programs/file.c:755:1: enter_function: entry to ‘getPrimaryOverrideDirectory’
brltty-6.8/minimal/Programs/file.c:756:36: call_function: calling ‘getAllOverrideDirectories’ from ‘getPrimaryOverrideDirectory’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def572]
brltty-6.8/minimal/Programs/file.c:739:11: warning[-Wanalyzer-malloc-leak]: leak of ‘paths’
brltty-6.8/minimal/Programs/file.c:755:1: enter_function: entry to ‘getPrimaryOverrideDirectory’
brltty-6.8/minimal/Programs/file.c:756:36: call_function: calling ‘getAllOverrideDirectories’ from ‘getPrimaryOverrideDirectory’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def573]
brltty-6.8/minimal/Programs/file.c:999:5: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(path, mode)’
brltty-6.8/minimal/Programs/file.c:996:16: acquire_resource: opened here
brltty-6.8/minimal/Programs/file.c:998:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/file.c:999:5: branch_true: ...to here
brltty-6.8/minimal/Programs/file.c:999:5: throw: if ‘logMessage’ throws an exception...
brltty-6.8/minimal/Programs/file.c:999:5: danger: ‘fopen(path, mode)’ leaks here; was opened at [(1)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def574]
brltty-6.8/minimal/Programs/file.c:999:5: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(path, mode)’
brltty-6.8/minimal/Programs/file.c:996:16: acquire_memory: allocated here
brltty-6.8/minimal/Programs/file.c:998:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/file.c:999:5: branch_true: ...to here
brltty-6.8/minimal/Programs/file.c:999:5: throw: if ‘logMessage’ throws an exception...
brltty-6.8/minimal/Programs/file.c:999:5: danger: ‘fopen(path, mode)’ leaks here; was allocated at [(1)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def575]
brltty-6.8/minimal/Programs/file.c:1033:11: warning[-Wanalyzer-malloc-leak]: leak of ‘buffer’
brltty-6.8/minimal/Programs/file.c:1076:1: enter_function: entry to ‘processLines’
brltty-6.8/minimal/Programs/file.c:1090:10: call_function: calling ‘readLine’ from ‘processLines’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def576]
brltty-6.8/minimal/Programs/file.c:1044:9: warning[-Wanalyzer-malloc-leak]: leak of ‘buffer’
brltty-6.8/minimal/Programs/file.c:1076:1: enter_function: entry to ‘processLines’
brltty-6.8/minimal/Programs/file.c:1090:10: call_function: calling ‘readLine’ from ‘processLines’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def577]
brltty-6.8/minimal/Programs/file.c:1063:5: warning[-Wanalyzer-malloc-leak]: leak of ‘buffer’
brltty-6.8/minimal/Programs/file.c:1076:1: enter_function: entry to ‘processLines’
brltty-6.8/minimal/Programs/file.c:1090:10: call_function: calling ‘readLine’ from ‘processLines’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def578]
brltty-6.8/minimal/Programs/gio.c:97:16: warning[-Wanalyzer-malloc-leak]: leak of ‘endpoint’
brltty-6.8/minimal/Programs/gio.c:136:1: enter_function: entry to ‘gioConnectResource’
brltty-6.8/minimal/Programs/gio.c:140:37: call_function: calling ‘gioGetProperties’ from ‘gioConnectResource’
brltty-6.8/minimal/Programs/gio.c:140:37: return_function: returning to ‘gioConnectResource’ from ‘gioGetProperties’
brltty-6.8/minimal/Programs/gio.c:142:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/gio.c:145:21: branch_true: ...to here
brltty-6.8/minimal/Programs/gio.c:145:21: acquire_memory: allocated here
brltty-6.8/minimal/Programs/gio.c:145:8: branch_true: following ‘true’ branch (when ‘endpoint’ is non-NULL)...
brltty-6.8/minimal/Programs/gio.c:146:7: branch_true: ...to here
brltty-6.8/minimal/Programs/gio.c:156:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/gio.c:162:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/gio.c:163:35: branch_true: ...to here
brltty-6.8/minimal/Programs/gio.c:168:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/gio.c:169:33: branch_true: ...to here
brltty-6.8/minimal/Programs/gio.c:169:12: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/gio.c:171:63: branch_true: ...to here
brltty-6.8/minimal/Programs/gio.c:184:14: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/gio.c:185:17: call_function: inlined call to ‘gioStartEndpoint’ from ‘gioConnectResource’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def579]
brltty-6.8/minimal/Programs/gio.c:157:30: warning[-Wanalyzer-malloc-leak]: leak of ‘endpoint’
brltty-6.8/minimal/Programs/gio.c:136:1: enter_function: entry to ‘gioConnectResource’
brltty-6.8/minimal/Programs/gio.c:140:37: call_function: calling ‘gioGetProperties’ from ‘gioConnectResource’
brltty-6.8/minimal/Programs/gio.c:140:37: return_function: returning to ‘gioConnectResource’ from ‘gioGetProperties’
brltty-6.8/minimal/Programs/gio.c:142:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/gio.c:145:21: branch_true: ...to here
brltty-6.8/minimal/Programs/gio.c:145:21: acquire_memory: allocated here
brltty-6.8/minimal/Programs/gio.c:145:8: branch_true: following ‘true’ branch (when ‘endpoint’ is non-NULL)...
brltty-6.8/minimal/Programs/gio.c:146:7: branch_true: ...to here
brltty-6.8/minimal/Programs/gio.c:156:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/gio.c:157:30: throw: if the called function throws an exception...
brltty-6.8/minimal/Programs/gio.c:157:30: danger: ‘endpoint’ leaks here; was allocated at [(9)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def580]
brltty-6.8/minimal/Programs/gio.c:163:35: warning[-Wanalyzer-malloc-leak]: leak of ‘endpoint’
brltty-6.8/minimal/Programs/gio.c:136:1: enter_function: entry to ‘gioConnectResource’
brltty-6.8/minimal/Programs/gio.c:140:37: call_function: calling ‘gioGetProperties’ from ‘gioConnectResource’
brltty-6.8/minimal/Programs/gio.c:140:37: return_function: returning to ‘gioConnectResource’ from ‘gioGetProperties’
brltty-6.8/minimal/Programs/gio.c:142:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/gio.c:145:21: branch_true: ...to here
brltty-6.8/minimal/Programs/gio.c:145:21: acquire_memory: allocated here
brltty-6.8/minimal/Programs/gio.c:145:8: branch_true: following ‘true’ branch (when ‘endpoint’ is non-NULL)...
brltty-6.8/minimal/Programs/gio.c:146:7: branch_true: ...to here
brltty-6.8/minimal/Programs/gio.c:162:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/gio.c:163:35: branch_true: ...to here
brltty-6.8/minimal/Programs/gio.c:163:35: throw: if the called function throws an exception...
brltty-6.8/minimal/Programs/gio.c:163:35: danger: ‘endpoint’ leaks here; was allocated at [(9)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def581]
brltty-6.8/minimal/Programs/gio.c:169:33: warning[-Wanalyzer-malloc-leak]: leak of ‘endpoint’
brltty-6.8/minimal/Programs/gio.c:136:1: enter_function: entry to ‘gioConnectResource’
brltty-6.8/minimal/Programs/gio.c:140:37: call_function: calling ‘gioGetProperties’ from ‘gioConnectResource’
brltty-6.8/minimal/Programs/gio.c:140:37: return_function: returning to ‘gioConnectResource’ from ‘gioGetProperties’
brltty-6.8/minimal/Programs/gio.c:142:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/gio.c:145:21: branch_true: ...to here
brltty-6.8/minimal/Programs/gio.c:145:21: acquire_memory: allocated here
brltty-6.8/minimal/Programs/gio.c:145:8: branch_true: following ‘true’ branch (when ‘endpoint’ is non-NULL)...
brltty-6.8/minimal/Programs/gio.c:146:7: branch_true: ...to here
brltty-6.8/minimal/Programs/gio.c:162:10: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/gio.c:162:10: branch_false: ...to here
brltty-6.8/minimal/Programs/gio.c:168:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/gio.c:169:33: branch_true: ...to here
brltty-6.8/minimal/Programs/gio.c:169:33: throw: if the called function throws an exception...
brltty-6.8/minimal/Programs/gio.c:169:33: danger: ‘endpoint’ leaks here; was allocated at [(9)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def582]
brltty-6.8/minimal/Programs/gio.c:171:42: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
brltty-6.8/minimal/Programs/gio.c:136:1: enter_function: entry to ‘gioConnectResource’
brltty-6.8/minimal/Programs/gio.c:140:37: call_function: calling ‘gioGetProperties’ from ‘gioConnectResource’
brltty-6.8/minimal/Programs/gio.c:140:37: return_function: returning to ‘gioConnectResource’ from ‘gioGetProperties’
brltty-6.8/minimal/Programs/gio.c:142:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/gio.c:145:21: branch_true: ...to here
brltty-6.8/minimal/Programs/gio.c:145:8: branch_true: following ‘true’ branch (when ‘endpoint’ is non-NULL)...
brltty-6.8/minimal/Programs/gio.c:146:7: branch_true: ...to here
brltty-6.8/minimal/Programs/gio.c:162:10: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/gio.c:162:10: branch_false: ...to here
brltty-6.8/minimal/Programs/gio.c:168:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/gio.c:169:33: branch_true: ...to here
brltty-6.8/minimal/Programs/gio.c:169:12: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/gio.c:171:63: branch_true: ...to here
brltty-6.8/minimal/Programs/gio.c:171:63: release_memory: using NULL here
brltty-6.8/minimal/Programs/gio.c:171:42: danger: dereference of NULL ‘*endpoint.handleMethods’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def583]
brltty-6.8/minimal/Programs/gio.c:174:46: warning[-Wanalyzer-malloc-leak]: leak of ‘endpoint’
brltty-6.8/minimal/Programs/gio.c:136:1: enter_function: entry to ‘gioConnectResource’
brltty-6.8/minimal/Programs/gio.c:140:37: call_function: calling ‘gioGetProperties’ from ‘gioConnectResource’
brltty-6.8/minimal/Programs/gio.c:140:37: return_function: returning to ‘gioConnectResource’ from ‘gioGetProperties’
brltty-6.8/minimal/Programs/gio.c:142:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/gio.c:145:21: branch_true: ...to here
brltty-6.8/minimal/Programs/gio.c:145:21: acquire_memory: allocated here
brltty-6.8/minimal/Programs/gio.c:145:8: branch_true: following ‘true’ branch (when ‘endpoint’ is non-NULL)...
brltty-6.8/minimal/Programs/gio.c:146:7: branch_true: ...to here
brltty-6.8/minimal/Programs/gio.c:162:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/gio.c:163:35: branch_true: ...to here
brltty-6.8/minimal/Programs/gio.c:168:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/gio.c:169:33: branch_true: ...to here
brltty-6.8/minimal/Programs/gio.c:169:12: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/gio.c:171:63: branch_true: ...to here
brltty-6.8/minimal/Programs/gio.c:173:16: branch_true: following ‘true’ branch (when ‘getChainedEndpoint’ is non-NULL)...
brltty-6.8/minimal/Programs/gio.c:174:46: branch_true: ...to here
brltty-6.8/minimal/Programs/gio.c:174:46: throw: if the called function throws an exception...
brltty-6.8/minimal/Programs/gio.c:174:46: danger: ‘endpoint’ leaks here; was allocated at [(9)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def584]
brltty-6.8/minimal/Programs/gio.c:184:56: warning[-Wanalyzer-malloc-leak]: leak of ‘endpoint’
brltty-6.8/minimal/Programs/gio.c:136:1: enter_function: entry to ‘gioConnectResource’
brltty-6.8/minimal/Programs/gio.c:140:37: call_function: calling ‘gioGetProperties’ from ‘gioConnectResource’
brltty-6.8/minimal/Programs/gio.c:140:37: return_function: returning to ‘gioConnectResource’ from ‘gioGetProperties’
brltty-6.8/minimal/Programs/gio.c:142:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/gio.c:145:21: branch_true: ...to here
brltty-6.8/minimal/Programs/gio.c:145:21: acquire_memory: allocated here
brltty-6.8/minimal/Programs/gio.c:145:8: branch_true: following ‘true’ branch (when ‘endpoint’ is non-NULL)...
brltty-6.8/minimal/Programs/gio.c:146:7: branch_true: ...to here
brltty-6.8/minimal/Programs/gio.c:162:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/gio.c:163:35: branch_true: ...to here
brltty-6.8/minimal/Programs/gio.c:168:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/gio.c:169:33: branch_true: ...to here
brltty-6.8/minimal/Programs/gio.c:169:12: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/gio.c:171:63: branch_true: ...to here
brltty-6.8/minimal/Programs/gio.c:184:14: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/gio.c:184:56: branch_false: ...to here
brltty-6.8/minimal/Programs/gio.c:184:56: throw: if the called function throws an exception...
brltty-6.8/minimal/Programs/gio.c:184:56: danger: ‘endpoint’ leaks here; was allocated at [(9)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def585]
brltty-6.8/minimal/Programs/gio.c:199:9: warning[-Wanalyzer-malloc-leak]: leak of ‘endpoint’
brltty-6.8/minimal/Programs/gio.c:136:1: enter_function: entry to ‘gioConnectResource’
brltty-6.8/minimal/Programs/gio.c:140:37: call_function: calling ‘gioGetProperties’ from ‘gioConnectResource’
brltty-6.8/minimal/Programs/gio.c:140:37: return_function: returning to ‘gioConnectResource’ from ‘gioGetProperties’
brltty-6.8/minimal/Programs/gio.c:142:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/gio.c:145:21: branch_true: ...to here
brltty-6.8/minimal/Programs/gio.c:145:21: acquire_memory: allocated here
brltty-6.8/minimal/Programs/gio.c:145:8: branch_true: following ‘true’ branch (when ‘endpoint’ is non-NULL)...
brltty-6.8/minimal/Programs/gio.c:146:7: branch_true: ...to here
brltty-6.8/minimal/Programs/gio.c:162:10: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/gio.c:162:10: branch_false: ...to here
brltty-6.8/minimal/Programs/gio.c:168:10: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/gio.c:199:9: branch_false: ...to here
brltty-6.8/minimal/Programs/gio.c:199:9: throw: if ‘logUnsupportedOperation’ throws an exception...
brltty-6.8/minimal/Programs/gio.c:199:9: danger: ‘endpoint’ leaks here; was allocated at [(9)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def586]
brltty-6.8/minimal/Programs/gio.c:224:5: warning[-Wanalyzer-malloc-leak]: leak of ‘endpoint’
brltty-6.8/minimal/Programs/gio.c:136:1: enter_function: entry to ‘gioConnectResource’
brltty-6.8/minimal/Programs/gio.c:140:37: call_function: calling ‘gioGetProperties’ from ‘gioConnectResource’
brltty-6.8/minimal/Programs/gio.c:140:37: return_function: returning to ‘gioConnectResource’ from ‘gioGetProperties’
brltty-6.8/minimal/Programs/gio.c:142:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/gio.c:145:21: branch_true: ...to here
brltty-6.8/minimal/Programs/gio.c:145:21: acquire_memory: allocated here
brltty-6.8/minimal/Programs/gio.c:145:8: branch_true: following ‘true’ branch (when ‘endpoint’ is non-NULL)...
brltty-6.8/minimal/Programs/gio.c:146:7: branch_true: ...to here
brltty-6.8/minimal/Programs/gio.c:162:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/gio.c:163:35: branch_true: ...to here
brltty-6.8/minimal/Programs/gio.c:168:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/gio.c:169:33: branch_true: ...to here
brltty-6.8/minimal/Programs/gio.c:169:12: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/gio.c:171:63: branch_true: ...to here
brltty-6.8/minimal/Programs/gio.c:173:16: branch_true: following ‘true’ branch (when ‘getChainedEndpoint’ is non-NULL)...
brltty-6.8/minimal/Programs/gio.c:174:46: branch_true: ...to here
brltty-6.8/minimal/Programs/gio.c:176:18: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/gio.c:177:17: branch_true: ...to here
brltty-6.8/minimal/Programs/gio.c:178:17: call_function: calling ‘gioDisconnectResource’ from ‘gioConnectResource’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def587]
brltty-6.8/minimal/Programs/gio.c:226:14: warning[-Wanalyzer-malloc-leak]: leak of ‘endpoint’
brltty-6.8/minimal/Programs/gio.c:136:1: enter_function: entry to ‘gioConnectResource’
brltty-6.8/minimal/Programs/gio.c:140:37: call_function: calling ‘gioGetProperties’ from ‘gioConnectResource’
brltty-6.8/minimal/Programs/gio.c:140:37: return_function: returning to ‘gioConnectResource’ from ‘gioGetProperties’
brltty-6.8/minimal/Programs/gio.c:142:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/gio.c:145:21: branch_true: ...to here
brltty-6.8/minimal/Programs/gio.c:145:21: acquire_memory: allocated here
brltty-6.8/minimal/Programs/gio.c:145:8: branch_true: following ‘true’ branch (when ‘endpoint’ is non-NULL)...
brltty-6.8/minimal/Programs/gio.c:146:7: branch_true: ...to here
brltty-6.8/minimal/Programs/gio.c:162:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/gio.c:163:35: branch_true: ...to here
brltty-6.8/minimal/Programs/gio.c:168:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/gio.c:169:33: branch_true: ...to here
brltty-6.8/minimal/Programs/gio.c:169:12: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/gio.c:171:63: branch_true: ...to here
brltty-6.8/minimal/Programs/gio.c:173:16: branch_true: following ‘true’ branch (when ‘getChainedEndpoint’ is non-NULL)...
brltty-6.8/minimal/Programs/gio.c:174:46: branch_true: ...to here
brltty-6.8/minimal/Programs/gio.c:176:18: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/gio.c:177:17: branch_true: ...to here
brltty-6.8/minimal/Programs/gio.c:178:17: call_function: calling ‘gioDisconnectResource’ from ‘gioConnectResource’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def588]
brltty-6.8/minimal/Programs/gio.c:413:9: warning[-Wanalyzer-malloc-leak]: leak of ‘hio’
brltty-6.8/minimal/Programs/gio.c:682:1: enter_function: entry to ‘gioNewHandleInputObject’
brltty-6.8/minimal/Programs/gio.c:688:14: acquire_memory: allocated here
brltty-6.8/minimal/Programs/gio.c:688:6: branch_true: following ‘true’ branch (when ‘hio’ is non-NULL)...
brltty-6.8/minimal/Programs/gio.c:688:6: branch_true: ...to here
brltty-6.8/minimal/Programs/gio.c:697:8: branch_true: following ‘true’ branch (when ‘endpoint’ is non-NULL)...
brltty-6.8/minimal/Programs/gio.c:698:11: branch_true: ...to here
brltty-6.8/minimal/Programs/gio.c:698:11: call_function: calling ‘gioMonitorInput’ from ‘gioNewHandleInputObject’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def589]
brltty-6.8/minimal/Programs/gio.c:704:9: warning[-Wanalyzer-malloc-leak]: leak of ‘hio’
brltty-6.8/minimal/Programs/gio.c:688:14: acquire_memory: allocated here
brltty-6.8/minimal/Programs/gio.c:688:6: branch_true: following ‘true’ branch (when ‘hio’ is non-NULL)...
brltty-6.8/minimal/Programs/gio.c:688:6: branch_true: ...to here
brltty-6.8/minimal/Programs/gio.c:704:9: throw: if ‘asyncNewRelativeAlarm’ throws an exception...
brltty-6.8/minimal/Programs/gio.c:704:9: danger: ‘hio’ leaks here; was allocated at [(1)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def590]
brltty-6.8/minimal/Programs/gio_bluetooth.c:143:3: warning[-Wanalyzer-malloc-leak]: leak of ‘handle’
brltty-6.8/minimal/Programs/gio_bluetooth.c:150:1: enter_function: entry to ‘connectBluetoothResource’
brltty-6.8/minimal/Programs/gio_bluetooth.c:154:23: acquire_memory: allocated here
brltty-6.8/minimal/Programs/gio_bluetooth.c:156:6: branch_true: following ‘true’ branch (when ‘handle’ is non-NULL)...
brltty-6.8/minimal/Programs/gio_bluetooth.c:157:5: branch_true: ...to here
brltty-6.8/minimal/Programs/gio_bluetooth.c:166:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/gio_bluetooth.c:167:11: call_function: inlined call to ‘gioIsHidSupported’ from ‘connectBluetoothResource’
brltty-6.8/minimal/Programs/gio_bluetooth.c:167:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/gio_bluetooth.c:168:36: branch_true: ...to here
brltty-6.8/minimal/Programs/gio_bluetooth.c:168:36: call_function: calling ‘getHidEndpoint’ from ‘connectBluetoothResource’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def591]
brltty-6.8/minimal/Programs/gio_bluetooth.c:146:10: warning[-Wanalyzer-malloc-leak]: leak of ‘handle’
brltty-6.8/minimal/Programs/gio_bluetooth.c:150:1: enter_function: entry to ‘connectBluetoothResource’
brltty-6.8/minimal/Programs/gio_bluetooth.c:154:23: acquire_memory: allocated here
brltty-6.8/minimal/Programs/gio_bluetooth.c:156:6: branch_true: following ‘true’ branch (when ‘handle’ is non-NULL)...
brltty-6.8/minimal/Programs/gio_bluetooth.c:157:5: branch_true: ...to here
brltty-6.8/minimal/Programs/gio_bluetooth.c:166:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/gio_bluetooth.c:167:11: call_function: inlined call to ‘gioIsHidSupported’ from ‘connectBluetoothResource’
brltty-6.8/minimal/Programs/gio_bluetooth.c:167:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/gio_bluetooth.c:168:36: branch_true: ...to here
brltty-6.8/minimal/Programs/gio_bluetooth.c:168:36: call_function: calling ‘getHidEndpoint’ from ‘connectBluetoothResource’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def592]
brltty-6.8/minimal/Programs/gio_bluetooth.c:160:5: warning[-Wanalyzer-malloc-leak]: leak of ‘handle’
brltty-6.8/minimal/Programs/gio_bluetooth.c:154:23: acquire_memory: allocated here
brltty-6.8/minimal/Programs/gio_bluetooth.c:156:6: branch_true: following ‘true’ branch (when ‘handle’ is non-NULL)...
brltty-6.8/minimal/Programs/gio_bluetooth.c:157:5: branch_true: ...to here
brltty-6.8/minimal/Programs/gio_bluetooth.c:160:5: throw: if ‘bthInitializeConnectionRequest’ throws an exception...
brltty-6.8/minimal/Programs/gio_bluetooth.c:160:5: danger: ‘handle’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def593]
brltty-6.8/minimal/Programs/gio_bluetooth.c:166:9: warning[-Wanalyzer-malloc-leak]: leak of ‘handle’
brltty-6.8/minimal/Programs/gio_bluetooth.c:154:23: acquire_memory: allocated here
brltty-6.8/minimal/Programs/gio_bluetooth.c:156:6: branch_true: following ‘true’ branch (when ‘handle’ is non-NULL)...
brltty-6.8/minimal/Programs/gio_bluetooth.c:157:5: branch_true: ...to here
brltty-6.8/minimal/Programs/gio_bluetooth.c:166:9: throw: if ‘bthApplyParameters’ throws an exception...
brltty-6.8/minimal/Programs/gio_bluetooth.c:166:9: danger: ‘handle’ leaks here; was allocated at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def594]
brltty-6.8/minimal/Programs/gio_bluetooth.c:176:33: warning[-Wanalyzer-malloc-leak]: leak of ‘handle’
brltty-6.8/minimal/Programs/gio_bluetooth.c:150:1: enter_function: entry to ‘connectBluetoothResource’
brltty-6.8/minimal/Programs/gio_bluetooth.c:154:23: acquire_memory: allocated here
brltty-6.8/minimal/Programs/gio_bluetooth.c:156:6: branch_true: following ‘true’ branch (when ‘handle’ is non-NULL)...
brltty-6.8/minimal/Programs/gio_bluetooth.c:157:5: branch_true: ...to here
brltty-6.8/minimal/Programs/gio_bluetooth.c:166:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/gio_bluetooth.c:167:11: call_function: inlined call to ‘gioIsHidSupported’ from ‘connectBluetoothResource’
brltty-6.8/minimal/Programs/gio_bluetooth.c:176:33: throw: if ‘bthOpenConnection’ throws an exception...
brltty-6.8/minimal/Programs/gio_bluetooth.c:176:33: danger: ‘handle’ leaks here; was allocated at [(2)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def595]
brltty-6.8/minimal/Programs/gio_hid.c:245:9: warning[-Wanalyzer-malloc-leak]: leak of ‘handle’
brltty-6.8/minimal/Programs/gio_hid.c:240:23: acquire_memory: allocated here
brltty-6.8/minimal/Programs/gio_hid.c:242:6: branch_true: following ‘true’ branch (when ‘handle’ is non-NULL)...
brltty-6.8/minimal/Programs/gio_hid.c:243:5: branch_true: ...to here
brltty-6.8/minimal/Programs/gio_hid.c:245:9: throw: if ‘hidOpenDeviceWithParameters’ throws an exception...
brltty-6.8/minimal/Programs/gio_hid.c:245:9: danger: ‘handle’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def596]
brltty-6.8/minimal/Programs/gio_internal.h:168:10: warning[-Wanalyzer-malloc-leak]: leak of ‘handle’
brltty-6.8/minimal/Programs/gio_bluetooth.c:150:1: enter_function: entry to ‘connectBluetoothResource’
brltty-6.8/minimal/Programs/gio_bluetooth.c:154:23: acquire_memory: allocated here
brltty-6.8/minimal/Programs/gio_bluetooth.c:156:6: branch_true: following ‘true’ branch (when ‘handle’ is non-NULL)...
brltty-6.8/minimal/Programs/gio_bluetooth.c:157:5: branch_true: ...to here
brltty-6.8/minimal/Programs/gio_bluetooth.c:166:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/gio_bluetooth.c:167:11: call_function: inlined call to ‘gioIsHidSupported’ from ‘connectBluetoothResource’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def597]
brltty-6.8/minimal/Programs/gio_serial.c:134:27: warning[-Wanalyzer-malloc-leak]: leak of ‘handle’
brltty-6.8/minimal/Programs/gio_serial.c:129:23: acquire_memory: allocated here
brltty-6.8/minimal/Programs/gio_serial.c:131:6: branch_true: following ‘true’ branch (when ‘handle’ is non-NULL)...
brltty-6.8/minimal/Programs/gio_serial.c:132:5: branch_true: ...to here
brltty-6.8/minimal/Programs/gio_serial.c:134:27: throw: if ‘serialOpenDevice’ throws an exception...
brltty-6.8/minimal/Programs/gio_serial.c:134:27: danger: ‘handle’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def598]
brltty-6.8/minimal/Programs/gio_serial.c:135:11: warning[-Wanalyzer-malloc-leak]: leak of ‘handle’
brltty-6.8/minimal/Programs/gio_serial.c:129:23: acquire_memory: allocated here
brltty-6.8/minimal/Programs/gio_serial.c:131:6: branch_true: following ‘true’ branch (when ‘handle’ is non-NULL)...
brltty-6.8/minimal/Programs/gio_serial.c:132:5: branch_true: ...to here
brltty-6.8/minimal/Programs/gio_serial.c:134:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/gio_serial.c:135:47: branch_true: ...to here
brltty-6.8/minimal/Programs/gio_serial.c:135:11: throw: if ‘serialSetParameters’ throws an exception...
brltty-6.8/minimal/Programs/gio_serial.c:135:11: danger: ‘handle’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def599]
brltty-6.8/minimal/Programs/gio_serial.c:140:7: warning[-Wanalyzer-malloc-leak]: leak of ‘handle’
brltty-6.8/minimal/Programs/gio_serial.c:129:23: acquire_memory: allocated here
brltty-6.8/minimal/Programs/gio_serial.c:131:6: branch_true: following ‘true’ branch (when ‘handle’ is non-NULL)...
brltty-6.8/minimal/Programs/gio_serial.c:132:5: branch_true: ...to here
brltty-6.8/minimal/Programs/gio_serial.c:134:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/gio_serial.c:135:47: branch_true: ...to here
brltty-6.8/minimal/Programs/gio_serial.c:135:10: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/gio_serial.c:140:7: branch_false: ...to here
brltty-6.8/minimal/Programs/gio_serial.c:140:7: throw: if ‘serialCloseDevice’ throws an exception...
brltty-6.8/minimal/Programs/gio_serial.c:140:7: danger: ‘handle’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def600]
brltty-6.8/minimal/Programs/gio_usb.c:330:28: warning[-Wanalyzer-malloc-leak]: leak of ‘handle’
brltty-6.8/minimal/Programs/gio_usb.c:325:23: acquire_memory: allocated here
brltty-6.8/minimal/Programs/gio_usb.c:327:6: branch_true: following ‘true’ branch (when ‘handle’ is non-NULL)...
brltty-6.8/minimal/Programs/gio_usb.c:328:5: branch_true: ...to here
brltty-6.8/minimal/Programs/gio_usb.c:330:28: throw: if ‘usbOpenChannel’ throws an exception...
brltty-6.8/minimal/Programs/gio_usb.c:330:28: danger: ‘handle’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def601]
brltty-6.8/minimal/Programs/gio_usb.c:345:21: warning[-Wanalyzer-malloc-leak]: leak of ‘handle’
brltty-6.8/minimal/Programs/gio_usb.c:325:23: acquire_memory: allocated here
brltty-6.8/minimal/Programs/gio_usb.c:327:6: branch_true: following ‘true’ branch (when ‘handle’ is non-NULL)...
brltty-6.8/minimal/Programs/gio_usb.c:328:5: branch_true: ...to here
brltty-6.8/minimal/Programs/gio_usb.c:330:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/gio_usb.c:332:35: branch_true: ...to here
brltty-6.8/minimal/Programs/gio_usb.c:345:12: branch_true: following ‘true’ branch (when ‘method’ is non-NULL)...
brltty-6.8/minimal/Programs/gio_usb.c:345:21: branch_true: ...to here
brltty-6.8/minimal/Programs/gio_usb.c:345:21: throw: if the called function throws an exception...
brltty-6.8/minimal/Programs/gio_usb.c:345:21: danger: ‘handle’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-126): [#def602]
brltty-6.8/minimal/Programs/hid.c:236:9: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
brltty-6.8/minimal/Programs/hid.c:211:1: enter_function: entry to ‘hidSetFilterIdentifiers’
brltty-6.8/minimal/Programs/hid.c:235:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/hid.c:236:9: branch_true: ...to here
brltty-6.8/minimal/Programs/hid.c:236:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/hid.c:237:12: call_function: calling ‘hidParseDeviceIdentifier’ from ‘hidSetFilterIdentifiers’
brltty-6.8/minimal/Programs/hid.c:237:12: return_function: returning to ‘hidSetFilterIdentifiers’ from ‘hidParseDeviceIdentifier’
brltty-6.8/minimal/Programs/hid.c:237:10: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/hid.c:243:5: branch_false: ...to here
brltty-6.8/minimal/Programs/hid.c:235:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/hid.c:236:9: branch_true: ...to here
brltty-6.8/minimal/Programs/hid.c:236:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/hid.c:237:12: call_function: calling ‘hidParseDeviceIdentifier’ from ‘hidSetFilterIdentifiers’
brltty-6.8/minimal/Programs/hid.c:237:12: return_function: returning to ‘hidSetFilterIdentifiers’ from ‘hidParseDeviceIdentifier’
brltty-6.8/minimal/Programs/hid.c:237:10: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/hid.c:243:5: branch_false: ...to here
brltty-6.8/minimal/Programs/hid.c:235:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/hid.c:236:9: branch_true: ...to here
brltty-6.8/minimal/Programs/hid.c:236:9: danger: out-of-bounds read from byte 56 till byte 63 but ‘identifierTable’ ends at byte 48
Error: GCC_ANALYZER_WARNING (CWE-126): [#def603]
brltty-6.8/minimal/Programs/hid.c:237:37: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
brltty-6.8/minimal/Programs/hid.c:211:1: enter_function: entry to ‘hidSetFilterIdentifiers’
brltty-6.8/minimal/Programs/hid.c:235:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/hid.c:236:9: branch_true: ...to here
brltty-6.8/minimal/Programs/hid.c:236:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/hid.c:237:12: call_function: calling ‘hidParseDeviceIdentifier’ from ‘hidSetFilterIdentifiers’
brltty-6.8/minimal/Programs/hid.c:237:12: return_function: returning to ‘hidSetFilterIdentifiers’ from ‘hidParseDeviceIdentifier’
brltty-6.8/minimal/Programs/hid.c:237:10: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/hid.c:243:5: branch_false: ...to here
brltty-6.8/minimal/Programs/hid.c:235:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/hid.c:236:9: branch_true: ...to here
brltty-6.8/minimal/Programs/hid.c:236:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/hid.c:237:12: call_function: calling ‘hidParseDeviceIdentifier’ from ‘hidSetFilterIdentifiers’
brltty-6.8/minimal/Programs/hid.c:237:12: return_function: returning to ‘hidSetFilterIdentifiers’ from ‘hidParseDeviceIdentifier’
brltty-6.8/minimal/Programs/hid.c:237:10: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/hid.c:243:5: branch_false: ...to here
brltty-6.8/minimal/Programs/hid.c:235:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/hid.c:236:9: branch_true: ...to here
brltty-6.8/minimal/Programs/hid.c:236:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/hid.c:237:37: danger: out-of-bounds read from byte 64 till byte 71 but ‘identifierTable’ ends at byte 48
Error: CPPCHECK_WARNING (CWE-401): [#def604]
brltty-6.8/minimal/Programs/hid_linux.c:92: error[memleak]: Memory leak: items
Error: GCC_ANALYZER_WARNING (CWE-401): [#def605]
brltty-6.8/minimal/Programs/ihex.c:161:8: warning[-Wanalyzer-malloc-leak]: leak of ‘ihexParseRecord(rpd)’
brltty-6.8/minimal/Programs/ihex.c:300:1: enter_function: entry to ‘ihexProcessLine’
brltty-6.8/minimal/Programs/ihex.c:307:6: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/ihex.c:308:6: branch_false: ...to here
brltty-6.8/minimal/Programs/ihex.c:308:6: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/ihex.c:310:3: branch_false: ...to here
brltty-6.8/minimal/Programs/ihex.c:311:30: call_function: calling ‘ihexParseRecord’ from ‘ihexProcessLine’
brltty-6.8/minimal/Programs/ihex.c:311:30: return_function: returning to ‘ihexProcessLine’ from ‘ihexParseRecord’
brltty-6.8/minimal/Programs/ihex.c:314:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/ihex.c:315:9: branch_true: ...to here
brltty-6.8/minimal/Programs/ihex.c:315:9: call_function: calling ‘ihexCallHandler’ from ‘ihexProcessLine’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def606]
brltty-6.8/minimal/Programs/kbd.c:158:9: warning[-Wanalyzer-malloc-leak]: leak of ‘kio’
brltty-6.8/minimal/Programs/kbd.c:145:14: acquire_memory: allocated here
brltty-6.8/minimal/Programs/kbd.c:145:6: branch_true: following ‘true’ branch (when ‘kio’ is non-NULL)...
brltty-6.8/minimal/Programs/kbd.c:146:5: branch_true: ...to here
brltty-6.8/minimal/Programs/kbd.c:158:9: throw: if ‘newKeyboardInstanceExtension’ throws an exception...
brltty-6.8/minimal/Programs/kbd.c:158:9: danger: ‘kio’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def607]
brltty-6.8/minimal/Programs/kbd.c:210:9: warning[-Wanalyzer-malloc-leak]: leak of ‘kmo’
brltty-6.8/minimal/Programs/kbd.c:204:14: acquire_memory: allocated here
brltty-6.8/minimal/Programs/kbd.c:204:6: branch_true: following ‘true’ branch (when ‘kmo’ is non-NULL)...
brltty-6.8/minimal/Programs/kbd.c:205:5: branch_true: ...to here
brltty-6.8/minimal/Programs/kbd.c:210:9: throw: if ‘newKeyboardMonitorExtension’ throws an exception...
brltty-6.8/minimal/Programs/kbd.c:210:9: danger: ‘kmo’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def608]
brltty-6.8/minimal/Programs/kbd_linux.c:647:6: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(*kio_94(D)->kix.device.path, 0)’
brltty-6.8/minimal/Programs/kbd_linux.c:647:36: acquire_resource: opened here
brltty-6.8/minimal/Programs/kbd_linux.c:647:6: danger: ‘open(*kio_94(D)->kix.device.path, 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def609]
brltty-6.8/minimal/Programs/kbd_linux.c:775:21: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir("/dev/input")’
brltty-6.8/minimal/Programs/kbd_linux.c:772:20: acquire_memory: allocated here
brltty-6.8/minimal/Programs/kbd_linux.c:772:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/kbd_linux.c:772:6: branch_true: ...to here
brltty-6.8/minimal/Programs/kbd_linux.c:775:21: throw: if ‘readdir’ throws an exception...
brltty-6.8/minimal/Programs/kbd_linux.c:775:21: danger: ‘opendir("/dev/input")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def610]
brltty-6.8/minimal/Programs/kbd_linux.c:830:5: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(__builtin_alloca_with_align(strlen(device) + 9, 8), 0)’
brltty-6.8/minimal/Programs/kbd_linux.c:820:21: acquire_resource: opened here
brltty-6.8/minimal/Programs/kbd_linux.c:820:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/kbd_linux.c:824:19: branch_true: ...to here
brltty-6.8/minimal/Programs/kbd_linux.c:824:8: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/kbd_linux.c:824:8: branch_false: ...to here
brltty-6.8/minimal/Programs/kbd_linux.c:830:5: danger: ‘open(__builtin_alloca_with_align(strlen(device) + 9, 8), 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def611]
brltty-6.8/minimal/Programs/ktb_compile.c:171:7: warning[-Wanalyzer-malloc-leak]: leak of ‘ktd.table’
brltty-6.8/minimal/Programs/ktb_compile.c:1816:1: enter_function: entry to ‘compileKeyTable’
brltty-6.8/minimal/Programs/ktb_compile.c:1819:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/ktb_compile.c:1822:5: branch_true: ...to here
brltty-6.8/minimal/Programs/ktb_compile.c:1832:22: acquire_memory: allocated here
brltty-6.8/minimal/Programs/ktb_compile.c:1832:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/ktb_compile.c:1833:7: branch_true: ...to here
brltty-6.8/minimal/Programs/ktb_compile.c:1866:11: call_function: calling ‘defineInitialKeyContexts’ from ‘compileKeyTable’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def612]
brltty-6.8/minimal/Programs/ktb_compile.c:203:10: warning[-Wanalyzer-malloc-leak]: leak of ‘newTable’
brltty-6.8/minimal/Programs/ktb_compile.c:1115:8: enter_function: entry to ‘processContextOperands’
brltty-6.8/minimal/Programs/ktb_compile.c:1121:25: call_function: inlined call to ‘getCurrentKeyContext’ from ‘processContextOperands’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def613]
brltty-6.8/minimal/Programs/ktb_compile.c:216:5: warning[-Wanalyzer-malloc-leak]: leak of ‘ktd.table’
brltty-6.8/minimal/Programs/ktb_compile.c:1816:1: enter_function: entry to ‘compileKeyTable’
brltty-6.8/minimal/Programs/ktb_compile.c:1819:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/ktb_compile.c:1822:5: branch_true: ...to here
brltty-6.8/minimal/Programs/ktb_compile.c:1832:22: acquire_memory: allocated here
brltty-6.8/minimal/Programs/ktb_compile.c:1832:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/ktb_compile.c:1833:7: branch_true: ...to here
brltty-6.8/minimal/Programs/ktb_compile.c:1866:11: call_function: calling ‘defineInitialKeyContexts’ from ‘compileKeyTable’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def614]
brltty-6.8/minimal/Programs/menu.c:182:5: warning[-Wanalyzer-malloc-leak]: leak of ‘submenu’
brltty-6.8/minimal/Programs/menu.c:958:1: enter_function: entry to ‘newSubmenuMenuItem’
brltty-6.8/minimal/Programs/menu.c:963:18: acquire_memory: allocated here
brltty-6.8/minimal/Programs/menu.c:963:6: branch_true: following ‘true’ branch (when ‘submenu’ is non-NULL)...
brltty-6.8/minimal/Programs/menu.c:964:5: branch_true: ...to here
brltty-6.8/minimal/Programs/menu.c:966:26: call_function: calling ‘newMenu’ from ‘newSubmenuMenuItem’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def615]
brltty-6.8/minimal/Programs/menu.c:190:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘item’
brltty-6.8/minimal/Programs/menu.c:1164:1: enter_function: entry to ‘getCurrentMenuItem’
brltty-6.8/minimal/Programs/menu.c:1165:23: call_function: inlined call to ‘getSelectedMenuItem’ from ‘getCurrentMenuItem’
brltty-6.8/minimal/Programs/menu.c:1165:23: call_function: inlined call to ‘getSelectedMenuItem’ from ‘getCurrentMenuItem’
brltty-6.8/minimal/Programs/menu.c:1168:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/menu.c:1169:8: branch_true: ...to here
brltty-6.8/minimal/Programs/menu.c:1169:8: branch_true: following ‘true’ branch (when ‘oldItem’ is non-NULL)...
brltty-6.8/minimal/Programs/menu.c:1169:18: call_function: inlined call to ‘endMenuItem’ from ‘getCurrentMenuItem’
brltty-6.8/minimal/Programs/menu.c:1170:24: call_function: calling ‘beginMenuItem’ from ‘getCurrentMenuItem’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def616]
brltty-6.8/minimal/Programs/menu.c:195:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
brltty-6.8/minimal/Programs/menu.c:958:1: enter_function: entry to ‘newSubmenuMenuItem’
brltty-6.8/minimal/Programs/menu.c:963:6: branch_true: following ‘true’ branch (when ‘submenu’ is non-NULL)...
brltty-6.8/minimal/Programs/menu.c:964:5: branch_true: ...to here
brltty-6.8/minimal/Programs/menu.c:966:26: call_function: calling ‘newMenu’ from ‘newSubmenuMenuItem’
brltty-6.8/minimal/Programs/menu.c:966:26: return_function: returning to ‘newSubmenuMenuItem’ from ‘newMenu’
brltty-6.8/minimal/Programs/menu.c:966:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/menu.c:970:20: branch_true: ...to here
brltty-6.8/minimal/Programs/menu.c:970:20: call_function: calling ‘newMenuItem’ from ‘newSubmenuMenuItem’
brltty-6.8/minimal/Programs/menu.c:970:20: return_function: returning to ‘newSubmenuMenuItem’ from ‘newMenuItem’
brltty-6.8/minimal/Programs/menu.c:970:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/menu.c:973:21: branch_true: ...to here
brltty-6.8/minimal/Programs/menu.c:973:21: call_function: calling ‘newMenuItem’ from ‘newSubmenuMenuItem’
brltty-6.8/minimal/Programs/menu.c:973:21: return_function: returning to ‘newSubmenuMenuItem’ from ‘newMenuItem’
brltty-6.8/minimal/Programs/menu.c:973:12: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/menu.c:992:7: branch_false: ...to here
brltty-6.8/minimal/Programs/menu.c:992:7: call_function: calling ‘destroyMenu’ from ‘newSubmenuMenuItem’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def617]
brltty-6.8/minimal/Programs/menu.c:288:27: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘item’
brltty-6.8/minimal/Programs/menu.c:947:1: enter_function: entry to ‘getComment_close’
brltty-6.8/minimal/Programs/menu.c:948:27: call_function: calling ‘getParentMenuItem’ from ‘getComment_close’
brltty-6.8/minimal/Programs/menu.c:948:27: return_function: returning to ‘getComment_close’ from ‘getParentMenuItem’
brltty-6.8/minimal/Programs/menu.c:948:10: call_function: calling ‘getMenuItemTitle’ from ‘getComment_close’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def618]
brltty-6.8/minimal/Programs/menu.c:313:7: warning[-Wanalyzer-malloc-leak]: leak of ‘newMenuItem(newMenu(), 0, &closeName)’
brltty-6.8/minimal/Programs/menu.c:958:1: enter_function: entry to ‘newSubmenuMenuItem’
brltty-6.8/minimal/Programs/menu.c:963:6: branch_true: following ‘true’ branch (when ‘submenu’ is non-NULL)...
brltty-6.8/minimal/Programs/menu.c:964:5: branch_true: ...to here
brltty-6.8/minimal/Programs/menu.c:966:26: call_function: calling ‘newMenu’ from ‘newSubmenuMenuItem’
brltty-6.8/minimal/Programs/menu.c:966:26: return_function: returning to ‘newSubmenuMenuItem’ from ‘newMenu’
brltty-6.8/minimal/Programs/menu.c:966:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/menu.c:970:20: branch_true: ...to here
brltty-6.8/minimal/Programs/menu.c:970:20: call_function: calling ‘newMenuItem’ from ‘newSubmenuMenuItem’
brltty-6.8/minimal/Programs/menu.c:970:20: return_function: returning to ‘newSubmenuMenuItem’ from ‘newMenuItem’
brltty-6.8/minimal/Programs/menu.c:970:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/menu.c:973:21: branch_true: ...to here
brltty-6.8/minimal/Programs/menu.c:973:21: call_function: calling ‘newMenuItem’ from ‘newSubmenuMenuItem’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def619]
brltty-6.8/minimal/Programs/menu.c:318:7: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
brltty-6.8/minimal/Programs/menu.c:958:1: enter_function: entry to ‘newSubmenuMenuItem’
brltty-6.8/minimal/Programs/menu.c:963:6: branch_true: following ‘true’ branch (when ‘submenu’ is non-NULL)...
brltty-6.8/minimal/Programs/menu.c:964:5: branch_true: ...to here
brltty-6.8/minimal/Programs/menu.c:966:26: call_function: calling ‘newMenu’ from ‘newSubmenuMenuItem’
brltty-6.8/minimal/Programs/menu.c:966:26: return_function: returning to ‘newSubmenuMenuItem’ from ‘newMenu’
brltty-6.8/minimal/Programs/menu.c:966:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/menu.c:970:20: branch_true: ...to here
brltty-6.8/minimal/Programs/menu.c:970:20: call_function: calling ‘newMenuItem’ from ‘newSubmenuMenuItem’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def620]
brltty-6.8/minimal/Programs/menu.c:318:7: warning[-Wanalyzer-malloc-leak]: leak of ‘files’
brltty-6.8/minimal/Programs/menu.c:701:1: enter_function: entry to ‘newFilesMenuItem’
brltty-6.8/minimal/Programs/menu.c:708:16: acquire_memory: allocated here
brltty-6.8/minimal/Programs/menu.c:708:6: branch_true: following ‘true’ branch (when ‘files’ is non-NULL)...
brltty-6.8/minimal/Programs/menu.c:709:5: branch_true: ...to here
brltty-6.8/minimal/Programs/menu.c:719:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/menu.c:720:7: branch_true: ...to here
brltty-6.8/minimal/Programs/menu.c:722:29: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/menu.c:723:12: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/menu.c:724:14: branch_true: ...to here
brltty-6.8/minimal/Programs/menu.c:724:14: branch_true: following ‘true’ branch (when ‘subdirectory’ is non-NULL)...
brltty-6.8/minimal/Programs/menu.c:725:32: branch_true: ...to here
brltty-6.8/minimal/Programs/menu.c:730:14: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/menu.c:731:30: branch_true: ...to here
brltty-6.8/minimal/Programs/menu.c:731:30: call_function: calling ‘newMenuItem’ from ‘newFilesMenuItem’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def621]
brltty-6.8/minimal/Programs/menu.c:318:7: warning[-Wanalyzer-malloc-leak]: leak of ‘submenu’
brltty-6.8/minimal/Programs/menu.c:958:1: enter_function: entry to ‘newSubmenuMenuItem’
brltty-6.8/minimal/Programs/menu.c:963:18: acquire_memory: allocated here
brltty-6.8/minimal/Programs/menu.c:963:6: branch_true: following ‘true’ branch (when ‘submenu’ is non-NULL)...
brltty-6.8/minimal/Programs/menu.c:964:5: branch_true: ...to here
brltty-6.8/minimal/Programs/menu.c:966:26: call_function: calling ‘newMenu’ from ‘newSubmenuMenuItem’
brltty-6.8/minimal/Programs/menu.c:966:26: return_function: returning to ‘newSubmenuMenuItem’ from ‘newMenu’
brltty-6.8/minimal/Programs/menu.c:966:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/menu.c:970:20: branch_true: ...to here
brltty-6.8/minimal/Programs/menu.c:970:20: call_function: calling ‘newMenuItem’ from ‘newSubmenuMenuItem’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def622]
brltty-6.8/minimal/Programs/menu.c:329:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
brltty-6.8/minimal/Programs/menu.c:312:1: enter_function: entry to ‘newMenuItem’
brltty-6.8/minimal/Programs/menu.c:327:22: call_function: calling ‘getMenuItem’ from ‘newMenuItem’
brltty-6.8/minimal/Programs/menu.c:327:22: return_function: returning to ‘newMenuItem’ from ‘getMenuItem’
brltty-6.8/minimal/Programs/menu.c:329:5: danger: dereference of NULL ‘getMenuItem(menu, *menu.items.count)’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def623]
brltty-6.8/minimal/Programs/menu.c:542:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(".", 0)’
brltty-6.8/minimal/Programs/menu.c:533:29: acquire_resource: opened here
brltty-6.8/minimal/Programs/menu.c:535:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/menu.c:542:17: branch_true: ...to here
brltty-6.8/minimal/Programs/menu.c:542:10: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/menu.c:588:88: branch_false: ...to here
brltty-6.8/minimal/Programs/menu.c:587:9: throw: if ‘logMessage’ throws an exception...
brltty-6.8/minimal/Programs/menu.c:542:17: danger: ‘open(".", 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def624]
brltty-6.8/minimal/Programs/menu.c:716:17: warning[-Wanalyzer-malloc-leak]: leak of ‘files’
brltty-6.8/minimal/Programs/menu.c:708:16: acquire_memory: allocated here
brltty-6.8/minimal/Programs/menu.c:708:6: branch_true: following ‘true’ branch (when ‘files’ is non-NULL)...
brltty-6.8/minimal/Programs/menu.c:709:5: branch_true: ...to here
brltty-6.8/minimal/Programs/menu.c:716:17: throw: if ‘joinStrings’ throws an exception...
brltty-6.8/minimal/Programs/menu.c:716:17: danger: ‘files’ leaks here; was allocated at [(1)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def625]
brltty-6.8/minimal/Programs/menu.c:722:39: warning[-Wanalyzer-malloc-leak]: leak of ‘files’
brltty-6.8/minimal/Programs/menu.c:708:16: acquire_memory: allocated here
brltty-6.8/minimal/Programs/menu.c:708:6: branch_true: following ‘true’ branch (when ‘files’ is non-NULL)...
brltty-6.8/minimal/Programs/menu.c:709:5: branch_true: ...to here
brltty-6.8/minimal/Programs/menu.c:719:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/menu.c:720:7: branch_true: ...to here
brltty-6.8/minimal/Programs/menu.c:722:29: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/menu.c:722:39: branch_true: ...to here
brltty-6.8/minimal/Programs/menu.c:722:39: throw: if ‘ensureFileExtension’ throws an exception...
brltty-6.8/minimal/Programs/menu.c:722:39: danger: ‘files’ leaks here; was allocated at [(1)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def626]
brltty-6.8/minimal/Programs/menu.c:725:32: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
brltty-6.8/minimal/Programs/menu.c:708:6: branch_true: following ‘true’ branch (when ‘files’ is non-NULL)...
brltty-6.8/minimal/Programs/menu.c:709:5: branch_true: ...to here
brltty-6.8/minimal/Programs/menu.c:719:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/menu.c:720:7: branch_true: ...to here
brltty-6.8/minimal/Programs/menu.c:722:29: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/menu.c:723:31: acquire_memory: allocated here
brltty-6.8/minimal/Programs/menu.c:723:12: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/menu.c:724:14: branch_true: ...to here
brltty-6.8/minimal/Programs/menu.c:724:14: branch_true: following ‘true’ branch (when ‘subdirectory’ is non-NULL)...
brltty-6.8/minimal/Programs/menu.c:725:32: branch_true: ...to here
brltty-6.8/minimal/Programs/menu.c:725:32: throw: if ‘makePath’ throws an exception...
brltty-6.8/minimal/Programs/menu.c:725:32: danger: ‘<unknown>’ leaks here; was allocated at [(7)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def627]
brltty-6.8/minimal/Programs/menu.c:725:32: warning[-Wanalyzer-malloc-leak]: leak of ‘files’
brltty-6.8/minimal/Programs/menu.c:708:16: acquire_memory: allocated here
brltty-6.8/minimal/Programs/menu.c:708:6: branch_true: following ‘true’ branch (when ‘files’ is non-NULL)...
brltty-6.8/minimal/Programs/menu.c:709:5: branch_true: ...to here
brltty-6.8/minimal/Programs/menu.c:719:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/menu.c:720:7: branch_true: ...to here
brltty-6.8/minimal/Programs/menu.c:722:29: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/menu.c:723:12: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/menu.c:724:14: branch_true: ...to here
brltty-6.8/minimal/Programs/menu.c:724:14: branch_true: following ‘true’ branch (when ‘subdirectory’ is non-NULL)...
brltty-6.8/minimal/Programs/menu.c:725:32: branch_true: ...to here
brltty-6.8/minimal/Programs/menu.c:725:32: throw: if ‘makePath’ throws an exception...
brltty-6.8/minimal/Programs/menu.c:725:32: danger: ‘files’ leaks here; was allocated at [(1)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def628]
brltty-6.8/minimal/Programs/menu.c:727:13: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
brltty-6.8/minimal/Programs/menu.c:708:6: branch_true: following ‘true’ branch (when ‘files’ is non-NULL)...
brltty-6.8/minimal/Programs/menu.c:709:5: branch_true: ...to here
brltty-6.8/minimal/Programs/menu.c:719:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/menu.c:720:7: branch_true: ...to here
brltty-6.8/minimal/Programs/menu.c:722:29: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/menu.c:723:31: acquire_memory: allocated here
brltty-6.8/minimal/Programs/menu.c:723:12: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/menu.c:724:14: branch_true: ...to here
brltty-6.8/minimal/Programs/menu.c:724:14: branch_false: following ‘false’ branch (when ‘subdirectory’ is NULL)...
brltty-6.8/minimal/Programs/menu.c:726:43: branch_false: ...to here
brltty-6.8/minimal/Programs/menu.c:726:21: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/menu.c:727:13: branch_true: ...to here
brltty-6.8/minimal/Programs/menu.c:727:13: throw: if ‘logMallocError’ throws an exception...
brltty-6.8/minimal/Programs/menu.c:727:13: danger: ‘<unknown>’ leaks here; was allocated at [(7)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def629]
brltty-6.8/minimal/Programs/menu.c:727:13: warning[-Wanalyzer-malloc-leak]: leak of ‘files’
brltty-6.8/minimal/Programs/menu.c:708:16: acquire_memory: allocated here
brltty-6.8/minimal/Programs/menu.c:708:6: branch_true: following ‘true’ branch (when ‘files’ is non-NULL)...
brltty-6.8/minimal/Programs/menu.c:709:5: branch_true: ...to here
brltty-6.8/minimal/Programs/menu.c:719:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/menu.c:720:7: branch_true: ...to here
brltty-6.8/minimal/Programs/menu.c:722:29: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/menu.c:723:12: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/menu.c:724:14: branch_true: ...to here
brltty-6.8/minimal/Programs/menu.c:724:14: branch_false: following ‘false’ branch (when ‘subdirectory’ is NULL)...
brltty-6.8/minimal/Programs/menu.c:726:43: branch_false: ...to here
brltty-6.8/minimal/Programs/menu.c:726:21: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/menu.c:727:13: branch_true: ...to here
brltty-6.8/minimal/Programs/menu.c:727:13: throw: if ‘logMallocError’ throws an exception...
brltty-6.8/minimal/Programs/menu.c:727:13: danger: ‘files’ leaks here; was allocated at [(1)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def630]
brltty-6.8/minimal/Programs/menu.c:744:11: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
brltty-6.8/minimal/Programs/menu.c:708:6: branch_true: following ‘true’ branch (when ‘files’ is non-NULL)...
brltty-6.8/minimal/Programs/menu.c:709:5: branch_true: ...to here
brltty-6.8/minimal/Programs/menu.c:719:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/menu.c:720:7: branch_true: ...to here
brltty-6.8/minimal/Programs/menu.c:722:29: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/menu.c:722:80: branch_false: ...to here
brltty-6.8/minimal/Programs/menu.c:722:80: acquire_memory: allocated here
brltty-6.8/minimal/Programs/menu.c:722:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/menu.c:723:31: branch_true: ...to here
brltty-6.8/minimal/Programs/menu.c:723:12: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/menu.c:744:11: branch_false: ...to here
brltty-6.8/minimal/Programs/menu.c:744:11: throw: if ‘logMallocError’ throws an exception...
brltty-6.8/minimal/Programs/menu.c:744:11: danger: ‘<unknown>’ leaks here; was allocated at [(7)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def631]
brltty-6.8/minimal/Programs/menu.c:744:11: warning[-Wanalyzer-malloc-leak]: leak of ‘files’
brltty-6.8/minimal/Programs/menu.c:708:16: acquire_memory: allocated here
brltty-6.8/minimal/Programs/menu.c:708:6: branch_true: following ‘true’ branch (when ‘files’ is non-NULL)...
brltty-6.8/minimal/Programs/menu.c:709:5: branch_true: ...to here
brltty-6.8/minimal/Programs/menu.c:719:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/menu.c:720:7: branch_true: ...to here
brltty-6.8/minimal/Programs/menu.c:722:29: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/menu.c:723:12: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/menu.c:744:11: branch_false: ...to here
brltty-6.8/minimal/Programs/menu.c:744:11: throw: if ‘logMallocError’ throws an exception...
brltty-6.8/minimal/Programs/menu.c:744:11: danger: ‘files’ leaks here; was allocated at [(1)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def632]
brltty-6.8/minimal/Programs/menu.c:749:9: warning[-Wanalyzer-malloc-leak]: leak of ‘files’
brltty-6.8/minimal/Programs/menu.c:708:16: acquire_memory: allocated here
brltty-6.8/minimal/Programs/menu.c:708:6: branch_true: following ‘true’ branch (when ‘files’ is non-NULL)...
brltty-6.8/minimal/Programs/menu.c:709:5: branch_true: ...to here
brltty-6.8/minimal/Programs/menu.c:719:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/menu.c:720:7: branch_true: ...to here
brltty-6.8/minimal/Programs/menu.c:722:29: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/menu.c:722:39: branch_true: ...to here
brltty-6.8/minimal/Programs/menu.c:722:10: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/menu.c:749:9: branch_false: ...to here
brltty-6.8/minimal/Programs/menu.c:749:9: throw: if ‘logMallocError’ throws an exception...
brltty-6.8/minimal/Programs/menu.c:749:9: danger: ‘files’ leaks here; was allocated at [(1)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def633]
brltty-6.8/minimal/Programs/menu.c:754:7: warning[-Wanalyzer-malloc-leak]: leak of ‘files’
brltty-6.8/minimal/Programs/menu.c:708:16: acquire_memory: allocated here
brltty-6.8/minimal/Programs/menu.c:708:6: branch_true: following ‘true’ branch (when ‘files’ is non-NULL)...
brltty-6.8/minimal/Programs/menu.c:709:5: branch_true: ...to here
brltty-6.8/minimal/Programs/menu.c:719:8: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/menu.c:754:7: branch_false: ...to here
brltty-6.8/minimal/Programs/menu.c:754:7: throw: if ‘logMallocError’ throws an exception...
brltty-6.8/minimal/Programs/menu.c:754:7: danger: ‘files’ leaks here; was allocated at [(1)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def634]
brltty-6.8/minimal/Programs/menu.c:1075:8: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
brltty-6.8/minimal/Programs/menu.c:1142:1: enter_function: entry to ‘changeMenuSettingScaled’
brltty-6.8/minimal/Programs/menu.c:1143:20: call_function: calling ‘getCurrentMenuItem’ from ‘changeMenuSettingScaled’
brltty-6.8/minimal/Programs/menu.c:1143:20: return_function: returning to ‘changeMenuSettingScaled’ from ‘getCurrentMenuItem’
brltty-6.8/minimal/Programs/menu.c:1145:7: call_function: inlined call to ‘activateMenuItem’ from ‘changeMenuSettingScaled’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def635]
brltty-6.8/minimal/Programs/menu.c:1181:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
brltty-6.8/minimal/Programs/menu.c:1177:1: enter_function: entry to ‘getCurrentSubmenu’
brltty-6.8/minimal/Programs/menu.c:1179:22: call_function: calling ‘getCurrentMenuItem’ from ‘getCurrentSubmenu’
brltty-6.8/minimal/Programs/menu.c:1179:22: return_function: returning to ‘getCurrentSubmenu’ from ‘getCurrentMenuItem’
brltty-6.8/minimal/Programs/menu.c:1181:9: danger: dereference of NULL ‘getCurrentMenuItem(menu)’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def636]
brltty-6.8/minimal/Programs/message.c:376:5: warning[-Wanalyzer-malloc-leak]: leak of ‘mgp’
brltty-6.8/minimal/Programs/message.c:525:1: enter_function: entry to ‘message’
brltty-6.8/minimal/Programs/message.c:532:14: acquire_memory: allocated here
brltty-6.8/minimal/Programs/message.c:532:6: branch_true: following ‘true’ branch (when ‘mgp’ is non-NULL)...
brltty-6.8/minimal/Programs/message.c:533:5: branch_true: ...to here
brltty-6.8/minimal/Programs/message.c:539:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/message.c:540:7: branch_true: ...to here
brltty-6.8/minimal/Programs/message.c:541:7: call_function: calling ‘presentMessage’ from ‘message’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def637]
brltty-6.8/minimal/Programs/message.c:389:27: warning[-Wanalyzer-malloc-leak]: leak of ‘mgp’
brltty-6.8/minimal/Programs/message.c:525:1: enter_function: entry to ‘message’
brltty-6.8/minimal/Programs/message.c:532:14: acquire_memory: allocated here
brltty-6.8/minimal/Programs/message.c:532:6: branch_true: following ‘true’ branch (when ‘mgp’ is non-NULL)...
brltty-6.8/minimal/Programs/message.c:533:5: branch_true: ...to here
brltty-6.8/minimal/Programs/message.c:539:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/message.c:540:7: branch_true: ...to here
brltty-6.8/minimal/Programs/message.c:541:7: call_function: calling ‘presentMessage’ from ‘message’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def638]
brltty-6.8/minimal/Programs/message.c:423:7: warning[-Wanalyzer-malloc-leak]: leak of ‘mgp’
brltty-6.8/minimal/Programs/message.c:525:1: enter_function: entry to ‘message’
brltty-6.8/minimal/Programs/message.c:532:14: acquire_memory: allocated here
brltty-6.8/minimal/Programs/message.c:532:6: branch_true: following ‘true’ branch (when ‘mgp’ is non-NULL)...
brltty-6.8/minimal/Programs/message.c:533:5: branch_true: ...to here
brltty-6.8/minimal/Programs/message.c:539:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/message.c:540:7: branch_true: ...to here
brltty-6.8/minimal/Programs/message.c:541:7: call_function: calling ‘presentMessage’ from ‘message’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def639]
brltty-6.8/minimal/Programs/message.c:430:17: warning[-Wanalyzer-malloc-leak]: leak of ‘mgp’
brltty-6.8/minimal/Programs/message.c:525:1: enter_function: entry to ‘message’
brltty-6.8/minimal/Programs/message.c:532:14: acquire_memory: allocated here
brltty-6.8/minimal/Programs/message.c:532:6: branch_true: following ‘true’ branch (when ‘mgp’ is non-NULL)...
brltty-6.8/minimal/Programs/message.c:533:5: branch_true: ...to here
brltty-6.8/minimal/Programs/message.c:539:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/message.c:540:7: branch_true: ...to here
brltty-6.8/minimal/Programs/message.c:541:7: call_function: calling ‘presentMessage’ from ‘message’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def640]
brltty-6.8/minimal/Programs/message.c:436:31: warning[-Wanalyzer-malloc-leak]: leak of ‘mgp’
brltty-6.8/minimal/Programs/message.c:525:1: enter_function: entry to ‘message’
brltty-6.8/minimal/Programs/message.c:532:14: acquire_memory: allocated here
brltty-6.8/minimal/Programs/message.c:532:6: branch_true: following ‘true’ branch (when ‘mgp’ is non-NULL)...
brltty-6.8/minimal/Programs/message.c:533:5: branch_true: ...to here
brltty-6.8/minimal/Programs/message.c:539:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/message.c:540:7: branch_true: ...to here
brltty-6.8/minimal/Programs/message.c:541:7: call_function: calling ‘presentMessage’ from ‘message’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def641]
brltty-6.8/minimal/Programs/message.c:438:5: warning[-Wanalyzer-malloc-leak]: leak of ‘mgp’
brltty-6.8/minimal/Programs/message.c:525:1: enter_function: entry to ‘message’
brltty-6.8/minimal/Programs/message.c:532:14: acquire_memory: allocated here
brltty-6.8/minimal/Programs/message.c:532:6: branch_true: following ‘true’ branch (when ‘mgp’ is non-NULL)...
brltty-6.8/minimal/Programs/message.c:533:5: branch_true: ...to here
brltty-6.8/minimal/Programs/message.c:539:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/message.c:540:7: branch_true: ...to here
brltty-6.8/minimal/Programs/message.c:541:7: call_function: calling ‘presentMessage’ from ‘message’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def642]
brltty-6.8/minimal/Programs/message.c:448:9: warning[-Wanalyzer-malloc-leak]: leak of ‘mgp’
brltty-6.8/minimal/Programs/message.c:525:1: enter_function: entry to ‘message’
brltty-6.8/minimal/Programs/message.c:532:14: acquire_memory: allocated here
brltty-6.8/minimal/Programs/message.c:532:6: branch_true: following ‘true’ branch (when ‘mgp’ is non-NULL)...
brltty-6.8/minimal/Programs/message.c:533:5: branch_true: ...to here
brltty-6.8/minimal/Programs/message.c:539:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/message.c:540:7: branch_true: ...to here
brltty-6.8/minimal/Programs/message.c:541:7: call_function: calling ‘presentMessage’ from ‘message’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def643]
brltty-6.8/minimal/Programs/message.c:466:27: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*mgd.segments.first.start’
brltty-6.8/minimal/Programs/message.c:416:1: enter_function: entry to ‘presentMessage’
brltty-6.8/minimal/Programs/message.c:423:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/message.c:423:21: branch_true: ...to here
brltty-6.8/minimal/Programs/message.c:448:8: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/message.c:463:20: branch_false: ...to here
brltty-6.8/minimal/Programs/message.c:465:25: call_function: calling ‘makeSegments’ from ‘presentMessage’
brltty-6.8/minimal/Programs/message.c:465:25: return_function: returning to ‘presentMessage’ from ‘makeSegments’
brltty-6.8/minimal/Programs/message.c:466:27: danger: use of uninitialized value ‘*mgd.segments.first.start’ here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def644]
brltty-6.8/minimal/Programs/message.c:545:11: warning[-Wanalyzer-malloc-leak]: leak of ‘mgp’
brltty-6.8/minimal/Programs/message.c:532:14: acquire_memory: allocated here
brltty-6.8/minimal/Programs/message.c:532:6: branch_true: following ‘true’ branch (when ‘mgp’ is non-NULL)...
brltty-6.8/minimal/Programs/message.c:533:5: branch_true: ...to here
brltty-6.8/minimal/Programs/message.c:539:8: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/message.c:544:7: branch_false: ...to here
brltty-6.8/minimal/Programs/message.c:545:11: throw: if ‘asyncAddTask’ throws an exception...
brltty-6.8/minimal/Programs/message.c:545:11: danger: ‘mgp’ leaks here; was allocated at [(1)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def645]
brltty-6.8/minimal/Programs/messages.c:545:3: warning[-Wanalyzer-malloc-leak]: leak of ‘copy’
brltty-6.8/minimal/Programs/messages.c:610:1: enter_function: entry to ‘setMessagesDirectory’
brltty-6.8/minimal/Programs/messages.c:611:10: call_function: calling ‘updateProperty’ from ‘setMessagesDirectory’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def646]
brltty-6.8/minimal/Programs/messages.c:552:5: warning[-Wanalyzer-malloc-leak]: leak of ‘copy’
brltty-6.8/minimal/Programs/messages.c:620:1: enter_function: entry to ‘setMessagesDomain’
brltty-6.8/minimal/Programs/messages.c:621:10: call_function: calling ‘updateProperty’ from ‘setMessagesDomain’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def647]
brltty-6.8/minimal/Programs/messages.c:557:5: warning[-Wanalyzer-malloc-leak]: leak of ‘copy’
brltty-6.8/minimal/Programs/messages.c:620:1: enter_function: entry to ‘setMessagesDomain’
brltty-6.8/minimal/Programs/messages.c:621:10: call_function: calling ‘updateProperty’ from ‘setMessagesDomain’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def648]
brltty-6.8/minimal/Programs/messages.c:595:20: warning[-Wanalyzer-malloc-leak]: leak of ‘copy’
brltty-6.8/minimal/Programs/messages.c:592:16: acquire_memory: allocated here
brltty-6.8/minimal/Programs/messages.c:594:6: branch_true: following ‘true’ branch (when ‘copy’ is non-NULL)...
brltty-6.8/minimal/Programs/messages.c:595:8: branch_true: ...to here
brltty-6.8/minimal/Programs/messages.c:595:8: branch_false: following ‘false’ branch (when ‘setter’ is non-NULL)...
brltty-6.8/minimal/Programs/messages.c:595:20: branch_false: ...to here
brltty-6.8/minimal/Programs/messages.c:595:20: throw: if the called function throws an exception...
brltty-6.8/minimal/Programs/messages.c:595:20: danger: ‘copy’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def649]
brltty-6.8/minimal/Programs/mntpt.c:65:5: warning[-Wanalyzer-malloc-leak]: leak of ‘path’
brltty-6.8/minimal/Programs/mntpt.c:55:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/mntpt.c:55:6: branch_true: ...to here
brltty-6.8/minimal/Programs/mntpt.c:58:12: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/mntpt.c:59:34: branch_true: ...to here
brltty-6.8/minimal/Programs/mntpt.c:60:22: acquire_memory: allocated here
brltty-6.8/minimal/Programs/mntpt.c:60:12: branch_false: following ‘false’ branch (when ‘path’ is non-NULL)...
brltty-6.8/minimal/Programs/mntpt.c:65:5: branch_false: ...to here
brltty-6.8/minimal/Programs/mntpt.c:65:5: throw: if ‘closeMountsTable’ throws an exception...
brltty-6.8/minimal/Programs/mntpt.c:65:5: danger: ‘path’ leaks here; was allocated at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def650]
brltty-6.8/minimal/Programs/mntpt.c:85:18: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
brltty-6.8/minimal/Programs/mntpt.c:105:1: enter_function: entry to ‘makeMountPoint’
brltty-6.8/minimal/Programs/mntpt.c:106:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/mntpt.c:109:5: branch_true: ...to here
brltty-6.8/minimal/Programs/mntpt.c:112:8: branch_true: following ‘true’ branch (when ‘entry’ is non-NULL)...
brltty-6.8/minimal/Programs/mntpt.c:113:7: branch_true: ...to here
brltty-6.8/minimal/Programs/mntpt.c:115:31: acquire_memory: allocated here
brltty-6.8/minimal/Programs/mntpt.c:115:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/mntpt.c:116:38: branch_true: ...to here
brltty-6.8/minimal/Programs/mntpt.c:116:12: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/mntpt.c:117:35: branch_true: ...to here
brltty-6.8/minimal/Programs/mntpt.c:117:14: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/mntpt.c:118:40: branch_true: ...to here
brltty-6.8/minimal/Programs/mntpt.c:118:16: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/mntpt.c:119:15: branch_true: ...to here
brltty-6.8/minimal/Programs/mntpt.c:119:15: call_function: calling ‘updateMountsTable’ from ‘makeMountPoint’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def651]
brltty-6.8/minimal/Programs/mntpt.c:85:18: warning[-Wanalyzer-malloc-leak]: leak of ‘entry’
brltty-6.8/minimal/Programs/mntpt.c:105:1: enter_function: entry to ‘makeMountPoint’
brltty-6.8/minimal/Programs/mntpt.c:106:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/mntpt.c:109:5: branch_true: ...to here
brltty-6.8/minimal/Programs/mntpt.c:112:18: acquire_memory: allocated here
brltty-6.8/minimal/Programs/mntpt.c:112:8: branch_true: following ‘true’ branch (when ‘entry’ is non-NULL)...
brltty-6.8/minimal/Programs/mntpt.c:113:7: branch_true: ...to here
brltty-6.8/minimal/Programs/mntpt.c:115:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/mntpt.c:116:38: branch_true: ...to here
brltty-6.8/minimal/Programs/mntpt.c:116:12: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/mntpt.c:117:35: branch_true: ...to here
brltty-6.8/minimal/Programs/mntpt.c:117:14: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/mntpt.c:118:40: branch_true: ...to here
brltty-6.8/minimal/Programs/mntpt.c:118:16: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/mntpt.c:119:15: branch_true: ...to here
brltty-6.8/minimal/Programs/mntpt.c:119:15: call_function: calling ‘updateMountsTable’ from ‘makeMountPoint’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def652]
brltty-6.8/minimal/Programs/mntpt.c:86:7: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
brltty-6.8/minimal/Programs/mntpt.c:105:1: enter_function: entry to ‘makeMountPoint’
brltty-6.8/minimal/Programs/mntpt.c:106:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/mntpt.c:109:5: branch_true: ...to here
brltty-6.8/minimal/Programs/mntpt.c:112:8: branch_true: following ‘true’ branch (when ‘entry’ is non-NULL)...
brltty-6.8/minimal/Programs/mntpt.c:113:7: branch_true: ...to here
brltty-6.8/minimal/Programs/mntpt.c:115:31: acquire_memory: allocated here
brltty-6.8/minimal/Programs/mntpt.c:115:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/mntpt.c:116:38: branch_true: ...to here
brltty-6.8/minimal/Programs/mntpt.c:116:12: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/mntpt.c:117:35: branch_true: ...to here
brltty-6.8/minimal/Programs/mntpt.c:117:14: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/mntpt.c:118:40: branch_true: ...to here
brltty-6.8/minimal/Programs/mntpt.c:118:16: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/mntpt.c:119:15: branch_true: ...to here
brltty-6.8/minimal/Programs/mntpt.c:119:15: call_function: calling ‘updateMountsTable’ from ‘makeMountPoint’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def653]
brltty-6.8/minimal/Programs/mntpt.c:86:7: warning[-Wanalyzer-malloc-leak]: leak of ‘entry’
brltty-6.8/minimal/Programs/mntpt.c:105:1: enter_function: entry to ‘makeMountPoint’
brltty-6.8/minimal/Programs/mntpt.c:106:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/mntpt.c:109:5: branch_true: ...to here
brltty-6.8/minimal/Programs/mntpt.c:112:18: acquire_memory: allocated here
brltty-6.8/minimal/Programs/mntpt.c:112:8: branch_true: following ‘true’ branch (when ‘entry’ is non-NULL)...
brltty-6.8/minimal/Programs/mntpt.c:113:7: branch_true: ...to here
brltty-6.8/minimal/Programs/mntpt.c:115:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/mntpt.c:116:38: branch_true: ...to here
brltty-6.8/minimal/Programs/mntpt.c:116:12: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/mntpt.c:117:35: branch_true: ...to here
brltty-6.8/minimal/Programs/mntpt.c:117:14: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/mntpt.c:118:40: branch_true: ...to here
brltty-6.8/minimal/Programs/mntpt.c:118:16: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/mntpt.c:119:15: branch_true: ...to here
brltty-6.8/minimal/Programs/mntpt.c:119:15: call_function: calling ‘updateMountsTable’ from ‘makeMountPoint’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def654]
brltty-6.8/minimal/Programs/mntpt.c:94:5: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
brltty-6.8/minimal/Programs/mntpt.c:105:1: enter_function: entry to ‘makeMountPoint’
brltty-6.8/minimal/Programs/mntpt.c:106:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/mntpt.c:109:5: branch_true: ...to here
brltty-6.8/minimal/Programs/mntpt.c:112:8: branch_true: following ‘true’ branch (when ‘entry’ is non-NULL)...
brltty-6.8/minimal/Programs/mntpt.c:113:7: branch_true: ...to here
brltty-6.8/minimal/Programs/mntpt.c:115:31: acquire_memory: allocated here
brltty-6.8/minimal/Programs/mntpt.c:115:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/mntpt.c:116:38: branch_true: ...to here
brltty-6.8/minimal/Programs/mntpt.c:116:12: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/mntpt.c:117:35: branch_true: ...to here
brltty-6.8/minimal/Programs/mntpt.c:117:14: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/mntpt.c:118:40: branch_true: ...to here
brltty-6.8/minimal/Programs/mntpt.c:118:16: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/mntpt.c:119:15: branch_true: ...to here
brltty-6.8/minimal/Programs/mntpt.c:119:15: call_function: calling ‘updateMountsTable’ from ‘makeMountPoint’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def655]
brltty-6.8/minimal/Programs/mntpt.c:94:5: warning[-Wanalyzer-malloc-leak]: leak of ‘entry’
brltty-6.8/minimal/Programs/mntpt.c:105:1: enter_function: entry to ‘makeMountPoint’
brltty-6.8/minimal/Programs/mntpt.c:106:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/mntpt.c:109:5: branch_true: ...to here
brltty-6.8/minimal/Programs/mntpt.c:112:18: acquire_memory: allocated here
brltty-6.8/minimal/Programs/mntpt.c:112:8: branch_true: following ‘true’ branch (when ‘entry’ is non-NULL)...
brltty-6.8/minimal/Programs/mntpt.c:113:7: branch_true: ...to here
brltty-6.8/minimal/Programs/mntpt.c:115:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/mntpt.c:116:38: branch_true: ...to here
brltty-6.8/minimal/Programs/mntpt.c:116:12: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/mntpt.c:117:35: branch_true: ...to here
brltty-6.8/minimal/Programs/mntpt.c:117:14: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/mntpt.c:118:40: branch_true: ...to here
brltty-6.8/minimal/Programs/mntpt.c:118:16: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/mntpt.c:119:15: branch_true: ...to here
brltty-6.8/minimal/Programs/mntpt.c:119:15: call_function: calling ‘updateMountsTable’ from ‘makeMountPoint’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def656]
brltty-6.8/minimal/Programs/mntpt.c:122:15: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
brltty-6.8/minimal/Programs/mntpt.c:106:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/mntpt.c:109:5: branch_true: ...to here
brltty-6.8/minimal/Programs/mntpt.c:112:8: branch_true: following ‘true’ branch (when ‘entry’ is non-NULL)...
brltty-6.8/minimal/Programs/mntpt.c:113:7: branch_true: ...to here
brltty-6.8/minimal/Programs/mntpt.c:115:31: acquire_memory: allocated here
brltty-6.8/minimal/Programs/mntpt.c:115:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/mntpt.c:116:38: branch_true: ...to here
brltty-6.8/minimal/Programs/mntpt.c:116:12: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/mntpt.c:117:35: branch_true: ...to here
brltty-6.8/minimal/Programs/mntpt.c:117:14: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/mntpt.c:118:40: branch_true: ...to here
brltty-6.8/minimal/Programs/mntpt.c:118:16: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/mntpt.c:122:15: branch_false: ...to here
brltty-6.8/minimal/Programs/mntpt.c:122:15: throw: if ‘logMallocError’ throws an exception...
brltty-6.8/minimal/Programs/mntpt.c:122:15: danger: ‘<unknown>’ leaks here; was allocated at [(5)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def657]
brltty-6.8/minimal/Programs/mntpt.c:122:15: warning[-Wanalyzer-malloc-leak]: leak of ‘entry’
brltty-6.8/minimal/Programs/mntpt.c:106:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/mntpt.c:109:5: branch_true: ...to here
brltty-6.8/minimal/Programs/mntpt.c:112:18: acquire_memory: allocated here
brltty-6.8/minimal/Programs/mntpt.c:112:8: branch_true: following ‘true’ branch (when ‘entry’ is non-NULL)...
brltty-6.8/minimal/Programs/mntpt.c:113:7: branch_true: ...to here
brltty-6.8/minimal/Programs/mntpt.c:115:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/mntpt.c:116:38: branch_true: ...to here
brltty-6.8/minimal/Programs/mntpt.c:116:12: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/mntpt.c:117:35: branch_true: ...to here
brltty-6.8/minimal/Programs/mntpt.c:117:14: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/mntpt.c:118:40: branch_true: ...to here
brltty-6.8/minimal/Programs/mntpt.c:118:16: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/mntpt.c:122:15: branch_false: ...to here
brltty-6.8/minimal/Programs/mntpt.c:122:15: throw: if ‘logMallocError’ throws an exception...
brltty-6.8/minimal/Programs/mntpt.c:122:15: danger: ‘entry’ leaks here; was allocated at [(3)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def658]
brltty-6.8/minimal/Programs/mntpt.c:127:13: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
brltty-6.8/minimal/Programs/mntpt.c:106:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/mntpt.c:109:5: branch_true: ...to here
brltty-6.8/minimal/Programs/mntpt.c:112:8: branch_true: following ‘true’ branch (when ‘entry’ is non-NULL)...
brltty-6.8/minimal/Programs/mntpt.c:113:7: branch_true: ...to here
brltty-6.8/minimal/Programs/mntpt.c:115:31: acquire_memory: allocated here
brltty-6.8/minimal/Programs/mntpt.c:115:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/mntpt.c:116:38: branch_true: ...to here
brltty-6.8/minimal/Programs/mntpt.c:116:12: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/mntpt.c:117:35: branch_true: ...to here
brltty-6.8/minimal/Programs/mntpt.c:117:14: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/mntpt.c:127:13: branch_false: ...to here
brltty-6.8/minimal/Programs/mntpt.c:127:13: throw: if ‘logMallocError’ throws an exception...
brltty-6.8/minimal/Programs/mntpt.c:127:13: danger: ‘<unknown>’ leaks here; was allocated at [(5)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def659]
brltty-6.8/minimal/Programs/mntpt.c:127:13: warning[-Wanalyzer-malloc-leak]: leak of ‘entry’
brltty-6.8/minimal/Programs/mntpt.c:106:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/mntpt.c:109:5: branch_true: ...to here
brltty-6.8/minimal/Programs/mntpt.c:112:18: acquire_memory: allocated here
brltty-6.8/minimal/Programs/mntpt.c:112:8: branch_true: following ‘true’ branch (when ‘entry’ is non-NULL)...
brltty-6.8/minimal/Programs/mntpt.c:113:7: branch_true: ...to here
brltty-6.8/minimal/Programs/mntpt.c:115:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/mntpt.c:116:38: branch_true: ...to here
brltty-6.8/minimal/Programs/mntpt.c:116:12: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/mntpt.c:117:35: branch_true: ...to here
brltty-6.8/minimal/Programs/mntpt.c:117:14: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/mntpt.c:127:13: branch_false: ...to here
brltty-6.8/minimal/Programs/mntpt.c:127:13: throw: if ‘logMallocError’ throws an exception...
brltty-6.8/minimal/Programs/mntpt.c:127:13: danger: ‘entry’ leaks here; was allocated at [(3)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def660]
brltty-6.8/minimal/Programs/mntpt.c:132:11: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
brltty-6.8/minimal/Programs/mntpt.c:106:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/mntpt.c:109:5: branch_true: ...to here
brltty-6.8/minimal/Programs/mntpt.c:112:8: branch_true: following ‘true’ branch (when ‘entry’ is non-NULL)...
brltty-6.8/minimal/Programs/mntpt.c:113:7: branch_true: ...to here
brltty-6.8/minimal/Programs/mntpt.c:115:31: acquire_memory: allocated here
brltty-6.8/minimal/Programs/mntpt.c:115:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/mntpt.c:116:38: branch_true: ...to here
brltty-6.8/minimal/Programs/mntpt.c:116:12: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/mntpt.c:132:11: branch_false: ...to here
brltty-6.8/minimal/Programs/mntpt.c:132:11: throw: if ‘logMallocError’ throws an exception...
brltty-6.8/minimal/Programs/mntpt.c:132:11: danger: ‘<unknown>’ leaks here; was allocated at [(5)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def661]
brltty-6.8/minimal/Programs/mntpt.c:132:11: warning[-Wanalyzer-malloc-leak]: leak of ‘entry’
brltty-6.8/minimal/Programs/mntpt.c:106:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/mntpt.c:109:5: branch_true: ...to here
brltty-6.8/minimal/Programs/mntpt.c:112:18: acquire_memory: allocated here
brltty-6.8/minimal/Programs/mntpt.c:112:8: branch_true: following ‘true’ branch (when ‘entry’ is non-NULL)...
brltty-6.8/minimal/Programs/mntpt.c:113:7: branch_true: ...to here
brltty-6.8/minimal/Programs/mntpt.c:115:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/mntpt.c:116:38: branch_true: ...to here
brltty-6.8/minimal/Programs/mntpt.c:116:12: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/mntpt.c:132:11: branch_false: ...to here
brltty-6.8/minimal/Programs/mntpt.c:132:11: throw: if ‘logMallocError’ throws an exception...
brltty-6.8/minimal/Programs/mntpt.c:132:11: danger: ‘entry’ leaks here; was allocated at [(3)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def662]
brltty-6.8/minimal/Programs/mntpt.c:137:9: warning[-Wanalyzer-malloc-leak]: leak of ‘entry’
brltty-6.8/minimal/Programs/mntpt.c:106:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/mntpt.c:109:5: branch_true: ...to here
brltty-6.8/minimal/Programs/mntpt.c:112:18: acquire_memory: allocated here
brltty-6.8/minimal/Programs/mntpt.c:112:8: branch_true: following ‘true’ branch (when ‘entry’ is non-NULL)...
brltty-6.8/minimal/Programs/mntpt.c:113:7: branch_true: ...to here
brltty-6.8/minimal/Programs/mntpt.c:115:10: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/mntpt.c:137:9: branch_false: ...to here
brltty-6.8/minimal/Programs/mntpt.c:137:9: throw: if ‘logMallocError’ throws an exception...
brltty-6.8/minimal/Programs/mntpt.c:137:9: danger: ‘entry’ leaks here; was allocated at [(3)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def663]
brltty-6.8/minimal/Programs/msg_queue.c:121:13: warning[-Wanalyzer-malloc-leak]: leak of ‘mhp’
brltty-6.8/minimal/Programs/msg_queue.c:101:1: enter_function: entry to ‘messageReceiverThread’
brltty-6.8/minimal/Programs/msg_queue.c:107:22: call_function: calling ‘receiveMessage’ from ‘messageReceiverThread’
brltty-6.8/minimal/Programs/msg_queue.c:107:22: return_function: returning to ‘messageReceiverThread’ from ‘receiveMessage’
brltty-6.8/minimal/Programs/msg_queue.c:109:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/msg_queue.c:112:18: branch_true: ...to here
brltty-6.8/minimal/Programs/msg_queue.c:112:18: acquire_memory: allocated here
brltty-6.8/minimal/Programs/msg_queue.c:112:10: branch_true: following ‘true’ branch (when ‘mhp’ is non-NULL)...
brltty-6.8/minimal/Programs/msg_queue.c:115:21: branch_true: ...to here
brltty-6.8/minimal/Programs/msg_queue.c:121:13: throw: if ‘asyncSignalEvent’ throws an exception...
brltty-6.8/minimal/Programs/msg_queue.c:121:13: danger: ‘mhp’ leaks here; was allocated at [(9)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def664]
brltty-6.8/minimal/Programs/msg_queue.c:149:23: warning[-Wanalyzer-malloc-leak]: leak of ‘mra’
brltty-6.8/minimal/Programs/msg_queue.c:139:14: acquire_memory: allocated here
brltty-6.8/minimal/Programs/msg_queue.c:139:6: branch_true: following ‘true’ branch (when ‘mra’ is non-NULL)...
brltty-6.8/minimal/Programs/msg_queue.c:140:5: branch_true: ...to here
brltty-6.8/minimal/Programs/msg_queue.c:149:23: throw: if ‘asyncNewEvent’ throws an exception...
brltty-6.8/minimal/Programs/msg_queue.c:149:23: danger: ‘mra’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def665]
brltty-6.8/minimal/Programs/notes_beep.c:35:9: warning[-Wanalyzer-malloc-leak]: leak of ‘device’
brltty-6.8/minimal/Programs/notes_beep.c:34:17: acquire_memory: allocated here
brltty-6.8/minimal/Programs/notes_beep.c:34:6: branch_true: following ‘true’ branch (when ‘device’ is non-NULL)...
brltty-6.8/minimal/Programs/notes_beep.c:35:9: branch_true: ...to here
brltty-6.8/minimal/Programs/notes_beep.c:35:9: throw: if ‘canBeep’ throws an exception...
brltty-6.8/minimal/Programs/notes_beep.c:35:9: danger: ‘device’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def666]
brltty-6.8/minimal/Programs/notes_beep.c:36:7: warning[-Wanalyzer-malloc-leak]: leak of ‘device’
brltty-6.8/minimal/Programs/notes_beep.c:34:17: acquire_memory: allocated here
brltty-6.8/minimal/Programs/notes_beep.c:34:6: branch_true: following ‘true’ branch (when ‘device’ is non-NULL)...
brltty-6.8/minimal/Programs/notes_beep.c:35:9: branch_true: ...to here
brltty-6.8/minimal/Programs/notes_beep.c:35:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/notes_beep.c:36:7: branch_true: ...to here
brltty-6.8/minimal/Programs/notes_beep.c:36:7: throw: if ‘logMessage’ throws an exception...
brltty-6.8/minimal/Programs/notes_beep.c:36:7: danger: ‘device’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def667]
brltty-6.8/minimal/Programs/notes_fm.c:36:9: warning[-Wanalyzer-malloc-leak]: leak of ‘device’
brltty-6.8/minimal/Programs/notes_fm.c:35:17: acquire_memory: allocated here
brltty-6.8/minimal/Programs/notes_fm.c:35:6: branch_true: following ‘true’ branch (when ‘device’ is non-NULL)...
brltty-6.8/minimal/Programs/notes_fm.c:36:9: branch_true: ...to here
brltty-6.8/minimal/Programs/notes_fm.c:36:9: throw: if ‘fmEnablePorts’ throws an exception...
brltty-6.8/minimal/Programs/notes_fm.c:36:9: danger: ‘device’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def668]
brltty-6.8/minimal/Programs/notes_fm.c:37:11: warning[-Wanalyzer-malloc-leak]: leak of ‘device’
brltty-6.8/minimal/Programs/notes_fm.c:35:17: acquire_memory: allocated here
brltty-6.8/minimal/Programs/notes_fm.c:35:6: branch_true: following ‘true’ branch (when ‘device’ is non-NULL)...
brltty-6.8/minimal/Programs/notes_fm.c:36:9: branch_true: ...to here
brltty-6.8/minimal/Programs/notes_fm.c:36:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/notes_fm.c:37:11: branch_true: ...to here
brltty-6.8/minimal/Programs/notes_fm.c:37:11: throw: if ‘fmTestCard’ throws an exception...
brltty-6.8/minimal/Programs/notes_fm.c:37:11: danger: ‘device’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def669]
brltty-6.8/minimal/Programs/notes_fm.c:40:9: warning[-Wanalyzer-malloc-leak]: leak of ‘device’
brltty-6.8/minimal/Programs/notes_fm.c:35:17: acquire_memory: allocated here
brltty-6.8/minimal/Programs/notes_fm.c:35:6: branch_true: following ‘true’ branch (when ‘device’ is non-NULL)...
brltty-6.8/minimal/Programs/notes_fm.c:36:9: branch_true: ...to here
brltty-6.8/minimal/Programs/notes_fm.c:36:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/notes_fm.c:37:11: branch_true: ...to here
brltty-6.8/minimal/Programs/notes_fm.c:37:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/notes_fm.c:38:9: branch_true: ...to here
brltty-6.8/minimal/Programs/notes_fm.c:40:9: throw: if ‘logMessage’ throws an exception...
brltty-6.8/minimal/Programs/notes_fm.c:40:9: danger: ‘device’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def670]
brltty-6.8/minimal/Programs/notes_fm.c:44:7: warning[-Wanalyzer-malloc-leak]: leak of ‘device’
brltty-6.8/minimal/Programs/notes_fm.c:35:17: acquire_memory: allocated here
brltty-6.8/minimal/Programs/notes_fm.c:35:6: branch_true: following ‘true’ branch (when ‘device’ is non-NULL)...
brltty-6.8/minimal/Programs/notes_fm.c:36:9: branch_true: ...to here
brltty-6.8/minimal/Programs/notes_fm.c:36:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/notes_fm.c:37:11: branch_true: ...to here
brltty-6.8/minimal/Programs/notes_fm.c:37:10: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/notes_fm.c:44:7: branch_false: ...to here
brltty-6.8/minimal/Programs/notes_fm.c:44:7: throw: if ‘fmDisablePorts’ throws an exception...
brltty-6.8/minimal/Programs/notes_fm.c:44:7: danger: ‘device’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def671]
brltty-6.8/minimal/Programs/notes_midi.c:42:25: warning[-Wanalyzer-malloc-leak]: leak of ‘device’
brltty-6.8/minimal/Programs/notes_midi.c:41:17: acquire_memory: allocated here
brltty-6.8/minimal/Programs/notes_midi.c:41:6: branch_true: following ‘true’ branch (when ‘device’ is non-NULL)...
brltty-6.8/minimal/Programs/notes_midi.c:42:25: branch_true: ...to here
brltty-6.8/minimal/Programs/notes_midi.c:42:25: throw: if ‘openMidiDevice’ throws an exception...
brltty-6.8/minimal/Programs/notes_midi.c:42:25: danger: ‘device’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def672]
brltty-6.8/minimal/Programs/notes_midi.c:44:7: warning[-Wanalyzer-malloc-leak]: leak of ‘device’
brltty-6.8/minimal/Programs/notes_midi.c:41:17: acquire_memory: allocated here
brltty-6.8/minimal/Programs/notes_midi.c:41:6: branch_true: following ‘true’ branch (when ‘device’ is non-NULL)...
brltty-6.8/minimal/Programs/notes_midi.c:42:25: branch_true: ...to here
brltty-6.8/minimal/Programs/notes_midi.c:42:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/notes_midi.c:43:7: branch_true: ...to here
brltty-6.8/minimal/Programs/notes_midi.c:44:7: throw: if ‘setMidiInstrument’ throws an exception...
brltty-6.8/minimal/Programs/notes_midi.c:44:7: danger: ‘device’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def673]
brltty-6.8/minimal/Programs/notes_midi.c:46:7: warning[-Wanalyzer-malloc-leak]: leak of ‘device’
brltty-6.8/minimal/Programs/notes_midi.c:41:17: acquire_memory: allocated here
brltty-6.8/minimal/Programs/notes_midi.c:41:6: branch_true: following ‘true’ branch (when ‘device’ is non-NULL)...
brltty-6.8/minimal/Programs/notes_midi.c:42:25: branch_true: ...to here
brltty-6.8/minimal/Programs/notes_midi.c:42:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/notes_midi.c:43:7: branch_true: ...to here
brltty-6.8/minimal/Programs/notes_midi.c:46:7: throw: if ‘logMessage’ throws an exception...
brltty-6.8/minimal/Programs/notes_midi.c:46:7: danger: ‘device’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-758): [#def674]
brltty-6.8/minimal/Programs/notes_pcm.c:219: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: GCC_ANALYZER_WARNING (CWE-775): [#def675]
brltty-6.8/minimal/Programs/params_linux.c:47:21: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen("/proc/cmdline", "r")’
brltty-6.8/minimal/Programs/params_linux.c:32:6: branch_true: following ‘true’ branch (when ‘parameters’ is non-NULL)...
brltty-6.8/minimal/Programs/params_linux.c:36:17: branch_true: ...to here
brltty-6.8/minimal/Programs/params_linux.c:36:17: acquire_resource: opened here
brltty-6.8/minimal/Programs/params_linux.c:36:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/params_linux.c:38:20: branch_true: ...to here
brltty-6.8/minimal/Programs/params_linux.c:40:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/params_linux.c:40:10: branch_true: ...to here
brltty-6.8/minimal/Programs/params_linux.c:43:16: branch_true: following ‘true’ branch (when ‘token’ is non-NULL)...
brltty-6.8/minimal/Programs/params_linux.c:46:16: branch_true: ...to here
brltty-6.8/minimal/Programs/params_linux.c:46:14: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/params_linux.c:47:21: branch_true: ...to here
brltty-6.8/minimal/Programs/params_linux.c:46:15: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/params_linux.c:48:61: branch_true: ...to here
brltty-6.8/minimal/Programs/params_linux.c:50:16: branch_false: following ‘false’ branch (when ‘newParameters’ is NULL)...
brltty-6.8/minimal/Programs/params_linux.c:54:15: branch_false: ...to here
brltty-6.8/minimal/Programs/params_linux.c:54:15: throw: if ‘logMallocError’ throws an exception...
brltty-6.8/minimal/Programs/params_linux.c:47:21: danger: ‘fopen("/proc/cmdline", "r")’ leaks here; was opened at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def676]
brltty-6.8/minimal/Programs/params_linux.c:47:21: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen("/proc/cmdline", "r")’
brltty-6.8/minimal/Programs/params_linux.c:32:6: branch_true: following ‘true’ branch (when ‘parameters’ is non-NULL)...
brltty-6.8/minimal/Programs/params_linux.c:36:17: branch_true: ...to here
brltty-6.8/minimal/Programs/params_linux.c:36:17: acquire_memory: allocated here
brltty-6.8/minimal/Programs/params_linux.c:36:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/params_linux.c:38:20: branch_true: ...to here
brltty-6.8/minimal/Programs/params_linux.c:40:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/params_linux.c:40:10: branch_true: ...to here
brltty-6.8/minimal/Programs/params_linux.c:43:16: branch_true: following ‘true’ branch (when ‘token’ is non-NULL)...
brltty-6.8/minimal/Programs/params_linux.c:46:16: branch_true: ...to here
brltty-6.8/minimal/Programs/params_linux.c:46:14: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/params_linux.c:47:21: branch_true: ...to here
brltty-6.8/minimal/Programs/params_linux.c:46:15: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/params_linux.c:48:61: branch_true: ...to here
brltty-6.8/minimal/Programs/params_linux.c:50:16: branch_false: following ‘false’ branch (when ‘newParameters’ is NULL)...
brltty-6.8/minimal/Programs/params_linux.c:54:15: branch_false: ...to here
brltty-6.8/minimal/Programs/params_linux.c:54:15: throw: if ‘logMallocError’ throws an exception...
brltty-6.8/minimal/Programs/params_linux.c:47:21: danger: ‘fopen("/proc/cmdline", "r")’ leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def677]
brltty-6.8/minimal/Programs/params_linux.c:54:15: warning[-Wanalyzer-malloc-leak]: leak of ‘parameters’
brltty-6.8/minimal/Programs/params_linux.c:32:21: acquire_memory: allocated here
brltty-6.8/minimal/Programs/params_linux.c:32:6: branch_true: following ‘true’ branch (when ‘parameters’ is non-NULL)...
brltty-6.8/minimal/Programs/params_linux.c:36:17: branch_true: ...to here
brltty-6.8/minimal/Programs/params_linux.c:36:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/params_linux.c:38:20: branch_true: ...to here
brltty-6.8/minimal/Programs/params_linux.c:40:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/params_linux.c:40:10: branch_true: ...to here
brltty-6.8/minimal/Programs/params_linux.c:43:16: branch_true: following ‘true’ branch (when ‘token’ is non-NULL)...
brltty-6.8/minimal/Programs/params_linux.c:46:16: branch_true: ...to here
brltty-6.8/minimal/Programs/params_linux.c:46:14: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/params_linux.c:47:21: branch_true: ...to here
brltty-6.8/minimal/Programs/params_linux.c:46:15: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/params_linux.c:48:61: branch_true: ...to here
brltty-6.8/minimal/Programs/params_linux.c:50:16: branch_false: following ‘false’ branch (when ‘newParameters’ is NULL)...
brltty-6.8/minimal/Programs/params_linux.c:54:15: branch_false: ...to here
brltty-6.8/minimal/Programs/params_linux.c:54:15: throw: if ‘logMallocError’ throws an exception...
brltty-6.8/minimal/Programs/params_linux.c:54:15: danger: ‘parameters’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-457): [#def678]
brltty-6.8/minimal/Programs/parse.c:97:10: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*element’
brltty-6.8/minimal/Programs/parse.c:579:1: enter_function: entry to ‘getParameters’
brltty-6.8/minimal/Programs/parse.c:590:8: branch_true: following ‘true’ branch (when ‘values’ is non-NULL)...
brltty-6.8/minimal/Programs/parse.c:590:8: branch_true: ...to here
brltty-6.8/minimal/Programs/parse.c:593:14: branch_false: following ‘false’ branch (when ‘count <= index’)...
brltty-6.8/minimal/Programs/parse.c:602:10: branch_false: ...to here
brltty-6.8/minimal/Programs/parse.c:602:10: branch_false: following ‘false’ branch (when ‘count != index’)...
brltty-6.8/minimal/Programs/parse.c:607:7: branch_false: ...to here
brltty-6.8/minimal/Programs/parse.c:607:7: call_function: calling ‘deallocateStrings’ from ‘getParameters’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def679]
brltty-6.8/minimal/Programs/parse.c:112:11: warning[-Wanalyzer-malloc-leak]: leak of ‘splitString(value, 44, 0)’
brltty-6.8/minimal/Programs/parse.c:156:1: enter_function: entry to ‘changeListSetting’
brltty-6.8/minimal/Programs/parse.c:157:20: call_function: calling ‘splitString’ from ‘changeListSetting’
brltty-6.8/minimal/Programs/parse.c:157:20: return_function: returning to ‘changeListSetting’ from ‘splitString’
brltty-6.8/minimal/Programs/parse.c:159:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/parse.c:160:9: branch_true: ...to here
brltty-6.8/minimal/Programs/parse.c:160:9: call_function: calling ‘changeStringSetting’ from ‘changeListSetting’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def680]
brltty-6.8/minimal/Programs/parse.c:595:11: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
brltty-6.8/minimal/Programs/parse.c:590:8: branch_true: following ‘true’ branch (when ‘values’ is non-NULL)...
brltty-6.8/minimal/Programs/parse.c:590:8: branch_true: ...to here
brltty-6.8/minimal/Programs/parse.c:593:14: branch_true: following ‘true’ branch (when ‘count > index’)...
brltty-6.8/minimal/Programs/parse.c:594:21: branch_true: ...to here
brltty-6.8/minimal/Programs/parse.c:594:31: acquire_memory: allocated here
brltty-6.8/minimal/Programs/parse.c:594:12: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/parse.c:599:9: branch_false: ...to here
brltty-6.8/minimal/Programs/parse.c:593:14: branch_true: following ‘true’ branch (when ‘count > index’)...
brltty-6.8/minimal/Programs/parse.c:594:21: branch_true: ...to here
brltty-6.8/minimal/Programs/parse.c:594:12: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/parse.c:595:11: branch_true: ...to here
brltty-6.8/minimal/Programs/parse.c:595:11: throw: if ‘logMallocError’ throws an exception...
brltty-6.8/minimal/Programs/parse.c:595:11: danger: ‘<unknown>’ leaks here; was allocated at [(5)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def681]
brltty-6.8/minimal/Programs/parse.c:595:11: warning[-Wanalyzer-malloc-leak]: leak of ‘values’
brltty-6.8/minimal/Programs/parse.c:590:19: acquire_memory: allocated here
brltty-6.8/minimal/Programs/parse.c:590:8: branch_true: following ‘true’ branch (when ‘values’ is non-NULL)...
brltty-6.8/minimal/Programs/parse.c:590:8: branch_true: ...to here
brltty-6.8/minimal/Programs/parse.c:593:14: branch_true: following ‘true’ branch (when ‘count > index’)...
brltty-6.8/minimal/Programs/parse.c:594:21: branch_true: ...to here
brltty-6.8/minimal/Programs/parse.c:594:12: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/parse.c:595:11: branch_true: ...to here
brltty-6.8/minimal/Programs/parse.c:595:11: throw: if ‘logMallocError’ throws an exception...
brltty-6.8/minimal/Programs/parse.c:595:11: danger: ‘values’ leaks here; was allocated at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def682]
brltty-6.8/minimal/Programs/pgmprivs_linux.c:1104:7: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
brltty-6.8/minimal/Programs/pgmprivs_linux.c:1686:1: enter_function: entry to ‘scfInstallFilter’
brltty-6.8/minimal/Programs/pgmprivs_linux.c:1688:6: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/pgmprivs_linux.c:1692:7: branch_false: ...to here
brltty-6.8/minimal/Programs/pgmprivs_linux.c:1697:14: call_function: calling ‘scfMakeFilter’ from ‘scfInstallFilter’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def683]
brltty-6.8/minimal/Programs/pgmprivs_linux.c:1144:7: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
brltty-6.8/minimal/Programs/pgmprivs_linux.c:1686:1: enter_function: entry to ‘scfInstallFilter’
brltty-6.8/minimal/Programs/pgmprivs_linux.c:1688:6: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/pgmprivs_linux.c:1692:7: branch_false: ...to here
brltty-6.8/minimal/Programs/pgmprivs_linux.c:1697:14: call_function: calling ‘scfMakeFilter’ from ‘scfInstallFilter’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def684]
brltty-6.8/minimal/Programs/pgmprivs_linux.c:1190:3: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
brltty-6.8/minimal/Programs/pgmprivs_linux.c:1686:1: enter_function: entry to ‘scfInstallFilter’
brltty-6.8/minimal/Programs/pgmprivs_linux.c:1688:6: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/pgmprivs_linux.c:1692:7: branch_false: ...to here
brltty-6.8/minimal/Programs/pgmprivs_linux.c:1697:14: call_function: calling ‘scfMakeFilter’ from ‘scfInstallFilter’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def685]
brltty-6.8/minimal/Programs/pgmprivs_linux.c:1202:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
brltty-6.8/minimal/Programs/pgmprivs_linux.c:1686:1: enter_function: entry to ‘scfInstallFilter’
brltty-6.8/minimal/Programs/pgmprivs_linux.c:1688:6: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/pgmprivs_linux.c:1692:7: branch_false: ...to here
brltty-6.8/minimal/Programs/pgmprivs_linux.c:1697:14: call_function: calling ‘scfMakeFilter’ from ‘scfInstallFilter’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def686]
brltty-6.8/minimal/Programs/pgmprivs_linux.c:1229:5: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
brltty-6.8/minimal/Programs/pgmprivs_linux.c:1686:1: enter_function: entry to ‘scfInstallFilter’
brltty-6.8/minimal/Programs/pgmprivs_linux.c:1688:6: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/pgmprivs_linux.c:1692:7: branch_false: ...to here
brltty-6.8/minimal/Programs/pgmprivs_linux.c:1697:14: call_function: calling ‘scfMakeFilter’ from ‘scfInstallFilter’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def687]
brltty-6.8/minimal/Programs/pipe.c:243:3: warning[-Wanalyzer-malloc-leak]: leak of ‘obj’
brltty-6.8/minimal/Programs/pipe.c:303:1: enter_function: entry to ‘newNamedPipeObject’
brltty-6.8/minimal/Programs/pipe.c:306:14: acquire_memory: allocated here
brltty-6.8/minimal/Programs/pipe.c:306:6: branch_true: following ‘true’ branch (when ‘obj’ is non-NULL)...
brltty-6.8/minimal/Programs/pipe.c:306:6: branch_true: ...to here
brltty-6.8/minimal/Programs/pipe.c:325:24: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/pipe.c:325:35: branch_true: ...to here
brltty-6.8/minimal/Programs/pipe.c:328:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/pipe.c:329:12: branch_true: ...to here
brltty-6.8/minimal/Programs/pipe.c:329:10: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/pipe.c:331:18: branch_false: ...to here
brltty-6.8/minimal/Programs/pipe.c:331:18: call_function: calling ‘createFifo’ from ‘newNamedPipeObject’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def688]
brltty-6.8/minimal/Programs/pipe.c:245:3: warning[-Wanalyzer-malloc-leak]: leak of ‘obj’
brltty-6.8/minimal/Programs/pipe.c:303:1: enter_function: entry to ‘newNamedPipeObject’
brltty-6.8/minimal/Programs/pipe.c:306:14: acquire_memory: allocated here
brltty-6.8/minimal/Programs/pipe.c:306:6: branch_true: following ‘true’ branch (when ‘obj’ is non-NULL)...
brltty-6.8/minimal/Programs/pipe.c:306:6: branch_true: ...to here
brltty-6.8/minimal/Programs/pipe.c:325:24: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/pipe.c:325:35: branch_true: ...to here
brltty-6.8/minimal/Programs/pipe.c:328:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/pipe.c:329:12: branch_true: ...to here
brltty-6.8/minimal/Programs/pipe.c:329:10: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/pipe.c:331:18: branch_false: ...to here
brltty-6.8/minimal/Programs/pipe.c:331:18: call_function: calling ‘createFifo’ from ‘newNamedPipeObject’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def689]
brltty-6.8/minimal/Programs/pipe.c:251:7: warning[-Wanalyzer-malloc-leak]: leak of ‘obj’
brltty-6.8/minimal/Programs/pipe.c:303:1: enter_function: entry to ‘newNamedPipeObject’
brltty-6.8/minimal/Programs/pipe.c:306:14: acquire_memory: allocated here
brltty-6.8/minimal/Programs/pipe.c:306:6: branch_true: following ‘true’ branch (when ‘obj’ is non-NULL)...
brltty-6.8/minimal/Programs/pipe.c:306:6: branch_true: ...to here
brltty-6.8/minimal/Programs/pipe.c:325:24: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/pipe.c:325:35: branch_true: ...to here
brltty-6.8/minimal/Programs/pipe.c:328:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/pipe.c:329:12: branch_true: ...to here
brltty-6.8/minimal/Programs/pipe.c:329:10: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/pipe.c:331:18: branch_false: ...to here
brltty-6.8/minimal/Programs/pipe.c:331:18: call_function: calling ‘createFifo’ from ‘newNamedPipeObject’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def690]
brltty-6.8/minimal/Programs/pipe.c:259:5: warning[-Wanalyzer-malloc-leak]: leak of ‘obj’
brltty-6.8/minimal/Programs/pipe.c:303:1: enter_function: entry to ‘newNamedPipeObject’
brltty-6.8/minimal/Programs/pipe.c:306:14: acquire_memory: allocated here
brltty-6.8/minimal/Programs/pipe.c:306:6: branch_true: following ‘true’ branch (when ‘obj’ is non-NULL)...
brltty-6.8/minimal/Programs/pipe.c:306:6: branch_true: ...to here
brltty-6.8/minimal/Programs/pipe.c:325:24: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/pipe.c:325:35: branch_true: ...to here
brltty-6.8/minimal/Programs/pipe.c:328:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/pipe.c:329:12: branch_true: ...to here
brltty-6.8/minimal/Programs/pipe.c:329:10: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/pipe.c:331:18: branch_false: ...to here
brltty-6.8/minimal/Programs/pipe.c:331:18: call_function: calling ‘createFifo’ from ‘newNamedPipeObject’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def691]
brltty-6.8/minimal/Programs/pipe.c:261:5: warning[-Wanalyzer-malloc-leak]: leak of ‘obj’
brltty-6.8/minimal/Programs/pipe.c:303:1: enter_function: entry to ‘newNamedPipeObject’
brltty-6.8/minimal/Programs/pipe.c:306:14: acquire_memory: allocated here
brltty-6.8/minimal/Programs/pipe.c:306:6: branch_true: following ‘true’ branch (when ‘obj’ is non-NULL)...
brltty-6.8/minimal/Programs/pipe.c:306:6: branch_true: ...to here
brltty-6.8/minimal/Programs/pipe.c:325:24: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/pipe.c:325:35: branch_true: ...to here
brltty-6.8/minimal/Programs/pipe.c:328:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/pipe.c:329:12: branch_true: ...to here
brltty-6.8/minimal/Programs/pipe.c:329:10: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/pipe.c:331:18: branch_false: ...to here
brltty-6.8/minimal/Programs/pipe.c:331:18: call_function: calling ‘createFifo’ from ‘newNamedPipeObject’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def692]
brltty-6.8/minimal/Programs/pipe.c:265:36: warning[-Wanalyzer-malloc-leak]: leak of ‘obj’
brltty-6.8/minimal/Programs/pipe.c:303:1: enter_function: entry to ‘newNamedPipeObject’
brltty-6.8/minimal/Programs/pipe.c:306:14: acquire_memory: allocated here
brltty-6.8/minimal/Programs/pipe.c:306:6: branch_true: following ‘true’ branch (when ‘obj’ is non-NULL)...
brltty-6.8/minimal/Programs/pipe.c:306:6: branch_true: ...to here
brltty-6.8/minimal/Programs/pipe.c:325:24: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/pipe.c:325:35: branch_true: ...to here
brltty-6.8/minimal/Programs/pipe.c:328:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/pipe.c:329:12: branch_true: ...to here
brltty-6.8/minimal/Programs/pipe.c:329:10: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/pipe.c:331:18: branch_false: ...to here
brltty-6.8/minimal/Programs/pipe.c:331:18: call_function: calling ‘createFifo’ from ‘newNamedPipeObject’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def693]
brltty-6.8/minimal/Programs/pipe.c:266:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor
brltty-6.8/minimal/Programs/pipe.c:303:1: enter_function: entry to ‘newNamedPipeObject’
brltty-6.8/minimal/Programs/pipe.c:306:6: branch_true: following ‘true’ branch (when ‘obj’ is non-NULL)...
brltty-6.8/minimal/Programs/pipe.c:306:6: branch_true: ...to here
brltty-6.8/minimal/Programs/pipe.c:325:24: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/pipe.c:325:35: branch_true: ...to here
brltty-6.8/minimal/Programs/pipe.c:328:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/pipe.c:329:12: branch_true: ...to here
brltty-6.8/minimal/Programs/pipe.c:329:10: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/pipe.c:331:18: branch_false: ...to here
brltty-6.8/minimal/Programs/pipe.c:331:18: call_function: calling ‘createFifo’ from ‘newNamedPipeObject’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def694]
brltty-6.8/minimal/Programs/pipe.c:266:9: warning[-Wanalyzer-malloc-leak]: leak of ‘obj’
brltty-6.8/minimal/Programs/pipe.c:303:1: enter_function: entry to ‘newNamedPipeObject’
brltty-6.8/minimal/Programs/pipe.c:306:14: acquire_memory: allocated here
brltty-6.8/minimal/Programs/pipe.c:306:6: branch_true: following ‘true’ branch (when ‘obj’ is non-NULL)...
brltty-6.8/minimal/Programs/pipe.c:306:6: branch_true: ...to here
brltty-6.8/minimal/Programs/pipe.c:325:24: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/pipe.c:325:35: branch_true: ...to here
brltty-6.8/minimal/Programs/pipe.c:328:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/pipe.c:329:12: branch_true: ...to here
brltty-6.8/minimal/Programs/pipe.c:329:10: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/pipe.c:331:18: branch_false: ...to here
brltty-6.8/minimal/Programs/pipe.c:331:18: call_function: calling ‘createFifo’ from ‘newNamedPipeObject’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def695]
brltty-6.8/minimal/Programs/pipe.c:282:5: warning[-Wanalyzer-malloc-leak]: leak of ‘obj’
brltty-6.8/minimal/Programs/pipe.c:303:1: enter_function: entry to ‘newNamedPipeObject’
brltty-6.8/minimal/Programs/pipe.c:306:14: acquire_memory: allocated here
brltty-6.8/minimal/Programs/pipe.c:306:6: branch_true: following ‘true’ branch (when ‘obj’ is non-NULL)...
brltty-6.8/minimal/Programs/pipe.c:306:6: branch_true: ...to here
brltty-6.8/minimal/Programs/pipe.c:325:24: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/pipe.c:325:35: branch_true: ...to here
brltty-6.8/minimal/Programs/pipe.c:328:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/pipe.c:329:12: branch_true: ...to here
brltty-6.8/minimal/Programs/pipe.c:329:10: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/pipe.c:331:18: branch_false: ...to here
brltty-6.8/minimal/Programs/pipe.c:331:18: call_function: calling ‘createFifo’ from ‘newNamedPipeObject’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def696]
brltty-6.8/minimal/Programs/pipe.c:323:31: warning[-Wanalyzer-malloc-leak]: leak of ‘obj’
brltty-6.8/minimal/Programs/pipe.c:306:14: acquire_memory: allocated here
brltty-6.8/minimal/Programs/pipe.c:306:6: branch_true: following ‘true’ branch (when ‘obj’ is non-NULL)...
brltty-6.8/minimal/Programs/pipe.c:306:6: branch_true: ...to here
brltty-6.8/minimal/Programs/pipe.c:323:31: throw: if ‘getNamedPipeDirectory’ throws an exception...
brltty-6.8/minimal/Programs/pipe.c:323:31: danger: ‘obj’ leaks here; was allocated at [(1)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def697]
brltty-6.8/minimal/Programs/pipe.c:325:35: warning[-Wanalyzer-malloc-leak]: leak of ‘obj’
brltty-6.8/minimal/Programs/pipe.c:306:14: acquire_memory: allocated here
brltty-6.8/minimal/Programs/pipe.c:306:6: branch_true: following ‘true’ branch (when ‘obj’ is non-NULL)...
brltty-6.8/minimal/Programs/pipe.c:306:6: branch_true: ...to here
brltty-6.8/minimal/Programs/pipe.c:325:24: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/pipe.c:325:35: branch_true: ...to here
brltty-6.8/minimal/Programs/pipe.c:325:35: throw: if ‘makePath’ throws an exception...
brltty-6.8/minimal/Programs/pipe.c:325:35: danger: ‘obj’ leaks here; was allocated at [(1)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-129): [#def698]
brltty-6.8/minimal/Programs/prefs.c:96:26: warning[-Wanalyzer-tainted-array-index]: use of attacker-controlled value ‘newPreferences.expandCurrentWord’ in array lookup without checking for negative
brltty-6.8/minimal/Programs/prefs.c:351:1: enter_function: entry to ‘loadPreferencesFile’
brltty-6.8/minimal/Programs/prefs.c:357:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/prefs.c:359:21: branch_true: ...to here
brltty-6.8/minimal/Programs/prefs.c:361:8: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/prefs.c:364:15: branch_false: ...to here
brltty-6.8/minimal/Programs/prefs.c:364:15: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/prefs.c:365:17: branch_false: ...to here
brltty-6.8/minimal/Programs/prefs.c:364:16: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/prefs.c:366:17: branch_false: ...to here
brltty-6.8/minimal/Programs/prefs.c:364:16: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/prefs.c:374:7: branch_false: ...to here
brltty-6.8/minimal/Programs/prefs.c:396:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/prefs.c:397:9: branch_true: ...to here
brltty-6.8/minimal/Programs/prefs.c:397:9: call_function: calling ‘setStatusStyle’ from ‘loadPreferencesFile’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def699]
brltty-6.8/minimal/Programs/prefs.c:557:10: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(path, "w")’
brltty-6.8/minimal/Programs/prefs.c:565:16: acquire_resource: opened here
brltty-6.8/minimal/Programs/prefs.c:567:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/prefs.c:568:9: branch_true: ...to here
brltty-6.8/minimal/Programs/prefs.c:576:7: throw: if ‘logMessage’ throws an exception...
brltty-6.8/minimal/Programs/prefs.c:557:10: danger: ‘fopen(path, "w")’ leaks here; was opened at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def700]
brltty-6.8/minimal/Programs/prefs.c:557:10: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(path, "w")’
brltty-6.8/minimal/Programs/prefs.c:565:16: acquire_memory: allocated here
brltty-6.8/minimal/Programs/prefs.c:567:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/prefs.c:568:9: branch_true: ...to here
brltty-6.8/minimal/Programs/prefs.c:576:7: throw: if ‘logMessage’ throws an exception...
brltty-6.8/minimal/Programs/prefs.c:557:10: danger: ‘fopen(path, "w")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def701]
brltty-6.8/minimal/Programs/profile.c:168:13: warning[-Wanalyzer-malloc-leak]: leak of ‘pad.values’
brltty-6.8/minimal/Programs/profile.c:147:1: enter_function: entry to ‘activateProfile’
brltty-6.8/minimal/Programs/profile.c:150:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/profile.c:153:17: branch_true: ...to here
brltty-6.8/minimal/Programs/profile.c:153:17: call_function: calling ‘makeProfilePath’ from ‘activateProfile’
brltty-6.8/minimal/Programs/profile.c:153:17: return_function: returning to ‘activateProfile’ from ‘makeProfilePath’
brltty-6.8/minimal/Programs/profile.c:153:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/profile.c:154:29: branch_true: ...to here
brltty-6.8/minimal/Programs/profile.c:158:25: acquire_memory: allocated here
brltty-6.8/minimal/Programs/profile.c:158:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/profile.c:158:10: branch_true: ...to here
brltty-6.8/minimal/Programs/profile.c:168:13: throw: if ‘processDataFile’ throws an exception...
brltty-6.8/minimal/Programs/profile.c:168:13: danger: ‘pad.values’ leaks here; was allocated at [(11)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def702]
brltty-6.8/minimal/Programs/program.c:294:12: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(pidFile, "r")’
brltty-6.8/minimal/Programs/program.c:286:15: acquire_resource: opened here
brltty-6.8/minimal/Programs/program.c:286:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/program.c:290:17: branch_true: ...to here
brltty-6.8/minimal/Programs/program.c:290:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/program.c:292:22: branch_true: ...to here
brltty-6.8/minimal/Programs/program.c:295:13: throw: if ‘cancelProcess’ throws an exception...
brltty-6.8/minimal/Programs/program.c:294:12: danger: ‘fopen(pidFile, "r")’ leaks here; was opened at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def703]
brltty-6.8/minimal/Programs/program.c:294:12: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(pidFile, "r")’
brltty-6.8/minimal/Programs/program.c:286:15: acquire_memory: allocated here
brltty-6.8/minimal/Programs/program.c:286:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/program.c:290:17: branch_true: ...to here
brltty-6.8/minimal/Programs/program.c:290:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/program.c:292:22: branch_true: ...to here
brltty-6.8/minimal/Programs/program.c:295:13: throw: if ‘cancelProcess’ throws an exception...
brltty-6.8/minimal/Programs/program.c:294:12: danger: ‘fopen(pidFile, "r")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def704]
brltty-6.8/minimal/Programs/queue.c:65:27: warning[-Wanalyzer-malloc-leak]: leak of ‘newElement(queue, item)’
brltty-6.8/minimal/Programs/queue.c:208:1: enter_function: entry to ‘enqueueItem’
brltty-6.8/minimal/Programs/queue.c:209:22: call_function: calling ‘newElement’ from ‘enqueueItem’
brltty-6.8/minimal/Programs/queue.c:209:22: return_function: returning to ‘enqueueItem’ from ‘newElement’
brltty-6.8/minimal/Programs/queue.c:211:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/queue.c:211:16: branch_true: ...to here
brltty-6.8/minimal/Programs/queue.c:211:16: call_function: calling ‘linkElement’ from ‘enqueueItem’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def705]
brltty-6.8/minimal/Programs/report.c:191:29: warning[-Wanalyzer-malloc-leak]: leak of ‘rli’
brltty-6.8/minimal/Programs/report.c:172:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/report.c:173:10: branch_true: ...to here
brltty-6.8/minimal/Programs/report.c:181:8: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/report.c:186:18: branch_false: ...to here
brltty-6.8/minimal/Programs/report.c:186:18: acquire_memory: allocated here
brltty-6.8/minimal/Programs/report.c:186:10: branch_true: following ‘true’ branch (when ‘rli’ is non-NULL)...
brltty-6.8/minimal/Programs/report.c:187:9: branch_true: ...to here
brltty-6.8/minimal/Programs/report.c:191:29: throw: if ‘enqueueItem’ throws an exception...
brltty-6.8/minimal/Programs/report.c:191:29: danger: ‘rli’ leaks here; was allocated at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def706]
brltty-6.8/minimal/Programs/rgx.c:81:5: warning[-Wanalyzer-malloc-leak]: leak of ‘matcher’
brltty-6.8/minimal/Programs/rgx.c:106:1: enter_function: entry to ‘rgxAddPatternCharacters’
brltty-6.8/minimal/Programs/rgx.c:113:18: acquire_memory: allocated here
brltty-6.8/minimal/Programs/rgx.c:113:6: branch_true: following ‘true’ branch (when ‘matcher’ is non-NULL)...
brltty-6.8/minimal/Programs/rgx.c:113:6: branch_true: ...to here
brltty-6.8/minimal/Programs/rgx.c:124:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/rgx.c:124:38: branch_true: ...to here
brltty-6.8/minimal/Programs/rgx.c:136:10: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/rgx.c:151:9: branch_false: ...to here
brltty-6.8/minimal/Programs/rgx.c:151:9: call_function: calling ‘rgxLogError’ from ‘rgxAddPatternCharacters’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def707]
brltty-6.8/minimal/Programs/rgx.c:92:3: warning[-Wanalyzer-malloc-leak]: leak of ‘matcher’
brltty-6.8/minimal/Programs/rgx.c:106:1: enter_function: entry to ‘rgxAddPatternCharacters’
brltty-6.8/minimal/Programs/rgx.c:113:18: acquire_memory: allocated here
brltty-6.8/minimal/Programs/rgx.c:113:6: branch_true: following ‘true’ branch (when ‘matcher’ is non-NULL)...
brltty-6.8/minimal/Programs/rgx.c:113:6: branch_true: ...to here
brltty-6.8/minimal/Programs/rgx.c:124:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/rgx.c:124:38: branch_true: ...to here
brltty-6.8/minimal/Programs/rgx.c:136:10: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/rgx.c:151:9: branch_false: ...to here
brltty-6.8/minimal/Programs/rgx.c:151:9: call_function: calling ‘rgxLogError’ from ‘rgxAddPatternCharacters’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def708]
brltty-6.8/minimal/Programs/rgx.c:132:32: warning[-Wanalyzer-malloc-leak]: leak of ‘matcher’
brltty-6.8/minimal/Programs/rgx.c:113:18: acquire_memory: allocated here
brltty-6.8/minimal/Programs/rgx.c:113:6: branch_true: following ‘true’ branch (when ‘matcher’ is non-NULL)...
brltty-6.8/minimal/Programs/rgx.c:113:6: branch_true: ...to here
brltty-6.8/minimal/Programs/rgx.c:124:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/rgx.c:124:38: branch_true: ...to here
brltty-6.8/minimal/Programs/rgx.c:132:32: throw: if ‘rgxCompilePattern’ throws an exception...
brltty-6.8/minimal/Programs/rgx.c:132:32: danger: ‘matcher’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def709]
brltty-6.8/minimal/Programs/rgx.c:137:34: warning[-Wanalyzer-malloc-leak]: leak of ‘matcher’
brltty-6.8/minimal/Programs/rgx.c:113:18: acquire_memory: allocated here
brltty-6.8/minimal/Programs/rgx.c:113:6: branch_true: following ‘true’ branch (when ‘matcher’ is non-NULL)...
brltty-6.8/minimal/Programs/rgx.c:113:6: branch_true: ...to here
brltty-6.8/minimal/Programs/rgx.c:124:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/rgx.c:124:38: branch_true: ...to here
brltty-6.8/minimal/Programs/rgx.c:136:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/rgx.c:137:34: branch_true: ...to here
brltty-6.8/minimal/Programs/rgx.c:137:34: throw: if ‘rgxAllocateData’ throws an exception...
brltty-6.8/minimal/Programs/rgx.c:137:34: danger: ‘matcher’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def710]
brltty-6.8/minimal/Programs/rgx.c:140:15: warning[-Wanalyzer-malloc-leak]: leak of ‘matcher’
brltty-6.8/minimal/Programs/rgx.c:113:18: acquire_memory: allocated here
brltty-6.8/minimal/Programs/rgx.c:113:6: branch_true: following ‘true’ branch (when ‘matcher’ is non-NULL)...
brltty-6.8/minimal/Programs/rgx.c:113:6: branch_true: ...to here
brltty-6.8/minimal/Programs/rgx.c:124:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/rgx.c:124:38: branch_true: ...to here
brltty-6.8/minimal/Programs/rgx.c:136:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/rgx.c:137:34: branch_true: ...to here
brltty-6.8/minimal/Programs/rgx.c:139:12: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/rgx.c:140:15: branch_true: ...to here
brltty-6.8/minimal/Programs/rgx.c:140:15: throw: if ‘enqueueItem’ throws an exception...
brltty-6.8/minimal/Programs/rgx.c:140:15: danger: ‘matcher’ leaks here; was allocated at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def711]
brltty-6.8/minimal/Programs/rgx.c:146:11: warning[-Wanalyzer-malloc-leak]: leak of ‘matcher’
brltty-6.8/minimal/Programs/rgx.c:113:18: acquire_memory: allocated here
brltty-6.8/minimal/Programs/rgx.c:113:6: branch_true: following ‘true’ branch (when ‘matcher’ is non-NULL)...
brltty-6.8/minimal/Programs/rgx.c:113:6: branch_true: ...to here
brltty-6.8/minimal/Programs/rgx.c:124:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/rgx.c:124:38: branch_true: ...to here
brltty-6.8/minimal/Programs/rgx.c:136:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/rgx.c:137:34: branch_true: ...to here
brltty-6.8/minimal/Programs/rgx.c:139:12: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/rgx.c:146:11: branch_false: ...to here
brltty-6.8/minimal/Programs/rgx.c:146:11: throw: if ‘logMallocError’ throws an exception...
brltty-6.8/minimal/Programs/rgx.c:146:11: danger: ‘matcher’ leaks here; was allocated at [(1)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def712]
brltty-6.8/minimal/Programs/rgx.c:149:9: warning[-Wanalyzer-malloc-leak]: leak of ‘matcher’
brltty-6.8/minimal/Programs/rgx.c:113:18: acquire_memory: allocated here
brltty-6.8/minimal/Programs/rgx.c:113:6: branch_true: following ‘true’ branch (when ‘matcher’ is non-NULL)...
brltty-6.8/minimal/Programs/rgx.c:113:6: branch_true: ...to here
brltty-6.8/minimal/Programs/rgx.c:124:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/rgx.c:124:38: branch_true: ...to here
brltty-6.8/minimal/Programs/rgx.c:136:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/rgx.c:137:34: branch_true: ...to here
brltty-6.8/minimal/Programs/rgx.c:139:12: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/rgx.c:146:11: branch_false: ...to here
brltty-6.8/minimal/Programs/rgx.c:149:9: throw: if ‘rgxDeallocateCode’ throws an exception...
brltty-6.8/minimal/Programs/rgx.c:149:9: danger: ‘matcher’ leaks here; was allocated at [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def713]
brltty-6.8/minimal/Programs/rgx.c:156:7: warning[-Wanalyzer-malloc-leak]: leak of ‘matcher’
brltty-6.8/minimal/Programs/rgx.c:113:18: acquire_memory: allocated here
brltty-6.8/minimal/Programs/rgx.c:113:6: branch_true: following ‘true’ branch (when ‘matcher’ is non-NULL)...
brltty-6.8/minimal/Programs/rgx.c:113:6: branch_true: ...to here
brltty-6.8/minimal/Programs/rgx.c:124:8: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/rgx.c:156:7: branch_false: ...to here
brltty-6.8/minimal/Programs/rgx.c:156:7: throw: if ‘logMallocError’ throws an exception...
brltty-6.8/minimal/Programs/rgx.c:156:7: danger: ‘matcher’ leaks here; was allocated at [(1)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def714]
brltty-6.8/minimal/Programs/rgx.c:356:26: warning[-Wanalyzer-malloc-leak]: leak of ‘rgx’
brltty-6.8/minimal/Programs/rgx.c:351:14: acquire_memory: allocated here
brltty-6.8/minimal/Programs/rgx.c:351:6: branch_true: following ‘true’ branch (when ‘rgx’ is non-NULL)...
brltty-6.8/minimal/Programs/rgx.c:351:6: branch_true: ...to here
brltty-6.8/minimal/Programs/rgx.c:356:26: throw: if ‘newQueue’ throws an exception...
brltty-6.8/minimal/Programs/rgx.c:356:26: danger: ‘rgx’ leaks here; was allocated at [(1)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def715]
brltty-6.8/minimal/Programs/routing.c:156:5: warning[-Wanalyzer-malloc-leak]: leak of ‘crd.vertical.buffer’
brltty-6.8/minimal/Programs/routing.c:478:1: enter_function: entry to ‘startRoutingProcess’
brltty-6.8/minimal/Programs/routing.c:496:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/routing.c:497:18: branch_true: ...to here
brltty-6.8/minimal/Programs/routing.c:497:18: call_function: calling ‘routeCursor’ from ‘startRoutingProcess’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def716]
brltty-6.8/minimal/Programs/serial.c:716:30: warning[-Wanalyzer-malloc-leak]: leak of ‘serial’
brltty-6.8/minimal/Programs/serial.c:707:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/serial.c:710:19: branch_true: ...to here
brltty-6.8/minimal/Programs/serial.c:710:19: acquire_memory: allocated here
brltty-6.8/minimal/Programs/serial.c:710:8: branch_true: following ‘true’ branch (when ‘serial’ is non-NULL)...
brltty-6.8/minimal/Programs/serial.c:711:7: branch_true: ...to here
brltty-6.8/minimal/Programs/serial.c:716:30: throw: if ‘getDevicePath’ throws an exception...
brltty-6.8/minimal/Programs/serial.c:716:30: danger: ‘serial’ leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def717]
brltty-6.8/minimal/Programs/serial.c:723:13: warning[-Wanalyzer-malloc-leak]: leak of ‘serial’
brltty-6.8/minimal/Programs/serial.c:707:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/serial.c:710:19: branch_true: ...to here
brltty-6.8/minimal/Programs/serial.c:710:19: acquire_memory: allocated here
brltty-6.8/minimal/Programs/serial.c:710:8: branch_true: following ‘true’ branch (when ‘serial’ is non-NULL)...
brltty-6.8/minimal/Programs/serial.c:711:7: branch_true: ...to here
brltty-6.8/minimal/Programs/serial.c:719:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/serial.c:720:9: branch_true: ...to here
brltty-6.8/minimal/Programs/serial.c:723:13: throw: if ‘serialConnectDevice’ throws an exception...
brltty-6.8/minimal/Programs/serial.c:723:13: danger: ‘serial’ leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: CPPCHECK_WARNING (CWE-457): [#def718]
brltty-6.8/minimal/Programs/serial_termios.c:222: error[uninitvar]: Uninitialized variable: size
Error: GCC_ANALYZER_WARNING (CWE-401): [#def719]
brltty-6.8/minimal/Programs/system_linux.c:939:9: warning[-Wanalyzer-malloc-leak]: leak of ‘monitor’
brltty-6.8/minimal/Programs/system_linux.c:1421:1: enter_function: entry to ‘newInputEventMonitor’
brltty-6.8/minimal/Programs/system_linux.c:1428:18: acquire_memory: allocated here
brltty-6.8/minimal/Programs/system_linux.c:1428:6: branch_true: following ‘true’ branch (when ‘monitor’ is non-NULL)...
brltty-6.8/minimal/Programs/system_linux.c:1429:5: branch_true: ...to here
brltty-6.8/minimal/Programs/system_linux.c:1433:34: call_function: calling ‘newUinputObject’ from ‘newInputEventMonitor’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def720]
brltty-6.8/minimal/Programs/system_linux.c:939:9: warning[-Wanalyzer-malloc-leak]: leak of ‘uinput’
brltty-6.8/minimal/Programs/system_linux.c:1115:1: enter_function: entry to ‘newUinputObject’
brltty-6.8/minimal/Programs/system_linux.c:1119:17: acquire_memory: allocated here
brltty-6.8/minimal/Programs/system_linux.c:1119:6: branch_true: following ‘true’ branch (when ‘uinput’ is non-NULL)...
brltty-6.8/minimal/Programs/system_linux.c:1120:5: branch_true: ...to here
brltty-6.8/minimal/Programs/system_linux.c:1121:5: call_function: calling ‘installUinputModule’ from ‘newUinputObject’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def721]
brltty-6.8/minimal/Programs/system_linux.c:945:16: warning[-Wanalyzer-malloc-leak]: leak of ‘monitor’
brltty-6.8/minimal/Programs/system_linux.c:1421:1: enter_function: entry to ‘newInputEventMonitor’
brltty-6.8/minimal/Programs/system_linux.c:1428:18: acquire_memory: allocated here
brltty-6.8/minimal/Programs/system_linux.c:1428:6: branch_true: following ‘true’ branch (when ‘monitor’ is non-NULL)...
brltty-6.8/minimal/Programs/system_linux.c:1429:5: branch_true: ...to here
brltty-6.8/minimal/Programs/system_linux.c:1433:34: call_function: calling ‘newUinputObject’ from ‘newInputEventMonitor’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def722]
brltty-6.8/minimal/Programs/system_linux.c:945:16: warning[-Wanalyzer-malloc-leak]: leak of ‘uinput’
brltty-6.8/minimal/Programs/system_linux.c:1115:1: enter_function: entry to ‘newUinputObject’
brltty-6.8/minimal/Programs/system_linux.c:1119:17: acquire_memory: allocated here
brltty-6.8/minimal/Programs/system_linux.c:1119:6: branch_true: following ‘true’ branch (when ‘uinput’ is non-NULL)...
brltty-6.8/minimal/Programs/system_linux.c:1120:5: branch_true: ...to here
brltty-6.8/minimal/Programs/system_linux.c:1121:5: call_function: calling ‘installUinputModule’ from ‘newUinputObject’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def723]
brltty-6.8/minimal/Programs/system_linux.c:948:9: warning[-Wanalyzer-malloc-leak]: leak of ‘monitor’
brltty-6.8/minimal/Programs/system_linux.c:1421:1: enter_function: entry to ‘newInputEventMonitor’
brltty-6.8/minimal/Programs/system_linux.c:1428:18: acquire_memory: allocated here
brltty-6.8/minimal/Programs/system_linux.c:1428:6: branch_true: following ‘true’ branch (when ‘monitor’ is non-NULL)...
brltty-6.8/minimal/Programs/system_linux.c:1429:5: branch_true: ...to here
brltty-6.8/minimal/Programs/system_linux.c:1433:34: call_function: calling ‘newUinputObject’ from ‘newInputEventMonitor’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def724]
brltty-6.8/minimal/Programs/system_linux.c:948:9: warning[-Wanalyzer-malloc-leak]: leak of ‘uinput’
brltty-6.8/minimal/Programs/system_linux.c:1115:1: enter_function: entry to ‘newUinputObject’
brltty-6.8/minimal/Programs/system_linux.c:1119:17: acquire_memory: allocated here
brltty-6.8/minimal/Programs/system_linux.c:1119:6: branch_true: following ‘true’ branch (when ‘uinput’ is non-NULL)...
brltty-6.8/minimal/Programs/system_linux.c:1120:5: branch_true: ...to here
brltty-6.8/minimal/Programs/system_linux.c:1121:5: call_function: calling ‘installUinputModule’ from ‘newUinputObject’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def725]
brltty-6.8/minimal/Programs/system_linux.c:972:13: warning[-Wanalyzer-malloc-leak]: leak of ‘monitor’
brltty-6.8/minimal/Programs/system_linux.c:1421:1: enter_function: entry to ‘newInputEventMonitor’
brltty-6.8/minimal/Programs/system_linux.c:1428:18: acquire_memory: allocated here
brltty-6.8/minimal/Programs/system_linux.c:1428:6: branch_true: following ‘true’ branch (when ‘monitor’ is non-NULL)...
brltty-6.8/minimal/Programs/system_linux.c:1429:5: branch_true: ...to here
brltty-6.8/minimal/Programs/system_linux.c:1433:34: call_function: calling ‘newUinputObject’ from ‘newInputEventMonitor’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def726]
brltty-6.8/minimal/Programs/system_linux.c:972:13: warning[-Wanalyzer-malloc-leak]: leak of ‘uinput’
brltty-6.8/minimal/Programs/system_linux.c:1115:1: enter_function: entry to ‘newUinputObject’
brltty-6.8/minimal/Programs/system_linux.c:1119:17: acquire_memory: allocated here
brltty-6.8/minimal/Programs/system_linux.c:1119:6: branch_true: following ‘true’ branch (when ‘uinput’ is non-NULL)...
brltty-6.8/minimal/Programs/system_linux.c:1120:5: branch_true: ...to here
brltty-6.8/minimal/Programs/system_linux.c:1121:5: call_function: calling ‘installUinputModule’ from ‘newUinputObject’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def727]
brltty-6.8/minimal/Programs/system_linux.c:984:21: warning[-Wanalyzer-malloc-leak]: leak of ‘uinput’
brltty-6.8/minimal/Programs/system_linux.c:1115:1: enter_function: entry to ‘newUinputObject’
brltty-6.8/minimal/Programs/system_linux.c:1119:17: acquire_memory: allocated here
brltty-6.8/minimal/Programs/system_linux.c:1119:6: branch_true: following ‘true’ branch (when ‘uinput’ is non-NULL)...
brltty-6.8/minimal/Programs/system_linux.c:1120:5: branch_true: ...to here
brltty-6.8/minimal/Programs/system_linux.c:1121:5: call_function: calling ‘installUinputModule’ from ‘newUinputObject’
brltty-6.8/minimal/Programs/system_linux.c:1121:5: return_function: returning to ‘newUinputObject’ from ‘installUinputModule’
brltty-6.8/minimal/Programs/system_linux.c:1129:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/system_linux.c:1130:37: branch_true: ...to here
brltty-6.8/minimal/Programs/system_linux.c:1130:37: call_function: calling ‘openCharacterDevice’ from ‘newUinputObject’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def728]
brltty-6.8/minimal/Programs/system_linux.c:997:23: warning[-Wanalyzer-malloc-leak]: leak of ‘uinput’
brltty-6.8/minimal/Programs/system_linux.c:1115:1: enter_function: entry to ‘newUinputObject’
brltty-6.8/minimal/Programs/system_linux.c:1119:17: acquire_memory: allocated here
brltty-6.8/minimal/Programs/system_linux.c:1119:6: branch_true: following ‘true’ branch (when ‘uinput’ is non-NULL)...
brltty-6.8/minimal/Programs/system_linux.c:1120:5: branch_true: ...to here
brltty-6.8/minimal/Programs/system_linux.c:1121:5: call_function: calling ‘installUinputModule’ from ‘newUinputObject’
brltty-6.8/minimal/Programs/system_linux.c:1121:5: return_function: returning to ‘newUinputObject’ from ‘installUinputModule’
brltty-6.8/minimal/Programs/system_linux.c:1129:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/system_linux.c:1130:37: branch_true: ...to here
brltty-6.8/minimal/Programs/system_linux.c:1130:37: call_function: calling ‘openCharacterDevice’ from ‘newUinputObject’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def729]
brltty-6.8/minimal/Programs/system_linux.c:1000:23: warning[-Wanalyzer-malloc-leak]: leak of ‘uinput’
brltty-6.8/minimal/Programs/system_linux.c:1115:1: enter_function: entry to ‘newUinputObject’
brltty-6.8/minimal/Programs/system_linux.c:1119:17: acquire_memory: allocated here
brltty-6.8/minimal/Programs/system_linux.c:1119:6: branch_true: following ‘true’ branch (when ‘uinput’ is non-NULL)...
brltty-6.8/minimal/Programs/system_linux.c:1120:5: branch_true: ...to here
brltty-6.8/minimal/Programs/system_linux.c:1121:5: call_function: calling ‘installUinputModule’ from ‘newUinputObject’
brltty-6.8/minimal/Programs/system_linux.c:1121:5: return_function: returning to ‘newUinputObject’ from ‘installUinputModule’
brltty-6.8/minimal/Programs/system_linux.c:1129:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/system_linux.c:1130:37: branch_true: ...to here
brltty-6.8/minimal/Programs/system_linux.c:1130:37: call_function: calling ‘openCharacterDevice’ from ‘newUinputObject’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def730]
brltty-6.8/minimal/Programs/system_linux.c:1006:3: warning[-Wanalyzer-malloc-leak]: leak of ‘uinput’
brltty-6.8/minimal/Programs/system_linux.c:1115:1: enter_function: entry to ‘newUinputObject’
brltty-6.8/minimal/Programs/system_linux.c:1119:17: acquire_memory: allocated here
brltty-6.8/minimal/Programs/system_linux.c:1119:6: branch_true: following ‘true’ branch (when ‘uinput’ is non-NULL)...
brltty-6.8/minimal/Programs/system_linux.c:1120:5: branch_true: ...to here
brltty-6.8/minimal/Programs/system_linux.c:1121:5: call_function: calling ‘installUinputModule’ from ‘newUinputObject’
brltty-6.8/minimal/Programs/system_linux.c:1121:5: return_function: returning to ‘newUinputObject’ from ‘installUinputModule’
brltty-6.8/minimal/Programs/system_linux.c:1129:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/system_linux.c:1130:37: branch_true: ...to here
brltty-6.8/minimal/Programs/system_linux.c:1130:37: call_function: calling ‘openCharacterDevice’ from ‘newUinputObject’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def731]
brltty-6.8/minimal/Programs/system_linux.c:1010:3: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘descriptor’
brltty-6.8/minimal/Programs/system_linux.c:984:21: acquire_resource: opened here
brltty-6.8/minimal/Programs/system_linux.c:984:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/system_linux.c:984:3: branch_true: ...to here
brltty-6.8/minimal/Programs/system_linux.c:1010:3: throw: if ‘logMessage’ throws an exception...
brltty-6.8/minimal/Programs/system_linux.c:1010:3: danger: ‘descriptor’ leaks here; was opened at [(1)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def732]
brltty-6.8/minimal/Programs/system_linux.c:1010:3: warning[-Wanalyzer-malloc-leak]: leak of ‘uinput’
brltty-6.8/minimal/Programs/system_linux.c:1115:1: enter_function: entry to ‘newUinputObject’
brltty-6.8/minimal/Programs/system_linux.c:1119:17: acquire_memory: allocated here
brltty-6.8/minimal/Programs/system_linux.c:1119:6: branch_true: following ‘true’ branch (when ‘uinput’ is non-NULL)...
brltty-6.8/minimal/Programs/system_linux.c:1120:5: branch_true: ...to here
brltty-6.8/minimal/Programs/system_linux.c:1121:5: call_function: calling ‘installUinputModule’ from ‘newUinputObject’
brltty-6.8/minimal/Programs/system_linux.c:1121:5: return_function: returning to ‘newUinputObject’ from ‘installUinputModule’
brltty-6.8/minimal/Programs/system_linux.c:1129:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/system_linux.c:1130:37: branch_true: ...to here
brltty-6.8/minimal/Programs/system_linux.c:1130:37: call_function: calling ‘openCharacterDevice’ from ‘newUinputObject’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def733]
brltty-6.8/minimal/Programs/system_linux.c:1075:16: warning[-Wanalyzer-malloc-leak]: leak of ‘uinput’
brltty-6.8/minimal/Programs/system_linux.c:1115:1: enter_function: entry to ‘newUinputObject’
brltty-6.8/minimal/Programs/system_linux.c:1119:17: acquire_memory: allocated here
brltty-6.8/minimal/Programs/system_linux.c:1119:6: branch_true: following ‘true’ branch (when ‘uinput’ is non-NULL)...
brltty-6.8/minimal/Programs/system_linux.c:1120:5: branch_true: ...to here
brltty-6.8/minimal/Programs/system_linux.c:1121:5: call_function: calling ‘installUinputModule’ from ‘newUinputObject’
brltty-6.8/minimal/Programs/system_linux.c:1121:5: return_function: returning to ‘newUinputObject’ from ‘installUinputModule’
brltty-6.8/minimal/Programs/system_linux.c:1129:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/system_linux.c:1130:37: branch_true: ...to here
brltty-6.8/minimal/Programs/system_linux.c:1130:37: call_function: calling ‘openCharacterDevice’ from ‘newUinputObject’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def734]
brltty-6.8/minimal/Programs/system_linux.c:1084:19: warning[-Wanalyzer-malloc-leak]: leak of ‘uinput’
brltty-6.8/minimal/Programs/system_linux.c:1115:1: enter_function: entry to ‘newUinputObject’
brltty-6.8/minimal/Programs/system_linux.c:1119:17: acquire_memory: allocated here
brltty-6.8/minimal/Programs/system_linux.c:1119:6: branch_true: following ‘true’ branch (when ‘uinput’ is non-NULL)...
brltty-6.8/minimal/Programs/system_linux.c:1120:5: branch_true: ...to here
brltty-6.8/minimal/Programs/system_linux.c:1121:5: call_function: calling ‘installUinputModule’ from ‘newUinputObject’
brltty-6.8/minimal/Programs/system_linux.c:1121:5: return_function: returning to ‘newUinputObject’ from ‘installUinputModule’
brltty-6.8/minimal/Programs/system_linux.c:1129:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/system_linux.c:1130:37: branch_true: ...to here
brltty-6.8/minimal/Programs/system_linux.c:1130:37: call_function: calling ‘openCharacterDevice’ from ‘newUinputObject’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def735]
brltty-6.8/minimal/Programs/system_linux.c:1126:16: warning[-Wanalyzer-malloc-leak]: leak of ‘monitor’
brltty-6.8/minimal/Programs/system_linux.c:1421:1: enter_function: entry to ‘newInputEventMonitor’
brltty-6.8/minimal/Programs/system_linux.c:1428:18: acquire_memory: allocated here
brltty-6.8/minimal/Programs/system_linux.c:1428:6: branch_true: following ‘true’ branch (when ‘monitor’ is non-NULL)...
brltty-6.8/minimal/Programs/system_linux.c:1429:5: branch_true: ...to here
brltty-6.8/minimal/Programs/system_linux.c:1433:34: call_function: calling ‘newUinputObject’ from ‘newInputEventMonitor’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def736]
brltty-6.8/minimal/Programs/system_linux.c:1126:16: warning[-Wanalyzer-malloc-leak]: leak of ‘uinput’
brltty-6.8/minimal/Programs/system_linux.c:1115:1: enter_function: entry to ‘newUinputObject’
brltty-6.8/minimal/Programs/system_linux.c:1119:17: acquire_memory: allocated here
brltty-6.8/minimal/Programs/system_linux.c:1119:6: branch_true: following ‘true’ branch (when ‘uinput’ is non-NULL)...
brltty-6.8/minimal/Programs/system_linux.c:1120:5: branch_true: ...to here
brltty-6.8/minimal/Programs/system_linux.c:1121:5: call_function: calling ‘installUinputModule’ from ‘newUinputObject’
brltty-6.8/minimal/Programs/system_linux.c:1121:5: return_function: returning to ‘newUinputObject’ from ‘installUinputModule’
brltty-6.8/minimal/Programs/system_linux.c:1126:16: throw: if ‘resolveDeviceName’ throws an exception...
brltty-6.8/minimal/Programs/system_linux.c:1126:16: danger: ‘uinput’ leaks here; was allocated at [(2)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def737]
brltty-6.8/minimal/Programs/thread.c:74:5: warning[-Wanalyzer-malloc-leak]: leak of ‘run’
brltty-6.8/minimal/Programs/thread.c:68:14: acquire_memory: allocated here
brltty-6.8/minimal/Programs/thread.c:68:6: branch_true: following ‘true’ branch (when ‘run’ is non-NULL)...
brltty-6.8/minimal/Programs/thread.c:70:21: branch_true: ...to here
brltty-6.8/minimal/Programs/thread.c:74:5: throw: if ‘logMessage’ throws an exception...
brltty-6.8/minimal/Programs/thread.c:74:5: danger: ‘run’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def738]
brltty-6.8/minimal/Programs/ttb_compile.c:44:10: warning[-Wanalyzer-malloc-leak]: leak of ‘table’
brltty-6.8/minimal/Programs/ttb_compile.c:347:1: enter_function: entry to ‘makeTextTable’
brltty-6.8/minimal/Programs/ttb_compile.c:348:22: acquire_memory: allocated here
brltty-6.8/minimal/Programs/ttb_compile.c:350:6: branch_true: following ‘true’ branch (when ‘table’ is non-NULL)...
brltty-6.8/minimal/Programs/ttb_compile.c:350:6: branch_true: ...to here
brltty-6.8/minimal/Programs/ttb_compile.c:353:28: call_function: calling ‘getTextTableHeader’ from ‘makeTextTable’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def739]
brltty-6.8/minimal/Programs/ttb_compile.c:76:32: warning[-Wanalyzer-malloc-leak]: leak of ‘table’
brltty-6.8/minimal/Programs/ttb_compile.c:347:1: enter_function: entry to ‘makeTextTable’
brltty-6.8/minimal/Programs/ttb_compile.c:348:22: acquire_memory: allocated here
brltty-6.8/minimal/Programs/ttb_compile.c:350:6: branch_true: following ‘true’ branch (when ‘table’ is non-NULL)...
brltty-6.8/minimal/Programs/ttb_compile.c:350:6: branch_true: ...to here
brltty-6.8/minimal/Programs/ttb_compile.c:360:15: call_function: calling ‘getUnicodeCell’ from ‘makeTextTable’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def740]
brltty-6.8/minimal/Programs/ttb_compile.c:101:32: warning[-Wanalyzer-malloc-leak]: leak of ‘table’
brltty-6.8/minimal/Programs/ttb_compile.c:347:1: enter_function: entry to ‘makeTextTable’
brltty-6.8/minimal/Programs/ttb_compile.c:348:22: acquire_memory: allocated here
brltty-6.8/minimal/Programs/ttb_compile.c:350:6: branch_true: following ‘true’ branch (when ‘table’ is non-NULL)...
brltty-6.8/minimal/Programs/ttb_compile.c:350:6: branch_true: ...to here
brltty-6.8/minimal/Programs/ttb_compile.c:360:15: call_function: calling ‘getUnicodeCell’ from ‘makeTextTable’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def741]
brltty-6.8/minimal/Programs/ttb_compile.c:124:10: warning[-Wanalyzer-malloc-leak]: leak of ‘table’
brltty-6.8/minimal/Programs/ttb_compile.c:347:1: enter_function: entry to ‘makeTextTable’
brltty-6.8/minimal/Programs/ttb_compile.c:348:22: acquire_memory: allocated here
brltty-6.8/minimal/Programs/ttb_compile.c:350:6: branch_true: following ‘true’ branch (when ‘table’ is non-NULL)...
brltty-6.8/minimal/Programs/ttb_compile.c:350:6: branch_true: ...to here
brltty-6.8/minimal/Programs/ttb_compile.c:360:15: call_function: calling ‘getUnicodeCell’ from ‘makeTextTable’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def742]
brltty-6.8/minimal/Programs/ttb_compile.c:264:22: warning[-Wanalyzer-malloc-leak]: leak of ‘ttd’
brltty-6.8/minimal/Programs/ttb_compile.c:257:14: acquire_memory: allocated here
brltty-6.8/minimal/Programs/ttb_compile.c:257:6: branch_true: following ‘true’ branch (when ‘ttd’ is non-NULL)...
brltty-6.8/minimal/Programs/ttb_compile.c:258:5: branch_true: ...to here
brltty-6.8/minimal/Programs/ttb_compile.c:264:22: throw: if ‘newDataArea’ throws an exception...
brltty-6.8/minimal/Programs/ttb_compile.c:264:22: danger: ‘ttd’ leaks here; was allocated at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def743]
brltty-6.8/minimal/Programs/ttb_compile.c:265:11: warning[-Wanalyzer-malloc-leak]: leak of ‘ttd’
brltty-6.8/minimal/Programs/ttb_compile.c:257:14: acquire_memory: allocated here
brltty-6.8/minimal/Programs/ttb_compile.c:257:6: branch_true: following ‘true’ branch (when ‘ttd’ is non-NULL)...
brltty-6.8/minimal/Programs/ttb_compile.c:258:5: branch_true: ...to here
brltty-6.8/minimal/Programs/ttb_compile.c:264:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/ttb_compile.c:265:11: branch_true: ...to here
brltty-6.8/minimal/Programs/ttb_compile.c:265:11: throw: if ‘allocateDataItem’ throws an exception...
brltty-6.8/minimal/Programs/ttb_compile.c:265:11: danger: ‘ttd’ leaks here; was allocated at [(1)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def744]
brltty-6.8/minimal/Programs/ttb_compile.c:269:7: warning[-Wanalyzer-malloc-leak]: leak of ‘ttd’
brltty-6.8/minimal/Programs/ttb_compile.c:257:14: acquire_memory: allocated here
brltty-6.8/minimal/Programs/ttb_compile.c:257:6: branch_true: following ‘true’ branch (when ‘ttd’ is non-NULL)...
brltty-6.8/minimal/Programs/ttb_compile.c:258:5: branch_true: ...to here
brltty-6.8/minimal/Programs/ttb_compile.c:264:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/ttb_compile.c:265:11: branch_true: ...to here
brltty-6.8/minimal/Programs/ttb_compile.c:265:10: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/ttb_compile.c:269:7: branch_false: ...to here
brltty-6.8/minimal/Programs/ttb_compile.c:269:7: throw: if ‘destroyDataArea’ throws an exception...
brltty-6.8/minimal/Programs/ttb_compile.c:269:7: danger: ‘ttd’ leaks here; was allocated at [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def745]
brltty-6.8/minimal/Programs/ttb_compile.c:333:11: warning[-Wanalyzer-malloc-leak]: leak of ‘parameters.data’
brltty-6.8/minimal/Programs/ttb_compile.c:323:1: enter_function: entry to ‘processTextTableLines’
brltty-6.8/minimal/Programs/ttb_compile.c:324:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/ttb_compile.c:327:16: branch_true: ...to here
brltty-6.8/minimal/Programs/ttb_compile.c:327:16: call_function: calling ‘newTextTableData’ from ‘processTextTableLines’
brltty-6.8/minimal/Programs/ttb_compile.c:327:16: return_function: returning to ‘processTextTableLines’ from ‘newTextTableData’
brltty-6.8/minimal/Programs/ttb_compile.c:327:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/ttb_compile.c:328:32: branch_true: ...to here
brltty-6.8/minimal/Programs/ttb_compile.c:333:11: throw: if ‘processDataStream’ throws an exception...
brltty-6.8/minimal/Programs/ttb_compile.c:333:11: danger: ‘parameters.data’ leaks here; was allocated at [(6)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/5)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def746]
brltty-6.8/minimal/Programs/ttb_compile.c:354:19: warning[-Wanalyzer-malloc-leak]: leak of ‘table’
brltty-6.8/minimal/Programs/ttb_compile.c:348:22: acquire_memory: allocated here
brltty-6.8/minimal/Programs/ttb_compile.c:350:6: branch_true: following ‘true’ branch (when ‘table’ is non-NULL)...
brltty-6.8/minimal/Programs/ttb_compile.c:350:6: branch_true: ...to here
brltty-6.8/minimal/Programs/ttb_compile.c:354:19: throw: if ‘getDataSize’ throws an exception...
brltty-6.8/minimal/Programs/ttb_compile.c:354:19: danger: ‘table’ leaks here; was allocated at [(1)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def747]
brltty-6.8/minimal/Programs/ttb_compile.c:364:5: warning[-Wanalyzer-malloc-leak]: leak of ‘table’
brltty-6.8/minimal/Programs/ttb_compile.c:347:1: enter_function: entry to ‘makeTextTable’
brltty-6.8/minimal/Programs/ttb_compile.c:348:22: acquire_memory: allocated here
brltty-6.8/minimal/Programs/ttb_compile.c:350:6: branch_true: following ‘true’ branch (when ‘table’ is non-NULL)...
brltty-6.8/minimal/Programs/ttb_compile.c:350:6: branch_true: ...to here
brltty-6.8/minimal/Programs/ttb_compile.c:360:15: call_function: calling ‘getUnicodeCell’ from ‘makeTextTable’
brltty-6.8/minimal/Programs/ttb_compile.c:360:15: return_function: returning to ‘makeTextTable’ from ‘getUnicodeCell’
brltty-6.8/minimal/Programs/ttb_compile.c:361:10: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/ttb_compile.c:364:5: branch_false: ...to here
brltty-6.8/minimal/Programs/ttb_compile.c:364:5: throw: if ‘resetDataArea’ throws an exception...
brltty-6.8/minimal/Programs/ttb_compile.c:364:5: danger: ‘table’ leaks here; was allocated at [(2)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def748]
brltty-6.8/minimal/Programs/tune.c:414:7: warning[-Wanalyzer-malloc-leak]: leak of ‘newTuneRequest(0)’
brltty-6.8/minimal/Programs/tune.c:431:1: enter_function: entry to ‘tuneSetDevice’
brltty-6.8/minimal/Programs/tune.c:466:16: call_function: calling ‘newTuneRequest’ from ‘tuneSetDevice’
brltty-6.8/minimal/Programs/tune.c:466:16: return_function: returning to ‘tuneSetDevice’ from ‘newTuneRequest’
brltty-6.8/minimal/Programs/tune.c:466:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/tune.c:467:7: branch_true: ...to here
brltty-6.8/minimal/Programs/tune.c:468:12: call_function: calling ‘sendTuneRequest’ from ‘tuneSetDevice’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def749]
brltty-6.8/minimal/Programs/tune.c:414:7: warning[-Wanalyzer-malloc-leak]: leak of ‘newTuneRequest(1)’
brltty-6.8/minimal/Programs/tune.c:476:1: enter_function: entry to ‘tunePlayNotes’
brltty-6.8/minimal/Programs/tune.c:477:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/tune.c:480:16: branch_true: ...to here
brltty-6.8/minimal/Programs/tune.c:480:16: call_function: calling ‘newTuneRequest’ from ‘tunePlayNotes’
brltty-6.8/minimal/Programs/tune.c:480:16: return_function: returning to ‘tunePlayNotes’ from ‘newTuneRequest’
brltty-6.8/minimal/Programs/tune.c:480:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/tune.c:481:7: branch_true: ...to here
brltty-6.8/minimal/Programs/tune.c:483:12: call_function: calling ‘sendTuneRequest’ from ‘tunePlayNotes’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def750]
brltty-6.8/minimal/Programs/tune.c:414:7: warning[-Wanalyzer-malloc-leak]: leak of ‘newTuneRequest(2)’
brltty-6.8/minimal/Programs/tune.c:489:1: enter_function: entry to ‘tunePlayTones’
brltty-6.8/minimal/Programs/tune.c:490:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/tune.c:493:16: branch_true: ...to here
brltty-6.8/minimal/Programs/tune.c:493:16: call_function: calling ‘newTuneRequest’ from ‘tunePlayTones’
brltty-6.8/minimal/Programs/tune.c:493:16: return_function: returning to ‘tunePlayTones’ from ‘newTuneRequest’
brltty-6.8/minimal/Programs/tune.c:493:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/tune.c:494:7: branch_true: ...to here
brltty-6.8/minimal/Programs/tune.c:496:12: call_function: calling ‘sendTuneRequest’ from ‘tunePlayTones’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def751]
brltty-6.8/minimal/Programs/tune.c:414:7: warning[-Wanalyzer-malloc-leak]: leak of ‘newTuneRequest(3)’
brltty-6.8/minimal/Programs/tune.c:502:1: enter_function: entry to ‘tuneWait’
brltty-6.8/minimal/Programs/tune.c:505:14: call_function: calling ‘newTuneRequest’ from ‘tuneWait’
brltty-6.8/minimal/Programs/tune.c:505:14: return_function: returning to ‘tuneWait’ from ‘newTuneRequest’
brltty-6.8/minimal/Programs/tune.c:505:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/tune.c:506:5: branch_true: ...to here
brltty-6.8/minimal/Programs/tune.c:507:10: call_function: calling ‘sendTuneRequest’ from ‘tuneWait’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def752]
brltty-6.8/minimal/Programs/tune.c:414:7: warning[-Wanalyzer-malloc-leak]: leak of ‘newTuneRequest(4)’
brltty-6.8/minimal/Programs/tune.c:518:1: enter_function: entry to ‘tuneSynchronize’
brltty-6.8/minimal/Programs/tune.c:521:14: call_function: calling ‘newTuneRequest’ from ‘tuneSynchronize’
brltty-6.8/minimal/Programs/tune.c:521:14: return_function: returning to ‘tuneSynchronize’ from ‘newTuneRequest’
brltty-6.8/minimal/Programs/tune.c:521:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/tune.c:522:32: branch_true: ...to here
brltty-6.8/minimal/Programs/tune.c:525:9: call_function: calling ‘sendTuneRequest’ from ‘tuneSynchronize’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def753]
brltty-6.8/minimal/Programs/tune_builder.c:643:47: warning[-Wanalyzer-malloc-leak]: leak of ‘tb’
brltty-6.8/minimal/Programs/tune_builder.c:660:1: enter_function: entry to ‘newTuneBuilder’
brltty-6.8/minimal/Programs/tune_builder.c:663:13: acquire_memory: allocated here
brltty-6.8/minimal/Programs/tune_builder.c:663:6: branch_true: following ‘true’ branch (when ‘tb’ is non-NULL)...
brltty-6.8/minimal/Programs/tune_builder.c:664:5: branch_true: ...to here
brltty-6.8/minimal/Programs/tune_builder.c:669:5: call_function: calling ‘resetTuneBuilder’ from ‘newTuneBuilder’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def754]
brltty-6.8/minimal/Programs/tune_builder.c:643:64: warning[-Wanalyzer-malloc-leak]: leak of ‘tb’
brltty-6.8/minimal/Programs/tune_builder.c:660:1: enter_function: entry to ‘newTuneBuilder’
brltty-6.8/minimal/Programs/tune_builder.c:663:13: acquire_memory: allocated here
brltty-6.8/minimal/Programs/tune_builder.c:663:6: branch_true: following ‘true’ branch (when ‘tb’ is non-NULL)...
brltty-6.8/minimal/Programs/tune_builder.c:664:5: branch_true: ...to here
brltty-6.8/minimal/Programs/tune_builder.c:669:5: call_function: calling ‘resetTuneBuilder’ from ‘newTuneBuilder’
Error: CPPCHECK_WARNING (CWE-457): [#def755]
brltty-6.8/minimal/Programs/update.c:301: warning[uninitvar]: Uninitialized variable: inputText
Error: GCC_ANALYZER_WARNING (CWE-457): [#def756]
brltty-6.8/minimal/Programs/update.c:714:43: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*compactCells[i]’
brltty-6.8/minimal/Programs/update.c:634:1: enter_function: entry to ‘renderInfoLine’
brltty-6.8/minimal/Programs/update.c:638:6: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/update.c:644:23: branch_false: ...to here
brltty-6.8/minimal/Programs/update.c:659:6: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/update.c:668:5: branch_false: ...to here
brltty-6.8/minimal/Programs/update.c:675:3: call_function: calling ‘getBrailleVariantCharacter’ from ‘renderInfoLine’
brltty-6.8/minimal/Programs/update.c:675:3: return_function: returning to ‘renderInfoLine’ from ‘getBrailleVariantCharacter’
brltty-6.8/minimal/Programs/update.c:687:6: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/update.c:701:12: branch_false: ...to here
brltty-6.8/minimal/Programs/update.c:708:30: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/update.c:710:5: branch_false: ...to here
brltty-6.8/minimal/Programs/update.c:710:28: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/update.c:713:10: branch_true: ...to here
brltty-6.8/minimal/Programs/update.c:713:10: branch_false: following ‘false’ branch (when ‘threshold <= i’)...
brltty-6.8/minimal/Programs/update.c:716:21: branch_false: ...to here
brltty-6.8/minimal/Programs/update.c:710:28: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/update.c:713:10: branch_true: ...to here
brltty-6.8/minimal/Programs/update.c:713:10: branch_false: following ‘false’ branch (when ‘threshold <= i’)...
brltty-6.8/minimal/Programs/update.c:716:21: branch_false: ...to here
brltty-6.8/minimal/Programs/update.c:710:28: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/update.c:713:10: branch_true: ...to here
brltty-6.8/minimal/Programs/update.c:714:43: danger: use of uninitialized value ‘*compactCells[i]’ here
Error: CPPCHECK_WARNING (CWE-457): [#def757]
brltty-6.8/minimal/Programs/update.c:724: warning[uninitvar]: Uninitialized variable: characters
Error: GCC_ANALYZER_WARNING (CWE-401): [#def758]
brltty-6.8/minimal/Programs/usb.c:62:10: warning[-Wanalyzer-malloc-leak]: leak of ‘descriptors’
brltty-6.8/minimal/Programs/usb.c:494:1: enter_function: entry to ‘usbConfigureDevice’
brltty-6.8/minimal/Programs/usb.c:506:52: call_function: calling ‘usbConfigurationDescriptor’ from ‘usbConfigureDevice’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def759]
brltty-6.8/minimal/Programs/usb.c:461:22: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘descriptor.configuration.wTotalLength’
brltty-6.8/minimal/Programs/usb.c:760:1: enter_function: entry to ‘usbGetEndpoint’
brltty-6.8/minimal/Programs/usb.c:762:6: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/usb.c:763:45: branch_false: ...to here
brltty-6.8/minimal/Programs/usb.c:763:45: call_function: calling ‘usbEndpointDescriptor’ from ‘usbGetEndpoint’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def760]
brltty-6.8/minimal/Programs/usb.c:490:10: warning[-Wanalyzer-malloc-leak]: leak of ‘descriptors’
brltty-6.8/minimal/Programs/usb.c:494:1: enter_function: entry to ‘usbConfigureDevice’
brltty-6.8/minimal/Programs/usb.c:506:52: call_function: calling ‘usbConfigurationDescriptor’ from ‘usbConfigureDevice’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def761]
brltty-6.8/minimal/Programs/usb.c:874:5: warning[-Wanalyzer-malloc-leak]: leak of ‘device’
brltty-6.8/minimal/Programs/usb.c:1028:1: enter_function: entry to ‘usbOpenDevice’
brltty-6.8/minimal/Programs/usb.c:1031:17: acquire_memory: allocated here
brltty-6.8/minimal/Programs/usb.c:1031:6: branch_true: following ‘true’ branch (when ‘device’ is non-NULL)...
brltty-6.8/minimal/Programs/usb.c:1032:5: branch_true: ...to here
brltty-6.8/minimal/Programs/usb.c:1039:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/usb.c:1040:35: branch_true: ...to here
brltty-6.8/minimal/Programs/usb.c:1040:10: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/usb.c:1052:7: branch_false: ...to here
brltty-6.8/minimal/Programs/usb.c:1052:7: call_function: calling ‘usbRemoveEndpoints’ from ‘usbOpenDevice’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def762]
brltty-6.8/minimal/Programs/usb.c:875:5: warning[-Wanalyzer-malloc-leak]: leak of ‘device’
brltty-6.8/minimal/Programs/usb.c:1028:1: enter_function: entry to ‘usbOpenDevice’
brltty-6.8/minimal/Programs/usb.c:1031:17: acquire_memory: allocated here
brltty-6.8/minimal/Programs/usb.c:1031:6: branch_true: following ‘true’ branch (when ‘device’ is non-NULL)...
brltty-6.8/minimal/Programs/usb.c:1032:5: branch_true: ...to here
brltty-6.8/minimal/Programs/usb.c:1039:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/usb.c:1040:35: branch_true: ...to here
brltty-6.8/minimal/Programs/usb.c:1040:10: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/usb.c:1052:7: branch_false: ...to here
brltty-6.8/minimal/Programs/usb.c:1052:7: call_function: calling ‘usbRemoveEndpoints’ from ‘usbOpenDevice’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def763]
brltty-6.8/minimal/Programs/usb.c:878:7: warning[-Wanalyzer-malloc-leak]: leak of ‘device’
brltty-6.8/minimal/Programs/usb.c:1028:1: enter_function: entry to ‘usbOpenDevice’
brltty-6.8/minimal/Programs/usb.c:1031:17: acquire_memory: allocated here
brltty-6.8/minimal/Programs/usb.c:1031:6: branch_true: following ‘true’ branch (when ‘device’ is non-NULL)...
brltty-6.8/minimal/Programs/usb.c:1032:5: branch_true: ...to here
brltty-6.8/minimal/Programs/usb.c:1039:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/usb.c:1040:35: branch_true: ...to here
brltty-6.8/minimal/Programs/usb.c:1040:10: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/usb.c:1052:7: branch_false: ...to here
brltty-6.8/minimal/Programs/usb.c:1052:7: call_function: calling ‘usbRemoveEndpoints’ from ‘usbOpenDevice’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def764]
brltty-6.8/minimal/Programs/usb.c:898:9: warning[-Wanalyzer-malloc-leak]: leak of ‘entry’
brltty-6.8/minimal/Programs/usb.c:894:16: acquire_memory: allocated here
brltty-6.8/minimal/Programs/usb.c:894:6: branch_true: following ‘true’ branch (when ‘entry’ is non-NULL)...
brltty-6.8/minimal/Programs/usb.c:896:5: branch_true: ...to here
brltty-6.8/minimal/Programs/usb.c:898:9: throw: if ‘enqueueItem’ throws an exception...
brltty-6.8/minimal/Programs/usb.c:898:9: danger: ‘entry’ leaks here; was allocated at [(1)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def765]
brltty-6.8/minimal/Programs/usb.c:1039:30: warning[-Wanalyzer-malloc-leak]: leak of ‘device’
brltty-6.8/minimal/Programs/usb.c:1031:17: acquire_memory: allocated here
brltty-6.8/minimal/Programs/usb.c:1031:6: branch_true: following ‘true’ branch (when ‘device’ is non-NULL)...
brltty-6.8/minimal/Programs/usb.c:1032:5: branch_true: ...to here
brltty-6.8/minimal/Programs/usb.c:1039:30: throw: if ‘newQueue’ throws an exception...
brltty-6.8/minimal/Programs/usb.c:1039:30: danger: ‘device’ leaks here; was allocated at [(1)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def766]
brltty-6.8/minimal/Programs/usb.c:1040:35: warning[-Wanalyzer-malloc-leak]: leak of ‘device’
brltty-6.8/minimal/Programs/usb.c:1031:17: acquire_memory: allocated here
brltty-6.8/minimal/Programs/usb.c:1031:6: branch_true: following ‘true’ branch (when ‘device’ is non-NULL)...
brltty-6.8/minimal/Programs/usb.c:1032:5: branch_true: ...to here
brltty-6.8/minimal/Programs/usb.c:1039:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/usb.c:1040:35: branch_true: ...to here
brltty-6.8/minimal/Programs/usb.c:1040:35: throw: if ‘newQueue’ throws an exception...
brltty-6.8/minimal/Programs/usb.c:1040:35: danger: ‘device’ leaks here; was allocated at [(1)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def767]
brltty-6.8/minimal/Programs/usb.c:1041:13: warning[-Wanalyzer-malloc-leak]: leak of ‘device’
brltty-6.8/minimal/Programs/usb.c:1031:17: acquire_memory: allocated here
brltty-6.8/minimal/Programs/usb.c:1031:6: branch_true: following ‘true’ branch (when ‘device’ is non-NULL)...
brltty-6.8/minimal/Programs/usb.c:1032:5: branch_true: ...to here
brltty-6.8/minimal/Programs/usb.c:1039:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/usb.c:1040:35: branch_true: ...to here
brltty-6.8/minimal/Programs/usb.c:1040:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/usb.c:1041:13: branch_true: ...to here
brltty-6.8/minimal/Programs/usb.c:1041:13: throw: if ‘usbReadDeviceDescriptor’ throws an exception...
brltty-6.8/minimal/Programs/usb.c:1041:13: danger: ‘device’ leaks here; was allocated at [(1)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def768]
brltty-6.8/minimal/Programs/usb.c:1641:28: warning[-Wanalyzer-malloc-leak]: leak of ‘channel’
brltty-6.8/minimal/Programs/usb.c:1638:18: acquire_memory: allocated here
brltty-6.8/minimal/Programs/usb.c:1638:6: branch_true: following ‘true’ branch (when ‘channel’ is non-NULL)...
brltty-6.8/minimal/Programs/usb.c:1641:28: branch_true: ...to here
brltty-6.8/minimal/Programs/usb.c:1641:28: throw: if ‘usbFindDevice’ throws an exception...
brltty-6.8/minimal/Programs/usb.c:1641:28: danger: ‘channel’ leaks here; was allocated at [(1)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def769]
brltty-6.8/minimal/Programs/usb_cdc_acm.c:235:10: warning[-Wanalyzer-malloc-leak]: leak of ‘usd’
brltty-6.8/minimal/Programs/usb_cdc_acm.c:270:1: enter_function: entry to ‘usbMakeData_CDC_ACM’
brltty-6.8/minimal/Programs/usb_cdc_acm.c:273:14: acquire_memory: allocated here
brltty-6.8/minimal/Programs/usb_cdc_acm.c:273:6: branch_true: following ‘true’ branch (when ‘usd’ is non-NULL)...
brltty-6.8/minimal/Programs/usb_cdc_acm.c:273:6: branch_true: ...to here
brltty-6.8/minimal/Programs/usb_cdc_acm.c:277:27: call_function: calling ‘usbFindCommunicationInterface’ from ‘usbMakeData_CDC_ACM’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def770]
brltty-6.8/minimal/Programs/usb_cdc_acm.c:243:3: warning[-Wanalyzer-malloc-leak]: leak of ‘usd’
brltty-6.8/minimal/Programs/usb_cdc_acm.c:270:1: enter_function: entry to ‘usbMakeData_CDC_ACM’
brltty-6.8/minimal/Programs/usb_cdc_acm.c:273:14: acquire_memory: allocated here
brltty-6.8/minimal/Programs/usb_cdc_acm.c:273:6: branch_true: following ‘true’ branch (when ‘usd’ is non-NULL)...
brltty-6.8/minimal/Programs/usb_cdc_acm.c:273:6: branch_true: ...to here
brltty-6.8/minimal/Programs/usb_cdc_acm.c:277:27: call_function: calling ‘usbFindCommunicationInterface’ from ‘usbMakeData_CDC_ACM’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def771]
brltty-6.8/minimal/Programs/usb_cdc_acm.c:252:10: warning[-Wanalyzer-malloc-leak]: leak of ‘usd’
brltty-6.8/minimal/Programs/usb_cdc_acm.c:270:1: enter_function: entry to ‘usbMakeData_CDC_ACM’
brltty-6.8/minimal/Programs/usb_cdc_acm.c:273:14: acquire_memory: allocated here
brltty-6.8/minimal/Programs/usb_cdc_acm.c:273:6: branch_true: following ‘true’ branch (when ‘usd’ is non-NULL)...
brltty-6.8/minimal/Programs/usb_cdc_acm.c:273:6: branch_true: ...to here
brltty-6.8/minimal/Programs/usb_cdc_acm.c:277:27: call_function: calling ‘usbFindCommunicationInterface’ from ‘usbMakeData_CDC_ACM’
brltty-6.8/minimal/Programs/usb_cdc_acm.c:277:27: return_function: returning to ‘usbMakeData_CDC_ACM’ from ‘usbFindCommunicationInterface’
brltty-6.8/minimal/Programs/usb_cdc_acm.c:277:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/usb_cdc_acm.c:278:21: branch_true: ...to here
brltty-6.8/minimal/Programs/usb_cdc_acm.c:280:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/usb_cdc_acm.c:281:73: branch_true: ...to here
brltty-6.8/minimal/Programs/usb_cdc_acm.c:281:12: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/usb_cdc_acm.c:282:32: branch_true: ...to here
brltty-6.8/minimal/Programs/usb_cdc_acm.c:282:32: call_function: calling ‘usbFindInterruptInputEndpoint’ from ‘usbMakeData_CDC_ACM’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def772]
brltty-6.8/minimal/Programs/usb_cdc_acm.c:264:3: warning[-Wanalyzer-malloc-leak]: leak of ‘usd’
brltty-6.8/minimal/Programs/usb_cdc_acm.c:270:1: enter_function: entry to ‘usbMakeData_CDC_ACM’
brltty-6.8/minimal/Programs/usb_cdc_acm.c:273:14: acquire_memory: allocated here
brltty-6.8/minimal/Programs/usb_cdc_acm.c:273:6: branch_true: following ‘true’ branch (when ‘usd’ is non-NULL)...
brltty-6.8/minimal/Programs/usb_cdc_acm.c:273:6: branch_true: ...to here
brltty-6.8/minimal/Programs/usb_cdc_acm.c:277:27: call_function: calling ‘usbFindCommunicationInterface’ from ‘usbMakeData_CDC_ACM’
brltty-6.8/minimal/Programs/usb_cdc_acm.c:277:27: return_function: returning to ‘usbMakeData_CDC_ACM’ from ‘usbFindCommunicationInterface’
brltty-6.8/minimal/Programs/usb_cdc_acm.c:277:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/usb_cdc_acm.c:278:21: branch_true: ...to here
brltty-6.8/minimal/Programs/usb_cdc_acm.c:280:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/usb_cdc_acm.c:281:73: branch_true: ...to here
brltty-6.8/minimal/Programs/usb_cdc_acm.c:281:12: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/usb_cdc_acm.c:282:32: branch_true: ...to here
brltty-6.8/minimal/Programs/usb_cdc_acm.c:282:32: call_function: calling ‘usbFindInterruptInputEndpoint’ from ‘usbMakeData_CDC_ACM’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def773]
brltty-6.8/minimal/Programs/usb_cdc_acm.c:280:11: warning[-Wanalyzer-malloc-leak]: leak of ‘usd’
brltty-6.8/minimal/Programs/usb_cdc_acm.c:270:1: enter_function: entry to ‘usbMakeData_CDC_ACM’
brltty-6.8/minimal/Programs/usb_cdc_acm.c:273:14: acquire_memory: allocated here
brltty-6.8/minimal/Programs/usb_cdc_acm.c:273:6: branch_true: following ‘true’ branch (when ‘usd’ is non-NULL)...
brltty-6.8/minimal/Programs/usb_cdc_acm.c:273:6: branch_true: ...to here
brltty-6.8/minimal/Programs/usb_cdc_acm.c:277:27: call_function: calling ‘usbFindCommunicationInterface’ from ‘usbMakeData_CDC_ACM’
brltty-6.8/minimal/Programs/usb_cdc_acm.c:277:27: return_function: returning to ‘usbMakeData_CDC_ACM’ from ‘usbFindCommunicationInterface’
brltty-6.8/minimal/Programs/usb_cdc_acm.c:277:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/usb_cdc_acm.c:278:21: branch_true: ...to here
brltty-6.8/minimal/Programs/usb_cdc_acm.c:280:11: throw: if ‘usbClaimInterface’ throws an exception...
brltty-6.8/minimal/Programs/usb_cdc_acm.c:280:11: danger: ‘usd’ leaks here; was allocated at [(2)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def774]
brltty-6.8/minimal/Programs/usb_cdc_acm.c:281:13: warning[-Wanalyzer-malloc-leak]: leak of ‘usd’
brltty-6.8/minimal/Programs/usb_cdc_acm.c:270:1: enter_function: entry to ‘usbMakeData_CDC_ACM’
brltty-6.8/minimal/Programs/usb_cdc_acm.c:273:14: acquire_memory: allocated here
brltty-6.8/minimal/Programs/usb_cdc_acm.c:273:6: branch_true: following ‘true’ branch (when ‘usd’ is non-NULL)...
brltty-6.8/minimal/Programs/usb_cdc_acm.c:273:6: branch_true: ...to here
brltty-6.8/minimal/Programs/usb_cdc_acm.c:277:27: call_function: calling ‘usbFindCommunicationInterface’ from ‘usbMakeData_CDC_ACM’
brltty-6.8/minimal/Programs/usb_cdc_acm.c:277:27: return_function: returning to ‘usbMakeData_CDC_ACM’ from ‘usbFindCommunicationInterface’
brltty-6.8/minimal/Programs/usb_cdc_acm.c:277:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/usb_cdc_acm.c:278:21: branch_true: ...to here
brltty-6.8/minimal/Programs/usb_cdc_acm.c:280:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/usb_cdc_acm.c:281:73: branch_true: ...to here
brltty-6.8/minimal/Programs/usb_cdc_acm.c:281:13: throw: if ‘usbSetAlternative’ throws an exception...
brltty-6.8/minimal/Programs/usb_cdc_acm.c:281:13: danger: ‘usd’ leaks here; was allocated at [(2)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def775]
brltty-6.8/minimal/Programs/usb_cdc_acm.c:283:13: warning[-Wanalyzer-malloc-leak]: leak of ‘usd’
brltty-6.8/minimal/Programs/usb_cdc_acm.c:270:1: enter_function: entry to ‘usbMakeData_CDC_ACM’
brltty-6.8/minimal/Programs/usb_cdc_acm.c:273:14: acquire_memory: allocated here
brltty-6.8/minimal/Programs/usb_cdc_acm.c:273:6: branch_true: following ‘true’ branch (when ‘usd’ is non-NULL)...
brltty-6.8/minimal/Programs/usb_cdc_acm.c:273:6: branch_true: ...to here
brltty-6.8/minimal/Programs/usb_cdc_acm.c:277:27: call_function: calling ‘usbFindCommunicationInterface’ from ‘usbMakeData_CDC_ACM’
brltty-6.8/minimal/Programs/usb_cdc_acm.c:277:27: return_function: returning to ‘usbMakeData_CDC_ACM’ from ‘usbFindCommunicationInterface’
brltty-6.8/minimal/Programs/usb_cdc_acm.c:277:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/usb_cdc_acm.c:278:21: branch_true: ...to here
brltty-6.8/minimal/Programs/usb_cdc_acm.c:280:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/usb_cdc_acm.c:281:73: branch_true: ...to here
brltty-6.8/minimal/Programs/usb_cdc_acm.c:281:12: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/usb_cdc_acm.c:282:32: branch_true: ...to here
brltty-6.8/minimal/Programs/usb_cdc_acm.c:282:32: call_function: calling ‘usbFindInterruptInputEndpoint’ from ‘usbMakeData_CDC_ACM’
brltty-6.8/minimal/Programs/usb_cdc_acm.c:282:32: return_function: returning to ‘usbMakeData_CDC_ACM’ from ‘usbFindInterruptInputEndpoint’
brltty-6.8/minimal/Programs/usb_cdc_acm.c:282:14: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/usb_cdc_acm.c:283:35: branch_true: ...to here
brltty-6.8/minimal/Programs/usb_cdc_acm.c:283:13: throw: if ‘usbBeginInput’ throws an exception...
brltty-6.8/minimal/Programs/usb_cdc_acm.c:283:13: danger: ‘usd’ leaks here; was allocated at [(2)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def776]
brltty-6.8/minimal/Programs/usb_cdc_acm.c:289:9: warning[-Wanalyzer-malloc-leak]: leak of ‘usd’
brltty-6.8/minimal/Programs/usb_cdc_acm.c:270:1: enter_function: entry to ‘usbMakeData_CDC_ACM’
brltty-6.8/minimal/Programs/usb_cdc_acm.c:273:14: acquire_memory: allocated here
brltty-6.8/minimal/Programs/usb_cdc_acm.c:273:6: branch_true: following ‘true’ branch (when ‘usd’ is non-NULL)...
brltty-6.8/minimal/Programs/usb_cdc_acm.c:273:6: branch_true: ...to here
brltty-6.8/minimal/Programs/usb_cdc_acm.c:277:27: call_function: calling ‘usbFindCommunicationInterface’ from ‘usbMakeData_CDC_ACM’
brltty-6.8/minimal/Programs/usb_cdc_acm.c:277:27: return_function: returning to ‘usbMakeData_CDC_ACM’ from ‘usbFindCommunicationInterface’
brltty-6.8/minimal/Programs/usb_cdc_acm.c:277:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/usb_cdc_acm.c:278:21: branch_true: ...to here
brltty-6.8/minimal/Programs/usb_cdc_acm.c:280:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/usb_cdc_acm.c:281:73: branch_true: ...to here
brltty-6.8/minimal/Programs/usb_cdc_acm.c:281:12: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/usb_cdc_acm.c:289:9: branch_false: ...to here
brltty-6.8/minimal/Programs/usb_cdc_acm.c:289:9: throw: if ‘usbReleaseInterface’ throws an exception...
brltty-6.8/minimal/Programs/usb_cdc_acm.c:289:9: danger: ‘usd’ leaks here; was allocated at [(2)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def777]
brltty-6.8/minimal/Programs/usb_hid.c:63:26: warning[-Wanalyzer-malloc-leak]: leak of ‘items’
brltty-6.8/minimal/Programs/usb_hid.c:45:1: enter_function: entry to ‘usbHidGetItems’
brltty-6.8/minimal/Programs/usb_hid.c:51:33: call_function: calling ‘usbHidDescriptor’ from ‘usbHidGetItems’
brltty-6.8/minimal/Programs/usb_hid.c:51:33: return_function: returning to ‘usbHidGetItems’ from ‘usbHidDescriptor’
brltty-6.8/minimal/Programs/usb_hid.c:53:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/usb_hid.c:54:18: branch_true: ...to here
brltty-6.8/minimal/Programs/usb_hid.c:54:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/usb_hid.c:55:47: branch_true: ...to here
brltty-6.8/minimal/Programs/usb_hid.c:62:20: acquire_memory: allocated here
brltty-6.8/minimal/Programs/usb_hid.c:62:10: branch_true: following ‘true’ branch (when ‘items’ is non-NULL)...
brltty-6.8/minimal/Programs/usb_hid.c:67:22: branch_true: ...to here
brltty-6.8/minimal/Programs/usb_hid.c:63:26: throw: if ‘usbControlRead’ throws an exception...
brltty-6.8/minimal/Programs/usb_hid.c:63:26: danger: ‘items’ leaks here; was allocated at [(11)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def778]
brltty-6.8/minimal/Programs/usb_linux.c:83:7: warning[-Wanalyzer-malloc-leak]: leak of ‘usbGetDriver(device, interface)’
brltty-6.8/minimal/Programs/usb_linux.c:222:1: enter_function: entry to ‘usbDisconnectInterface’
brltty-6.8/minimal/Programs/usb_linux.c:223:18: call_function: calling ‘usbGetDriver’ from ‘usbDisconnectInterface’
brltty-6.8/minimal/Programs/usb_linux.c:223:18: return_function: returning to ‘usbDisconnectInterface’ from ‘usbGetDriver’
brltty-6.8/minimal/Programs/usb_linux.c:225:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/usb_linux.c:226:19: branch_true: ...to here
brltty-6.8/minimal/Programs/usb_linux.c:228:5: throw: if ‘logMessage’ throws an exception...
brltty-6.8/minimal/Programs/usb_linux.c:83:7: danger: ‘usbGetDriver(device, interface)’ leaks here; was allocated at [(8)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def779]
brltty-6.8/minimal/Programs/usb_linux.c:96:5: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘*devx.usbfsFile’
brltty-6.8/minimal/Programs/usb_linux.c:329:1: enter_function: entry to ‘usbResetDevice’
brltty-6.8/minimal/Programs/usb_linux.c:334:7: call_function: calling ‘usbOpenUsbfsFile’ from ‘usbResetDevice’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def780]
brltty-6.8/minimal/Programs/usb_linux.c:97:16: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(*devx_11(D)->host.usbfsPath, 524290)’
brltty-6.8/minimal/Programs/usb_linux.c:209:1: enter_function: entry to ‘usbDisconnectDriver’
brltty-6.8/minimal/Programs/usb_linux.c:212:7: call_function: calling ‘usbControlDriver’ from ‘usbDisconnectDriver’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def781]
brltty-6.8/minimal/Programs/usb_linux.c:132:16: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(makePath(*devx_22->host.sysfsPath, "power/autosuspend"), 524289)’
brltty-6.8/minimal/Programs/usb_linux.c:116:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/usb_linux.c:117:18: branch_true: ...to here
brltty-6.8/minimal/Programs/usb_linux.c:119:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/usb_linux.c:126:18: branch_true: ...to here
brltty-6.8/minimal/Programs/usb_linux.c:126:18: acquire_resource: opened here
brltty-6.8/minimal/Programs/usb_linux.c:128:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/usb_linux.c:128:10: branch_true: ...to here
brltty-6.8/minimal/Programs/usb_linux.c:132:16: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/usb_linux.c:133:27: branch_true: ...to here
brltty-6.8/minimal/Programs/usb_linux.c:134:28: throw: if ‘write’ throws an exception...
brltty-6.8/minimal/Programs/usb_linux.c:132:16: danger: ‘open(makePath(*devx_22->host.sysfsPath, "power/autosuspend"), 524289)’ leaks here; was opened at [(5)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def782]
brltty-6.8/minimal/Programs/usb_linux.c:584:21: warning[-Wanalyzer-malloc-leak]: leak of ‘usbMakeURB(*<unknown>.descriptor, buffer, length, context)’
brltty-6.8/minimal/Programs/usb_linux.c:657:1: enter_function: entry to ‘usbSubmitRequest’
brltty-6.8/minimal/Programs/usb_linux.c:669:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/usb_linux.c:670:29: branch_true: ...to here
brltty-6.8/minimal/Programs/usb_linux.c:673:18: call_function: calling ‘usbMakeURB’ from ‘usbSubmitRequest’
brltty-6.8/minimal/Programs/usb_linux.c:673:18: return_function: returning to ‘usbSubmitRequest’ from ‘usbMakeURB’
brltty-6.8/minimal/Programs/usb_linux.c:673:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/usb_linux.c:674:9: branch_true: ...to here
brltty-6.8/minimal/Programs/usb_linux.c:677:13: call_function: calling ‘usbSubmitURB’ from ‘usbSubmitRequest’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def783]
brltty-6.8/minimal/Programs/usb_linux.c:1187:36: warning[-Wanalyzer-malloc-leak]: leak of ‘eptx’
brltty-6.8/minimal/Programs/usb_linux.c:1183:15: acquire_memory: allocated here
brltty-6.8/minimal/Programs/usb_linux.c:1183:6: branch_true: following ‘true’ branch (when ‘eptx’ is non-NULL)...
brltty-6.8/minimal/Programs/usb_linux.c:1184:5: branch_true: ...to here
brltty-6.8/minimal/Programs/usb_linux.c:1187:36: throw: if ‘newQueue’ throws an exception...
brltty-6.8/minimal/Programs/usb_linux.c:1187:36: danger: ‘eptx’ leaks here; was allocated at [(1)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def784]
brltty-6.8/minimal/Programs/usb_linux.c:1197:7: warning[-Wanalyzer-malloc-leak]: leak of ‘eptx’
brltty-6.8/minimal/Programs/usb_linux.c:1183:15: acquire_memory: allocated here
brltty-6.8/minimal/Programs/usb_linux.c:1183:6: branch_true: following ‘true’ branch (when ‘eptx’ is non-NULL)...
brltty-6.8/minimal/Programs/usb_linux.c:1184:5: branch_true: ...to here
brltty-6.8/minimal/Programs/usb_linux.c:1187:8: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/usb_linux.c:1197:7: branch_false: ...to here
brltty-6.8/minimal/Programs/usb_linux.c:1197:7: throw: if ‘logSystemError’ throws an exception...
brltty-6.8/minimal/Programs/usb_linux.c:1197:7: danger: ‘eptx’ leaks here; was allocated at [(1)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def785]
brltty-6.8/minimal/Programs/usb_linux.c:1254:25: warning[-Wanalyzer-malloc-leak]: leak of ‘devx’
brltty-6.8/minimal/Programs/usb_linux.c:1248:15: acquire_memory: allocated here
brltty-6.8/minimal/Programs/usb_linux.c:1248:6: branch_true: following ‘true’ branch (when ‘devx’ is non-NULL)...
brltty-6.8/minimal/Programs/usb_linux.c:1248:6: branch_true: ...to here
brltty-6.8/minimal/Programs/usb_linux.c:1254:25: throw: if ‘usbTestDevice’ throws an exception...
brltty-6.8/minimal/Programs/usb_linux.c:1254:25: danger: ‘devx’ leaks here; was allocated at [(1)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def786]
brltty-6.8/minimal/Programs/usb_linux.c:1272:12: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
brltty-6.8/minimal/Programs/usb_linux.c:1376:1: enter_function: entry to ‘usbAddHostDevice’
brltty-6.8/minimal/Programs/usb_linux.c:1380:6: branch_true: following ‘true’ branch (when ‘host’ is non-NULL)...
brltty-6.8/minimal/Programs/usb_linux.c:1381:28: branch_true: ...to here
brltty-6.8/minimal/Programs/usb_linux.c:1381:28: acquire_memory: allocated here
brltty-6.8/minimal/Programs/usb_linux.c:1381:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/usb_linux.c:1382:25: branch_true: ...to here
brltty-6.8/minimal/Programs/usb_linux.c:1382:25: call_function: calling ‘usbMakeSysfsPath’ from ‘usbAddHostDevice’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def787]
brltty-6.8/minimal/Programs/usb_linux.c:1272:12: warning[-Wanalyzer-malloc-leak]: leak of ‘host’
brltty-6.8/minimal/Programs/usb_linux.c:1376:1: enter_function: entry to ‘usbAddHostDevice’
brltty-6.8/minimal/Programs/usb_linux.c:1380:15: acquire_memory: allocated here
brltty-6.8/minimal/Programs/usb_linux.c:1380:6: branch_true: following ‘true’ branch (when ‘host’ is non-NULL)...
brltty-6.8/minimal/Programs/usb_linux.c:1381:28: branch_true: ...to here
brltty-6.8/minimal/Programs/usb_linux.c:1381:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/usb_linux.c:1382:25: branch_true: ...to here
brltty-6.8/minimal/Programs/usb_linux.c:1382:25: call_function: calling ‘usbMakeSysfsPath’ from ‘usbAddHostDevice’
Error: CPPCHECK_WARNING (CWE-457): [#def788]
brltty-6.8/minimal/Programs/usb_linux.c:1298: error[uninitvar]: Uninitialized variable: &length
Error: GCC_ANALYZER_WARNING (CWE-401): [#def789]
brltty-6.8/minimal/Programs/usb_linux.c:1303:27: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
brltty-6.8/minimal/Programs/usb_linux.c:1376:1: enter_function: entry to ‘usbAddHostDevice’
brltty-6.8/minimal/Programs/usb_linux.c:1380:6: branch_true: following ‘true’ branch (when ‘host’ is non-NULL)...
brltty-6.8/minimal/Programs/usb_linux.c:1381:28: branch_true: ...to here
brltty-6.8/minimal/Programs/usb_linux.c:1381:28: acquire_memory: allocated here
brltty-6.8/minimal/Programs/usb_linux.c:1381:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/usb_linux.c:1382:25: branch_true: ...to here
brltty-6.8/minimal/Programs/usb_linux.c:1382:25: call_function: calling ‘usbMakeSysfsPath’ from ‘usbAddHostDevice’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def790]
brltty-6.8/minimal/Programs/usb_linux.c:1303:27: warning[-Wanalyzer-malloc-leak]: leak of ‘host’
brltty-6.8/minimal/Programs/usb_linux.c:1376:1: enter_function: entry to ‘usbAddHostDevice’
brltty-6.8/minimal/Programs/usb_linux.c:1380:15: acquire_memory: allocated here
brltty-6.8/minimal/Programs/usb_linux.c:1380:6: branch_true: following ‘true’ branch (when ‘host’ is non-NULL)...
brltty-6.8/minimal/Programs/usb_linux.c:1381:28: branch_true: ...to here
brltty-6.8/minimal/Programs/usb_linux.c:1381:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/usb_linux.c:1382:25: branch_true: ...to here
brltty-6.8/minimal/Programs/usb_linux.c:1382:25: call_function: calling ‘usbMakeSysfsPath’ from ‘usbAddHostDevice’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def791]
brltty-6.8/minimal/Programs/usb_linux.c:1325:19: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
brltty-6.8/minimal/Programs/usb_linux.c:1376:1: enter_function: entry to ‘usbAddHostDevice’
brltty-6.8/minimal/Programs/usb_linux.c:1380:6: branch_true: following ‘true’ branch (when ‘host’ is non-NULL)...
brltty-6.8/minimal/Programs/usb_linux.c:1381:28: branch_true: ...to here
brltty-6.8/minimal/Programs/usb_linux.c:1381:28: acquire_memory: allocated here
brltty-6.8/minimal/Programs/usb_linux.c:1381:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/usb_linux.c:1382:25: branch_true: ...to here
brltty-6.8/minimal/Programs/usb_linux.c:1382:25: call_function: calling ‘usbMakeSysfsPath’ from ‘usbAddHostDevice’
brltty-6.8/minimal/Programs/usb_linux.c:1382:25: return_function: returning to ‘usbAddHostDevice’ from ‘usbMakeSysfsPath’
brltty-6.8/minimal/Programs/usb_linux.c:1384:12: call_function: calling ‘usbReadHostDeviceDescriptor’ from ‘usbAddHostDevice’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def792]
brltty-6.8/minimal/Programs/usb_linux.c:1325:19: warning[-Wanalyzer-malloc-leak]: leak of ‘host’
brltty-6.8/minimal/Programs/usb_linux.c:1376:1: enter_function: entry to ‘usbAddHostDevice’
brltty-6.8/minimal/Programs/usb_linux.c:1380:15: acquire_memory: allocated here
brltty-6.8/minimal/Programs/usb_linux.c:1380:6: branch_true: following ‘true’ branch (when ‘host’ is non-NULL)...
brltty-6.8/minimal/Programs/usb_linux.c:1381:28: branch_true: ...to here
brltty-6.8/minimal/Programs/usb_linux.c:1381:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/usb_linux.c:1382:25: branch_true: ...to here
brltty-6.8/minimal/Programs/usb_linux.c:1382:25: call_function: calling ‘usbMakeSysfsPath’ from ‘usbAddHostDevice’
brltty-6.8/minimal/Programs/usb_linux.c:1382:25: return_function: returning to ‘usbAddHostDevice’ from ‘usbMakeSysfsPath’
brltty-6.8/minimal/Programs/usb_linux.c:1384:12: call_function: calling ‘usbReadHostDeviceDescriptor’ from ‘usbAddHostDevice’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def793]
brltty-6.8/minimal/Programs/usb_linux.c:1332:21: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
brltty-6.8/minimal/Programs/usb_linux.c:1376:1: enter_function: entry to ‘usbAddHostDevice’
brltty-6.8/minimal/Programs/usb_linux.c:1380:6: branch_true: following ‘true’ branch (when ‘host’ is non-NULL)...
brltty-6.8/minimal/Programs/usb_linux.c:1381:28: branch_true: ...to here
brltty-6.8/minimal/Programs/usb_linux.c:1381:28: acquire_memory: allocated here
brltty-6.8/minimal/Programs/usb_linux.c:1381:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/usb_linux.c:1382:25: branch_true: ...to here
brltty-6.8/minimal/Programs/usb_linux.c:1382:25: call_function: calling ‘usbMakeSysfsPath’ from ‘usbAddHostDevice’
brltty-6.8/minimal/Programs/usb_linux.c:1382:25: return_function: returning to ‘usbAddHostDevice’ from ‘usbMakeSysfsPath’
brltty-6.8/minimal/Programs/usb_linux.c:1384:12: call_function: calling ‘usbReadHostDeviceDescriptor’ from ‘usbAddHostDevice’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def794]
brltty-6.8/minimal/Programs/usb_linux.c:1332:21: warning[-Wanalyzer-malloc-leak]: leak of ‘host’
brltty-6.8/minimal/Programs/usb_linux.c:1376:1: enter_function: entry to ‘usbAddHostDevice’
brltty-6.8/minimal/Programs/usb_linux.c:1380:15: acquire_memory: allocated here
brltty-6.8/minimal/Programs/usb_linux.c:1380:6: branch_true: following ‘true’ branch (when ‘host’ is non-NULL)...
brltty-6.8/minimal/Programs/usb_linux.c:1381:28: branch_true: ...to here
brltty-6.8/minimal/Programs/usb_linux.c:1381:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/usb_linux.c:1382:25: branch_true: ...to here
brltty-6.8/minimal/Programs/usb_linux.c:1382:25: call_function: calling ‘usbMakeSysfsPath’ from ‘usbAddHostDevice’
brltty-6.8/minimal/Programs/usb_linux.c:1382:25: return_function: returning to ‘usbAddHostDevice’ from ‘usbMakeSysfsPath’
brltty-6.8/minimal/Programs/usb_linux.c:1384:12: call_function: calling ‘usbReadHostDeviceDescriptor’ from ‘usbAddHostDevice’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def795]
brltty-6.8/minimal/Programs/usb_linux.c:1348:12: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
brltty-6.8/minimal/Programs/usb_linux.c:1376:1: enter_function: entry to ‘usbAddHostDevice’
brltty-6.8/minimal/Programs/usb_linux.c:1380:6: branch_true: following ‘true’ branch (when ‘host’ is non-NULL)...
brltty-6.8/minimal/Programs/usb_linux.c:1381:28: branch_true: ...to here
brltty-6.8/minimal/Programs/usb_linux.c:1381:28: acquire_memory: allocated here
brltty-6.8/minimal/Programs/usb_linux.c:1381:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/usb_linux.c:1382:25: branch_true: ...to here
brltty-6.8/minimal/Programs/usb_linux.c:1384:12: call_function: calling ‘usbReadHostDeviceDescriptor’ from ‘usbAddHostDevice’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def796]
brltty-6.8/minimal/Programs/usb_linux.c:1348:12: warning[-Wanalyzer-malloc-leak]: leak of ‘host’
brltty-6.8/minimal/Programs/usb_linux.c:1376:1: enter_function: entry to ‘usbAddHostDevice’
brltty-6.8/minimal/Programs/usb_linux.c:1380:15: acquire_memory: allocated here
brltty-6.8/minimal/Programs/usb_linux.c:1380:6: branch_true: following ‘true’ branch (when ‘host’ is non-NULL)...
brltty-6.8/minimal/Programs/usb_linux.c:1381:28: branch_true: ...to here
brltty-6.8/minimal/Programs/usb_linux.c:1381:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/usb_linux.c:1382:25: branch_true: ...to here
brltty-6.8/minimal/Programs/usb_linux.c:1384:12: call_function: calling ‘usbReadHostDeviceDescriptor’ from ‘usbAddHostDevice’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def797]
brltty-6.8/minimal/Programs/usb_linux.c:1352:17: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
brltty-6.8/minimal/Programs/usb_linux.c:1376:1: enter_function: entry to ‘usbAddHostDevice’
brltty-6.8/minimal/Programs/usb_linux.c:1380:6: branch_true: following ‘true’ branch (when ‘host’ is non-NULL)...
brltty-6.8/minimal/Programs/usb_linux.c:1381:28: branch_true: ...to here
brltty-6.8/minimal/Programs/usb_linux.c:1381:28: acquire_memory: allocated here
brltty-6.8/minimal/Programs/usb_linux.c:1381:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/usb_linux.c:1382:25: branch_true: ...to here
brltty-6.8/minimal/Programs/usb_linux.c:1384:12: call_function: calling ‘usbReadHostDeviceDescriptor’ from ‘usbAddHostDevice’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def798]
brltty-6.8/minimal/Programs/usb_linux.c:1355:7: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘file’
brltty-6.8/minimal/Programs/usb_linux.c:1348:12: acquire_resource: opened here
brltty-6.8/minimal/Programs/usb_linux.c:1351:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/usb_linux.c:1352:28: branch_true: ...to here
brltty-6.8/minimal/Programs/usb_linux.c:1354:8: branch_true: following ‘true’ branch (when ‘count == -1’)...
brltty-6.8/minimal/Programs/usb_linux.c:1355:7: branch_true: ...to here
brltty-6.8/minimal/Programs/usb_linux.c:1355:7: throw: if ‘logSystemError’ throws an exception...
brltty-6.8/minimal/Programs/usb_linux.c:1355:7: danger: ‘file’ leaks here; was opened at [(1)](sarif:/runs/0/results/26/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def799]
brltty-6.8/minimal/Programs/usb_linux.c:1355:7: warning[-Wanalyzer-malloc-leak]: leak of ‘host’
brltty-6.8/minimal/Programs/usb_linux.c:1376:1: enter_function: entry to ‘usbAddHostDevice’
brltty-6.8/minimal/Programs/usb_linux.c:1380:15: acquire_memory: allocated here
brltty-6.8/minimal/Programs/usb_linux.c:1380:6: branch_true: following ‘true’ branch (when ‘host’ is non-NULL)...
brltty-6.8/minimal/Programs/usb_linux.c:1381:28: branch_true: ...to here
brltty-6.8/minimal/Programs/usb_linux.c:1381:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/usb_linux.c:1382:25: branch_true: ...to here
brltty-6.8/minimal/Programs/usb_linux.c:1384:12: call_function: calling ‘usbReadHostDeviceDescriptor’ from ‘usbAddHostDevice’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def800]
brltty-6.8/minimal/Programs/usb_linux.c:1357:7: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘file’
brltty-6.8/minimal/Programs/usb_linux.c:1348:12: acquire_resource: opened here
brltty-6.8/minimal/Programs/usb_linux.c:1351:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/usb_linux.c:1352:28: branch_true: ...to here
brltty-6.8/minimal/Programs/usb_linux.c:1354:8: branch_false: following ‘false’ branch (when ‘count != -1’)...
brltty-6.8/minimal/Programs/usb_linux.c:1356:15: branch_false: ...to here
brltty-6.8/minimal/Programs/usb_linux.c:1356:15: branch_true: following ‘true’ branch (when ‘count != 18’)...
brltty-6.8/minimal/Programs/usb_linux.c:1357:7: branch_true: ...to here
brltty-6.8/minimal/Programs/usb_linux.c:1357:7: throw: if ‘logMessage’ throws an exception...
brltty-6.8/minimal/Programs/usb_linux.c:1357:7: danger: ‘file’ leaks here; was opened at [(1)](sarif:/runs/0/results/28/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def801]
brltty-6.8/minimal/Programs/usb_linux.c:1357:7: warning[-Wanalyzer-malloc-leak]: leak of ‘host’
brltty-6.8/minimal/Programs/usb_linux.c:1376:1: enter_function: entry to ‘usbAddHostDevice’
brltty-6.8/minimal/Programs/usb_linux.c:1380:15: acquire_memory: allocated here
brltty-6.8/minimal/Programs/usb_linux.c:1380:6: branch_true: following ‘true’ branch (when ‘host’ is non-NULL)...
brltty-6.8/minimal/Programs/usb_linux.c:1381:28: branch_true: ...to here
brltty-6.8/minimal/Programs/usb_linux.c:1381:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/usb_linux.c:1382:25: branch_true: ...to here
brltty-6.8/minimal/Programs/usb_linux.c:1384:12: call_function: calling ‘usbReadHostDeviceDescriptor’ from ‘usbAddHostDevice’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def802]
brltty-6.8/minimal/Programs/usb_linux.c:1369:5: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘file’
brltty-6.8/minimal/Programs/usb_linux.c:1348:12: acquire_resource: opened here
brltty-6.8/minimal/Programs/usb_linux.c:1351:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/usb_linux.c:1352:28: branch_true: ...to here
brltty-6.8/minimal/Programs/usb_linux.c:1369:5: throw: if ‘close’ throws an exception...
brltty-6.8/minimal/Programs/usb_linux.c:1369:5: danger: ‘file’ leaks here; was opened at [(1)](sarif:/runs/0/results/30/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def803]
brltty-6.8/minimal/Programs/usb_linux.c:1369:5: warning[-Wanalyzer-malloc-leak]: leak of ‘host’
brltty-6.8/minimal/Programs/usb_linux.c:1376:1: enter_function: entry to ‘usbAddHostDevice’
brltty-6.8/minimal/Programs/usb_linux.c:1380:15: acquire_memory: allocated here
brltty-6.8/minimal/Programs/usb_linux.c:1380:6: branch_true: following ‘true’ branch (when ‘host’ is non-NULL)...
brltty-6.8/minimal/Programs/usb_linux.c:1381:28: branch_true: ...to here
brltty-6.8/minimal/Programs/usb_linux.c:1381:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/usb_linux.c:1382:25: branch_true: ...to here
brltty-6.8/minimal/Programs/usb_linux.c:1384:12: call_function: calling ‘usbReadHostDeviceDescriptor’ from ‘usbAddHostDevice’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def804]
brltty-6.8/minimal/Programs/usb_linux.c:1386:18: warning[-Wanalyzer-malloc-leak]: leak of ‘host’
brltty-6.8/minimal/Programs/usb_linux.c:1376:1: enter_function: entry to ‘usbAddHostDevice’
brltty-6.8/minimal/Programs/usb_linux.c:1380:15: acquire_memory: allocated here
brltty-6.8/minimal/Programs/usb_linux.c:1380:6: branch_true: following ‘true’ branch (when ‘host’ is non-NULL)...
brltty-6.8/minimal/Programs/usb_linux.c:1381:28: branch_true: ...to here
brltty-6.8/minimal/Programs/usb_linux.c:1381:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/usb_linux.c:1382:25: branch_true: ...to here
brltty-6.8/minimal/Programs/usb_linux.c:1384:12: call_function: calling ‘usbReadHostDeviceDescriptor’ from ‘usbAddHostDevice’
brltty-6.8/minimal/Programs/usb_linux.c:1384:12: return_function: returning to ‘usbAddHostDevice’ from ‘usbReadHostDeviceDescriptor’
brltty-6.8/minimal/Programs/usb_linux.c:1384:10: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/usb_linux.c:1386:18: branch_false: ...to here
brltty-6.8/minimal/Programs/usb_linux.c:1386:18: throw: if ‘enqueueItem’ throws an exception...
brltty-6.8/minimal/Programs/usb_linux.c:1386:18: danger: ‘host’ leaks here; was allocated at [(2)](sarif:/runs/0/results/32/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def805]
brltty-6.8/minimal/Programs/usb_linux.c:1393:7: warning[-Wanalyzer-malloc-leak]: leak of ‘host’
brltty-6.8/minimal/Programs/usb_linux.c:1380:15: acquire_memory: allocated here
brltty-6.8/minimal/Programs/usb_linux.c:1380:6: branch_true: following ‘true’ branch (when ‘host’ is non-NULL)...
brltty-6.8/minimal/Programs/usb_linux.c:1381:28: branch_true: ...to here
brltty-6.8/minimal/Programs/usb_linux.c:1381:8: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/usb_linux.c:1393:7: branch_false: ...to here
brltty-6.8/minimal/Programs/usb_linux.c:1393:7: throw: if ‘logSystemError’ throws an exception...
brltty-6.8/minimal/Programs/usb_linux.c:1393:7: danger: ‘host’ leaks here; was allocated at [(1)](sarif:/runs/0/results/33/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def806]
brltty-6.8/minimal/Programs/usb_linux.c:1414:21: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(root)’
brltty-6.8/minimal/Programs/usb_linux.c:1410:20: acquire_memory: allocated here
brltty-6.8/minimal/Programs/usb_linux.c:1410:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/usb_linux.c:1410:6: branch_true: ...to here
brltty-6.8/minimal/Programs/usb_linux.c:1414:21: throw: if ‘readdir’ throws an exception...
brltty-6.8/minimal/Programs/usb_linux.c:1414:21: danger: ‘opendir(root)’ leaks here; was allocated at [(1)](sarif:/runs/0/results/34/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def807]
brltty-6.8/minimal/Programs/usb_serial.c:109:7: warning[-Wanalyzer-malloc-leak]: leak of ‘target’
brltty-6.8/minimal/Programs/usb_serial.c:95:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/usb_serial.c:98:22: branch_true: ...to here
brltty-6.8/minimal/Programs/usb_serial.c:98:22: acquire_memory: allocated here
brltty-6.8/minimal/Programs/usb_serial.c:98:8: branch_false: following ‘false’ branch (when ‘adapters’ is non-NULL)...
brltty-6.8/minimal/Programs/usb_serial.c:105:44: branch_false: ...to here
brltty-6.8/minimal/Programs/usb_serial.c:108:14: branch_false: following ‘false’ branch (when ‘source >= end’)...
brltty-6.8/minimal/Programs/usb_serial.c:109:7: branch_false: ...to here
brltty-6.8/minimal/Programs/usb_serial.c:109:7: throw: if ‘qsort’ throws an exception...
brltty-6.8/minimal/Programs/usb_serial.c:109:7: danger: ‘target’ leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def808]
brltty-6.8/minimal/Programs/variables.c:54:7: warning[-Wanalyzer-malloc-leak]: leak of ‘variable’
brltty-6.8/minimal/Programs/variables.c:208:1: enter_function: entry to ‘findVariable’
brltty-6.8/minimal/Programs/variables.c:221:21: acquire_memory: allocated here
brltty-6.8/minimal/Programs/variables.c:221:8: branch_true: following ‘true’ branch (when ‘variable’ is non-NULL)...
brltty-6.8/minimal/Programs/variables.c:221:8: branch_true: ...to here
brltty-6.8/minimal/Programs/variables.c:226:11: call_function: calling ‘setCharacterString’ from ‘findVariable’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def809]
brltty-6.8/minimal/Programs/variables.c:111:27: warning[-Wanalyzer-malloc-leak]: leak of ‘vnl’
brltty-6.8/minimal/Programs/variables.c:325:1: enter_function: entry to ‘getGlobalVariables’
brltty-6.8/minimal/Programs/variables.c:328:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/variables.c:331:17: branch_true: ...to here
brltty-6.8/minimal/Programs/variables.c:331:17: call_function: calling ‘newVariableNestingLevel’ from ‘getGlobalVariables’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def810]
brltty-6.8/minimal/Programs/variables.c:227:13: warning[-Wanalyzer-malloc-leak]: leak of ‘variable’
brltty-6.8/minimal/Programs/variables.c:208:1: enter_function: entry to ‘findVariable’
brltty-6.8/minimal/Programs/variables.c:221:21: acquire_memory: allocated here
brltty-6.8/minimal/Programs/variables.c:221:8: branch_true: following ‘true’ branch (when ‘variable’ is non-NULL)...
brltty-6.8/minimal/Programs/variables.c:221:8: branch_true: ...to here
brltty-6.8/minimal/Programs/variables.c:226:11: call_function: calling ‘setCharacterString’ from ‘findVariable’
brltty-6.8/minimal/Programs/variables.c:226:11: return_function: returning to ‘findVariable’ from ‘setCharacterString’
brltty-6.8/minimal/Programs/variables.c:226:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/variables.c:227:13: branch_true: ...to here
brltty-6.8/minimal/Programs/variables.c:227:13: throw: if ‘enqueueItem’ throws an exception...
brltty-6.8/minimal/Programs/variables.c:227:13: danger: ‘variable’ leaks here; was allocated at [(2)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def811]
brltty-6.8/minimal/Programs/xbrlapi.c:415:21: warning[-Wanalyzer-malloc-leak]: leak of ‘cur’
brltty-6.8/minimal/Programs/xbrlapi.c:525:13: enter_function: entry to ‘add_window’
brltty-6.8/minimal/Programs/xbrlapi.c:528:15: acquire_memory: allocated here
brltty-6.8/minimal/Programs/xbrlapi.c:528:6: branch_false: following ‘false’ branch (when ‘cur’ is non-NULL)...
brltty-6.8/minimal/Programs/xbrlapi.c:532:3: branch_false: ...to here
brltty-6.8/minimal/Programs/xbrlapi.c:536:18: call_function: inlined call to ‘getWindowName’ from ‘add_window’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def812]
brltty-6.8/minimal/Programs/xbrlapi.c:429:10: warning[-Wanalyzer-malloc-leak]: leak of ‘cur’
brltty-6.8/minimal/Programs/xbrlapi.c:525:13: enter_function: entry to ‘add_window’
brltty-6.8/minimal/Programs/xbrlapi.c:528:15: acquire_memory: allocated here
brltty-6.8/minimal/Programs/xbrlapi.c:528:6: branch_false: following ‘false’ branch (when ‘cur’ is non-NULL)...
brltty-6.8/minimal/Programs/xbrlapi.c:532:3: branch_false: ...to here
brltty-6.8/minimal/Programs/xbrlapi.c:536:18: call_function: inlined call to ‘getWindowName’ from ‘add_window’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def813]
brltty-6.8/minimal/Programs/xbrlapi.c:433:21: warning[-Wanalyzer-malloc-leak]: leak of ‘cur’
brltty-6.8/minimal/Programs/xbrlapi.c:525:13: enter_function: entry to ‘add_window’
brltty-6.8/minimal/Programs/xbrlapi.c:528:15: acquire_memory: allocated here
brltty-6.8/minimal/Programs/xbrlapi.c:528:6: branch_false: following ‘false’ branch (when ‘cur’ is non-NULL)...
brltty-6.8/minimal/Programs/xbrlapi.c:532:3: branch_false: ...to here
brltty-6.8/minimal/Programs/xbrlapi.c:536:18: call_function: inlined call to ‘getWindowName’ from ‘add_window’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def814]
brltty-6.8/minimal/Programs/xbrlapi.c:446:10: warning[-Wanalyzer-malloc-leak]: leak of ‘cur’
brltty-6.8/minimal/Programs/xbrlapi.c:780:13: enter_function: entry to ‘toX_f’
brltty-6.8/minimal/Programs/xbrlapi.c:802:6: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/xbrlapi.c:804:8: branch_false: ...to here
brltty-6.8/minimal/Programs/xbrlapi.c:804:6: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/xbrlapi.c:807:15: branch_false: ...to here
brltty-6.8/minimal/Programs/xbrlapi.c:812:8: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/xbrlapi.c:814:10: branch_false: ...to here
brltty-6.8/minimal/Programs/xbrlapi.c:814:8: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/xbrlapi.c:816:10: branch_false: ...to here
brltty-6.8/minimal/Programs/xbrlapi.c:816:8: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/xbrlapi.c:1175:1: branch_false: ...to here
brltty-6.8/minimal/Programs/xbrlapi.c:828:6: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/xbrlapi.c:835:19: branch_false: ...to here
brltty-6.8/minimal/Programs/xbrlapi.c:842:8: branch_false: following ‘false’ branch (when the strings are equal)...
brltty-6.8/minimal/Programs/xbrlapi.c:851:3: branch_false: ...to here
brltty-6.8/minimal/Programs/xbrlapi.c:851:12: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/xbrlapi.c:852:10: branch_true: ...to here
brltty-6.8/minimal/Programs/xbrlapi.c:853:10: call_function: calling ‘grabWindows’ from ‘toX_f’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def815]
brltty-6.8/minimal/Programs/xbrlapi.c:450:5: warning[-Wanalyzer-malloc-leak]: leak of ‘cur’
brltty-6.8/minimal/Programs/xbrlapi.c:780:13: enter_function: entry to ‘toX_f’
brltty-6.8/minimal/Programs/xbrlapi.c:802:6: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/xbrlapi.c:804:8: branch_false: ...to here
brltty-6.8/minimal/Programs/xbrlapi.c:804:6: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/xbrlapi.c:807:15: branch_false: ...to here
brltty-6.8/minimal/Programs/xbrlapi.c:812:8: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/xbrlapi.c:814:10: branch_false: ...to here
brltty-6.8/minimal/Programs/xbrlapi.c:814:8: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/xbrlapi.c:816:10: branch_false: ...to here
brltty-6.8/minimal/Programs/xbrlapi.c:816:8: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/xbrlapi.c:1175:1: branch_false: ...to here
brltty-6.8/minimal/Programs/xbrlapi.c:828:6: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/xbrlapi.c:835:19: branch_false: ...to here
brltty-6.8/minimal/Programs/xbrlapi.c:842:8: branch_false: following ‘false’ branch (when the strings are equal)...
brltty-6.8/minimal/Programs/xbrlapi.c:851:3: branch_false: ...to here
brltty-6.8/minimal/Programs/xbrlapi.c:851:12: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/xbrlapi.c:852:10: branch_true: ...to here
brltty-6.8/minimal/Programs/xbrlapi.c:853:10: call_function: calling ‘grabWindows’ from ‘toX_f’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def816]
brltty-6.8/minimal/Programs/xbrlapi.c:456:3: warning[-Wanalyzer-malloc-leak]: leak of ‘cur’
brltty-6.8/minimal/Programs/xbrlapi.c:780:13: enter_function: entry to ‘toX_f’
brltty-6.8/minimal/Programs/xbrlapi.c:802:6: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/xbrlapi.c:804:8: branch_false: ...to here
brltty-6.8/minimal/Programs/xbrlapi.c:804:6: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/xbrlapi.c:807:15: branch_false: ...to here
brltty-6.8/minimal/Programs/xbrlapi.c:812:8: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/xbrlapi.c:814:10: branch_false: ...to here
brltty-6.8/minimal/Programs/xbrlapi.c:814:8: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/xbrlapi.c:816:10: branch_false: ...to here
brltty-6.8/minimal/Programs/xbrlapi.c:816:8: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/xbrlapi.c:1175:1: branch_false: ...to here
brltty-6.8/minimal/Programs/xbrlapi.c:828:6: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/xbrlapi.c:835:19: branch_false: ...to here
brltty-6.8/minimal/Programs/xbrlapi.c:842:8: branch_false: following ‘false’ branch (when the strings are equal)...
brltty-6.8/minimal/Programs/xbrlapi.c:851:3: branch_false: ...to here
brltty-6.8/minimal/Programs/xbrlapi.c:851:12: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/xbrlapi.c:852:10: branch_true: ...to here
brltty-6.8/minimal/Programs/xbrlapi.c:853:10: call_function: calling ‘grabWindows’ from ‘toX_f’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def817]
brltty-6.8/minimal/Programs/xbrlapi.c:456:3: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
brltty-6.8/minimal/Programs/xbrlapi.c:432:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/xbrlapi.c:432:6: branch_true: ...to here
brltty-6.8/minimal/Programs/xbrlapi.c:440:8: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/xbrlapi.c:444:25: branch_false: ...to here
brltty-6.8/minimal/Programs/xbrlapi.c:449:6: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/xbrlapi.c:454:8: branch_false: ...to here
brltty-6.8/minimal/Programs/xbrlapi.c:455:9: acquire_memory: allocated here
brltty-6.8/minimal/Programs/xbrlapi.c:456:3: throw: if ‘XFree’ throws an exception...
brltty-6.8/minimal/Programs/xbrlapi.c:456:3: danger: ‘ret’ leaks here; was allocated at [(7)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def818]
brltty-6.8/minimal/Programs/xbrlapi.c:457:3: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
brltty-6.8/minimal/Programs/xbrlapi.c:432:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/xbrlapi.c:432:6: branch_true: ...to here
brltty-6.8/minimal/Programs/xbrlapi.c:440:8: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/xbrlapi.c:444:25: branch_false: ...to here
brltty-6.8/minimal/Programs/xbrlapi.c:449:6: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/xbrlapi.c:454:8: branch_false: ...to here
brltty-6.8/minimal/Programs/xbrlapi.c:455:9: acquire_memory: allocated here
brltty-6.8/minimal/Programs/xbrlapi.c:457:3: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/xbrlapi.c:457:3: branch_true: ...to here
brltty-6.8/minimal/Programs/xbrlapi.c:457:3: throw: if ‘fflush’ throws an exception...
brltty-6.8/minimal/Programs/xbrlapi.c:457:3: danger: ‘ret’ leaks here; was allocated at [(7)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def819]
brltty-6.8/minimal/Programs/xbrlapi.c:468:11: warning[-Wanalyzer-malloc-leak]: leak of ‘input’
brltty-6.8/minimal/Programs/xbrlapi.c:432:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/xbrlapi.c:432:6: branch_true: ...to here
brltty-6.8/minimal/Programs/xbrlapi.c:440:8: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/xbrlapi.c:444:25: branch_false: ...to here
brltty-6.8/minimal/Programs/xbrlapi.c:449:6: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/xbrlapi.c:454:8: branch_false: ...to here
brltty-6.8/minimal/Programs/xbrlapi.c:455:9: acquire_memory: allocated here
brltty-6.8/minimal/Programs/xbrlapi.c:461:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/xbrlapi.c:468:11: throw: if ‘iconv’ throws an exception...
brltty-6.8/minimal/Programs/xbrlapi.c:468:11: danger: ‘input’ leaks here; was allocated at [(7)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def820]
brltty-6.8/minimal/Programs/xbrlapi.c:468:11: warning[-Wanalyzer-malloc-leak]: leak of ‘output’
brltty-6.8/minimal/Programs/xbrlapi.c:432:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/xbrlapi.c:432:6: branch_true: ...to here
brltty-6.8/minimal/Programs/xbrlapi.c:440:8: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/xbrlapi.c:444:25: branch_false: ...to here
brltty-6.8/minimal/Programs/xbrlapi.c:449:6: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/xbrlapi.c:454:8: branch_false: ...to here
brltty-6.8/minimal/Programs/xbrlapi.c:461:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/xbrlapi.c:465:22: acquire_memory: allocated here
brltty-6.8/minimal/Programs/xbrlapi.c:468:11: throw: if ‘iconv’ throws an exception...
brltty-6.8/minimal/Programs/xbrlapi.c:468:11: danger: ‘output’ leaks here; was allocated at [(9)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def821]
brltty-6.8/minimal/Programs/xbrlapi.c:473:9: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
brltty-6.8/minimal/Programs/xbrlapi.c:432:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/xbrlapi.c:432:6: branch_true: ...to here
brltty-6.8/minimal/Programs/xbrlapi.c:440:8: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/xbrlapi.c:444:25: branch_false: ...to here
brltty-6.8/minimal/Programs/xbrlapi.c:449:6: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/xbrlapi.c:454:8: branch_false: ...to here
brltty-6.8/minimal/Programs/xbrlapi.c:455:9: acquire_memory: allocated here
brltty-6.8/minimal/Programs/xbrlapi.c:461:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/xbrlapi.c:468:10: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/xbrlapi.c:471:9: branch_false: ...to here
brltty-6.8/minimal/Programs/xbrlapi.c:473:9: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/xbrlapi.c:473:9: branch_true: ...to here
brltty-6.8/minimal/Programs/xbrlapi.c:473:9: throw: if ‘fflush’ throws an exception...
brltty-6.8/minimal/Programs/xbrlapi.c:473:9: danger: ‘ret’ leaks here; was allocated at [(12)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/11)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def822]
brltty-6.8/minimal/Programs/xbrlapi.c:500:9: warning[-Wanalyzer-malloc-leak]: leak of ‘name’
brltty-6.8/minimal/Programs/xbrlapi.c:494:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/xbrlapi.c:495:9: branch_true: ...to here
brltty-6.8/minimal/Programs/xbrlapi.c:495:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/xbrlapi.c:496:11: branch_true: ...to here
brltty-6.8/minimal/Programs/xbrlapi.c:498:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/xbrlapi.c:499:16: branch_true: ...to here
brltty-6.8/minimal/Programs/xbrlapi.c:499:16: acquire_memory: allocated here
brltty-6.8/minimal/Programs/xbrlapi.c:500:9: throw: if ‘XFree’ throws an exception...
brltty-6.8/minimal/Programs/xbrlapi.c:500:9: danger: ‘name’ leaks here; was allocated at [(7)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def823]
brltty-6.8/minimal/Programs/xbrlapi.c:504:5: warning[-Wanalyzer-malloc-leak]: leak of ‘name’
brltty-6.8/minimal/Programs/xbrlapi.c:494:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/xbrlapi.c:495:9: branch_true: ...to here
brltty-6.8/minimal/Programs/xbrlapi.c:495:8: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/xbrlapi.c:496:11: branch_true: ...to here
brltty-6.8/minimal/Programs/xbrlapi.c:498:10: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/xbrlapi.c:499:16: branch_true: ...to here
brltty-6.8/minimal/Programs/xbrlapi.c:499:16: acquire_memory: allocated here
brltty-6.8/minimal/Programs/xbrlapi.c:504:5: throw: if ‘XFree’ throws an exception...
brltty-6.8/minimal/Programs/xbrlapi.c:504:5: danger: ‘name’ leaks here; was allocated at [(7)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def824]
brltty-6.8/minimal/Programs/xbrlapi.c:702:7: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘state’ where non-null expected
brltty-6.8/minimal/Programs/xbrlapi.c:708:13: enter_function: entry to ‘setFocus’
brltty-6.8/minimal/Programs/xbrlapi.c:716:6: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/xbrlapi.c:720:21: branch_false: ...to here
brltty-6.8/minimal/Programs/xbrlapi.c:730:6: branch_true: following ‘true’ branch (when ‘commandName’ is NULL)...
brltty-6.8/minimal/Programs/xbrlapi.c:730:35: branch_true: ...to here
brltty-6.8/minimal/Programs/xbrlapi.c:730:35: acquire_memory: this call could return NULL
brltty-6.8/minimal/Programs/xbrlapi.c:732:3: call_function: inlined call to ‘writeStateToFile’ from ‘setFocus’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def825]
brltty-6.8/minimal/Programs/xbrlapi.c:726:3: warning[-Wanalyzer-malloc-leak]: leak of ‘commandName’
brltty-6.8/minimal/Programs/xbrlapi.c:708:13: enter_function: entry to ‘setFocus’
brltty-6.8/minimal/Programs/xbrlapi.c:712:27: call_function: calling ‘window_of_Window’ from ‘setFocus’
brltty-6.8/minimal/Programs/xbrlapi.c:712:27: return_function: returning to ‘setFocus’ from ‘window_of_Window’
brltty-6.8/minimal/Programs/xbrlapi.c:716:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/xbrlapi.c:717:5: branch_true: ...to here
brltty-6.8/minimal/Programs/xbrlapi.c:718:19: call_function: calling ‘getWindowApplicationName’ from ‘setFocus’
brltty-6.8/minimal/Programs/xbrlapi.c:718:19: return_function: returning to ‘setFocus’ from ‘getWindowApplicationName’
brltty-6.8/minimal/Programs/xbrlapi.c:726:3: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/xbrlapi.c:726:3: branch_true: ...to here
brltty-6.8/minimal/Programs/xbrlapi.c:726:3: throw: if ‘fflush’ throws an exception...
brltty-6.8/minimal/Programs/xbrlapi.c:726:3: danger: ‘commandName’ leaks here; was allocated at [(17)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/16)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def826]
brltty-6.8/minimal/Programs/xbrlapi.c:731:3: warning[-Wanalyzer-malloc-leak]: leak of ‘commandName’
brltty-6.8/minimal/Programs/xbrlapi.c:708:13: enter_function: entry to ‘setFocus’
brltty-6.8/minimal/Programs/xbrlapi.c:712:27: call_function: calling ‘window_of_Window’ from ‘setFocus’
brltty-6.8/minimal/Programs/xbrlapi.c:712:27: return_function: returning to ‘setFocus’ from ‘window_of_Window’
brltty-6.8/minimal/Programs/xbrlapi.c:716:6: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/xbrlapi.c:717:5: branch_true: ...to here
brltty-6.8/minimal/Programs/xbrlapi.c:718:19: call_function: calling ‘getWindowApplicationName’ from ‘setFocus’
brltty-6.8/minimal/Programs/xbrlapi.c:718:19: return_function: returning to ‘setFocus’ from ‘getWindowApplicationName’
brltty-6.8/minimal/Programs/xbrlapi.c:728:6: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/xbrlapi.c:730:6: branch_false: ...to here
brltty-6.8/minimal/Programs/xbrlapi.c:730:6: branch_false: following ‘false’ branch (when ‘commandName’ is non-NULL)...
brltty-6.8/minimal/Programs/xbrlapi.c:731:3: branch_false: ...to here
brltty-6.8/minimal/Programs/xbrlapi.c:731:3: branch_true: following ‘true’ branch...
brltty-6.8/minimal/Programs/xbrlapi.c:731:3: branch_true: ...to here
brltty-6.8/minimal/Programs/xbrlapi.c:731:3: throw: if ‘fflush’ throws an exception...
brltty-6.8/minimal/Programs/xbrlapi.c:731:3: danger: ‘commandName’ leaks here; was allocated at [(17)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/16)
Error: GCC_ANALYZER_WARNING (CWE-479): [#def827]
brltty-6.8/minimal/Programs/xbrlapi.c:1183:3: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘exit’ from within signal handler
brltty-6.8/minimal/Programs/xbrlapi.c:1187:1: enter_function: entry to ‘main’
brltty-6.8/minimal/Programs/xbrlapi.c:1198:5: branch_false: following ‘false’ branch...
brltty-6.8/minimal/Programs/xbrlapi.c:1183:3: danger: call to ‘exit’ from within signal handler
Error: CPPCHECK_WARNING (CWE-457): [#def828]
brltty-6.8/python3/Bindings/Java/bindings.c:1270: warning[uninitvar]: Uninitialized variable: booleans
Error: GCC_ANALYZER_WARNING (CWE-401): [#def829]
brltty-6.8/python3/Bindings/Java/bindings.c:1409:34: warning[-Wanalyzer-malloc-leak]: leak of ‘wpd’
brltty-6.8/python3/Bindings/Java/bindings.c:1397:3: branch_false: following ‘false’ branch...
brltty-6.8/python3/Bindings/Java/bindings.c:1402:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Bindings/Java/bindings.c:1405:16: branch_true: ...to here
brltty-6.8/python3/Bindings/Java/bindings.c:1405:16: acquire_memory: allocated here
brltty-6.8/python3/Bindings/Java/bindings.c:1405:8: branch_true: following ‘true’ branch (when ‘wpd’ is non-NULL)...
brltty-6.8/python3/Bindings/Java/bindings.c:1405:8: branch_true: ...to here
brltty-6.8/python3/Bindings/Java/bindings.c:1409:34: throw: if the called function throws an exception...
brltty-6.8/python3/Bindings/Java/bindings.c:1409:34: danger: ‘wpd’ leaks here; was allocated at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def830]
brltty-6.8/python3/Bindings/Java/bindings.c:1410:30: warning[-Wanalyzer-malloc-leak]: leak of ‘wpd’
brltty-6.8/python3/Bindings/Java/bindings.c:1397:3: branch_false: following ‘false’ branch...
brltty-6.8/python3/Bindings/Java/bindings.c:1402:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Bindings/Java/bindings.c:1405:16: branch_true: ...to here
brltty-6.8/python3/Bindings/Java/bindings.c:1405:16: acquire_memory: allocated here
brltty-6.8/python3/Bindings/Java/bindings.c:1405:8: branch_true: following ‘true’ branch (when ‘wpd’ is non-NULL)...
brltty-6.8/python3/Bindings/Java/bindings.c:1405:8: branch_true: ...to here
brltty-6.8/python3/Bindings/Java/bindings.c:1409:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Bindings/Java/bindings.c:1410:30: branch_true: ...to here
brltty-6.8/python3/Bindings/Java/bindings.c:1410:30: throw: if the called function throws an exception...
brltty-6.8/python3/Bindings/Java/bindings.c:1410:30: danger: ‘wpd’ leaks here; was allocated at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def831]
brltty-6.8/python3/Bindings/Java/bindings.c:1415:33: warning[-Wanalyzer-malloc-leak]: leak of ‘wpd’
brltty-6.8/python3/Bindings/Java/bindings.c:1397:3: branch_false: following ‘false’ branch...
brltty-6.8/python3/Bindings/Java/bindings.c:1402:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Bindings/Java/bindings.c:1405:16: branch_true: ...to here
brltty-6.8/python3/Bindings/Java/bindings.c:1405:16: acquire_memory: allocated here
brltty-6.8/python3/Bindings/Java/bindings.c:1405:8: branch_true: following ‘true’ branch (when ‘wpd’ is non-NULL)...
brltty-6.8/python3/Bindings/Java/bindings.c:1405:8: branch_true: ...to here
brltty-6.8/python3/Bindings/Java/bindings.c:1409:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Bindings/Java/bindings.c:1410:30: branch_true: ...to here
brltty-6.8/python3/Bindings/Java/bindings.c:1414:12: branch_true: following ‘true’ branch...
brltty-6.8/python3/Bindings/Java/bindings.c:1415:33: branch_true: ...to here
brltty-6.8/python3/Bindings/Java/bindings.c:1415:33: throw: if the called function throws an exception...
brltty-6.8/python3/Bindings/Java/bindings.c:1415:33: danger: ‘wpd’ leaks here; was allocated at [(5)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def832]
brltty-6.8/python3/Bindings/Java/bindings.c:1425:31: warning[-Wanalyzer-malloc-leak]: leak of ‘wpd’
brltty-6.8/python3/Bindings/Java/bindings.c:1397:3: branch_false: following ‘false’ branch...
brltty-6.8/python3/Bindings/Java/bindings.c:1402:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Bindings/Java/bindings.c:1405:16: branch_true: ...to here
brltty-6.8/python3/Bindings/Java/bindings.c:1405:16: acquire_memory: allocated here
brltty-6.8/python3/Bindings/Java/bindings.c:1405:8: branch_true: following ‘true’ branch (when ‘wpd’ is non-NULL)...
brltty-6.8/python3/Bindings/Java/bindings.c:1405:8: branch_true: ...to here
brltty-6.8/python3/Bindings/Java/bindings.c:1409:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Bindings/Java/bindings.c:1410:30: branch_true: ...to here
brltty-6.8/python3/Bindings/Java/bindings.c:1414:12: branch_true: following ‘true’ branch...
brltty-6.8/python3/Bindings/Java/bindings.c:1415:33: branch_true: ...to here
brltty-6.8/python3/Bindings/Java/bindings.c:1424:14: branch_true: following ‘true’ branch...
brltty-6.8/python3/Bindings/Java/bindings.c:1425:31: branch_true: ...to here
brltty-6.8/python3/Bindings/Java/bindings.c:1425:31: throw: if ‘brlapi__watchParameter’ throws an exception...
brltty-6.8/python3/Bindings/Java/bindings.c:1425:31: danger: ‘wpd’ leaks here; was allocated at [(5)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def833]
brltty-6.8/python3/Bindings/Java/bindings.c:1435:9: warning[-Wanalyzer-malloc-leak]: leak of ‘wpd’
brltty-6.8/python3/Bindings/Java/bindings.c:1397:3: branch_false: following ‘false’ branch...
brltty-6.8/python3/Bindings/Java/bindings.c:1402:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Bindings/Java/bindings.c:1405:16: branch_true: ...to here
brltty-6.8/python3/Bindings/Java/bindings.c:1405:16: acquire_memory: allocated here
brltty-6.8/python3/Bindings/Java/bindings.c:1405:8: branch_true: following ‘true’ branch (when ‘wpd’ is non-NULL)...
brltty-6.8/python3/Bindings/Java/bindings.c:1405:8: branch_true: ...to here
brltty-6.8/python3/Bindings/Java/bindings.c:1409:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Bindings/Java/bindings.c:1410:30: branch_true: ...to here
brltty-6.8/python3/Bindings/Java/bindings.c:1414:12: branch_false: following ‘false’ branch...
brltty-6.8/python3/Bindings/Java/bindings.c:1435:9: branch_false: ...to here
brltty-6.8/python3/Bindings/Java/bindings.c:1435:9: throw: if the called function throws an exception...
brltty-6.8/python3/Bindings/Java/bindings.c:1435:9: danger: ‘wpd’ leaks here; was allocated at [(5)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def834]
brltty-6.8/python3/Bindings/Python/bindings.c:70:5: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup(&str)’
brltty-6.8/python3/Bindings/Python/bindings.c:66:6: branch_false: following ‘false’ branch...
brltty-6.8/python3/Bindings/Python/bindings.c:70:54: acquire_memory: allocated here
brltty-6.8/python3/Bindings/Python/bindings.c:70:5: danger: ‘strdup(&str)’ leaks here; was allocated at [(3)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/2)
Error: CPPCHECK_WARNING (CWE-476): [#def835]
brltty-6.8/python3/Bindings/Python/bindings.c:146: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: descr
Error: GCC_ANALYZER_WARNING (CWE-476): [#def836]
brltty-6.8/python3/Bindings/Python/bindings.c:146:3: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘descr’
brltty-6.8/python3/Bindings/Python/bindings.c:132:42: enter_function: entry to ‘brlapi_python_watchParameter’
brltty-6.8/python3/Bindings/Python/bindings.c:138:6: branch_false: following ‘false’ branch...
brltty-6.8/python3/Bindings/Python/bindings.c:143:3: call_function: inlined call to ‘Py_INCREF’ from ‘brlapi_python_watchParameter’
brltty-6.8/python3/Bindings/Python/bindings.c:145:11: branch_true: ...to here
brltty-6.8/python3/Bindings/Python/bindings.c:145:11: acquire_memory: this call could return NULL
brltty-6.8/python3/Bindings/Python/bindings.c:146:3: danger: ‘descr’ could be NULL: unchecked value from [(7)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def837]
brltty-6.8/python3/Bindings/Python/bindings.c:148:18: warning[-Wanalyzer-malloc-leak]: leak of ‘descr’
brltty-6.8/python3/Bindings/Python/bindings.c:132:42: enter_function: entry to ‘brlapi_python_watchParameter’
brltty-6.8/python3/Bindings/Python/bindings.c:138:6: branch_false: following ‘false’ branch...
brltty-6.8/python3/Bindings/Python/bindings.c:143:3: call_function: inlined call to ‘Py_INCREF’ from ‘brlapi_python_watchParameter’
brltty-6.8/python3/Bindings/Python/bindings.c:145:11: branch_true: ...to here
brltty-6.8/python3/Bindings/Python/bindings.c:145:11: acquire_memory: allocated here
brltty-6.8/python3/Bindings/Python/bindings.c:148:18: throw: if ‘brlapi__watchParameter’ throws an exception...
brltty-6.8/python3/Bindings/Python/bindings.c:148:18: danger: ‘descr’ leaks here; was allocated at [(7)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def838]
brltty-6.8/python3/Bindings/Python/brlapi.auto.c:7279:11: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
brltty-6.8/python3/Bindings/Python/brlapi.auto.c:19249:12: enter_function: entry to ‘__pyx_setprop_6brlapi_11WriteStruct_text’
brltty-6.8/python3/Bindings/Python/brlapi.auto.c:19250:6: branch_true: following ‘true’ branch (when ‘v’ is non-NULL)...
brltty-6.8/python3/Bindings/Python/brlapi.auto.c:19251:12: call_function: inlined call to ‘__pyx_pw_6brlapi_11WriteStruct_4text_3__set__’ from ‘__pyx_setprop_6brlapi_11WriteStruct_text’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def839]
brltty-6.8/python3/Bindings/Python/brlapi.auto.c:7279:11: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘__pyx_v_text’ where non-null expected
brltty-6.8/python3/Bindings/Python/brlapi.auto.c:19249:12: enter_function: entry to ‘__pyx_setprop_6brlapi_11WriteStruct_text’
brltty-6.8/python3/Bindings/Python/brlapi.auto.c:19250:6: branch_true: following ‘true’ branch (when ‘v’ is non-NULL)...
brltty-6.8/python3/Bindings/Python/brlapi.auto.c:19251:12: call_function: inlined call to ‘__pyx_pw_6brlapi_11WriteStruct_4text_3__set__’ from ‘__pyx_setprop_6brlapi_11WriteStruct_text’
Error: CPPCHECK_WARNING (CWE-476): [#def840]
brltty-6.8/python3/Bindings/Python/brlapi.auto.c:7288: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: __pyx_v_text
Error: GCC_ANALYZER_WARNING (CWE-688): [#def841]
brltty-6.8/python3/Bindings/Python/brlapi.auto.c:7729:11: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
brltty-6.8/python3/Bindings/Python/brlapi.auto.c:19277:12: enter_function: entry to ‘__pyx_setprop_6brlapi_11WriteStruct_charset’
brltty-6.8/python3/Bindings/Python/brlapi.auto.c:19278:6: branch_true: following ‘true’ branch (when ‘v’ is non-NULL)...
brltty-6.8/python3/Bindings/Python/brlapi.auto.c:19279:12: call_function: inlined call to ‘__pyx_pw_6brlapi_11WriteStruct_7charset_3__set__’ from ‘__pyx_setprop_6brlapi_11WriteStruct_charset’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def842]
brltty-6.8/python3/Bindings/Python/brlapi.auto.c:7729:11: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘__pyx_v_charset’ where non-null expected
brltty-6.8/python3/Bindings/Python/brlapi.auto.c:19277:12: enter_function: entry to ‘__pyx_setprop_6brlapi_11WriteStruct_charset’
brltty-6.8/python3/Bindings/Python/brlapi.auto.c:19278:6: branch_true: following ‘true’ branch (when ‘v’ is non-NULL)...
brltty-6.8/python3/Bindings/Python/brlapi.auto.c:19279:12: call_function: inlined call to ‘__pyx_pw_6brlapi_11WriteStruct_7charset_3__set__’ from ‘__pyx_setprop_6brlapi_11WriteStruct_charset’
Error: CPPCHECK_WARNING (CWE-476): [#def843]
brltty-6.8/python3/Bindings/Python/brlapi.auto.c:7738: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: __pyx_v_charset
Error: GCC_ANALYZER_WARNING (CWE-688): [#def844]
brltty-6.8/python3/Bindings/Python/brlapi.auto.c:8068:11: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
brltty-6.8/python3/Bindings/Python/brlapi.auto.c:19291:12: enter_function: entry to ‘__pyx_setprop_6brlapi_11WriteStruct_attrAnd’
brltty-6.8/python3/Bindings/Python/brlapi.auto.c:19292:6: branch_true: following ‘true’ branch (when ‘v’ is non-NULL)...
brltty-6.8/python3/Bindings/Python/brlapi.auto.c:19293:12: call_function: inlined call to ‘__pyx_pw_6brlapi_11WriteStruct_7attrAnd_3__set__’ from ‘__pyx_setprop_6brlapi_11WriteStruct_attrAnd’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def845]
brltty-6.8/python3/Bindings/Python/brlapi.auto.c:8068:11: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘malloc(__pyx_v_size)’ where non-null expected
brltty-6.8/python3/Bindings/Python/brlapi.auto.c:19291:12: enter_function: entry to ‘__pyx_setprop_6brlapi_11WriteStruct_attrAnd’
brltty-6.8/python3/Bindings/Python/brlapi.auto.c:19292:6: branch_true: following ‘true’ branch (when ‘v’ is non-NULL)...
brltty-6.8/python3/Bindings/Python/brlapi.auto.c:19293:12: call_function: inlined call to ‘__pyx_pw_6brlapi_11WriteStruct_7attrAnd_3__set__’ from ‘__pyx_setprop_6brlapi_11WriteStruct_attrAnd’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def846]
brltty-6.8/python3/Bindings/Python/brlapi.auto.c:8389:11: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
brltty-6.8/python3/Bindings/Python/brlapi.auto.c:19305:12: enter_function: entry to ‘__pyx_setprop_6brlapi_11WriteStruct_attrOr’
brltty-6.8/python3/Bindings/Python/brlapi.auto.c:19306:6: branch_true: following ‘true’ branch (when ‘v’ is non-NULL)...
brltty-6.8/python3/Bindings/Python/brlapi.auto.c:19307:12: call_function: inlined call to ‘__pyx_pw_6brlapi_11WriteStruct_6attrOr_3__set__’ from ‘__pyx_setprop_6brlapi_11WriteStruct_attrOr’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def847]
brltty-6.8/python3/Bindings/Python/brlapi.auto.c:8389:11: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘malloc(__pyx_v_size)’ where non-null expected
brltty-6.8/python3/Bindings/Python/brlapi.auto.c:19305:12: enter_function: entry to ‘__pyx_setprop_6brlapi_11WriteStruct_attrOr’
brltty-6.8/python3/Bindings/Python/brlapi.auto.c:19306:6: branch_true: following ‘true’ branch (when ‘v’ is non-NULL)...
brltty-6.8/python3/Bindings/Python/brlapi.auto.c:19307:12: call_function: inlined call to ‘__pyx_pw_6brlapi_11WriteStruct_6attrOr_3__set__’ from ‘__pyx_setprop_6brlapi_11WriteStruct_attrOr’
Error: CPPCHECK_WARNING (CWE-457): [#def848]
brltty-6.8/python3/Bindings/Tcl/bindings.c:450: warning[uninitvar]: Uninitialized variable: path
Error: CPPCHECK_WARNING (CWE-457): [#def849]
brltty-6.8/python3/Bindings/Tcl/bindings.c:670: warning[uninitvar]: Uninitialized variable: buffer
Error: CPPCHECK_WARNING (CWE-457): [#def850]
brltty-6.8/python3/Bindings/Tcl/bindings.c:683: warning[uninitvar]: Uninitialized variable: buffer
Error: CPPCHECK_WARNING (CWE-457): [#def851]
brltty-6.8/python3/Bindings/Tcl/bindings.c:696: warning[uninitvar]: Uninitialized variable: buffer
Error: CPPCHECK_WARNING (CWE-457): [#def852]
brltty-6.8/python3/Bindings/Tcl/bindings.c:709: warning[uninitvar]: Uninitialized variable: buffer
Error: CPPCHECK_WARNING (CWE-457): [#def853]
brltty-6.8/python3/Bindings/Tcl/bindings.c:722: warning[uninitvar]: Uninitialized variable: buffer
Error: CPPCHECK_WARNING (CWE-457): [#def854]
brltty-6.8/python3/Bindings/Tcl/bindings.c:1573: warning[uninitvar]: Uninitialized variable: cells
Error: GCC_ANALYZER_WARNING (CWE-457): [#def855]
brltty-6.8/python3/Drivers/Braille/Alva/braille.c:731:11: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*new[<unknown>]’
brltty-6.8/python3/Drivers/Braille/Alva/braille.c:1935:1: enter_function: entry to ‘brl_construct’
brltty-6.8/python3/Drivers/Braille/Alva/braille.c:1936:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Drivers/Braille/Alva/braille.c:1937:5: branch_true: ...to here
brltty-6.8/python3/Drivers/Braille/Alva/braille.c:1940:9: call_function: calling ‘connectResource’ from ‘brl_construct’
brltty-6.8/python3/Drivers/Braille/Alva/braille.c:1940:9: return_function: returning to ‘brl_construct’ from ‘connectResource’
brltty-6.8/python3/Drivers/Braille/Alva/braille.c:1940:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Drivers/Braille/Alva/braille.c:1941:15: branch_true: ...to here
brltty-6.8/python3/Drivers/Braille/Alva/braille.c:1951:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Drivers/Braille/Alva/braille.c:1952:13: branch_true: ...to here
brltty-6.8/python3/Drivers/Braille/Alva/braille.c:1952:13: call_function: calling ‘updateSettings’ from ‘brl_construct’
Error: GCC_ANALYZER_WARNING (CWE-127): [#def856]
brltty-6.8/python3/Drivers/Braille/Alva/braille.c:1211:5: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
brltty-6.8/python3/Drivers/Braille/Alva/braille.c:1722:1: enter_function: entry to ‘detectModel2u’
brltty-6.8/python3/Drivers/Braille/Alva/braille.c:1727:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Drivers/Braille/Alva/braille.c:1727:21: branch_true: ...to here
brltty-6.8/python3/Drivers/Braille/Alva/braille.c:1727:21: call_function: calling ‘setVersions2’ from ‘detectModel2u’
Error: GCC_ANALYZER_WARNING (CWE-124): [#def857]
brltty-6.8/python3/Drivers/Braille/Alva/braille.c:1214:5: warning[-Wanalyzer-out-of-bounds]: stack-based buffer underwrite
brltty-6.8/python3/Drivers/Braille/Alva/braille.c:1722:1: enter_function: entry to ‘detectModel2u’
brltty-6.8/python3/Drivers/Braille/Alva/braille.c:1727:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Drivers/Braille/Alva/braille.c:1727:21: branch_true: ...to here
brltty-6.8/python3/Drivers/Braille/Alva/braille.c:1727:21: call_function: calling ‘setVersions2’ from ‘detectModel2u’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def858]
brltty-6.8/python3/Drivers/Braille/B2G/braille.c:195:21: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(&directoryPath)’
brltty-6.8/python3/Drivers/Braille/B2G/braille.c:192:20: acquire_memory: allocated here
brltty-6.8/python3/Drivers/Braille/B2G/braille.c:192:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Drivers/Braille/B2G/braille.c:192:6: branch_true: ...to here
brltty-6.8/python3/Drivers/Braille/B2G/braille.c:195:21: throw: if ‘readdir’ throws an exception...
brltty-6.8/python3/Drivers/Braille/B2G/braille.c:195:21: danger: ‘opendir(&directoryPath)’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def859]
brltty-6.8/python3/Drivers/Braille/B2G/braille.c:208:5: warning[-Wanalyzer-malloc-leak]: leak of ‘devicePath’
brltty-6.8/python3/Drivers/Braille/B2G/braille.c:192:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Drivers/Braille/B2G/braille.c:192:6: branch_true: ...to here
brltty-6.8/python3/Drivers/Braille/B2G/braille.c:195:12: branch_true: following ‘true’ branch...
brltty-6.8/python3/Drivers/Braille/B2G/braille.c:199:18: branch_true: ...to here
brltty-6.8/python3/Drivers/Braille/B2G/braille.c:203:28: acquire_memory: allocated here
brltty-6.8/python3/Drivers/Braille/B2G/braille.c:203:12: branch_false: following ‘false’ branch (when ‘devicePath’ is non-NULL)...
brltty-6.8/python3/Drivers/Braille/B2G/braille.c:204:9: branch_false: ...to here
brltty-6.8/python3/Drivers/Braille/B2G/braille.c:208:5: throw: if ‘closedir’ throws an exception...
brltty-6.8/python3/Drivers/Braille/B2G/braille.c:208:5: danger: ‘devicePath’ leaks here; was allocated at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def860]
brltty-6.8/python3/Drivers/Braille/B2G/braille.c:284:6: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/braille0", 1)’
brltty-6.8/python3/Drivers/Braille/B2G/braille.c:323:1: enter_function: entry to ‘brl_construct’
brltty-6.8/python3/Drivers/Braille/B2G/braille.c:324:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Drivers/Braille/B2G/braille.c:324:6: branch_true: ...to here
brltty-6.8/python3/Drivers/Braille/B2G/braille.c:330:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Drivers/Braille/B2G/braille.c:331:11: branch_true: ...to here
brltty-6.8/python3/Drivers/Braille/B2G/braille.c:331:11: call_function: calling ‘openBrailleDevice’ from ‘brl_construct’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def861]
brltty-6.8/python3/Drivers/Braille/Baum/braille.c:2736:36: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘packet[1]’
brltty-6.8/python3/Drivers/Braille/Baum/braille.c:2803:1: enter_function: entry to ‘processPowerBraillePackets’
brltty-6.8/python3/Drivers/Braille/Baum/braille.c:2807:18: call_function: inlined call to ‘getPowerBraillePacket’ from ‘processPowerBraillePackets’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def862]
brltty-6.8/python3/Drivers/Braille/Canute/braille.c:311:6: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc((long unsigned int)*brl.textRows * 8)’
brltty-6.8/python3/Drivers/Braille/Canute/braille.c:523:1: enter_function: entry to ‘brl_construct’
brltty-6.8/python3/Drivers/Braille/Canute/braille.c:524:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Drivers/Braille/Canute/braille.c:525:5: branch_true: ...to here
brltty-6.8/python3/Drivers/Braille/Canute/braille.c:557:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Drivers/Braille/Canute/braille.c:558:11: branch_true: ...to here
brltty-6.8/python3/Drivers/Braille/Canute/braille.c:558:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Drivers/Braille/Canute/braille.c:561:13: branch_true: ...to here
brltty-6.8/python3/Drivers/Braille/Canute/braille.c:561:12: branch_true: following ‘true’ branch...
brltty-6.8/python3/Drivers/Braille/Canute/braille.c:566:15: branch_true: ...to here
brltty-6.8/python3/Drivers/Braille/Canute/braille.c:566:15: call_function: calling ‘allocateRowEntries’ from ‘brl_construct’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def863]
brltty-6.8/python3/Drivers/Braille/DotPad/braille.c:247:6: warning[-Wanalyzer-malloc-leak]: leak of ‘calloc((long unsigned int)*brl_47(D)->data.display.externalRows, (long unsigned int)*brl_47(D)->data.display.externalColumns)’
brltty-6.8/python3/Drivers/Braille/DotPad/braille.c:529:1: enter_function: entry to ‘reconfigureDisplay’
brltty-6.8/python3/Drivers/Braille/DotPad/braille.c:531:22: call_function: calling ‘configureDisplay’ from ‘reconfigureDisplay’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def864]
brltty-6.8/python3/Drivers/Braille/DotPad/braille.c:707:23: warning[-Wanalyzer-null-argument]: use of NULL ‘data’ where non-null expected
brltty-6.8/python3/Drivers/Braille/DotPad/braille.c:1301:1: enter_function: entry to ‘writeIdentifyRequest’
brltty-6.8/python3/Drivers/Braille/DotPad/braille.c:1302:10: call_function: calling ‘writeRequest’ from ‘writeIdentifyRequest’
Error: GCC_ANALYZER_WARNING (CWE-121): [#def865]
brltty-6.8/python3/Drivers/Braille/DotPad/braille.c:1082:7: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
brltty-6.8/python3/Drivers/Braille/DotPad/braille.c:1073:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Drivers/Braille/DotPad/braille.c:1073:21: branch_true: ...to here
brltty-6.8/python3/Drivers/Braille/DotPad/braille.c:1075:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Drivers/Braille/DotPad/braille.c:1075:31: branch_true: ...to here
brltty-6.8/python3/Drivers/Braille/DotPad/braille.c:1077:19: branch_false: following ‘false’ branch (when ‘dataSize <= i’)...
brltty-6.8/python3/Drivers/Braille/DotPad/braille.c:1077:19: branch_false: ...to here
brltty-6.8/python3/Drivers/Braille/DotPad/braille.c:1081:12: branch_true: following ‘true’ branch...
brltty-6.8/python3/Drivers/Braille/DotPad/braille.c:1082:12: branch_true: ...to here
brltty-6.8/python3/Drivers/Braille/DotPad/braille.c:1082:7: danger: write of 1 byte at offset ‘(int)arraySize’ exceeds the buffer
Error: GCC_ANALYZER_WARNING (CWE-401): [#def866]
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:33:3: warning[-Wanalyzer-malloc-leak]: leak of ‘buffer’
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:191:17: enter_function: entry to ‘brl_message’
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:197:27: acquire_memory: allocated here
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:211:3: call_function: calling ‘brl_write’ from ‘brl_message’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def867]
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:33:3: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:217:25: enter_function: entry to ‘showbrfile’
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:221:24: acquire_memory: allocated here
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:230:3: call_function: calling ‘brl_write’ from ‘showbrfile’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def868]
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:33:3: warning[-Wanalyzer-malloc-leak]: leak of ‘str’
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:217:25: enter_function: entry to ‘showbrfile’
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:222:24: acquire_memory: allocated here
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:230:3: call_function: calling ‘brl_write’ from ‘showbrfile’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def869]
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:34:3: warning[-Wanalyzer-malloc-leak]: leak of ‘buffer’
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:191:17: enter_function: entry to ‘brl_message’
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:197:27: acquire_memory: allocated here
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:211:3: call_function: calling ‘brl_write’ from ‘brl_message’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def870]
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:34:3: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:217:25: enter_function: entry to ‘showbrfile’
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:221:24: acquire_memory: allocated here
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:230:3: call_function: calling ‘brl_write’ from ‘showbrfile’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def871]
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:34:3: warning[-Wanalyzer-malloc-leak]: leak of ‘str’
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:217:25: enter_function: entry to ‘showbrfile’
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:222:24: acquire_memory: allocated here
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:230:3: call_function: calling ‘brl_write’ from ‘showbrfile’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def872]
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:67:13: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:217:25: enter_function: entry to ‘showbrfile’
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:221:24: acquire_memory: allocated here
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:230:3: call_function: calling ‘brl_write’ from ‘showbrfile’
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:230:3: return_function: returning to ‘showbrfile’ from ‘brl_write’
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:233:7: call_function: calling ‘brl_read’ from ‘showbrfile’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def873]
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:67:13: warning[-Wanalyzer-malloc-leak]: leak of ‘str’
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:217:25: enter_function: entry to ‘showbrfile’
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:222:24: acquire_memory: allocated here
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:230:3: call_function: calling ‘brl_write’ from ‘showbrfile’
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:230:3: return_function: returning to ‘showbrfile’ from ‘brl_write’
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:233:7: call_function: calling ‘brl_read’ from ‘showbrfile’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def874]
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:71:11: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:260:17: enter_function: entry to ‘brl_listfiles’
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:263:31: acquire_memory: allocated here
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:270:10: branch_true: following ‘true’ branch (when ‘end == 0’)...
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:272:11: branch_true: ...to here
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:272:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:273:9: branch_true: ...to here
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:273:9: call_function: calling ‘showbrfile’ from ‘brl_listfiles’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def875]
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:71:11: warning[-Wanalyzer-malloc-leak]: leak of ‘str’
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:217:25: enter_function: entry to ‘showbrfile’
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:222:24: acquire_memory: allocated here
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:230:3: call_function: calling ‘brl_write’ from ‘showbrfile’
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:230:3: return_function: returning to ‘showbrfile’ from ‘brl_write’
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:233:7: call_function: calling ‘brl_read’ from ‘showbrfile’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def876]
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:86:9: warning[-Wanalyzer-malloc-leak]: leak of ‘buffer’
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:191:17: enter_function: entry to ‘brl_message’
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:197:27: acquire_memory: allocated here
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:211:3: call_function: calling ‘brl_write’ from ‘brl_message’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def877]
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:86:9: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:217:25: enter_function: entry to ‘showbrfile’
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:221:24: acquire_memory: allocated here
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:230:3: call_function: calling ‘brl_write’ from ‘showbrfile’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def878]
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:86:9: warning[-Wanalyzer-malloc-leak]: leak of ‘str’
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:217:25: enter_function: entry to ‘showbrfile’
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:222:24: acquire_memory: allocated here
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:230:3: call_function: calling ‘brl_write’ from ‘showbrfile’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def879]
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:90:7: warning[-Wanalyzer-malloc-leak]: leak of ‘buffer’
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:191:17: enter_function: entry to ‘brl_message’
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:197:27: acquire_memory: allocated here
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:211:3: call_function: calling ‘brl_write’ from ‘brl_message’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def880]
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:90:7: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:217:25: enter_function: entry to ‘showbrfile’
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:221:24: acquire_memory: allocated here
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:230:3: call_function: calling ‘brl_write’ from ‘showbrfile’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def881]
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:90:7: warning[-Wanalyzer-malloc-leak]: leak of ‘str’
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:217:25: enter_function: entry to ‘showbrfile’
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:222:24: acquire_memory: allocated here
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:230:3: call_function: calling ‘brl_write’ from ‘showbrfile’
Error: CPPCHECK_WARNING (CWE-682): [#def882]
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:200: error[nullPointerArithmeticOutOfMemory]: If memory allocation fails: pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-476): [#def883]
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:200: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: p++
Error: GCC_ANALYZER_WARNING (CWE-476): [#def884]
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:200:3: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘buffer’
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:197:27: acquire_memory: this call could return NULL
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:200:3: danger: ‘buffer’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def885]
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:224: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: buf
Error: GCC_ANALYZER_WARNING (CWE-476): [#def886]
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:224:3: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘buf’
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:221:24: acquire_memory: this call could return NULL
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:224:3: danger: ‘buf’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/22/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def887]
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:225: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: buf
Error: CPPCHECK_WARNING (CWE-476): [#def888]
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:226: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: buf
Error: CPPCHECK_WARNING (CWE-476): [#def889]
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:227: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: buf
Error: CPPCHECK_WARNING (CWE-476): [#def890]
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:228: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: buf
Error: CPPCHECK_WARNING (CWE-476): [#def891]
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:229: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: buf
Error: CPPCHECK_WARNING (CWE-682): [#def892]
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:230: error[nullPointerArithmeticOutOfMemory]: If memory allocation fails: pointer addition with NULL pointer.
Error: GCC_ANALYZER_WARNING (CWE-688): [#def893]
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:244:3: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘str’ where non-null expected
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:217:25: enter_function: entry to ‘showbrfile’
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:222:24: acquire_memory: this call could return NULL
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:230:3: call_function: calling ‘brl_write’ from ‘showbrfile’
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:230:3: return_function: returning to ‘showbrfile’ from ‘brl_write’
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:233:7: call_function: calling ‘brl_read’ from ‘showbrfile’
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:233:7: return_function: returning to ‘showbrfile’ from ‘brl_read’
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:239:6: branch_false: following ‘false’ branch...
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:244:22: branch_false: ...to here
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:244:3: danger: argument 1 (‘str’) from [(2)](sarif:/runs/0/results/23/codeFlows/0/threadFlows/0/locations/1) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-401): [#def894]
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:252:1: warning[-Wanalyzer-malloc-leak]: leak of ‘str’
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:217:25: enter_function: entry to ‘showbrfile’
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:222:24: acquire_memory: allocated here
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:230:3: call_function: calling ‘brl_write’ from ‘showbrfile’
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:230:3: return_function: returning to ‘showbrfile’ from ‘brl_write’
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:233:7: call_function: calling ‘brl_read’ from ‘showbrfile’
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:233:7: return_function: returning to ‘showbrfile’ from ‘brl_read’
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:239:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:241:7: branch_true: ...to here
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_brl.c:252:1: danger: ‘str’ leaks here; was allocated at [(2)](sarif:/runs/0/results/24/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def895]
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:44:7: warning[-Wanalyzer-malloc-leak]: leak of ‘map’
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:68:17: enter_function: entry to ‘k2txt’
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:78:6: branch_false: following ‘false’ branch...
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:83:3: branch_false: ...to here
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:85:9: acquire_memory: allocated here
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:90:6: branch_false: following ‘false’ branch...
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:90:6: branch_false: ...to here
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:107:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:110:14: branch_true: ...to here
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:121:10: call_function: calling ‘dos2unix’ from ‘k2txt’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def896]
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:45:7: warning[-Wanalyzer-malloc-leak]: leak of ‘map’
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:68:17: enter_function: entry to ‘k2txt’
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:78:6: branch_false: following ‘false’ branch...
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:83:3: branch_false: ...to here
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:85:9: acquire_memory: allocated here
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:90:6: branch_false: following ‘false’ branch...
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:90:6: branch_false: ...to here
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:107:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:110:14: branch_true: ...to here
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:121:10: call_function: calling ‘dos2unix’ from ‘k2txt’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def897]
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:49:7: warning[-Wanalyzer-malloc-leak]: leak of ‘map’
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:68:17: enter_function: entry to ‘k2txt’
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:78:6: branch_false: following ‘false’ branch...
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:83:3: branch_false: ...to here
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:85:9: acquire_memory: allocated here
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:90:6: branch_false: following ‘false’ branch...
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:90:6: branch_false: ...to here
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:107:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:110:14: branch_true: ...to here
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:121:10: call_function: calling ‘dos2unix’ from ‘k2txt’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def898]
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:49:7: warning[-Wanalyzer-malloc-leak]: leak of ‘tmpmap’
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:42:17: acquire_memory: allocated here
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:42:6: branch_false: following ‘false’ branch (when ‘tmpmap’ is non-NULL)...
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:47:18: branch_false: ...to here
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:47:6: branch_true: following ‘true’ branch (when ‘tmpmap2’ is NULL)...
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:49:7: branch_true: ...to here
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:49:7: throw: if ‘perror’ throws an exception...
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:49:7: danger: ‘tmpmap’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def899]
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:50:7: warning[-Wanalyzer-malloc-leak]: leak of ‘map’
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:68:17: enter_function: entry to ‘k2txt’
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:78:6: branch_false: following ‘false’ branch...
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:83:3: branch_false: ...to here
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:85:9: acquire_memory: allocated here
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:90:6: branch_false: following ‘false’ branch...
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:90:6: branch_false: ...to here
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:107:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:110:14: branch_true: ...to here
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:121:10: call_function: calling ‘dos2unix’ from ‘k2txt’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def900]
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:50:7: warning[-Wanalyzer-malloc-leak]: leak of ‘tmpmap’
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:42:17: acquire_memory: allocated here
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:42:6: branch_false: following ‘false’ branch (when ‘tmpmap’ is non-NULL)...
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:47:18: branch_false: ...to here
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:47:6: branch_true: following ‘true’ branch (when ‘tmpmap2’ is NULL)...
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:49:7: branch_true: ...to here
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:50:7: throw: if ‘eutp_abort’ throws an exception...
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:50:7: danger: ‘tmpmap’ leaks here; was allocated at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def901]
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:53:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘tmpmap’
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:42:17: acquire_memory: allocated here
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:42:6: release_memory: assuming ‘tmpmap’ is NULL
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:42:6: branch_true: following ‘true’ branch (when ‘tmpmap’ is NULL)...
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:44:7: branch_true: ...to here
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:47:6: branch_false: following ‘false’ branch (when ‘tmpmap2’ is non-NULL)...
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:52:8: branch_false: ...to here
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:52:15: branch_true: following ‘true’ branch...
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:53:17: branch_true: ...to here
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:53:5: danger: dereference of NULL ‘tmpmap + i’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def902]
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:56:3: warning[-Wanalyzer-malloc-leak]: leak of ‘map’
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:68:17: enter_function: entry to ‘k2txt’
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:78:6: branch_false: following ‘false’ branch...
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:83:3: branch_false: ...to here
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:85:9: acquire_memory: allocated here
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:90:6: branch_false: following ‘false’ branch...
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:90:6: branch_false: ...to here
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:107:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:110:14: branch_true: ...to here
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:121:10: call_function: calling ‘dos2unix’ from ‘k2txt’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def903]
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:56:3: warning[-Wanalyzer-malloc-leak]: leak of ‘p2’
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:42:6: branch_true: following ‘true’ branch (when ‘tmpmap’ is NULL)...
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:44:7: branch_true: ...to here
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:47:18: acquire_memory: allocated here
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:47:6: branch_false: following ‘false’ branch (when ‘tmpmap2’ is non-NULL)...
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:52:8: branch_false: ...to here
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:52:15: branch_false: following ‘false’ branch...
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:54:3: branch_false: ...to here
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:56:3: throw: if ‘iconv’ throws an exception...
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:56:3: danger: ‘p2’ leaks here; was allocated at [(3)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def904]
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:56:3: warning[-Wanalyzer-malloc-leak]: leak of ‘p’
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:42:17: acquire_memory: allocated here
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:42:6: branch_false: following ‘false’ branch (when ‘tmpmap’ is non-NULL)...
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:47:18: branch_false: ...to here
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:47:6: branch_false: following ‘false’ branch (when ‘tmpmap2’ is non-NULL)...
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:52:8: branch_false: ...to here
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:52:15: branch_true: following ‘true’ branch...
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:53:17: branch_true: ...to here
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:52:15: branch_true: following ‘true’ branch...
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:53:17: branch_true: ...to here
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:52:15: branch_false: following ‘false’ branch...
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:54:3: branch_false: ...to here
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:56:3: throw: if ‘iconv’ throws an exception...
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:56:3: danger: ‘p’ leaks here; was allocated at [(1)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def905]
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:81:14: warning[-Wanalyzer-malloc-leak]: leak of ‘newmap’
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:78:6: branch_false: following ‘false’ branch...
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:83:3: branch_false: ...to here
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:86:12: acquire_memory: allocated here
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:90:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:92:7: branch_true: ...to here
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:81:14: danger: ‘newmap’ leaks here; was allocated at [(3)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/2)
Error: COMPILER_WARNING (CWE-252): [#def906]
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c: scope_hint: In function ‘k2txt’
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:87:3: warning[-Wunused-result]: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def907]
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:89:3: warning[-Wanalyzer-malloc-leak]: leak of ‘map’
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:78:6: branch_false: following ‘false’ branch...
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:83:3: branch_false: ...to here
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:85:9: acquire_memory: allocated here
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:89:3: throw: if ‘close’ throws an exception...
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:89:3: danger: ‘map’ leaks here; was allocated at [(3)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def908]
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:89:3: warning[-Wanalyzer-malloc-leak]: leak of ‘newmap’
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:78:6: branch_false: following ‘false’ branch...
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:83:3: branch_false: ...to here
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:86:12: acquire_memory: allocated here
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:89:3: throw: if ‘close’ throws an exception...
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:89:3: danger: ‘newmap’ leaks here; was allocated at [(3)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def909]
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:90:13: warning[-Wanalyzer-malloc-leak]: leak of ‘map’
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:78:6: branch_false: following ‘false’ branch...
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:83:3: branch_false: ...to here
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:85:9: acquire_memory: allocated here
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:90:13: throw: if ‘open’ throws an exception...
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:90:13: danger: ‘map’ leaks here; was allocated at [(3)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def910]
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:90:13: warning[-Wanalyzer-malloc-leak]: leak of ‘newmap’
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:78:6: branch_false: following ‘false’ branch...
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:83:3: branch_false: ...to here
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:86:12: acquire_memory: allocated here
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:90:13: throw: if ‘open’ throws an exception...
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:90:13: danger: ‘newmap’ leaks here; was allocated at [(3)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def911]
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:92:7: warning[-Wanalyzer-malloc-leak]: leak of ‘map’
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:78:6: branch_false: following ‘false’ branch...
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:83:3: branch_false: ...to here
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:85:9: acquire_memory: allocated here
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:90:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:92:7: branch_true: ...to here
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:92:7: throw: if ‘perror’ throws an exception...
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:92:7: danger: ‘map’ leaks here; was allocated at [(3)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def912]
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:92:7: warning[-Wanalyzer-malloc-leak]: leak of ‘newmap’
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:78:6: branch_false: following ‘false’ branch...
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:83:3: branch_false: ...to here
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:86:12: acquire_memory: allocated here
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:90:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:92:7: branch_true: ...to here
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:92:7: throw: if ‘perror’ throws an exception...
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:92:7: danger: ‘newmap’ leaks here; was allocated at [(3)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/2)
Error: CPPCHECK_WARNING (CWE-401): [#def913]
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:93: error[memleak]: Memory leak: newmap
Error: GCC_ANALYZER_WARNING (CWE-476): [#def914]
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:97:11: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘map’
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:78:6: branch_false: following ‘false’ branch...
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:83:3: branch_false: ...to here
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:85:9: acquire_memory: this call could return NULL
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:90:6: branch_false: following ‘false’ branch...
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:90:6: branch_false: ...to here
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:97:11: danger: ‘map + (sizetype)i’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def915]
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:111:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘newmap’
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:78:6: branch_false: following ‘false’ branch...
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:83:3: branch_false: ...to here
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:86:12: acquire_memory: this call could return NULL
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:90:6: branch_false: following ‘false’ branch...
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:90:6: branch_false: ...to here
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:107:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:110:14: branch_true: ...to here
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:111:9: danger: ‘malloc(size + 1) + (sizetype)o’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def916]
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:113:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘newmap’
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:78:6: branch_false: following ‘false’ branch...
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:83:3: branch_false: ...to here
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:86:12: acquire_memory: this call could return NULL
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:90:6: branch_false: following ‘false’ branch...
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:90:6: branch_false: ...to here
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:107:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:110:14: branch_true: ...to here
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:113:9: danger: ‘malloc(size + 1) + (sizetype)o’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def917]
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:115:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘newmap’
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:78:6: branch_false: following ‘false’ branch...
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:83:3: branch_false: ...to here
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:86:12: acquire_memory: this call could return NULL
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:90:6: branch_false: following ‘false’ branch...
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:90:6: branch_false: ...to here
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:107:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:110:14: branch_true: ...to here
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:115:9: danger: ‘malloc(size + 1) + (sizetype)o’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def918]
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:117:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘newmap’
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:78:6: branch_false: following ‘false’ branch...
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:83:3: branch_false: ...to here
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:86:12: acquire_memory: this call could return NULL
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:90:6: branch_false: following ‘false’ branch...
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:90:6: branch_false: ...to here
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:107:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:110:14: branch_true: ...to here
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:117:9: danger: ‘malloc(size + 1) + (sizetype)o’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/2)
Error: COMPILER_WARNING (CWE-252): [#def919]
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:122:3: warning[-Wunused-result]: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def920]
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:127:1: warning[-Wanalyzer-malloc-leak]: leak of ‘map’
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:78:6: branch_false: following ‘false’ branch...
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:83:3: branch_false: ...to here
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:85:9: acquire_memory: allocated here
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:90:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:92:7: branch_true: ...to here
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:127:1: danger: ‘map’ leaks here; was allocated at [(3)](sarif:/runs/0/results/22/codeFlows/0/threadFlows/0/locations/2)
Error: CPPCHECK_WARNING (CWE-686): [#def921]
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:146: error[invalidFunctionArgBool]: Invalid toupper() argument nr 1. A non-boolean value is required.
Error: CPPCHECK_WARNING (CWE-686): [#def922]
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:148: error[invalidFunctionArgBool]: Invalid toupper() argument nr 1. A non-boolean value is required.
Error: CPPCHECK_WARNING (CWE-686): [#def923]
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:149: error[invalidFunctionArgBool]: Invalid toupper() argument nr 1. A non-boolean value is required.
Error: COMPILER_WARNING (CWE-252): [#def924]
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c: scope_hint: In function ‘txt2k’
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:191:3: warning[-Wunused-result]: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def925]
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:193:3: warning[-Wanalyzer-malloc-leak]: leak of ‘map’
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:183:6: branch_false: following ‘false’ branch...
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:188:3: branch_false: ...to here
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:190:9: acquire_memory: allocated here
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:193:3: throw: if ‘close’ throws an exception...
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:193:3: danger: ‘map’ leaks here; was allocated at [(3)](sarif:/runs/0/results/23/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def926]
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:194:13: warning[-Wanalyzer-malloc-leak]: leak of ‘map’
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:183:6: branch_false: following ‘false’ branch...
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:188:3: branch_false: ...to here
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:190:9: acquire_memory: allocated here
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:194:13: throw: if ‘open’ throws an exception...
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:194:13: danger: ‘map’ leaks here; was allocated at [(3)](sarif:/runs/0/results/24/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def927]
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:196:7: warning[-Wanalyzer-malloc-leak]: leak of ‘map’
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:183:6: branch_false: following ‘false’ branch...
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:188:3: branch_false: ...to here
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:190:9: acquire_memory: allocated here
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:194:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:196:7: branch_true: ...to here
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:196:7: throw: if ‘perror’ throws an exception...
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:196:7: danger: ‘map’ leaks here; was allocated at [(3)](sarif:/runs/0/results/25/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def928]
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:202:1: warning[-Wanalyzer-malloc-leak]: leak of ‘map’
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:183:6: branch_false: following ‘false’ branch...
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:188:3: branch_false: ...to here
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:190:9: acquire_memory: allocated here
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_convert.c:202:1: danger: ‘map’ leaks here; was allocated at [(3)](sarif:/runs/0/results/26/codeFlows/0/threadFlows/0/locations/2)
Error: COMPILER_WARNING (CWE-252): [#def929]
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_transfer.c: scope_hint: In function ‘brtopc’
brltty-6.8/python3/Drivers/Braille/EuroBraille/eutp_transfer.c:123:7: warning[-Wunused-result]: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’
Error: GCC_ANALYZER_WARNING (CWE-121): [#def930]
brltty-6.8/python3/Drivers/Braille/HandyTech/braille.c:885:7: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
brltty-6.8/python3/Drivers/Braille/HandyTech/braille.c:877:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Drivers/Braille/HandyTech/braille.c:877:6: branch_true: ...to here
brltty-6.8/python3/Drivers/Braille/HandyTech/braille.c:878:12: branch_true: following ‘true’ branch (when ‘size != 0’)...
brltty-6.8/python3/Drivers/Braille/HandyTech/braille.c:878:18: branch_true: ...to here
brltty-6.8/python3/Drivers/Braille/HandyTech/braille.c:880:21: branch_false: following ‘false’ branch...
brltty-6.8/python3/Drivers/Braille/HandyTech/braille.c:880:29: branch_false: ...to here
brltty-6.8/python3/Drivers/Braille/HandyTech/braille.c:885:7: danger: write of ‘(unsigned char)hidInDataSize + 254’ bytes at offset ‘2’ exceeds the buffer
Error: GCC_ANALYZER_WARNING (CWE-688): [#def931]
brltty-6.8/python3/Drivers/Braille/MDV/braille.c:192:10: warning[-Wanalyzer-null-argument]: use of NULL ‘data’ where non-null expected
brltty-6.8/python3/Drivers/Braille/MDV/braille.c:298:1: enter_function: entry to ‘writeIdentifyRequest’
brltty-6.8/python3/Drivers/Braille/MDV/braille.c:299:10: call_function: calling ‘writePacket’ from ‘writeIdentifyRequest’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def932]
brltty-6.8/python3/Drivers/Braille/TTY/braille.c:252:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
brltty-6.8/python3/Drivers/Braille/TTY/braille.c:273:1: enter_function: entry to ‘brl_writeWindow’
brltty-6.8/python3/Drivers/Braille/TTY/braille.c:285:6: branch_false: following ‘false’ branch...
brltty-6.8/python3/Drivers/Braille/TTY/braille.c:295:3: branch_false: ...to here
brltty-6.8/python3/Drivers/Braille/TTY/braille.c:301:30: branch_true: following ‘true’ branch...
brltty-6.8/python3/Drivers/Braille/TTY/braille.c:302:35: branch_true: ...to here
brltty-6.8/python3/Drivers/Braille/TTY/braille.c:305:35: branch_false: following ‘false’ branch...
brltty-6.8/python3/Drivers/Braille/TTY/braille.c:319:7: branch_false: ...to here
brltty-6.8/python3/Drivers/Braille/TTY/braille.c:320:7: call_function: calling ‘writeText’ from ‘brl_writeWindow’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def933]
brltty-6.8/python3/Drivers/Braille/TechniBraille/braille.c:86:10: warning[-Wanalyzer-null-argument]: use of NULL ‘data’ where non-null expected
brltty-6.8/python3/Drivers/Braille/TechniBraille/braille.c:141:1: enter_function: entry to ‘brl_construct’
brltty-6.8/python3/Drivers/Braille/TechniBraille/braille.c:142:6: branch_false: following ‘false’ branch...
brltty-6.8/python3/Drivers/Braille/TechniBraille/braille.c:147:23: branch_false: ...to here
brltty-6.8/python3/Drivers/Braille/TechniBraille/braille.c:147:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Drivers/Braille/TechniBraille/braille.c:149:5: branch_true: ...to here
brltty-6.8/python3/Drivers/Braille/TechniBraille/braille.c:151:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Drivers/Braille/TechniBraille/braille.c:152:11: branch_true: ...to here
brltty-6.8/python3/Drivers/Braille/TechniBraille/braille.c:152:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Drivers/Braille/TechniBraille/braille.c:153:13: branch_true: ...to here
brltty-6.8/python3/Drivers/Braille/TechniBraille/braille.c:153:13: call_function: calling ‘writePacket’ from ‘brl_construct’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def934]
brltty-6.8/python3/Drivers/Braille/Virtual/braille.c:572:7: warning[-Wanalyzer-malloc-leak]: leak of ‘readCommandLine()’
brltty-6.8/python3/Drivers/Braille/Virtual/braille.c:1195:1: enter_function: entry to ‘brl_readCommand’
brltty-6.8/python3/Drivers/Braille/Virtual/braille.c:1197:16: call_function: calling ‘readCommandLine’ from ‘brl_readCommand’
brltty-6.8/python3/Drivers/Braille/Virtual/braille.c:1197:16: return_function: returning to ‘brl_readCommand’ from ‘readCommandLine’
brltty-6.8/python3/Drivers/Braille/Virtual/braille.c:1199:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Drivers/Braille/Virtual/braille.c:1201:5: branch_true: ...to here
brltty-6.8/python3/Drivers/Braille/Virtual/braille.c:1201:5: throw: if ‘logMessage’ throws an exception...
brltty-6.8/python3/Drivers/Braille/Virtual/braille.c:572:7: danger: ‘readCommandLine()’ leaks here; was allocated at [(14)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/13)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def935]
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_main.c:94:5: warning[-Wanalyzer-malloc-leak]: leak of ‘keyname’
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_main.c:175:5: enter_function: entry to ‘main’
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_main.c:182:11: call_function: calling ‘CheckSendOrRecv’ from ‘main’
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_main.c:182:11: return_function: returning to ‘main’ from ‘CheckSendOrRecv’
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_main.c:185:5: branch_true: following ‘true’ branch (when ‘home’ is non-NULL)...
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_main.c:185:29: branch_true: ...to here
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_main.c:189:3: call_function: calling ‘Parse’ from ‘main’
Error: CPPCHECK_WARNING (CWE-476): [#def936]
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_main.c:95: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: keyname
Error: GCC_ANALYZER_WARNING (CWE-688): [#def937]
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_main.c:95:5: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘keyname’ where non-null expected
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_main.c:175:5: enter_function: entry to ‘main’
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_main.c:182:11: call_function: calling ‘CheckSendOrRecv’ from ‘main’
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_main.c:182:11: return_function: returning to ‘main’ from ‘CheckSendOrRecv’
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_main.c:185:5: branch_true: following ‘true’ branch (when ‘home’ is non-NULL)...
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_main.c:185:29: branch_true: ...to here
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_main.c:189:3: call_function: calling ‘Parse’ from ‘main’
Error: CPPCHECK_WARNING (CWE-476): [#def938]
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_main.c:98: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: socketport
Error: GCC_ANALYZER_WARNING (CWE-688): [#def939]
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_main.c:98:5: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘socketport’ where non-null expected
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_main.c:175:5: enter_function: entry to ‘main’
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_main.c:182:11: call_function: calling ‘CheckSendOrRecv’ from ‘main’
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_main.c:182:11: return_function: returning to ‘main’ from ‘CheckSendOrRecv’
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_main.c:185:5: branch_true: following ‘true’ branch (when ‘home’ is non-NULL)...
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_main.c:185:29: branch_true: ...to here
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_main.c:189:3: call_function: calling ‘Parse’ from ‘main’
Error: CPPCHECK_WARNING (CWE-476): [#def940]
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_main.c:101: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: visiobases_ext
Error: GCC_ANALYZER_WARNING (CWE-688): [#def941]
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_main.c:101:5: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘visiobases_ext’ where non-null expected
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_main.c:175:5: enter_function: entry to ‘main’
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_main.c:182:11: call_function: calling ‘CheckSendOrRecv’ from ‘main’
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_main.c:182:11: return_function: returning to ‘main’ from ‘CheckSendOrRecv’
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_main.c:185:5: branch_true: following ‘true’ branch (when ‘home’ is non-NULL)...
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_main.c:185:29: branch_true: ...to here
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_main.c:189:3: call_function: calling ‘Parse’ from ‘main’
Error: CPPCHECK_WARNING (CWE-476): [#def942]
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_main.c:102: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: visiobases_ext
Error: CPPCHECK_WARNING (CWE-476): [#def943]
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_main.c:105: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: visiobases_dir
Error: GCC_ANALYZER_WARNING (CWE-688): [#def944]
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_main.c:105:5: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘visiobases_dir’ where non-null expected
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_main.c:175:5: enter_function: entry to ‘main’
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_main.c:182:11: call_function: calling ‘CheckSendOrRecv’ from ‘main’
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_main.c:182:11: return_function: returning to ‘main’ from ‘CheckSendOrRecv’
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_main.c:185:5: branch_true: following ‘true’ branch (when ‘home’ is non-NULL)...
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_main.c:185:29: branch_true: ...to here
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_main.c:189:3: call_function: calling ‘Parse’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def945]
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:107:7: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:301:6: enter_function: entry to ‘fileput’
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:318:7: call_function: calling ‘tryToFind’ from ‘fileput’
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:318:7: return_function: returning to ‘fileput’ from ‘tryToFind’
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:318:5: branch_false: following ‘false’ branch...
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:323:1: branch_false: ...to here
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:324:2: call_function: inlined call to ‘transfer_init’ from ‘fileput’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def946]
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:107:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:301:6: enter_function: entry to ‘fileput’
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:318:7: call_function: calling ‘tryToFind’ from ‘fileput’
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:318:7: return_function: returning to ‘fileput’ from ‘tryToFind’
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:318:5: branch_false: following ‘false’ branch...
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:323:1: branch_false: ...to here
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:324:2: call_function: inlined call to ‘transfer_init’ from ‘fileput’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def947]
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:277:11: warning[-Wanalyzer-malloc-leak]: leak of ‘f2’
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:301:6: enter_function: entry to ‘fileput’
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:307:5: branch_true: following ‘true’ branch...
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:307:25: branch_true: ...to here
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:308:14: acquire_memory: allocated here
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:311:7: call_function: calling ‘tryToFind’ from ‘fileput’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def948]
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:280:12: warning[-Wanalyzer-malloc-leak]: leak of ‘f2’
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:301:6: enter_function: entry to ‘fileput’
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:307:5: branch_true: following ‘true’ branch...
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:307:25: branch_true: ...to here
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:308:14: acquire_memory: allocated here
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:311:7: call_function: calling ‘tryToFind’ from ‘fileput’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def949]
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:283:13: warning[-Wanalyzer-malloc-leak]: leak of ‘f2’
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:301:6: enter_function: entry to ‘fileput’
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:307:5: branch_true: following ‘true’ branch...
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:307:25: branch_true: ...to here
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:308:14: acquire_memory: allocated here
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:311:7: call_function: calling ‘tryToFind’ from ‘fileput’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def950]
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:286:14: warning[-Wanalyzer-malloc-leak]: leak of ‘f2’
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:301:6: enter_function: entry to ‘fileput’
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:307:5: branch_true: following ‘true’ branch...
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:307:25: branch_true: ...to here
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:308:14: acquire_memory: allocated here
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:311:7: call_function: calling ‘tryToFind’ from ‘fileput’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def951]
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:289:15: warning[-Wanalyzer-malloc-leak]: leak of ‘f2’
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:301:6: enter_function: entry to ‘fileput’
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:307:5: branch_true: following ‘true’ branch...
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:307:25: branch_true: ...to here
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:308:14: acquire_memory: allocated here
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:311:7: call_function: calling ‘tryToFind’ from ‘fileput’
Error: CPPCHECK_WARNING (CWE-476): [#def952]
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:309: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: f2
Error: GCC_ANALYZER_WARNING (CWE-688): [#def953]
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:309:3: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘f2’ where non-null expected
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:307:5: branch_true: following ‘true’ branch...
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:307:25: branch_true: ...to here
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:308:14: acquire_memory: this call could return NULL
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:309:3: danger: argument 1 (‘f2’) from [(3)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/2) could be NULL where non-null expected
Error: CPPCHECK_WARNING (CWE-476): [#def954]
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:310: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: f2
Error: GCC_ANALYZER_WARNING (CWE-775): [#def955]
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:344:3: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:301:6: enter_function: entry to ‘fileput’
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:318:7: call_function: calling ‘tryToFind’ from ‘fileput’
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:318:7: return_function: returning to ‘fileput’ from ‘tryToFind’
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:318:5: branch_false: following ‘false’ branch...
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:323:1: branch_false: ...to here
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:324:2: call_function: inlined call to ‘transfer_init’ from ‘fileput’
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:326:2: branch_true: ...to here
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:344:3: throw: if ‘brlapi_sendRaw’ throws an exception...
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:344:3: danger: ‘fd’ leaks here; was opened at [(8)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def956]
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:346:3: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:301:6: enter_function: entry to ‘fileput’
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:318:7: call_function: calling ‘tryToFind’ from ‘fileput’
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:318:7: return_function: returning to ‘fileput’ from ‘tryToFind’
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:318:5: branch_false: following ‘false’ branch...
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:323:1: branch_false: ...to here
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:324:2: call_function: inlined call to ‘transfer_init’ from ‘fileput’
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:326:2: branch_true: ...to here
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:344:3: branch_false: following ‘false’ branch...
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:345:3: branch_false: ...to here
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:346:3: throw: if ‘fflush’ throws an exception...
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:346:3: danger: ‘fd’ leaks here; was opened at [(8)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def957]
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:347:3: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:301:6: enter_function: entry to ‘fileput’
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:318:7: call_function: calling ‘tryToFind’ from ‘fileput’
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:318:7: return_function: returning to ‘fileput’ from ‘tryToFind’
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:318:5: branch_false: following ‘false’ branch...
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:323:1: branch_false: ...to here
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:324:2: call_function: inlined call to ‘transfer_init’ from ‘fileput’
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:326:2: branch_true: ...to here
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:344:3: branch_false: following ‘false’ branch...
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:345:3: branch_false: ...to here
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:347:3: throw: if ‘brlapi_recvRaw’ throws an exception...
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:347:3: danger: ‘fd’ leaks here; was opened at [(8)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def958]
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:371:2: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:301:6: enter_function: entry to ‘fileput’
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:318:7: call_function: calling ‘tryToFind’ from ‘fileput’
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:318:7: return_function: returning to ‘fileput’ from ‘tryToFind’
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:318:5: branch_false: following ‘false’ branch...
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:323:1: branch_false: ...to here
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:324:2: call_function: inlined call to ‘transfer_init’ from ‘fileput’
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:326:2: branch_true: ...to here
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:344:3: branch_false: following ‘false’ branch...
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:345:3: branch_false: ...to here
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:347:3: branch_false: following ‘false’ branch...
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:371:2: throw: if ‘close’ throws an exception...
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:371:2: danger: ‘fd’ leaks here; was opened at [(8)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def959]
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:402:2: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:301:6: enter_function: entry to ‘fileput’
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:318:7: call_function: calling ‘tryToFind’ from ‘fileput’
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:318:7: return_function: returning to ‘fileput’ from ‘tryToFind’
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:318:5: branch_false: following ‘false’ branch...
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:323:1: branch_false: ...to here
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:324:2: call_function: inlined call to ‘transfer_init’ from ‘fileput’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def960]
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:403:2: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:301:6: enter_function: entry to ‘fileput’
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:318:7: call_function: calling ‘tryToFind’ from ‘fileput’
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:318:7: return_function: returning to ‘fileput’ from ‘tryToFind’
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:318:5: branch_false: following ‘false’ branch...
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:323:1: branch_false: ...to here
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:324:2: call_function: inlined call to ‘transfer_init’ from ‘fileput’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def961]
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:404:2: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:301:6: enter_function: entry to ‘fileput’
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:318:7: call_function: calling ‘tryToFind’ from ‘fileput’
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:318:7: return_function: returning to ‘fileput’ from ‘tryToFind’
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:318:5: branch_false: following ‘false’ branch...
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:323:1: branch_false: ...to here
brltty-6.8/python3/Drivers/Braille/VisioBraille/vstp_transfer.c:324:2: call_function: inlined call to ‘transfer_init’ from ‘fileput’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def962]
brltty-6.8/python3/Drivers/Braille/Voyager/braille.c:255:20: warning[-Wanalyzer-malloc-leak]: leak of ‘getUsbString(brl, request)’
brltty-6.8/python3/Drivers/Braille/Voyager/braille.c:569:1: enter_function: entry to ‘logUsbString’
brltty-6.8/python3/Drivers/Braille/Voyager/braille.c:570:21: call_function: calling ‘getUsbString’ from ‘logUsbString’
brltty-6.8/python3/Drivers/Braille/Voyager/braille.c:570:21: return_function: returning to ‘logUsbString’ from ‘getUsbString’
brltty-6.8/python3/Drivers/Braille/Voyager/braille.c:572:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Drivers/Braille/Voyager/braille.c:573:5: branch_true: ...to here
brltty-6.8/python3/Drivers/Braille/Voyager/braille.c:573:5: throw: if ‘logMessage’ throws an exception...
brltty-6.8/python3/Drivers/Braille/Voyager/braille.c:255:20: danger: ‘getUsbString(brl, request)’ leaks here; was allocated at [(6)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/5)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def963]
brltty-6.8/python3/Drivers/Braille/XWindow/braille.c:782:16: warning[-Wanalyzer-malloc-leak]: leak of ‘argv’
brltty-6.8/python3/Drivers/Braille/XWindow/braille.c:778:15: acquire_memory: allocated here
brltty-6.8/python3/Drivers/Braille/XWindow/braille.c:778:6: branch_true: following ‘true’ branch (when ‘argv’ is non-NULL)...
brltty-6.8/python3/Drivers/Braille/XWindow/braille.c:779:5: branch_true: ...to here
brltty-6.8/python3/Drivers/Braille/XWindow/braille.c:782:16: throw: if ‘XtVaOpenApplication’ throws an exception...
brltty-6.8/python3/Drivers/Braille/XWindow/braille.c:782:16: danger: ‘argv’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def964]
brltty-6.8/python3/Drivers/Braille/XWindow/braille.c:1141:38: warning[-Wanalyzer-malloc-leak]: leak of ‘args2’
brltty-6.8/python3/Drivers/Braille/XWindow/braille.c:1121:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Drivers/Braille/XWindow/braille.c:1126:22: branch_true: ...to here
brltty-6.8/python3/Drivers/Braille/XWindow/braille.c:1128:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Drivers/Braille/XWindow/braille.c:1129:39: branch_true: ...to here
brltty-6.8/python3/Drivers/Braille/XWindow/braille.c:1131:12: branch_true: following ‘true’ branch (when ‘args2’ is non-NULL)...
brltty-6.8/python3/Drivers/Braille/XWindow/braille.c:1132:31: branch_true: ...to here
brltty-6.8/python3/Drivers/Braille/XWindow/braille.c:1136:14: branch_true: following ‘true’ branch (when ‘name’ is non-NULL)...
brltty-6.8/python3/Drivers/Braille/XWindow/braille.c:1137:37: branch_true: ...to here
brltty-6.8/python3/Drivers/Braille/XWindow/braille.c:1141:16: branch_true: following ‘true’ branch...
brltty-6.8/python3/Drivers/Braille/XWindow/braille.c:1141:38: branch_true: ...to here
brltty-6.8/python3/Drivers/Braille/XWindow/braille.c:1141:38: throw: if ‘deallocateStrings’ throws an exception...
brltty-6.8/python3/Drivers/Braille/XWindow/braille.c:1141:38: danger: ‘args2’ leaks here; was allocated at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def965]
brltty-6.8/python3/Drivers/Braille/XWindow/braille.c:1141:38: warning[-Wanalyzer-malloc-leak]: leak of ‘name’
brltty-6.8/python3/Drivers/Braille/XWindow/braille.c:1121:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Drivers/Braille/XWindow/braille.c:1126:22: branch_true: ...to here
brltty-6.8/python3/Drivers/Braille/XWindow/braille.c:1128:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Drivers/Braille/XWindow/braille.c:1129:39: branch_true: ...to here
brltty-6.8/python3/Drivers/Braille/XWindow/braille.c:1131:12: branch_true: following ‘true’ branch (when ‘args2’ is non-NULL)...
brltty-6.8/python3/Drivers/Braille/XWindow/braille.c:1132:31: branch_true: ...to here
brltty-6.8/python3/Drivers/Braille/XWindow/braille.c:1132:24: acquire_memory: allocated here
brltty-6.8/python3/Drivers/Braille/XWindow/braille.c:1136:14: branch_true: following ‘true’ branch (when ‘name’ is non-NULL)...
brltty-6.8/python3/Drivers/Braille/XWindow/braille.c:1137:37: branch_true: ...to here
brltty-6.8/python3/Drivers/Braille/XWindow/braille.c:1141:16: branch_true: following ‘true’ branch...
brltty-6.8/python3/Drivers/Braille/XWindow/braille.c:1141:38: branch_true: ...to here
brltty-6.8/python3/Drivers/Braille/XWindow/braille.c:1141:38: throw: if ‘deallocateStrings’ throws an exception...
brltty-6.8/python3/Drivers/Braille/XWindow/braille.c:1141:38: danger: ‘name’ leaks here; was allocated at [(8)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def966]
brltty-6.8/python3/Drivers/Braille/XWindow/braille.c:1148:13: warning[-Wanalyzer-malloc-leak]: leak of ‘args2’
brltty-6.8/python3/Drivers/Braille/XWindow/braille.c:1121:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Drivers/Braille/XWindow/braille.c:1126:22: branch_true: ...to here
brltty-6.8/python3/Drivers/Braille/XWindow/braille.c:1128:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Drivers/Braille/XWindow/braille.c:1129:39: branch_true: ...to here
brltty-6.8/python3/Drivers/Braille/XWindow/braille.c:1131:12: branch_true: following ‘true’ branch (when ‘args2’ is non-NULL)...
brltty-6.8/python3/Drivers/Braille/XWindow/braille.c:1132:31: branch_true: ...to here
brltty-6.8/python3/Drivers/Braille/XWindow/braille.c:1136:14: branch_false: following ‘false’ branch (when ‘name’ is NULL)...
brltty-6.8/python3/Drivers/Braille/XWindow/braille.c:1148:13: branch_false: ...to here
brltty-6.8/python3/Drivers/Braille/XWindow/braille.c:1148:13: throw: if ‘logMallocError’ throws an exception...
brltty-6.8/python3/Drivers/Braille/XWindow/braille.c:1148:13: danger: ‘args2’ leaks here; was allocated at [(5)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def967]
brltty-6.8/python3/Drivers/Braille/XWindow/braille.c:1151:22: warning[-Wanalyzer-malloc-leak]: leak of ‘args2’
brltty-6.8/python3/Drivers/Braille/XWindow/braille.c:1121:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Drivers/Braille/XWindow/braille.c:1126:22: branch_true: ...to here
brltty-6.8/python3/Drivers/Braille/XWindow/braille.c:1128:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Drivers/Braille/XWindow/braille.c:1129:39: branch_true: ...to here
brltty-6.8/python3/Drivers/Braille/XWindow/braille.c:1131:12: branch_true: following ‘true’ branch (when ‘args2’ is non-NULL)...
brltty-6.8/python3/Drivers/Braille/XWindow/braille.c:1132:31: branch_true: ...to here
brltty-6.8/python3/Drivers/Braille/XWindow/braille.c:1136:14: branch_false: following ‘false’ branch (when ‘name’ is NULL)...
brltty-6.8/python3/Drivers/Braille/XWindow/braille.c:1148:13: branch_false: ...to here
brltty-6.8/python3/Drivers/Braille/XWindow/braille.c:1151:22: throw: if ‘deallocateStrings’ throws an exception...
brltty-6.8/python3/Drivers/Braille/XWindow/braille.c:1151:22: danger: ‘args2’ leaks here; was allocated at [(5)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/4)
Error: CPPCHECK_WARNING (CWE-401): [#def968]
brltty-6.8/python3/Drivers/Screen/AtSpi2/a2_screen.c:248: error[memleakOnRealloc]: Common realloc mistake: 'curRows' nulled but not freed upon failure
Error: CPPCHECK_WARNING (CWE-401): [#def969]
brltty-6.8/python3/Drivers/Screen/AtSpi2/a2_screen.c:249: error[memleakOnRealloc]: Common realloc mistake: 'curRowLengths' nulled but not freed upon failure
Error: CPPCHECK_WARNING (CWE-401): [#def970]
brltty-6.8/python3/Drivers/Screen/AtSpi2/a2_screen.c:261: error[memleakOnRealloc]: Common realloc mistake: 'curRows' nulled but not freed upon failure
Error: CPPCHECK_WARNING (CWE-401): [#def971]
brltty-6.8/python3/Drivers/Screen/AtSpi2/a2_screen.c:262: error[memleakOnRealloc]: Common realloc mistake: 'curRowLengths' nulled but not freed upon failure
Error: CPPCHECK_WARNING (CWE-476): [#def972]
brltty-6.8/python3/Drivers/Screen/AtSpi2/a2_screen.c:788: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: ret
Error: CPPCHECK_WARNING (CWE-476): [#def973]
brltty-6.8/python3/Drivers/Screen/AtSpi2/a2_screen.c:1336: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: a2Watch
Error: GCC_ANALYZER_WARNING (CWE-476): [#def974]
brltty-6.8/python3/Drivers/Screen/AtSpi2/a2_screen.c:1336:3: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘a2Watch’
brltty-6.8/python3/Drivers/Screen/AtSpi2/a2_screen.c:1335:29: acquire_memory: this call could return NULL
brltty-6.8/python3/Drivers/Screen/AtSpi2/a2_screen.c:1336:3: danger: ‘a2Watch’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def975]
brltty-6.8/python3/Drivers/Screen/AtSpi2/a2_screen.c:1337:15: warning[-Wanalyzer-malloc-leak]: leak of ‘a2Watch’
brltty-6.8/python3/Drivers/Screen/AtSpi2/a2_screen.c:1335:29: acquire_memory: allocated here
brltty-6.8/python3/Drivers/Screen/AtSpi2/a2_screen.c:1337:15: throw: if ‘dbus_watch_get_flags’ throws an exception...
brltty-6.8/python3/Drivers/Screen/AtSpi2/a2_screen.c:1337:15: danger: ‘a2Watch’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def976]
brltty-6.8/python3/Drivers/Screen/AtSpi2/a2_screen.c:1338:7: warning[-Wanalyzer-malloc-leak]: leak of ‘a2Watch’
brltty-6.8/python3/Drivers/Screen/AtSpi2/a2_screen.c:1335:29: acquire_memory: allocated here
brltty-6.8/python3/Drivers/Screen/AtSpi2/a2_screen.c:1338:7: throw: if ‘dbus_watch_get_enabled’ throws an exception...
brltty-6.8/python3/Drivers/Screen/AtSpi2/a2_screen.c:1338:7: danger: ‘a2Watch’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def977]
brltty-6.8/python3/Drivers/Screen/AtSpi2/a2_screen.c:1341:7: warning[-Wanalyzer-malloc-leak]: leak of ‘a2Watch’
brltty-6.8/python3/Drivers/Screen/AtSpi2/a2_screen.c:1335:29: acquire_memory: allocated here
brltty-6.8/python3/Drivers/Screen/AtSpi2/a2_screen.c:1338:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Drivers/Screen/AtSpi2/a2_screen.c:1338:6: branch_true: ...to here
brltty-6.8/python3/Drivers/Screen/AtSpi2/a2_screen.c:1340:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Drivers/Screen/AtSpi2/a2_screen.c:1341:54: branch_true: ...to here
brltty-6.8/python3/Drivers/Screen/AtSpi2/a2_screen.c:1341:7: throw: if ‘asyncMonitorFileInput’ throws an exception...
brltty-6.8/python3/Drivers/Screen/AtSpi2/a2_screen.c:1341:7: danger: ‘a2Watch’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def978]
brltty-6.8/python3/Drivers/Screen/AtSpi2/a2_screen.c:1341:54: warning[-Wanalyzer-malloc-leak]: leak of ‘a2Watch’
brltty-6.8/python3/Drivers/Screen/AtSpi2/a2_screen.c:1335:29: acquire_memory: allocated here
brltty-6.8/python3/Drivers/Screen/AtSpi2/a2_screen.c:1338:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Drivers/Screen/AtSpi2/a2_screen.c:1338:6: branch_true: ...to here
brltty-6.8/python3/Drivers/Screen/AtSpi2/a2_screen.c:1340:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Drivers/Screen/AtSpi2/a2_screen.c:1341:54: branch_true: ...to here
brltty-6.8/python3/Drivers/Screen/AtSpi2/a2_screen.c:1341:54: throw: if ‘dbus_watch_get_unix_fd’ throws an exception...
brltty-6.8/python3/Drivers/Screen/AtSpi2/a2_screen.c:1341:54: danger: ‘a2Watch’ leaks here; was allocated at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def979]
brltty-6.8/python3/Drivers/Screen/AtSpi2/a2_screen.c:1343:7: warning[-Wanalyzer-malloc-leak]: leak of ‘a2Watch’
brltty-6.8/python3/Drivers/Screen/AtSpi2/a2_screen.c:1335:29: acquire_memory: allocated here
brltty-6.8/python3/Drivers/Screen/AtSpi2/a2_screen.c:1338:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Drivers/Screen/AtSpi2/a2_screen.c:1338:6: branch_true: ...to here
brltty-6.8/python3/Drivers/Screen/AtSpi2/a2_screen.c:1340:8: branch_false: following ‘false’ branch...
brltty-6.8/python3/Drivers/Screen/AtSpi2/a2_screen.c:1340:8: branch_false: ...to here
brltty-6.8/python3/Drivers/Screen/AtSpi2/a2_screen.c:1342:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Drivers/Screen/AtSpi2/a2_screen.c:1343:56: branch_true: ...to here
brltty-6.8/python3/Drivers/Screen/AtSpi2/a2_screen.c:1343:7: throw: if ‘asyncMonitorFileOutput’ throws an exception...
brltty-6.8/python3/Drivers/Screen/AtSpi2/a2_screen.c:1343:7: danger: ‘a2Watch’ leaks here; was allocated at [(1)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def980]
brltty-6.8/python3/Drivers/Screen/AtSpi2/a2_screen.c:1343:56: warning[-Wanalyzer-malloc-leak]: leak of ‘a2Watch’
brltty-6.8/python3/Drivers/Screen/AtSpi2/a2_screen.c:1335:29: acquire_memory: allocated here
brltty-6.8/python3/Drivers/Screen/AtSpi2/a2_screen.c:1338:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Drivers/Screen/AtSpi2/a2_screen.c:1338:6: branch_true: ...to here
brltty-6.8/python3/Drivers/Screen/AtSpi2/a2_screen.c:1340:8: branch_false: following ‘false’ branch...
brltty-6.8/python3/Drivers/Screen/AtSpi2/a2_screen.c:1340:8: branch_false: ...to here
brltty-6.8/python3/Drivers/Screen/AtSpi2/a2_screen.c:1342:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Drivers/Screen/AtSpi2/a2_screen.c:1343:56: branch_true: ...to here
brltty-6.8/python3/Drivers/Screen/AtSpi2/a2_screen.c:1343:56: throw: if ‘dbus_watch_get_unix_fd’ throws an exception...
brltty-6.8/python3/Drivers/Screen/AtSpi2/a2_screen.c:1343:56: danger: ‘a2Watch’ leaks here; was allocated at [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def981]
brltty-6.8/python3/Drivers/Screen/AtSpi2/a2_screen.c:1345:3: warning[-Wanalyzer-malloc-leak]: leak of ‘a2Watch’
brltty-6.8/python3/Drivers/Screen/AtSpi2/a2_screen.c:1335:29: acquire_memory: allocated here
brltty-6.8/python3/Drivers/Screen/AtSpi2/a2_screen.c:1345:3: throw: if ‘dbus_watch_set_data’ throws an exception...
brltty-6.8/python3/Drivers/Screen/AtSpi2/a2_screen.c:1345:3: danger: ‘a2Watch’ leaks here; was allocated at [(1)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def982]
brltty-6.8/python3/Drivers/Screen/AtSpi2/a2_screen.c:1403: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: a2Timeout
Error: GCC_ANALYZER_WARNING (CWE-476): [#def983]
brltty-6.8/python3/Drivers/Screen/AtSpi2/a2_screen.c:1403:3: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘a2Timeout’
brltty-6.8/python3/Drivers/Screen/AtSpi2/a2_screen.c:1402:33: acquire_memory: this call could return NULL
brltty-6.8/python3/Drivers/Screen/AtSpi2/a2_screen.c:1403:3: danger: ‘a2Timeout’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def984]
brltty-6.8/python3/Drivers/Screen/AtSpi2/a2_screen.c:1404:7: warning[-Wanalyzer-malloc-leak]: leak of ‘a2Timeout’
brltty-6.8/python3/Drivers/Screen/AtSpi2/a2_screen.c:1402:33: acquire_memory: allocated here
brltty-6.8/python3/Drivers/Screen/AtSpi2/a2_screen.c:1404:7: throw: if ‘dbus_timeout_get_enabled’ throws an exception...
brltty-6.8/python3/Drivers/Screen/AtSpi2/a2_screen.c:1404:7: danger: ‘a2Timeout’ leaks here; was allocated at [(1)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def985]
brltty-6.8/python3/Drivers/Screen/AtSpi2/a2_screen.c:1405:5: warning[-Wanalyzer-malloc-leak]: leak of ‘a2Timeout’
brltty-6.8/python3/Drivers/Screen/AtSpi2/a2_screen.c:1402:33: acquire_memory: allocated here
brltty-6.8/python3/Drivers/Screen/AtSpi2/a2_screen.c:1404:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Drivers/Screen/AtSpi2/a2_screen.c:1405:5: branch_true: ...to here
brltty-6.8/python3/Drivers/Screen/AtSpi2/a2_screen.c:1405:5: throw: if ‘dbus_timeout_get_interval’ throws an exception...
brltty-6.8/python3/Drivers/Screen/AtSpi2/a2_screen.c:1405:5: danger: ‘a2Timeout’ leaks here; was allocated at [(1)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def986]
brltty-6.8/python3/Drivers/Screen/AtSpi2/a2_screen.c:1406:3: warning[-Wanalyzer-malloc-leak]: leak of ‘a2Timeout’
brltty-6.8/python3/Drivers/Screen/AtSpi2/a2_screen.c:1402:33: acquire_memory: allocated here
brltty-6.8/python3/Drivers/Screen/AtSpi2/a2_screen.c:1404:6: branch_false: following ‘false’ branch...
brltty-6.8/python3/Drivers/Screen/AtSpi2/a2_screen.c:1406:3: branch_false: ...to here
brltty-6.8/python3/Drivers/Screen/AtSpi2/a2_screen.c:1406:3: throw: if ‘dbus_timeout_set_data’ throws an exception...
brltty-6.8/python3/Drivers/Screen/AtSpi2/a2_screen.c:1406:3: danger: ‘a2Timeout’ leaks here; was allocated at [(1)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def987]
brltty-6.8/python3/Drivers/Screen/FileViewer/screen.c:93:7: warning[-Wanalyzer-malloc-leak]: leak of ‘text’
brltty-6.8/python3/Drivers/Screen/FileViewer/screen.c:341:1: enter_function: entry to ‘construct_FileViewerScreen’
brltty-6.8/python3/Drivers/Screen/FileViewer/screen.c:349:3: call_function: calling ‘loadFile’ from ‘construct_FileViewerScreen’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def988]
brltty-6.8/python3/Drivers/Screen/FileViewer/screen.c:110:33: warning[-Wanalyzer-malloc-leak]: leak of ‘text’
brltty-6.8/python3/Drivers/Screen/FileViewer/screen.c:341:1: enter_function: entry to ‘construct_FileViewerScreen’
brltty-6.8/python3/Drivers/Screen/FileViewer/screen.c:349:3: call_function: calling ‘loadFile’ from ‘construct_FileViewerScreen’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def989]
brltty-6.8/python3/Drivers/Screen/FileViewer/screen.c:114:5: warning[-Wanalyzer-malloc-leak]: leak of ‘text’
brltty-6.8/python3/Drivers/Screen/FileViewer/screen.c:341:1: enter_function: entry to ‘construct_FileViewerScreen’
brltty-6.8/python3/Drivers/Screen/FileViewer/screen.c:349:3: call_function: calling ‘loadFile’ from ‘construct_FileViewerScreen’
Error: COMPILER_WARNING (CWE-704): [#def990]
brltty-6.8/python3/Drivers/Screen/FileViewer/screen.c: scope_hint: In function ‘setScreenContent’
brltty-6.8/python3/Drivers/Screen/FileViewer/screen.c:120:23: warning[-Wdiscarded-qualifiers]: initialization discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def991]
brltty-6.8/python3/Drivers/Screen/FileViewer/screen.c:120:23: warning[-Wdiscarded-qualifiers]: initialization discards ‘const’ qualifier from pointer target type
Error: GCC_ANALYZER_WARNING (CWE-401): [#def992]
brltty-6.8/python3/Drivers/Screen/FileViewer/screen.c:133:5: warning[-Wanalyzer-malloc-leak]: leak of ‘text’
brltty-6.8/python3/Drivers/Screen/FileViewer/screen.c:341:1: enter_function: entry to ‘construct_FileViewerScreen’
brltty-6.8/python3/Drivers/Screen/FileViewer/screen.c:349:3: call_function: calling ‘loadFile’ from ‘construct_FileViewerScreen’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def993]
brltty-6.8/python3/Drivers/Screen/FileViewer/screen.c:151:30: warning[-Wanalyzer-malloc-leak]: leak of ‘text’
brltty-6.8/python3/Drivers/Screen/FileViewer/screen.c:341:1: enter_function: entry to ‘construct_FileViewerScreen’
brltty-6.8/python3/Drivers/Screen/FileViewer/screen.c:349:3: call_function: calling ‘loadFile’ from ‘construct_FileViewerScreen’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def994]
brltty-6.8/python3/Drivers/Screen/FileViewer/screen.c:157:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(filePath, 0)’
brltty-6.8/python3/Drivers/Screen/FileViewer/screen.c:341:1: enter_function: entry to ‘construct_FileViewerScreen’
brltty-6.8/python3/Drivers/Screen/FileViewer/screen.c:349:3: call_function: calling ‘loadFile’ from ‘construct_FileViewerScreen’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def995]
brltty-6.8/python3/Drivers/Screen/FileViewer/screen.c:161:23: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(filePath, 0)’
brltty-6.8/python3/Drivers/Screen/FileViewer/screen.c:341:1: enter_function: entry to ‘construct_FileViewerScreen’
brltty-6.8/python3/Drivers/Screen/FileViewer/screen.c:349:3: call_function: calling ‘loadFile’ from ‘construct_FileViewerScreen’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def996]
brltty-6.8/python3/Drivers/Screen/FileViewer/screen.c:164:11: warning[-Wanalyzer-malloc-leak]: leak of ‘text’
brltty-6.8/python3/Drivers/Screen/FileViewer/screen.c:341:1: enter_function: entry to ‘construct_FileViewerScreen’
brltty-6.8/python3/Drivers/Screen/FileViewer/screen.c:349:3: call_function: calling ‘loadFile’ from ‘construct_FileViewerScreen’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def997]
brltty-6.8/python3/Drivers/Screen/Linux/screen.c:435:14: warning[-Wanalyzer-malloc-leak]: leak of ‘vtName(consoleName, vt)’
brltty-6.8/python3/Drivers/Screen/Linux/screen.c:2750:1: enter_function: entry to ‘selectRegion’
brltty-6.8/python3/Drivers/Screen/Linux/screen.c:2751:7: call_function: calling ‘controlCurrentConsole’ from ‘selectRegion’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def998]
brltty-6.8/python3/Drivers/Screen/Linux/screen.c:435:14: warning[-Wanalyzer-malloc-leak]: leak of ‘vtName(screenName, vt)’
brltty-6.8/python3/Drivers/Screen/Linux/screen.c:1816:1: enter_function: entry to ‘isUnusedConsole’
brltty-6.8/python3/Drivers/Screen/Linux/screen.c:1820:7: call_function: calling ‘openScreenDevice’ from ‘isUnusedConsole’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def999]
brltty-6.8/python3/Drivers/Screen/Linux/screen.c:435:14: warning[-Wanalyzer-malloc-leak]: leak of ‘vtName(unicodeDeviceName, vt)’
brltty-6.8/python3/Drivers/Screen/Linux/screen.c:2040:1: enter_function: entry to ‘describe_LinuxScreen’
brltty-6.8/python3/Drivers/Screen/Linux/screen.c:2041:6: branch_false: following ‘false’ branch...
brltty-6.8/python3/Drivers/Screen/Linux/screen.c:2046:7: branch_false: ...to here
brltty-6.8/python3/Drivers/Screen/Linux/screen.c:2046:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Drivers/Screen/Linux/screen.c:2047:9: branch_true: ...to here
brltty-6.8/python3/Drivers/Screen/Linux/screen.c:2047:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Drivers/Screen/Linux/screen.c:2048:12: branch_true: ...to here
brltty-6.8/python3/Drivers/Screen/Linux/screen.c:2048:12: call_function: calling ‘getScreenProperties’ from ‘describe_LinuxScreen’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1000]
brltty-6.8/python3/Drivers/Screen/Linux/screen.c:476:19: warning[-Wanalyzer-malloc-leak]: leak of ‘vtName(consoleName, vt)’
brltty-6.8/python3/Drivers/Screen/Linux/screen.c:2805:1: enter_function: entry to ‘switchVirtualTerminal_LinuxScreen’
brltty-6.8/python3/Drivers/Screen/Linux/screen.c:2808:11: call_function: inlined call to ‘controlMainConsole’ from ‘switchVirtualTerminal_LinuxScreen’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1001]
brltty-6.8/python3/Drivers/Screen/Linux/screen.c:479:7: warning[-Wanalyzer-malloc-leak]: leak of ‘vtName(consoleName, vt)’
brltty-6.8/python3/Drivers/Screen/Linux/screen.c:2805:1: enter_function: entry to ‘switchVirtualTerminal_LinuxScreen’
brltty-6.8/python3/Drivers/Screen/Linux/screen.c:2808:11: call_function: inlined call to ‘controlMainConsole’ from ‘switchVirtualTerminal_LinuxScreen’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1002]
brltty-6.8/python3/Drivers/Screen/Linux/screen.c:585:7: warning[-Wanalyzer-malloc-leak]: leak of ‘sfm.entries’
brltty-6.8/python3/Drivers/Screen/Linux/screen.c:1389:1: enter_function: entry to ‘setTranslationTable’
brltty-6.8/python3/Drivers/Screen/Linux/screen.c:1391:20: call_function: calling ‘setScreenFontMap’ from ‘setTranslationTable’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1003]
brltty-6.8/python3/Drivers/Screen/Linux/screen.c:712:19: warning[-Wanalyzer-malloc-leak]: leak of ‘vtName(unicodeDeviceName, vt)’
brltty-6.8/python3/Drivers/Screen/Linux/screen.c:2040:1: enter_function: entry to ‘describe_LinuxScreen’
brltty-6.8/python3/Drivers/Screen/Linux/screen.c:2041:6: branch_false: following ‘false’ branch...
brltty-6.8/python3/Drivers/Screen/Linux/screen.c:2046:7: branch_false: ...to here
brltty-6.8/python3/Drivers/Screen/Linux/screen.c:2046:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Drivers/Screen/Linux/screen.c:2047:9: branch_true: ...to here
brltty-6.8/python3/Drivers/Screen/Linux/screen.c:2047:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Drivers/Screen/Linux/screen.c:2048:12: branch_true: ...to here
brltty-6.8/python3/Drivers/Screen/Linux/screen.c:2048:12: call_function: calling ‘getScreenProperties’ from ‘describe_LinuxScreen’
Error: CPPCHECK_WARNING (CWE-457): [#def1004]
brltty-6.8/python3/Drivers/Screen/Linux/screen.c:788: warning[uninitvar]: Uninitialized variable: buffer
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1005]
brltty-6.8/python3/Drivers/Screen/Linux/screen.c:880:18: warning[-Wanalyzer-malloc-leak]: leak of ‘vtName(screenName, vt)’
brltty-6.8/python3/Drivers/Screen/Linux/screen.c:1816:1: enter_function: entry to ‘isUnusedConsole’
brltty-6.8/python3/Drivers/Screen/Linux/screen.c:1820:7: call_function: calling ‘openScreenDevice’ from ‘isUnusedConsole’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1006]
brltty-6.8/python3/Drivers/Speech/ExternalSpeech/speech.c:98:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sd’
brltty-6.8/python3/Drivers/Speech/ExternalSpeech/speech.c:95:12: acquire_resource: stream socket created here
brltty-6.8/python3/Drivers/Speech/ExternalSpeech/speech.c:97:6: branch_true: following ‘true’ branch (when ‘sd != -1’)...
brltty-6.8/python3/Drivers/Speech/ExternalSpeech/speech.c:98:9: branch_true: ...to here
brltty-6.8/python3/Drivers/Speech/ExternalSpeech/speech.c:98:9: throw: if ‘setCloseOnExec’ throws an exception...
brltty-6.8/python3/Drivers/Speech/ExternalSpeech/speech.c:98:9: danger: ‘sd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1007]
brltty-6.8/python3/Drivers/Speech/SpeechDispatcher/speech.c:166:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
brltty-6.8/python3/Drivers/Speech/SpeechDispatcher/speech.c:165:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Drivers/Speech/SpeechDispatcher/speech.c:166:7: branch_true: ...to here
brltty-6.8/python3/Drivers/Speech/SpeechDispatcher/speech.c:166:7: danger: dereference of NULL ‘0’
Error: CPPCHECK_WARNING (CWE-476): [#def1008]
brltty-6.8/python3/Headers/bitfield.h:76: error[ctunullpointer]: Null pointer dereference: to
Error: COMPILER_WARNING: [#def1009]
brltty-6.8/python3/Drivers/Braille/TTY/braille.c:40: included_from: Included from here.
brltty-6.8/python3/Headers/get_curses.h:54:2: warning[-Wcpp]: #warning curses package either unspecified or unsupported
Error: COMPILER_WARNING: [#def1010]
brltty-6.8/python3/Headers/get_curses.h:54:2: warning[-Wcpp]: #warning curses package either unspecified or unsupported
Error: COMPILER_WARNING: [#def1011]
brltty-6.8/python3/Programs/kbd_linux.c:27: included_from: Included from here.
brltty-6.8/python3/Programs/kbd_linux.c: scope_hint: In function ‘monitorKeyboard’
brltty-6.8/python3/Headers/strfmt.h:65:12: warning[-Wformat-truncation=]: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 251
/usr/include/bits/stdio2.h:68:10: note: ‘__snprintf_chk’ output between 6 and 261 bytes into a destination of size 256
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1012]
brltty-6.8/python3/Programs/addresses.c:85:7: warning[-Wanalyzer-malloc-leak]: leak of ‘entry’
brltty-6.8/python3/Programs/addresses.c:109:1: enter_function: entry to ‘setAddressName’
brltty-6.8/python3/Programs/addresses.c:124:16: acquire_memory: allocated here
brltty-6.8/python3/Programs/addresses.c:124:6: branch_true: following ‘true’ branch (when ‘entry’ is non-NULL)...
brltty-6.8/python3/Programs/addresses.c:128:5: branch_true: ...to here
brltty-6.8/python3/Programs/addresses.c:131:8: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/addresses.c:137:9: branch_false: ...to here
brltty-6.8/python3/Programs/addresses.c:137:9: call_function: calling ‘insertAddressEntry’ from ‘setAddressName’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1013]
brltty-6.8/python3/Programs/async_alarm.c:144:28: warning[-Wanalyzer-malloc-leak]: leak of ‘alarm’
brltty-6.8/python3/Programs/async_alarm.c:124:1: enter_function: entry to ‘newAlarmElement’
brltty-6.8/python3/Programs/async_alarm.c:126:19: call_function: calling ‘getAlarmQueue’ from ‘newAlarmElement’
brltty-6.8/python3/Programs/async_alarm.c:126:19: return_function: returning to ‘newAlarmElement’ from ‘getAlarmQueue’
brltty-6.8/python3/Programs/async_alarm.c:128:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/async_alarm.c:131:18: branch_true: ...to here
brltty-6.8/python3/Programs/async_alarm.c:131:18: acquire_memory: allocated here
brltty-6.8/python3/Programs/async_alarm.c:131:8: branch_true: following ‘true’ branch (when ‘alarm’ is non-NULL)...
brltty-6.8/python3/Programs/async_alarm.c:132:7: branch_true: ...to here
brltty-6.8/python3/Programs/async_alarm.c:144:28: throw: if ‘enqueueItem’ throws an exception...
brltty-6.8/python3/Programs/async_alarm.c:144:28: danger: ‘alarm’ leaks here; was allocated at [(14)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/13)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1014]
brltty-6.8/python3/Programs/async_event.c:109:9: warning[-Wanalyzer-malloc-leak]: leak of ‘event’
brltty-6.8/python3/Programs/async_event.c:104:16: acquire_memory: allocated here
brltty-6.8/python3/Programs/async_event.c:104:6: branch_true: following ‘true’ branch (when ‘event’ is non-NULL)...
brltty-6.8/python3/Programs/async_event.c:104:6: branch_true: ...to here
brltty-6.8/python3/Programs/async_event.c:109:9: throw: if ‘createAnonymousPipe’ throws an exception...
brltty-6.8/python3/Programs/async_event.c:109:9: danger: ‘event’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1015]
brltty-6.8/python3/Programs/async_io.c:169:34: warning[-Wanalyzer-malloc-leak]: leak of ‘extension’
brltty-6.8/python3/Programs/async_io.c:943:1: enter_function: entry to ‘newFileMonitorOperation’
brltty-6.8/python3/Programs/async_io.c:947:20: acquire_memory: allocated here
brltty-6.8/python3/Programs/async_io.c:947:6: branch_true: following ‘true’ branch (when ‘extension’ is non-NULL)...
brltty-6.8/python3/Programs/async_io.c:948:27: branch_true: ...to here
brltty-6.8/python3/Programs/async_io.c:951:26: call_function: calling ‘newOperation’ from ‘newFileMonitorOperation’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1016]
brltty-6.8/python3/Programs/async_io.c:169:34: warning[-Wanalyzer-malloc-leak]: leak of ‘operation’
brltty-6.8/python3/Programs/async_io.c:892:1: enter_function: entry to ‘newOperation’
brltty-6.8/python3/Programs/async_io.c:900:20: acquire_memory: allocated here
brltty-6.8/python3/Programs/async_io.c:900:6: branch_true: following ‘true’ branch (when ‘operation’ is non-NULL)...
brltty-6.8/python3/Programs/async_io.c:903:28: branch_true: ...to here
brltty-6.8/python3/Programs/async_io.c:903:28: call_function: calling ‘getFunctionElement’ from ‘newOperation’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1017]
brltty-6.8/python3/Programs/async_io.c:176:7: warning[-Wanalyzer-malloc-leak]: leak of ‘extension’
brltty-6.8/python3/Programs/async_io.c:943:1: enter_function: entry to ‘newFileMonitorOperation’
brltty-6.8/python3/Programs/async_io.c:947:20: acquire_memory: allocated here
brltty-6.8/python3/Programs/async_io.c:947:6: branch_true: following ‘true’ branch (when ‘extension’ is non-NULL)...
brltty-6.8/python3/Programs/async_io.c:948:27: branch_true: ...to here
brltty-6.8/python3/Programs/async_io.c:951:26: call_function: calling ‘newOperation’ from ‘newFileMonitorOperation’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1018]
brltty-6.8/python3/Programs/async_io.c:176:7: warning[-Wanalyzer-malloc-leak]: leak of ‘operation’
brltty-6.8/python3/Programs/async_io.c:892:1: enter_function: entry to ‘newOperation’
brltty-6.8/python3/Programs/async_io.c:900:20: acquire_memory: allocated here
brltty-6.8/python3/Programs/async_io.c:900:6: branch_true: following ‘true’ branch (when ‘operation’ is non-NULL)...
brltty-6.8/python3/Programs/async_io.c:903:28: branch_true: ...to here
brltty-6.8/python3/Programs/async_io.c:903:28: call_function: calling ‘getFunctionElement’ from ‘newOperation’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1019]
brltty-6.8/python3/Programs/async_io.c:573:26: warning[-Wanalyzer-malloc-leak]: leak of ‘extension’
brltty-6.8/python3/Programs/async_io.c:943:1: enter_function: entry to ‘newFileMonitorOperation’
brltty-6.8/python3/Programs/async_io.c:947:20: acquire_memory: allocated here
brltty-6.8/python3/Programs/async_io.c:947:6: branch_true: following ‘true’ branch (when ‘extension’ is non-NULL)...
brltty-6.8/python3/Programs/async_io.c:948:27: branch_true: ...to here
brltty-6.8/python3/Programs/async_io.c:951:26: call_function: calling ‘newOperation’ from ‘newFileMonitorOperation’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1020]
brltty-6.8/python3/Programs/async_io.c:573:26: warning[-Wanalyzer-malloc-leak]: leak of ‘operation’
brltty-6.8/python3/Programs/async_io.c:892:1: enter_function: entry to ‘newOperation’
brltty-6.8/python3/Programs/async_io.c:900:20: acquire_memory: allocated here
brltty-6.8/python3/Programs/async_io.c:900:6: branch_true: following ‘true’ branch (when ‘operation’ is non-NULL)...
brltty-6.8/python3/Programs/async_io.c:903:28: branch_true: ...to here
brltty-6.8/python3/Programs/async_io.c:903:28: call_function: calling ‘getFunctionElement’ from ‘newOperation’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1021]
brltty-6.8/python3/Programs/async_io.c:850:28: warning[-Wanalyzer-malloc-leak]: leak of ‘extension’
brltty-6.8/python3/Programs/async_io.c:943:1: enter_function: entry to ‘newFileMonitorOperation’
brltty-6.8/python3/Programs/async_io.c:947:20: acquire_memory: allocated here
brltty-6.8/python3/Programs/async_io.c:947:6: branch_true: following ‘true’ branch (when ‘extension’ is non-NULL)...
brltty-6.8/python3/Programs/async_io.c:948:27: branch_true: ...to here
brltty-6.8/python3/Programs/async_io.c:951:26: call_function: calling ‘newOperation’ from ‘newFileMonitorOperation’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1022]
brltty-6.8/python3/Programs/async_io.c:850:28: warning[-Wanalyzer-malloc-leak]: leak of ‘operation’
brltty-6.8/python3/Programs/async_io.c:892:1: enter_function: entry to ‘newOperation’
brltty-6.8/python3/Programs/async_io.c:900:20: acquire_memory: allocated here
brltty-6.8/python3/Programs/async_io.c:900:6: branch_true: following ‘true’ branch (when ‘operation’ is non-NULL)...
brltty-6.8/python3/Programs/async_io.c:903:28: branch_true: ...to here
brltty-6.8/python3/Programs/async_io.c:903:28: call_function: calling ‘getFunctionElement’ from ‘newOperation’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1023]
brltty-6.8/python3/Programs/async_io.c:862:37: warning[-Wanalyzer-malloc-leak]: leak of ‘extension’
brltty-6.8/python3/Programs/async_io.c:943:1: enter_function: entry to ‘newFileMonitorOperation’
brltty-6.8/python3/Programs/async_io.c:947:20: acquire_memory: allocated here
brltty-6.8/python3/Programs/async_io.c:947:6: branch_true: following ‘true’ branch (when ‘extension’ is non-NULL)...
brltty-6.8/python3/Programs/async_io.c:948:27: branch_true: ...to here
brltty-6.8/python3/Programs/async_io.c:951:26: call_function: calling ‘newOperation’ from ‘newFileMonitorOperation’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1024]
brltty-6.8/python3/Programs/async_io.c:862:37: warning[-Wanalyzer-malloc-leak]: leak of ‘function’
brltty-6.8/python3/Programs/async_io.c:839:1: enter_function: entry to ‘getFunctionElement’
brltty-6.8/python3/Programs/async_io.c:840:22: call_function: calling ‘getFunctionQueue’ from ‘getFunctionElement’
brltty-6.8/python3/Programs/async_io.c:840:22: return_function: returning to ‘getFunctionElement’ from ‘getFunctionQueue’
brltty-6.8/python3/Programs/async_io.c:842:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/async_io.c:844:19: branch_true: ...to here
brltty-6.8/python3/Programs/async_io.c:851:12: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/async_io.c:889:1: branch_false: ...to here
brltty-6.8/python3/Programs/async_io.c:855:8: branch_true: following ‘true’ branch (when ‘create != 0’)...
brltty-6.8/python3/Programs/async_io.c:858:23: branch_true: ...to here
brltty-6.8/python3/Programs/async_io.c:858:23: acquire_memory: allocated here
brltty-6.8/python3/Programs/async_io.c:858:10: branch_true: following ‘true’ branch (when ‘function’ is non-NULL)...
brltty-6.8/python3/Programs/async_io.c:859:9: branch_true: ...to here
brltty-6.8/python3/Programs/async_io.c:862:37: throw: if ‘newQueue’ throws an exception...
brltty-6.8/python3/Programs/async_io.c:862:37: danger: ‘function’ leaks here; was allocated at [(18)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/17)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1025]
brltty-6.8/python3/Programs/async_io.c:862:37: warning[-Wanalyzer-malloc-leak]: leak of ‘operation’
brltty-6.8/python3/Programs/async_io.c:892:1: enter_function: entry to ‘newOperation’
brltty-6.8/python3/Programs/async_io.c:900:20: acquire_memory: allocated here
brltty-6.8/python3/Programs/async_io.c:900:6: branch_true: following ‘true’ branch (when ‘operation’ is non-NULL)...
brltty-6.8/python3/Programs/async_io.c:903:28: branch_true: ...to here
brltty-6.8/python3/Programs/async_io.c:903:28: call_function: calling ‘getFunctionElement’ from ‘newOperation’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1026]
brltty-6.8/python3/Programs/async_io.c:868:13: warning[-Wanalyzer-malloc-leak]: leak of ‘function’
brltty-6.8/python3/Programs/async_io.c:839:1: enter_function: entry to ‘getFunctionElement’
brltty-6.8/python3/Programs/async_io.c:840:22: call_function: calling ‘getFunctionQueue’ from ‘getFunctionElement’
brltty-6.8/python3/Programs/async_io.c:840:22: return_function: returning to ‘getFunctionElement’ from ‘getFunctionQueue’
brltty-6.8/python3/Programs/async_io.c:842:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/async_io.c:844:19: branch_true: ...to here
brltty-6.8/python3/Programs/async_io.c:851:12: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/async_io.c:889:1: branch_false: ...to here
brltty-6.8/python3/Programs/async_io.c:855:8: branch_true: following ‘true’ branch (when ‘create != 0’)...
brltty-6.8/python3/Programs/async_io.c:858:23: branch_true: ...to here
brltty-6.8/python3/Programs/async_io.c:858:23: acquire_memory: allocated here
brltty-6.8/python3/Programs/async_io.c:858:10: branch_true: following ‘true’ branch (when ‘function’ is non-NULL)...
brltty-6.8/python3/Programs/async_io.c:859:9: branch_true: ...to here
brltty-6.8/python3/Programs/async_io.c:862:12: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/async_io.c:868:13: branch_true: ...to here
brltty-6.8/python3/Programs/async_io.c:868:13: throw: if ‘setQueueData’ throws an exception...
brltty-6.8/python3/Programs/async_io.c:868:13: danger: ‘function’ leaks here; was allocated at [(18)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/17)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1027]
brltty-6.8/python3/Programs/async_io.c:868:13: warning[-Wanalyzer-malloc-leak]: leak of ‘operation’
brltty-6.8/python3/Programs/async_io.c:892:1: enter_function: entry to ‘newOperation’
brltty-6.8/python3/Programs/async_io.c:900:20: acquire_memory: allocated here
brltty-6.8/python3/Programs/async_io.c:900:6: branch_true: following ‘true’ branch (when ‘operation’ is non-NULL)...
brltty-6.8/python3/Programs/async_io.c:903:28: branch_true: ...to here
brltty-6.8/python3/Programs/async_io.c:903:28: call_function: calling ‘getFunctionElement’ from ‘newOperation’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1028]
brltty-6.8/python3/Programs/async_io.c:871:39: warning[-Wanalyzer-malloc-leak]: leak of ‘function’
brltty-6.8/python3/Programs/async_io.c:839:1: enter_function: entry to ‘getFunctionElement’
brltty-6.8/python3/Programs/async_io.c:840:22: call_function: calling ‘getFunctionQueue’ from ‘getFunctionElement’
brltty-6.8/python3/Programs/async_io.c:840:22: return_function: returning to ‘getFunctionElement’ from ‘getFunctionQueue’
brltty-6.8/python3/Programs/async_io.c:842:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/async_io.c:844:19: branch_true: ...to here
brltty-6.8/python3/Programs/async_io.c:851:12: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/async_io.c:889:1: branch_false: ...to here
brltty-6.8/python3/Programs/async_io.c:855:8: branch_true: following ‘true’ branch (when ‘create != 0’)...
brltty-6.8/python3/Programs/async_io.c:858:23: branch_true: ...to here
brltty-6.8/python3/Programs/async_io.c:858:23: acquire_memory: allocated here
brltty-6.8/python3/Programs/async_io.c:858:10: branch_true: following ‘true’ branch (when ‘function’ is non-NULL)...
brltty-6.8/python3/Programs/async_io.c:859:9: branch_true: ...to here
brltty-6.8/python3/Programs/async_io.c:862:12: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/async_io.c:868:13: branch_true: ...to here
brltty-6.8/python3/Programs/async_io.c:871:14: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/async_io.c:871:39: branch_true: ...to here
brltty-6.8/python3/Programs/async_io.c:871:39: throw: if the called function throws an exception...
brltty-6.8/python3/Programs/async_io.c:871:39: danger: ‘function’ leaks here; was allocated at [(18)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/17)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1029]
brltty-6.8/python3/Programs/async_io.c:871:39: warning[-Wanalyzer-malloc-leak]: leak of ‘operation’
brltty-6.8/python3/Programs/async_io.c:892:1: enter_function: entry to ‘newOperation’
brltty-6.8/python3/Programs/async_io.c:900:20: acquire_memory: allocated here
brltty-6.8/python3/Programs/async_io.c:900:6: branch_true: following ‘true’ branch (when ‘operation’ is non-NULL)...
brltty-6.8/python3/Programs/async_io.c:903:28: branch_true: ...to here
brltty-6.8/python3/Programs/async_io.c:903:28: call_function: calling ‘getFunctionElement’ from ‘newOperation’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1030]
brltty-6.8/python3/Programs/async_io.c:874:32: warning[-Wanalyzer-malloc-leak]: leak of ‘function’
brltty-6.8/python3/Programs/async_io.c:839:1: enter_function: entry to ‘getFunctionElement’
brltty-6.8/python3/Programs/async_io.c:840:22: call_function: calling ‘getFunctionQueue’ from ‘getFunctionElement’
brltty-6.8/python3/Programs/async_io.c:840:22: return_function: returning to ‘getFunctionElement’ from ‘getFunctionQueue’
brltty-6.8/python3/Programs/async_io.c:842:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/async_io.c:844:19: branch_true: ...to here
brltty-6.8/python3/Programs/async_io.c:851:12: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/async_io.c:889:1: branch_false: ...to here
brltty-6.8/python3/Programs/async_io.c:855:8: branch_true: following ‘true’ branch (when ‘create != 0’)...
brltty-6.8/python3/Programs/async_io.c:858:23: branch_true: ...to here
brltty-6.8/python3/Programs/async_io.c:858:23: acquire_memory: allocated here
brltty-6.8/python3/Programs/async_io.c:858:10: branch_true: following ‘true’ branch (when ‘function’ is non-NULL)...
brltty-6.8/python3/Programs/async_io.c:859:9: branch_true: ...to here
brltty-6.8/python3/Programs/async_io.c:862:12: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/async_io.c:868:13: branch_true: ...to here
brltty-6.8/python3/Programs/async_io.c:871:14: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/async_io.c:874:32: branch_false: ...to here
brltty-6.8/python3/Programs/async_io.c:874:32: throw: if ‘enqueueItem’ throws an exception...
brltty-6.8/python3/Programs/async_io.c:874:32: danger: ‘function’ leaks here; was allocated at [(18)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/17)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1031]
brltty-6.8/python3/Programs/async_signal.c:165:3: warning[-Wanalyzer-malloc-leak]: leak of ‘sig’
brltty-6.8/python3/Programs/async_signal.c:533:1: enter_function: entry to ‘getSignalElement’
brltty-6.8/python3/Programs/async_signal.c:534:20: call_function: calling ‘getSignalQueue’ from ‘getSignalElement’
brltty-6.8/python3/Programs/async_signal.c:534:20: return_function: returning to ‘getSignalElement’ from ‘getSignalQueue’
brltty-6.8/python3/Programs/async_signal.c:536:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/async_signal.c:538:30: branch_true: ...to here
brltty-6.8/python3/Programs/async_signal.c:545:12: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/async_signal.c:589:1: branch_false: ...to here
brltty-6.8/python3/Programs/async_signal.c:549:8: branch_true: following ‘true’ branch (when ‘create != 0’)...
brltty-6.8/python3/Programs/async_signal.c:552:18: branch_true: ...to here
brltty-6.8/python3/Programs/async_signal.c:552:18: acquire_memory: allocated here
brltty-6.8/python3/Programs/async_signal.c:552:10: branch_true: following ‘true’ branch (when ‘sig’ is non-NULL)...
brltty-6.8/python3/Programs/async_signal.c:552:10: branch_true: ...to here
brltty-6.8/python3/Programs/async_signal.c:557:12: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/async_signal.c:563:13: branch_true: ...to here
brltty-6.8/python3/Programs/async_signal.c:574:13: call_function: calling ‘asyncWithAllSignalsBlocked’ from ‘getSignalElement’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1032]
brltty-6.8/python3/Programs/async_signal.c:267:5: warning[-Wanalyzer-malloc-leak]: leak of ‘sig’
brltty-6.8/python3/Programs/async_signal.c:533:1: enter_function: entry to ‘getSignalElement’
brltty-6.8/python3/Programs/async_signal.c:534:20: call_function: calling ‘getSignalQueue’ from ‘getSignalElement’
brltty-6.8/python3/Programs/async_signal.c:534:20: return_function: returning to ‘getSignalElement’ from ‘getSignalQueue’
brltty-6.8/python3/Programs/async_signal.c:536:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/async_signal.c:538:30: branch_true: ...to here
brltty-6.8/python3/Programs/async_signal.c:545:12: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/async_signal.c:589:1: branch_false: ...to here
brltty-6.8/python3/Programs/async_signal.c:549:8: branch_true: following ‘true’ branch (when ‘create != 0’)...
brltty-6.8/python3/Programs/async_signal.c:552:18: branch_true: ...to here
brltty-6.8/python3/Programs/async_signal.c:552:18: acquire_memory: allocated here
brltty-6.8/python3/Programs/async_signal.c:552:10: branch_true: following ‘true’ branch (when ‘sig’ is non-NULL)...
brltty-6.8/python3/Programs/async_signal.c:552:10: branch_true: ...to here
brltty-6.8/python3/Programs/async_signal.c:557:12: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/async_signal.c:563:13: branch_true: ...to here
brltty-6.8/python3/Programs/async_signal.c:574:13: call_function: calling ‘asyncWithAllSignalsBlocked’ from ‘getSignalElement’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1033]
brltty-6.8/python3/Programs/async_signal.c:517:31: warning[-Wanalyzer-malloc-leak]: leak of ‘sig’
brltty-6.8/python3/Programs/async_signal.c:533:1: enter_function: entry to ‘getSignalElement’
brltty-6.8/python3/Programs/async_signal.c:534:20: call_function: calling ‘getSignalQueue’ from ‘getSignalElement’
brltty-6.8/python3/Programs/async_signal.c:534:20: return_function: returning to ‘getSignalElement’ from ‘getSignalQueue’
brltty-6.8/python3/Programs/async_signal.c:536:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/async_signal.c:538:30: branch_true: ...to here
brltty-6.8/python3/Programs/async_signal.c:545:12: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/async_signal.c:589:1: branch_false: ...to here
brltty-6.8/python3/Programs/async_signal.c:549:8: branch_true: following ‘true’ branch (when ‘create != 0’)...
brltty-6.8/python3/Programs/async_signal.c:552:18: branch_true: ...to here
brltty-6.8/python3/Programs/async_signal.c:552:18: acquire_memory: allocated here
brltty-6.8/python3/Programs/async_signal.c:552:10: branch_true: following ‘true’ branch (when ‘sig’ is non-NULL)...
brltty-6.8/python3/Programs/async_signal.c:552:10: branch_true: ...to here
brltty-6.8/python3/Programs/async_signal.c:557:12: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/async_signal.c:563:13: branch_true: ...to here
brltty-6.8/python3/Programs/async_signal.c:574:13: call_function: calling ‘asyncWithAllSignalsBlocked’ from ‘getSignalElement’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1034]
brltty-6.8/python3/Programs/async_signal.c:557:30: warning[-Wanalyzer-malloc-leak]: leak of ‘sig’
brltty-6.8/python3/Programs/async_signal.c:533:1: enter_function: entry to ‘getSignalElement’
brltty-6.8/python3/Programs/async_signal.c:534:20: call_function: calling ‘getSignalQueue’ from ‘getSignalElement’
brltty-6.8/python3/Programs/async_signal.c:534:20: return_function: returning to ‘getSignalElement’ from ‘getSignalQueue’
brltty-6.8/python3/Programs/async_signal.c:536:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/async_signal.c:538:30: branch_true: ...to here
brltty-6.8/python3/Programs/async_signal.c:545:12: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/async_signal.c:589:1: branch_false: ...to here
brltty-6.8/python3/Programs/async_signal.c:549:8: branch_true: following ‘true’ branch (when ‘create != 0’)...
brltty-6.8/python3/Programs/async_signal.c:552:18: branch_true: ...to here
brltty-6.8/python3/Programs/async_signal.c:552:18: acquire_memory: allocated here
brltty-6.8/python3/Programs/async_signal.c:552:10: branch_true: following ‘true’ branch (when ‘sig’ is non-NULL)...
brltty-6.8/python3/Programs/async_signal.c:552:10: branch_true: ...to here
brltty-6.8/python3/Programs/async_signal.c:557:30: throw: if ‘newQueue’ throws an exception...
brltty-6.8/python3/Programs/async_signal.c:557:30: danger: ‘sig’ leaks here; was allocated at [(18)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/17)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1035]
brltty-6.8/python3/Programs/async_signal.c:563:13: warning[-Wanalyzer-malloc-leak]: leak of ‘sig’
brltty-6.8/python3/Programs/async_signal.c:533:1: enter_function: entry to ‘getSignalElement’
brltty-6.8/python3/Programs/async_signal.c:534:20: call_function: calling ‘getSignalQueue’ from ‘getSignalElement’
brltty-6.8/python3/Programs/async_signal.c:534:20: return_function: returning to ‘getSignalElement’ from ‘getSignalQueue’
brltty-6.8/python3/Programs/async_signal.c:536:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/async_signal.c:538:30: branch_true: ...to here
brltty-6.8/python3/Programs/async_signal.c:545:12: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/async_signal.c:589:1: branch_false: ...to here
brltty-6.8/python3/Programs/async_signal.c:549:8: branch_true: following ‘true’ branch (when ‘create != 0’)...
brltty-6.8/python3/Programs/async_signal.c:552:18: branch_true: ...to here
brltty-6.8/python3/Programs/async_signal.c:552:18: acquire_memory: allocated here
brltty-6.8/python3/Programs/async_signal.c:552:10: branch_true: following ‘true’ branch (when ‘sig’ is non-NULL)...
brltty-6.8/python3/Programs/async_signal.c:552:10: branch_true: ...to here
brltty-6.8/python3/Programs/async_signal.c:557:12: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/async_signal.c:563:13: branch_true: ...to here
brltty-6.8/python3/Programs/async_signal.c:563:13: throw: if ‘setQueueData’ throws an exception...
brltty-6.8/python3/Programs/async_signal.c:563:13: danger: ‘sig’ leaks here; was allocated at [(18)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/17)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1036]
brltty-6.8/python3/Programs/async_signal.c:578:11: warning[-Wanalyzer-malloc-leak]: leak of ‘sig’
brltty-6.8/python3/Programs/async_signal.c:533:1: enter_function: entry to ‘getSignalElement’
brltty-6.8/python3/Programs/async_signal.c:534:20: call_function: calling ‘getSignalQueue’ from ‘getSignalElement’
brltty-6.8/python3/Programs/async_signal.c:534:20: return_function: returning to ‘getSignalElement’ from ‘getSignalQueue’
brltty-6.8/python3/Programs/async_signal.c:536:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/async_signal.c:538:30: branch_true: ...to here
brltty-6.8/python3/Programs/async_signal.c:545:12: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/async_signal.c:589:1: branch_false: ...to here
brltty-6.8/python3/Programs/async_signal.c:549:8: branch_true: following ‘true’ branch (when ‘create != 0’)...
brltty-6.8/python3/Programs/async_signal.c:552:18: branch_true: ...to here
brltty-6.8/python3/Programs/async_signal.c:552:18: acquire_memory: allocated here
brltty-6.8/python3/Programs/async_signal.c:552:10: branch_true: following ‘true’ branch (when ‘sig’ is non-NULL)...
brltty-6.8/python3/Programs/async_signal.c:552:10: branch_true: ...to here
brltty-6.8/python3/Programs/async_signal.c:557:12: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/async_signal.c:563:13: branch_true: ...to here
brltty-6.8/python3/Programs/async_signal.c:574:13: call_function: calling ‘asyncWithAllSignalsBlocked’ from ‘getSignalElement’
brltty-6.8/python3/Programs/async_signal.c:574:13: return_function: returning to ‘getSignalElement’ from ‘asyncWithAllSignalsBlocked’
brltty-6.8/python3/Programs/async_signal.c:575:16: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/async_signal.c:589:1: branch_false: ...to here
brltty-6.8/python3/Programs/async_signal.c:578:11: throw: if ‘deallocateQueue’ throws an exception...
brltty-6.8/python3/Programs/async_signal.c:578:11: danger: ‘sig’ leaks here; was allocated at [(18)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/17)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1037]
brltty-6.8/python3/Programs/async_task.c:47:34: warning[-Wanalyzer-malloc-leak]: leak of ‘task’
brltty-6.8/python3/Programs/async_task.c:100:1: enter_function: entry to ‘asyncAddTask’
brltty-6.8/python3/Programs/async_task.c:103:15: acquire_memory: allocated here
brltty-6.8/python3/Programs/async_task.c:103:6: branch_true: following ‘true’ branch (when ‘task’ is non-NULL)...
brltty-6.8/python3/Programs/async_task.c:105:5: branch_true: ...to here
brltty-6.8/python3/Programs/async_task.c:108:8: branch_false: following ‘false’ branch (when ‘event’ is NULL)...
brltty-6.8/python3/Programs/async_task.c:110:16: branch_false: ...to here
brltty-6.8/python3/Programs/async_task.c:110:16: call_function: calling ‘addTask’ from ‘asyncAddTask’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1038]
brltty-6.8/python3/Programs/async_task.c:54:7: warning[-Wanalyzer-malloc-leak]: leak of ‘task’
brltty-6.8/python3/Programs/async_task.c:100:1: enter_function: entry to ‘asyncAddTask’
brltty-6.8/python3/Programs/async_task.c:103:15: acquire_memory: allocated here
brltty-6.8/python3/Programs/async_task.c:103:6: branch_true: following ‘true’ branch (when ‘task’ is non-NULL)...
brltty-6.8/python3/Programs/async_task.c:105:5: branch_true: ...to here
brltty-6.8/python3/Programs/async_task.c:108:8: branch_false: following ‘false’ branch (when ‘event’ is NULL)...
brltty-6.8/python3/Programs/async_task.c:110:16: branch_false: ...to here
brltty-6.8/python3/Programs/async_task.c:110:16: call_function: calling ‘addTask’ from ‘asyncAddTask’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1039]
brltty-6.8/python3/Programs/async_task.c:79:21: warning[-Wanalyzer-malloc-leak]: leak of ‘task’
brltty-6.8/python3/Programs/async_task.c:100:1: enter_function: entry to ‘asyncAddTask’
brltty-6.8/python3/Programs/async_task.c:103:15: acquire_memory: allocated here
brltty-6.8/python3/Programs/async_task.c:103:6: branch_true: following ‘true’ branch (when ‘task’ is non-NULL)...
brltty-6.8/python3/Programs/async_task.c:105:5: branch_true: ...to here
brltty-6.8/python3/Programs/async_task.c:108:8: branch_false: following ‘false’ branch (when ‘event’ is NULL)...
brltty-6.8/python3/Programs/async_task.c:110:16: branch_false: ...to here
brltty-6.8/python3/Programs/async_task.c:110:16: call_function: calling ‘addTask’ from ‘asyncAddTask’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1040]
brltty-6.8/python3/Programs/async_task.c:90:9: warning[-Wanalyzer-malloc-leak]: leak of ‘task’
brltty-6.8/python3/Programs/async_task.c:100:1: enter_function: entry to ‘asyncAddTask’
brltty-6.8/python3/Programs/async_task.c:103:15: acquire_memory: allocated here
brltty-6.8/python3/Programs/async_task.c:103:6: branch_true: following ‘true’ branch (when ‘task’ is non-NULL)...
brltty-6.8/python3/Programs/async_task.c:105:5: branch_true: ...to here
brltty-6.8/python3/Programs/async_task.c:108:8: branch_false: following ‘false’ branch (when ‘event’ is NULL)...
brltty-6.8/python3/Programs/async_task.c:110:16: branch_false: ...to here
brltty-6.8/python3/Programs/async_task.c:110:16: call_function: calling ‘addTask’ from ‘asyncAddTask’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1041]
brltty-6.8/python3/Programs/async_task.c:109:11: warning[-Wanalyzer-malloc-leak]: leak of ‘task’
brltty-6.8/python3/Programs/async_task.c:103:15: acquire_memory: allocated here
brltty-6.8/python3/Programs/async_task.c:103:6: branch_true: following ‘true’ branch (when ‘task’ is non-NULL)...
brltty-6.8/python3/Programs/async_task.c:105:5: branch_true: ...to here
brltty-6.8/python3/Programs/async_task.c:108:8: branch_true: following ‘true’ branch (when ‘event’ is non-NULL)...
brltty-6.8/python3/Programs/async_task.c:109:11: branch_true: ...to here
brltty-6.8/python3/Programs/async_task.c:109:11: throw: if ‘asyncSignalEvent’ throws an exception...
brltty-6.8/python3/Programs/async_task.c:109:11: danger: ‘task’ leaks here; was allocated at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1042]
brltty-6.8/python3/Programs/auth.c:290:9: warning[-Wanalyzer-malloc-leak]: leak of ‘*definition.initialize(parameter)’
brltty-6.8/python3/Programs/auth.c:662:1: enter_function: entry to ‘authBegin’
brltty-6.8/python3/Programs/auth.c:665:6: branch_true: following ‘true’ branch (when ‘auth’ is non-NULL)...
brltty-6.8/python3/Programs/auth.c:666:5: branch_true: ...to here
brltty-6.8/python3/Programs/auth.c:675:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/auth.c:676:12: branch_true: ...to here
brltty-6.8/python3/Programs/auth.c:676:10: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/auth.c:681:35: branch_false: ...to here
brltty-6.8/python3/Programs/auth.c:681:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/auth.c:682:13: branch_true: ...to here
brltty-6.8/python3/Programs/auth.c:682:13: call_function: calling ‘initializeMethodDescriptors’ from ‘authBegin’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1043]
brltty-6.8/python3/Programs/auth.c:294:7: warning[-Wanalyzer-malloc-leak]: leak of ‘keyfile’
brltty-6.8/python3/Programs/auth.c:289:18: acquire_memory: allocated here
brltty-6.8/python3/Programs/auth.c:289:6: branch_true: following ‘true’ branch (when ‘keyfile’ is non-NULL)...
brltty-6.8/python3/Programs/auth.c:290:9: branch_true: ...to here
brltty-6.8/python3/Programs/auth.c:290:8: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/auth.c:294:7: branch_false: ...to here
brltty-6.8/python3/Programs/auth.c:294:7: throw: if ‘logMessage’ throws an exception...
brltty-6.8/python3/Programs/auth.c:294:7: danger: ‘keyfile’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1044]
brltty-6.8/python3/Programs/auth.c:350:11: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
brltty-6.8/python3/Programs/auth.c:338:15: acquire_memory: allocated here
brltty-6.8/python3/Programs/auth.c:338:6: branch_true: following ‘true’ branch (when ‘user’ is non-NULL)...
brltty-6.8/python3/Programs/auth.c:343:10: branch_true: ...to here
brltty-6.8/python3/Programs/auth.c:343:8: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/auth.c:350:11: branch_false: ...to here
brltty-6.8/python3/Programs/auth.c:350:11: throw: if ‘isInteger’ throws an exception...
brltty-6.8/python3/Programs/auth.c:350:11: danger: ‘user’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1045]
brltty-6.8/python3/Programs/auth.c:357:32: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
brltty-6.8/python3/Programs/auth.c:338:15: acquire_memory: allocated here
brltty-6.8/python3/Programs/auth.c:338:6: branch_true: following ‘true’ branch (when ‘user’ is non-NULL)...
brltty-6.8/python3/Programs/auth.c:343:10: branch_true: ...to here
brltty-6.8/python3/Programs/auth.c:343:8: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/auth.c:350:11: branch_false: ...to here
brltty-6.8/python3/Programs/auth.c:350:10: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/auth.c:372:1: branch_false: ...to here
brltty-6.8/python3/Programs/auth.c:357:32: throw: if ‘getpwnam’ throws an exception...
brltty-6.8/python3/Programs/auth.c:357:32: danger: ‘user’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1046]
brltty-6.8/python3/Programs/auth.c:364:5: warning[-Wanalyzer-malloc-leak]: leak of ‘user’
brltty-6.8/python3/Programs/auth.c:338:15: acquire_memory: allocated here
brltty-6.8/python3/Programs/auth.c:338:6: branch_true: following ‘true’ branch (when ‘user’ is non-NULL)...
brltty-6.8/python3/Programs/auth.c:343:10: branch_true: ...to here
brltty-6.8/python3/Programs/auth.c:343:8: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/auth.c:350:11: branch_false: ...to here
brltty-6.8/python3/Programs/auth.c:350:10: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/auth.c:372:1: branch_false: ...to here
brltty-6.8/python3/Programs/auth.c:358:10: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/auth.c:364:5: branch_false: ...to here
brltty-6.8/python3/Programs/auth.c:364:5: throw: if ‘logMessage’ throws an exception...
brltty-6.8/python3/Programs/auth.c:364:5: danger: ‘user’ leaks here; was allocated at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1047]
brltty-6.8/python3/Programs/auth.c:405:11: warning[-Wanalyzer-malloc-leak]: leak of ‘group’
brltty-6.8/python3/Programs/auth.c:393:16: acquire_memory: allocated here
brltty-6.8/python3/Programs/auth.c:393:6: branch_true: following ‘true’ branch (when ‘group’ is non-NULL)...
brltty-6.8/python3/Programs/auth.c:398:10: branch_true: ...to here
brltty-6.8/python3/Programs/auth.c:398:8: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/auth.c:405:11: branch_false: ...to here
brltty-6.8/python3/Programs/auth.c:405:11: throw: if ‘isInteger’ throws an exception...
brltty-6.8/python3/Programs/auth.c:405:11: danger: ‘group’ leaks here; was allocated at [(1)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1048]
brltty-6.8/python3/Programs/auth.c:412:31: warning[-Wanalyzer-malloc-leak]: leak of ‘group’
brltty-6.8/python3/Programs/auth.c:393:16: acquire_memory: allocated here
brltty-6.8/python3/Programs/auth.c:393:6: branch_true: following ‘true’ branch (when ‘group’ is non-NULL)...
brltty-6.8/python3/Programs/auth.c:398:10: branch_true: ...to here
brltty-6.8/python3/Programs/auth.c:398:8: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/auth.c:405:11: branch_false: ...to here
brltty-6.8/python3/Programs/auth.c:405:10: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/auth.c:427:1: branch_false: ...to here
brltty-6.8/python3/Programs/auth.c:412:31: throw: if ‘getgrnam’ throws an exception...
brltty-6.8/python3/Programs/auth.c:412:31: danger: ‘group’ leaks here; was allocated at [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1049]
brltty-6.8/python3/Programs/auth.c:419:5: warning[-Wanalyzer-malloc-leak]: leak of ‘group’
brltty-6.8/python3/Programs/auth.c:393:16: acquire_memory: allocated here
brltty-6.8/python3/Programs/auth.c:393:6: branch_true: following ‘true’ branch (when ‘group’ is non-NULL)...
brltty-6.8/python3/Programs/auth.c:398:10: branch_true: ...to here
brltty-6.8/python3/Programs/auth.c:398:8: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/auth.c:405:11: branch_false: ...to here
brltty-6.8/python3/Programs/auth.c:405:10: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/auth.c:427:1: branch_false: ...to here
brltty-6.8/python3/Programs/auth.c:413:10: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/auth.c:419:5: branch_false: ...to here
brltty-6.8/python3/Programs/auth.c:419:5: throw: if ‘logMessage’ throws an exception...
brltty-6.8/python3/Programs/auth.c:419:5: danger: ‘group’ leaks here; was allocated at [(1)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1050]
brltty-6.8/python3/Programs/auth.c:458:27: warning[-Wanalyzer-malloc-leak]: leak of ‘polkit’
brltty-6.8/python3/Programs/auth.c:453:17: acquire_memory: allocated here
brltty-6.8/python3/Programs/auth.c:453:6: branch_true: following ‘true’ branch (when ‘polkit’ is non-NULL)...
brltty-6.8/python3/Programs/auth.c:454:5: branch_true: ...to here
brltty-6.8/python3/Programs/auth.c:458:27: throw: if ‘polkit_authority_get_sync’ throws an exception...
brltty-6.8/python3/Programs/auth.c:458:27: danger: ‘polkit’ leaks here; was allocated at [(1)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1051]
brltty-6.8/python3/Programs/auth.c:475:9: warning[-Wanalyzer-malloc-leak]: leak of ‘polkit’
brltty-6.8/python3/Programs/auth.c:453:17: acquire_memory: allocated here
brltty-6.8/python3/Programs/auth.c:453:6: branch_true: following ‘true’ branch (when ‘polkit’ is non-NULL)...
brltty-6.8/python3/Programs/auth.c:454:5: branch_true: ...to here
brltty-6.8/python3/Programs/auth.c:459:10: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/auth.c:464:7: branch_false: ...to here
brltty-6.8/python3/Programs/auth.c:467:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/auth.c:468:16: branch_true: ...to here
brltty-6.8/python3/Programs/auth.c:475:9: throw: if ‘g_error_free’ throws an exception...
brltty-6.8/python3/Programs/auth.c:475:9: danger: ‘polkit’ leaks here; was allocated at [(1)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1052]
brltty-6.8/python3/Programs/auth.c:478:24: warning[-Wanalyzer-malloc-leak]: leak of ‘polkit’
brltty-6.8/python3/Programs/auth.c:453:17: acquire_memory: allocated here
brltty-6.8/python3/Programs/auth.c:453:6: branch_true: following ‘true’ branch (when ‘polkit’ is non-NULL)...
brltty-6.8/python3/Programs/auth.c:454:5: branch_true: ...to here
brltty-6.8/python3/Programs/auth.c:459:10: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/auth.c:464:7: branch_false: ...to here
brltty-6.8/python3/Programs/auth.c:467:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/auth.c:468:16: branch_true: ...to here
brltty-6.8/python3/Programs/auth.c:478:24: throw: if ‘g_io_error_quark’ throws an exception...
brltty-6.8/python3/Programs/auth.c:478:24: danger: ‘polkit’ leaks here; was allocated at [(1)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1053]
brltty-6.8/python3/Programs/auth.c:482:7: warning[-Wanalyzer-malloc-leak]: leak of ‘polkit’
brltty-6.8/python3/Programs/auth.c:453:17: acquire_memory: allocated here
brltty-6.8/python3/Programs/auth.c:453:6: branch_true: following ‘true’ branch (when ‘polkit’ is non-NULL)...
brltty-6.8/python3/Programs/auth.c:454:5: branch_true: ...to here
brltty-6.8/python3/Programs/auth.c:459:10: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/auth.c:464:7: branch_false: ...to here
brltty-6.8/python3/Programs/auth.c:482:7: throw: if ‘logMessage’ throws an exception...
brltty-6.8/python3/Programs/auth.c:482:7: danger: ‘polkit’ leaks here; was allocated at [(1)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1054]
brltty-6.8/python3/Programs/auth.c:485:7: warning[-Wanalyzer-malloc-leak]: leak of ‘polkit’
brltty-6.8/python3/Programs/auth.c:453:17: acquire_memory: allocated here
brltty-6.8/python3/Programs/auth.c:453:6: branch_true: following ‘true’ branch (when ‘polkit’ is non-NULL)...
brltty-6.8/python3/Programs/auth.c:454:5: branch_true: ...to here
brltty-6.8/python3/Programs/auth.c:459:10: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/auth.c:464:7: branch_false: ...to here
brltty-6.8/python3/Programs/auth.c:467:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/auth.c:468:16: branch_true: ...to here
brltty-6.8/python3/Programs/auth.c:484:10: branch_false: following ‘false’ branch (when ‘wait != 0’)...
brltty-6.8/python3/Programs/auth.c:485:7: branch_false: ...to here
brltty-6.8/python3/Programs/auth.c:485:7: throw: if ‘asyncWait’ throws an exception...
brltty-6.8/python3/Programs/auth.c:485:7: danger: ‘polkit’ leaks here; was allocated at [(1)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1055]
brltty-6.8/python3/Programs/auth.c:488:5: warning[-Wanalyzer-malloc-leak]: leak of ‘polkit’
brltty-6.8/python3/Programs/auth.c:453:17: acquire_memory: allocated here
brltty-6.8/python3/Programs/auth.c:453:6: branch_true: following ‘true’ branch (when ‘polkit’ is non-NULL)...
brltty-6.8/python3/Programs/auth.c:454:5: branch_true: ...to here
brltty-6.8/python3/Programs/auth.c:459:10: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/auth.c:464:7: branch_false: ...to here
brltty-6.8/python3/Programs/auth.c:484:10: branch_true: following ‘true’ branch (when ‘wait == 0’)...
brltty-6.8/python3/Programs/auth.c:494:1: branch_true: ...to here
brltty-6.8/python3/Programs/auth.c:488:5: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/auth.c:488:5: branch_true: ...to here
brltty-6.8/python3/Programs/auth.c:488:5: throw: if ‘g_free_sized’ throws an exception...
brltty-6.8/python3/Programs/auth.c:488:5: danger: ‘polkit’ leaks here; was allocated at [(1)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1056]
brltty-6.8/python3/Programs/auth.c:675:29: warning[-Wanalyzer-malloc-leak]: leak of ‘auth’
brltty-6.8/python3/Programs/auth.c:665:15: acquire_memory: allocated here
brltty-6.8/python3/Programs/auth.c:665:6: branch_true: following ‘true’ branch (when ‘auth’ is non-NULL)...
brltty-6.8/python3/Programs/auth.c:666:5: branch_true: ...to here
brltty-6.8/python3/Programs/auth.c:675:29: throw: if ‘splitString’ throws an exception...
brltty-6.8/python3/Programs/auth.c:675:29: danger: ‘auth’ leaks here; was allocated at [(1)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1057]
brltty-6.8/python3/Programs/bluetooth.c:45:3: warning[-Wanalyzer-malloc-leak]: leak of ‘connection’
brltty-6.8/python3/Programs/bluetooth.c:501:1: enter_function: entry to ‘bthOpenConnection’
brltty-6.8/python3/Programs/bluetooth.c:504:21: acquire_memory: allocated here
brltty-6.8/python3/Programs/bluetooth.c:504:6: branch_true: following ‘true’ branch (when ‘connection’ is non-NULL)...
brltty-6.8/python3/Programs/bluetooth.c:504:6: branch_true: ...to here
brltty-6.8/python3/Programs/bluetooth.c:509:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/bluetooth.c:515:13: branch_true: ...to here
brltty-6.8/python3/Programs/bluetooth.c:515:13: call_function: calling ‘bthRecallConnectError’ from ‘bthOpenConnection’
brltty-6.8/python3/Programs/bluetooth.c:515:13: return_function: returning to ‘bthOpenConnection’ from ‘bthRecallConnectError’
brltty-6.8/python3/Programs/bluetooth.c:515:12: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/bluetooth.c:552:1: branch_false: ...to here
brltty-6.8/python3/Programs/bluetooth.c:522:12: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/bluetooth.c:522:106: branch_true: ...to here
brltty-6.8/python3/Programs/bluetooth.c:522:32: call_function: calling ‘bthDiscoverSerialPortChannel’ from ‘bthOpenConnection’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1058]
brltty-6.8/python3/Programs/bluetooth.c:46:20: warning[-Wanalyzer-malloc-leak]: leak of ‘connection’
brltty-6.8/python3/Programs/bluetooth.c:501:1: enter_function: entry to ‘bthOpenConnection’
brltty-6.8/python3/Programs/bluetooth.c:504:21: acquire_memory: allocated here
brltty-6.8/python3/Programs/bluetooth.c:504:6: branch_true: following ‘true’ branch (when ‘connection’ is non-NULL)...
brltty-6.8/python3/Programs/bluetooth.c:504:6: branch_true: ...to here
brltty-6.8/python3/Programs/bluetooth.c:509:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/bluetooth.c:515:13: branch_true: ...to here
brltty-6.8/python3/Programs/bluetooth.c:515:13: call_function: calling ‘bthRecallConnectError’ from ‘bthOpenConnection’
brltty-6.8/python3/Programs/bluetooth.c:515:13: return_function: returning to ‘bthOpenConnection’ from ‘bthRecallConnectError’
brltty-6.8/python3/Programs/bluetooth.c:515:12: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/bluetooth.c:552:1: branch_false: ...to here
brltty-6.8/python3/Programs/bluetooth.c:522:12: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/bluetooth.c:522:106: branch_true: ...to here
brltty-6.8/python3/Programs/bluetooth.c:522:32: call_function: calling ‘bthDiscoverSerialPortChannel’ from ‘bthOpenConnection’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1059]
brltty-6.8/python3/Programs/bluetooth.c:59:3: warning[-Wanalyzer-malloc-leak]: leak of ‘connection’
brltty-6.8/python3/Programs/bluetooth.c:501:1: enter_function: entry to ‘bthOpenConnection’
brltty-6.8/python3/Programs/bluetooth.c:504:21: acquire_memory: allocated here
brltty-6.8/python3/Programs/bluetooth.c:504:6: branch_true: following ‘true’ branch (when ‘connection’ is non-NULL)...
brltty-6.8/python3/Programs/bluetooth.c:504:6: branch_true: ...to here
brltty-6.8/python3/Programs/bluetooth.c:509:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/bluetooth.c:515:13: branch_true: ...to here
brltty-6.8/python3/Programs/bluetooth.c:515:13: call_function: calling ‘bthRecallConnectError’ from ‘bthOpenConnection’
brltty-6.8/python3/Programs/bluetooth.c:515:13: return_function: returning to ‘bthOpenConnection’ from ‘bthRecallConnectError’
brltty-6.8/python3/Programs/bluetooth.c:515:12: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/bluetooth.c:552:1: branch_false: ...to here
brltty-6.8/python3/Programs/bluetooth.c:522:12: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/bluetooth.c:523:9: branch_false: ...to here
brltty-6.8/python3/Programs/bluetooth.c:523:9: call_function: inlined call to ‘bthLogChannel’ from ‘bthOpenConnection’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1060]
brltty-6.8/python3/Programs/bluetooth.c:86:10: warning[-Wanalyzer-malloc-leak]: leak of ‘connection’
brltty-6.8/python3/Programs/bluetooth.c:501:1: enter_function: entry to ‘bthOpenConnection’
brltty-6.8/python3/Programs/bluetooth.c:504:21: acquire_memory: allocated here
brltty-6.8/python3/Programs/bluetooth.c:504:6: branch_true: following ‘true’ branch (when ‘connection’ is non-NULL)...
brltty-6.8/python3/Programs/bluetooth.c:504:6: branch_true: ...to here
brltty-6.8/python3/Programs/bluetooth.c:509:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/bluetooth.c:515:13: branch_true: ...to here
brltty-6.8/python3/Programs/bluetooth.c:515:13: call_function: calling ‘bthRecallConnectError’ from ‘bthOpenConnection’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1061]
brltty-6.8/python3/Programs/bluetooth.c:103:35: warning[-Wanalyzer-malloc-leak]: leak of ‘connection’
brltty-6.8/python3/Programs/bluetooth.c:501:1: enter_function: entry to ‘bthOpenConnection’
brltty-6.8/python3/Programs/bluetooth.c:504:21: acquire_memory: allocated here
brltty-6.8/python3/Programs/bluetooth.c:504:6: branch_true: following ‘true’ branch (when ‘connection’ is non-NULL)...
brltty-6.8/python3/Programs/bluetooth.c:504:6: branch_true: ...to here
brltty-6.8/python3/Programs/bluetooth.c:509:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/bluetooth.c:515:13: branch_true: ...to here
brltty-6.8/python3/Programs/bluetooth.c:515:13: call_function: calling ‘bthRecallConnectError’ from ‘bthOpenConnection’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1062]
brltty-6.8/python3/Programs/bluetooth.c:113:13: warning[-Wanalyzer-malloc-leak]: leak of ‘connection’
brltty-6.8/python3/Programs/bluetooth.c:501:1: enter_function: entry to ‘bthOpenConnection’
brltty-6.8/python3/Programs/bluetooth.c:504:21: acquire_memory: allocated here
brltty-6.8/python3/Programs/bluetooth.c:504:6: branch_true: following ‘true’ branch (when ‘connection’ is non-NULL)...
brltty-6.8/python3/Programs/bluetooth.c:504:6: branch_true: ...to here
brltty-6.8/python3/Programs/bluetooth.c:509:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/bluetooth.c:515:13: branch_true: ...to here
brltty-6.8/python3/Programs/bluetooth.c:515:13: call_function: calling ‘bthRecallConnectError’ from ‘bthOpenConnection’
brltty-6.8/python3/Programs/bluetooth.c:515:13: return_function: returning to ‘bthOpenConnection’ from ‘bthRecallConnectError’
brltty-6.8/python3/Programs/bluetooth.c:515:12: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/bluetooth.c:552:1: branch_false: ...to here
brltty-6.8/python3/Programs/bluetooth.c:522:12: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/bluetooth.c:523:9: branch_false: ...to here
brltty-6.8/python3/Programs/bluetooth.c:530:16: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/bluetooth.c:534:17: branch_false: ...to here
brltty-6.8/python3/Programs/bluetooth.c:540:9: call_function: calling ‘bthRememberConnectError’ from ‘bthOpenConnection’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1063]
brltty-6.8/python3/Programs/bluetooth.c:113:13: warning[-Wanalyzer-malloc-leak]: leak of ‘entry’
brltty-6.8/python3/Programs/bluetooth.c:184:1: enter_function: entry to ‘bthRememberConnectError’
brltty-6.8/python3/Programs/bluetooth.c:185:33: call_function: calling ‘bthGetDeviceEntry’ from ‘bthRememberConnectError’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1064]
brltty-6.8/python3/Programs/bluetooth.c:116:9: warning[-Wanalyzer-malloc-leak]: leak of ‘connection’
brltty-6.8/python3/Programs/bluetooth.c:501:1: enter_function: entry to ‘bthOpenConnection’
brltty-6.8/python3/Programs/bluetooth.c:504:21: acquire_memory: allocated here
brltty-6.8/python3/Programs/bluetooth.c:504:6: branch_true: following ‘true’ branch (when ‘connection’ is non-NULL)...
brltty-6.8/python3/Programs/bluetooth.c:504:6: branch_true: ...to here
brltty-6.8/python3/Programs/bluetooth.c:509:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/bluetooth.c:515:13: branch_true: ...to here
brltty-6.8/python3/Programs/bluetooth.c:515:13: call_function: calling ‘bthRecallConnectError’ from ‘bthOpenConnection’
brltty-6.8/python3/Programs/bluetooth.c:515:13: return_function: returning to ‘bthOpenConnection’ from ‘bthRecallConnectError’
brltty-6.8/python3/Programs/bluetooth.c:515:12: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/bluetooth.c:552:1: branch_false: ...to here
brltty-6.8/python3/Programs/bluetooth.c:522:12: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/bluetooth.c:523:9: branch_false: ...to here
brltty-6.8/python3/Programs/bluetooth.c:530:16: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/bluetooth.c:534:17: branch_false: ...to here
brltty-6.8/python3/Programs/bluetooth.c:540:9: call_function: calling ‘bthRememberConnectError’ from ‘bthOpenConnection’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1065]
brltty-6.8/python3/Programs/bluetooth.c:509:34: warning[-Wanalyzer-malloc-leak]: leak of ‘connection’
brltty-6.8/python3/Programs/bluetooth.c:504:21: acquire_memory: allocated here
brltty-6.8/python3/Programs/bluetooth.c:504:6: branch_true: following ‘true’ branch (when ‘connection’ is non-NULL)...
brltty-6.8/python3/Programs/bluetooth.c:504:6: branch_true: ...to here
brltty-6.8/python3/Programs/bluetooth.c:509:34: throw: if ‘bthNewConnectionExtension’ throws an exception...
brltty-6.8/python3/Programs/bluetooth.c:509:34: danger: ‘connection’ leaks here; was allocated at [(1)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1066]
brltty-6.8/python3/Programs/bluetooth.c:527:11: warning[-Wanalyzer-malloc-leak]: leak of ‘connection’
brltty-6.8/python3/Programs/bluetooth.c:501:1: enter_function: entry to ‘bthOpenConnection’
brltty-6.8/python3/Programs/bluetooth.c:504:21: acquire_memory: allocated here
brltty-6.8/python3/Programs/bluetooth.c:504:6: branch_true: following ‘true’ branch (when ‘connection’ is non-NULL)...
brltty-6.8/python3/Programs/bluetooth.c:504:6: branch_true: ...to here
brltty-6.8/python3/Programs/bluetooth.c:509:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/bluetooth.c:515:13: branch_true: ...to here
brltty-6.8/python3/Programs/bluetooth.c:515:13: call_function: calling ‘bthRecallConnectError’ from ‘bthOpenConnection’
brltty-6.8/python3/Programs/bluetooth.c:515:13: return_function: returning to ‘bthOpenConnection’ from ‘bthRecallConnectError’
brltty-6.8/python3/Programs/bluetooth.c:515:12: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/bluetooth.c:552:1: branch_false: ...to here
brltty-6.8/python3/Programs/bluetooth.c:522:12: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/bluetooth.c:523:9: branch_false: ...to here
brltty-6.8/python3/Programs/bluetooth.c:527:11: throw: if ‘startTimePeriod’ throws an exception...
brltty-6.8/python3/Programs/bluetooth.c:527:11: danger: ‘connection’ leaks here; was allocated at [(2)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1067]
brltty-6.8/python3/Programs/bluetooth.c:530:17: warning[-Wanalyzer-malloc-leak]: leak of ‘connection’
brltty-6.8/python3/Programs/bluetooth.c:501:1: enter_function: entry to ‘bthOpenConnection’
brltty-6.8/python3/Programs/bluetooth.c:504:21: acquire_memory: allocated here
brltty-6.8/python3/Programs/bluetooth.c:504:6: branch_true: following ‘true’ branch (when ‘connection’ is non-NULL)...
brltty-6.8/python3/Programs/bluetooth.c:504:6: branch_true: ...to here
brltty-6.8/python3/Programs/bluetooth.c:509:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/bluetooth.c:515:13: branch_true: ...to here
brltty-6.8/python3/Programs/bluetooth.c:515:13: call_function: calling ‘bthRecallConnectError’ from ‘bthOpenConnection’
brltty-6.8/python3/Programs/bluetooth.c:515:13: return_function: returning to ‘bthOpenConnection’ from ‘bthRecallConnectError’
brltty-6.8/python3/Programs/bluetooth.c:515:12: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/bluetooth.c:552:1: branch_false: ...to here
brltty-6.8/python3/Programs/bluetooth.c:522:12: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/bluetooth.c:523:9: branch_false: ...to here
brltty-6.8/python3/Programs/bluetooth.c:530:17: throw: if ‘bthOpenChannel’ throws an exception...
brltty-6.8/python3/Programs/bluetooth.c:530:17: danger: ‘connection’ leaks here; was allocated at [(2)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1068]
brltty-6.8/python3/Programs/bluetooth.c:534:17: warning[-Wanalyzer-malloc-leak]: leak of ‘connection’
brltty-6.8/python3/Programs/bluetooth.c:501:1: enter_function: entry to ‘bthOpenConnection’
brltty-6.8/python3/Programs/bluetooth.c:504:21: acquire_memory: allocated here
brltty-6.8/python3/Programs/bluetooth.c:504:6: branch_true: following ‘true’ branch (when ‘connection’ is non-NULL)...
brltty-6.8/python3/Programs/bluetooth.c:504:6: branch_true: ...to here
brltty-6.8/python3/Programs/bluetooth.c:509:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/bluetooth.c:515:13: branch_true: ...to here
brltty-6.8/python3/Programs/bluetooth.c:515:13: call_function: calling ‘bthRecallConnectError’ from ‘bthOpenConnection’
brltty-6.8/python3/Programs/bluetooth.c:515:13: return_function: returning to ‘bthOpenConnection’ from ‘bthRecallConnectError’
brltty-6.8/python3/Programs/bluetooth.c:515:12: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/bluetooth.c:552:1: branch_false: ...to here
brltty-6.8/python3/Programs/bluetooth.c:522:12: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/bluetooth.c:523:9: branch_false: ...to here
brltty-6.8/python3/Programs/bluetooth.c:530:16: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/bluetooth.c:534:17: branch_false: ...to here
brltty-6.8/python3/Programs/bluetooth.c:534:17: throw: if ‘afterTimePeriod’ throws an exception...
brltty-6.8/python3/Programs/bluetooth.c:534:17: danger: ‘connection’ leaks here; was allocated at [(2)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1069]
brltty-6.8/python3/Programs/bluetooth.c:536:13: warning[-Wanalyzer-malloc-leak]: leak of ‘connection’
brltty-6.8/python3/Programs/bluetooth.c:501:1: enter_function: entry to ‘bthOpenConnection’
brltty-6.8/python3/Programs/bluetooth.c:504:21: acquire_memory: allocated here
brltty-6.8/python3/Programs/bluetooth.c:504:6: branch_true: following ‘true’ branch (when ‘connection’ is non-NULL)...
brltty-6.8/python3/Programs/bluetooth.c:504:6: branch_true: ...to here
brltty-6.8/python3/Programs/bluetooth.c:509:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/bluetooth.c:515:13: branch_true: ...to here
brltty-6.8/python3/Programs/bluetooth.c:515:13: call_function: calling ‘bthRecallConnectError’ from ‘bthOpenConnection’
brltty-6.8/python3/Programs/bluetooth.c:515:13: return_function: returning to ‘bthOpenConnection’ from ‘bthRecallConnectError’
brltty-6.8/python3/Programs/bluetooth.c:515:12: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/bluetooth.c:552:1: branch_false: ...to here
brltty-6.8/python3/Programs/bluetooth.c:522:12: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/bluetooth.c:523:9: branch_false: ...to here
brltty-6.8/python3/Programs/bluetooth.c:530:16: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/bluetooth.c:534:17: branch_false: ...to here
brltty-6.8/python3/Programs/bluetooth.c:534:16: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/bluetooth.c:535:17: branch_false: ...to here
brltty-6.8/python3/Programs/bluetooth.c:535:16: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/bluetooth.c:536:13: branch_false: ...to here
brltty-6.8/python3/Programs/bluetooth.c:536:13: throw: if ‘asyncWait’ throws an exception...
brltty-6.8/python3/Programs/bluetooth.c:536:13: danger: ‘connection’ leaks here; was allocated at [(2)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1070]
brltty-6.8/python3/Programs/bluetooth.c:543:7: warning[-Wanalyzer-malloc-leak]: leak of ‘connection’
brltty-6.8/python3/Programs/bluetooth.c:501:1: enter_function: entry to ‘bthOpenConnection’
brltty-6.8/python3/Programs/bluetooth.c:504:21: acquire_memory: allocated here
brltty-6.8/python3/Programs/bluetooth.c:504:6: branch_true: following ‘true’ branch (when ‘connection’ is non-NULL)...
brltty-6.8/python3/Programs/bluetooth.c:504:6: branch_true: ...to here
brltty-6.8/python3/Programs/bluetooth.c:509:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/bluetooth.c:515:13: branch_true: ...to here
brltty-6.8/python3/Programs/bluetooth.c:515:13: call_function: calling ‘bthRecallConnectError’ from ‘bthOpenConnection’
brltty-6.8/python3/Programs/bluetooth.c:515:13: return_function: returning to ‘bthOpenConnection’ from ‘bthRecallConnectError’
brltty-6.8/python3/Programs/bluetooth.c:543:7: throw: if ‘bthReleaseConnectionExtension’ throws an exception...
brltty-6.8/python3/Programs/bluetooth.c:543:7: danger: ‘connection’ leaks here; was allocated at [(2)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1071]
brltty-6.8/python3/Programs/bluetooth_linux.c:220:5: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘socketDescriptor’
brltty-6.8/python3/Programs/bluetooth_linux.c:217:39: acquire_resource: socket created here
brltty-6.8/python3/Programs/bluetooth_linux.c:219:6: branch_true: following ‘true’ branch (when ‘socketDescriptor != -1’)...
brltty-6.8/python3/Programs/bluetooth_linux.c:220:5: branch_true: ...to here
brltty-6.8/python3/Programs/bluetooth_linux.c:220:5: throw: if ‘setCloseOnExec’ throws an exception...
brltty-6.8/python3/Programs/bluetooth_linux.c:220:5: danger: ‘socketDescriptor’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1072]
brltty-6.8/python3/Programs/brl_base.c:391:28: warning[-Wanalyzer-malloc-leak]: leak of ‘msg’
brltty-6.8/python3/Programs/brl_base.c:374:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/brl_base.c:377:10: branch_true: ...to here
brltty-6.8/python3/Programs/brl_base.c:377:8: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/brl_base.c:383:23: branch_false: ...to here
brltty-6.8/python3/Programs/brl_base.c:383:16: acquire_memory: allocated here
brltty-6.8/python3/Programs/brl_base.c:383:8: branch_true: following ‘true’ branch (when ‘msg’ is non-NULL)...
brltty-6.8/python3/Programs/brl_base.c:383:8: branch_true: ...to here
brltty-6.8/python3/Programs/brl_base.c:391:28: throw: if ‘findElement’ throws an exception...
brltty-6.8/python3/Programs/brl_base.c:391:28: danger: ‘msg’ leaks here; was allocated at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1073]
brltty-6.8/python3/Programs/brl_base.c:576:7: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
brltty-6.8/python3/Programs/brl_base.c:560:6: branch_true: following ‘true’ branch (when ‘map’ is non-NULL)...
brltty-6.8/python3/Programs/brl_base.c:560:6: branch_true: ...to here
brltty-6.8/python3/Programs/brl_base.c:566:8: branch_false: following ‘false’ branch (when ‘count > 3’)...
brltty-6.8/python3/Programs/brl_base.c:571:31: branch_false: ...to here
brltty-6.8/python3/Programs/brl_base.c:571:24: acquire_memory: allocated here
brltty-6.8/python3/Programs/brl_base.c:571:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/brl_base.c:571:8: branch_true: ...to here
brltty-6.8/python3/Programs/brl_base.c:572:24: branch_true: following ‘true’ branch (when ‘i < count’)...
brltty-6.8/python3/Programs/brl_base.c:573:34: branch_true: ...to here
brltty-6.8/python3/Programs/brl_base.c:576:7: throw: if ‘qsort’ throws an exception...
brltty-6.8/python3/Programs/brl_base.c:576:7: danger: ‘<unknown>’ leaks here; was allocated at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1074]
brltty-6.8/python3/Programs/brl_base.c:576:7: warning[-Wanalyzer-malloc-leak]: leak of ‘map’
brltty-6.8/python3/Programs/brl_base.c:560:14: acquire_memory: allocated here
brltty-6.8/python3/Programs/brl_base.c:560:6: branch_true: following ‘true’ branch (when ‘map’ is non-NULL)...
brltty-6.8/python3/Programs/brl_base.c:560:6: branch_true: ...to here
brltty-6.8/python3/Programs/brl_base.c:566:8: branch_false: following ‘false’ branch (when ‘count > 3’)...
brltty-6.8/python3/Programs/brl_base.c:571:31: branch_false: ...to here
brltty-6.8/python3/Programs/brl_base.c:571:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/brl_base.c:571:8: branch_true: ...to here
brltty-6.8/python3/Programs/brl_base.c:572:24: branch_true: following ‘true’ branch (when ‘i < count’)...
brltty-6.8/python3/Programs/brl_base.c:573:34: branch_true: ...to here
brltty-6.8/python3/Programs/brl_base.c:576:7: throw: if ‘qsort’ throws an exception...
brltty-6.8/python3/Programs/brl_base.c:576:7: danger: ‘map’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-562): [#def1075]
brltty-6.8/python3/Programs/brlapi_client.c:619: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
Error: CPPCHECK_WARNING (CWE-562): [#def1076]
brltty-6.8/python3/Programs/brlapi_client.c:621: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1077]
brltty-6.8/python3/Programs/brlapi_client.c:2718:9: warning[-Wanalyzer-malloc-leak]: leak of ‘brlapi_error_location()’
brltty-6.8/python3/Programs/brlapi_client.c:1448:24: enter_function: entry to ‘brlapi__getParameter’
brltty-6.8/python3/Programs/brlapi_client.c:1454:5: call_function: calling ‘brlapi_error_location’ from ‘brlapi__getParameter’
brltty-6.8/python3/Programs/brlapi_client.c:1454:5: return_function: returning to ‘brlapi__getParameter’ from ‘brlapi_error_location’
brltty-6.8/python3/Programs/brlapi_client.c:2718:9: danger: ‘brlapi_error_location()’ leaks here; was allocated at [(12)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/11)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1078]
brltty-6.8/python3/Programs/brlapi_client.c:2726:18: warning[-Wanalyzer-malloc-leak]: leak of ‘errorp’
brltty-6.8/python3/Programs/brlapi_client.c:2560:20: enter_function: entry to ‘brlapi__ignoreKeyRanges’
brltty-6.8/python3/Programs/brlapi_client.c:2562:10: call_function: calling ‘ignore_accept_key_ranges’ from ‘brlapi__ignoreKeyRanges’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1079]
brltty-6.8/python3/Programs/brlapi_client.c:2734:1: warning[-Wanalyzer-malloc-leak]: leak of ‘errorp’
brltty-6.8/python3/Programs/brlapi_client.c:2724:21: acquire_memory: allocated here
brltty-6.8/python3/Programs/brlapi_client.c:2724:12: branch_true: following ‘true’ branch (when ‘errorp’ is non-NULL)...
brltty-6.8/python3/Programs/brlapi_client.c:2724:50: branch_true: ...to here
brltty-6.8/python3/Programs/brlapi_client.c:2724:13: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/brlapi_client.c:2724:13: branch_false: ...to here
brltty-6.8/python3/Programs/brlapi_client.c:2734:1: danger: ‘errorp’ leaks here; was allocated at [(1)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def1080]
brltty-6.8/python3/Programs/brlapi_common.h:606: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: ret
Error: CPPCHECK_WARNING (CWE-476): [#def1081]
brltty-6.8/python3/Programs/brlapi_server.c:2453: error[ctunullpointer]: Null pointer dereference: c
Error: CPPCHECK_WARNING (CWE-476): [#def1082]
brltty-6.8/python3/Programs/brlapi_server.c:2602: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: s
Error: CPPCHECK_WARNING (CWE-476): [#def1083]
brltty-6.8/python3/Programs/brlapi_server.c:2603: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: s
Error: CPPCHECK_WARNING (CWE-476): [#def1084]
brltty-6.8/python3/Programs/brlapi_server.c:2604: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: s
Error: CPPCHECK_WARNING (CWE-476): [#def1085]
brltty-6.8/python3/Programs/brlapi_server.c:2605: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: s
Error: CPPCHECK_WARNING (CWE-476): [#def1086]
brltty-6.8/python3/Programs/brlapi_server.c:2606: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: s
Error: CPPCHECK_WARNING (CWE-476): [#def1087]
brltty-6.8/python3/Programs/brlapi_server.c:2607: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: s
Error: CPPCHECK_WARNING (CWE-476): [#def1088]
brltty-6.8/python3/Programs/brlapi_server.c:2608: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: s
Error: CPPCHECK_WARNING (CWE-401): [#def1089]
brltty-6.8/python3/Programs/brlapi_server.c:4612: error[memleakOnRealloc]: Common realloc mistake: 'coreWindowText' nulled but not freed upon failure
Error: CPPCHECK_WARNING (CWE-401): [#def1090]
brltty-6.8/python3/Programs/brlapi_server.c:4613: error[memleakOnRealloc]: Common realloc mistake: 'coreWindowDots' nulled but not freed upon failure
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1091]
brltty-6.8/python3/Programs/brltty-ctb.c:310:23: warning[-Wanalyzer-malloc-leak]: leak of ‘makeUtf8FromCells(__builtin_alloca_with_align((sizetype)((int)text.length << 3), 8), (long unsigned int)outputCount)’
brltty-6.8/python3/Programs/brltty-ctb.c:362:8: enter_function: entry to ‘processContractsOperands’
brltty-6.8/python3/Programs/brltty-ctb.c:365:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/brltty-ctb.c:368:9: branch_true: ...to here
brltty-6.8/python3/Programs/brltty-ctb.c:368:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/brltty-ctb.c:368:62: branch_true: ...to here
brltty-6.8/python3/Programs/brltty-ctb.c:382:25: call_function: calling ‘makeUtf8FromCells’ from ‘processContractsOperands’
brltty-6.8/python3/Programs/brltty-ctb.c:382:25: return_function: returning to ‘processContractsOperands’ from ‘makeUtf8FromCells’
brltty-6.8/python3/Programs/brltty-ctb.c:382:12: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/brltty-ctb.c:385:26: branch_true: ...to here
brltty-6.8/python3/Programs/brltty-ctb.c:385:26: call_function: calling ‘makeUtf8FromCells’ from ‘processContractsOperands’
brltty-6.8/python3/Programs/brltty-ctb.c:385:26: return_function: returning to ‘processContractsOperands’ from ‘makeUtf8FromCells’
brltty-6.8/python3/Programs/brltty-ctb.c:385:15: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/brltty-ctb.c:386:15: branch_true: ...to here
brltty-6.8/python3/Programs/brltty-ctb.c:386:15: throw: if ‘reportDataError’ throws an exception...
brltty-6.8/python3/Programs/brltty-ctb.c:310:23: danger: ‘makeUtf8FromCells(__builtin_alloca_with_align((sizetype)((int)text.length << 3), 8), (long unsigned int)outputCount)’ leaks here; was allocated at [(19)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/18)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1092]
brltty-6.8/python3/Programs/brltty-ctb.c:318:21: warning[-Wanalyzer-malloc-leak]: leak of ‘ch’
brltty-6.8/python3/Programs/brltty-ctb.c:310:16: acquire_memory: allocated here
brltty-6.8/python3/Programs/brltty-ctb.c:312:6: branch_true: following ‘true’ branch (when ‘text’ is non-NULL)...
brltty-6.8/python3/Programs/brltty-ctb.c:312:6: branch_true: ...to here
brltty-6.8/python3/Programs/brltty-ctb.c:316:15: branch_true: following ‘true’ branch (when ‘i < count’)...
brltty-6.8/python3/Programs/brltty-ctb.c:318:45: branch_true: ...to here
brltty-6.8/python3/Programs/brltty-ctb.c:318:21: throw: if ‘convertWcharToUtf8’ throws an exception...
brltty-6.8/python3/Programs/brltty-ctb.c:318:21: danger: ‘ch’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1093]
brltty-6.8/python3/Programs/brltty-ctb.c:318:21: warning[-Wanalyzer-malloc-leak]: leak of ‘text’
brltty-6.8/python3/Programs/brltty-ctb.c:310:16: acquire_memory: allocated here
brltty-6.8/python3/Programs/brltty-ctb.c:312:6: branch_true: following ‘true’ branch (when ‘text’ is non-NULL)...
brltty-6.8/python3/Programs/brltty-ctb.c:312:6: branch_true: ...to here
brltty-6.8/python3/Programs/brltty-ctb.c:316:15: branch_true: following ‘true’ branch (when ‘i < count’)...
brltty-6.8/python3/Programs/brltty-ctb.c:318:45: branch_true: ...to here
brltty-6.8/python3/Programs/brltty-ctb.c:320:10: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/brltty-ctb.c:323:10: branch_false: ...to here
brltty-6.8/python3/Programs/brltty-ctb.c:316:15: branch_true: following ‘true’ branch (when ‘i < count’)...
brltty-6.8/python3/Programs/brltty-ctb.c:318:45: branch_true: ...to here
brltty-6.8/python3/Programs/brltty-ctb.c:318:21: throw: if ‘convertWcharToUtf8’ throws an exception...
brltty-6.8/python3/Programs/brltty-ctb.c:318:21: danger: ‘text’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-457): [#def1094]
brltty-6.8/python3/Programs/brltty-lscmds.c:236: warning[uninitvar]: Uninitialized variables: commands.name, commands.description, commands.code, commands.isToggle, commands.isMotion, commands.isRow, commands.isVertical, commands.isHorizontal, commands.isPanning, commands.isInput, commands.isCharacter, commands.isBraille, commands.isKeyboard, commands.isRouting, commands.isColumn, commands.isOffset, commands.isRange
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1095]
brltty-6.8/python3/Programs/brltty-lsinc.c:51:10: warning[-Wanalyzer-malloc-leak]: leak of ‘name’
brltty-6.8/python3/Programs/brltty-lsinc.c:49:12: acquire_memory: allocated here
brltty-6.8/python3/Programs/brltty-lsinc.c:50:8: branch_false: following ‘false’ branch (when ‘name’ is non-NULL)...
brltty-6.8/python3/Programs/brltty-lsinc.c:51:10: branch_false: ...to here
brltty-6.8/python3/Programs/brltty-lsinc.c:51:10: throw: if ‘tsearch’ throws an exception...
brltty-6.8/python3/Programs/brltty-lsinc.c:51:10: danger: ‘name’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1096]
brltty-6.8/python3/Programs/brltty-lsinc.c:54:1: warning[-Wanalyzer-malloc-leak]: leak of ‘name’
brltty-6.8/python3/Programs/brltty-lsinc.c:49:12: acquire_memory: allocated here
brltty-6.8/python3/Programs/brltty-lsinc.c:50:8: branch_false: following ‘false’ branch (when ‘name’ is non-NULL)...
brltty-6.8/python3/Programs/brltty-lsinc.c:51:10: branch_false: ...to here
brltty-6.8/python3/Programs/brltty-lsinc.c:51:8: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/brltty-lsinc.c:52:5: branch_false: ...to here
brltty-6.8/python3/Programs/brltty-lsinc.c:54:1: danger: ‘name’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-457): [#def1097]
brltty-6.8/python3/Programs/brltty-ttb.c:403: warning[uninitvar]: Uninitialized variables: inputCharactersBuffer.character, inputCharactersBuffer.dots
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1098]
brltty-6.8/python3/Programs/charset.c:149:8: warning[-Wanalyzer-malloc-leak]: leak of ‘charset’
brltty-6.8/python3/Programs/charset.c:144:19: acquire_memory: allocated here
brltty-6.8/python3/Programs/charset.c:144:6: branch_false: following ‘false’ branch (when ‘charset’ is non-NULL)...
brltty-6.8/python3/Programs/charset.c:149:8: branch_false: ...to here
brltty-6.8/python3/Programs/charset.c:149:8: throw: if ‘registerCharacterSet’ throws an exception...
brltty-6.8/python3/Programs/charset.c:149:8: danger: ‘charset’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1099]
brltty-6.8/python3/Programs/charset.c:157:5: warning[-Wanalyzer-malloc-leak]: leak of ‘charset’
brltty-6.8/python3/Programs/charset.c:144:19: acquire_memory: allocated here
brltty-6.8/python3/Programs/charset.c:144:6: branch_false: following ‘false’ branch (when ‘charset’ is non-NULL)...
brltty-6.8/python3/Programs/charset.c:149:8: branch_false: ...to here
brltty-6.8/python3/Programs/charset.c:149:6: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/charset.c:154:7: branch_false: ...to here
brltty-6.8/python3/Programs/charset.c:154:6: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/charset.c:157:5: branch_false: ...to here
brltty-6.8/python3/Programs/charset.c:157:5: throw: if ‘registerProgramMemory’ throws an exception...
brltty-6.8/python3/Programs/charset.c:157:5: danger: ‘charset’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-121): [#def1100]
brltty-6.8/python3/Programs/charset_iconv.c:121:9: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
brltty-6.8/python3/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:121:8: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:132:5: branch_false: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:121:8: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:132:5: branch_false: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:121:9: danger: out-of-bounds write from byte 88 till byte 95 but ‘convTable’ ends at byte 64
Error: GCC_ANALYZER_WARNING (CWE-126): [#def1101]
brltty-6.8/python3/Programs/charset_iconv.c:121:39: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
brltty-6.8/python3/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:121:8: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:132:5: branch_false: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:121:8: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:132:5: branch_false: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:121:39: danger: out-of-bounds read from byte 80 till byte 87 but ‘convTable’ ends at byte 64
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1102]
brltty-6.8/python3/Programs/charset_iconv.c:121:56: warning[-Wanalyzer-malloc-leak]: leak of ‘iconv_open(*conv.toCharset, *conv.fromCharset)’
brltty-6.8/python3/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:121:28: acquire_memory: allocated here
brltty-6.8/python3/Programs/charset_iconv.c:121:8: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:132:5: branch_false: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:121:28: throw: if ‘iconv_open’ throws an exception...
brltty-6.8/python3/Programs/charset_iconv.c:121:56: danger: ‘iconv_open(*conv.toCharset, *conv.fromCharset)’ leaks here; was allocated at [(3)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-126): [#def1103]
brltty-6.8/python3/Programs/charset_iconv.c:121:56: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
brltty-6.8/python3/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:121:8: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:132:5: branch_false: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:121:8: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:132:5: branch_false: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:121:56: danger: out-of-bounds read from byte 72 till byte 79 but ‘convTable’ ends at byte 64
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1104]
brltty-6.8/python3/Programs/charset_iconv.c:122:7: warning[-Wanalyzer-malloc-leak]: leak of ‘convTable[0].newHandle’
brltty-6.8/python3/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:121:28: acquire_memory: allocated here
brltty-6.8/python3/Programs/charset_iconv.c:121:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:122:7: branch_true: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:122:7: throw: if ‘logSystemError’ throws an exception...
brltty-6.8/python3/Programs/charset_iconv.c:122:7: danger: ‘convTable[0].newHandle’ leaks here; was allocated at [(3)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1105]
brltty-6.8/python3/Programs/charset_iconv.c:122:7: warning[-Wanalyzer-malloc-leak]: leak of ‘convTable[1].newHandle’
brltty-6.8/python3/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:121:28: acquire_memory: allocated here
brltty-6.8/python3/Programs/charset_iconv.c:121:8: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:132:5: branch_false: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:121:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:122:7: branch_true: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:122:7: throw: if ‘logSystemError’ throws an exception...
brltty-6.8/python3/Programs/charset_iconv.c:122:7: danger: ‘convTable[1].newHandle’ leaks here; was allocated at [(3)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1106]
brltty-6.8/python3/Programs/charset_iconv.c:122:7: warning[-Wanalyzer-malloc-leak]: leak of ‘convTable[2].newHandle’
brltty-6.8/python3/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:121:28: acquire_memory: allocated here
brltty-6.8/python3/Programs/charset_iconv.c:121:8: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:132:5: branch_false: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:121:8: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:132:5: branch_false: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:121:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:122:7: branch_true: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:122:7: throw: if ‘logSystemError’ throws an exception...
brltty-6.8/python3/Programs/charset_iconv.c:122:7: danger: ‘convTable[2].newHandle’ leaks here; was allocated at [(3)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1107]
brltty-6.8/python3/Programs/charset_iconv.c:122:7: warning[-Wanalyzer-malloc-leak]: leak of ‘convTable[3].newHandle’
brltty-6.8/python3/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:121:28: acquire_memory: allocated here
brltty-6.8/python3/Programs/charset_iconv.c:121:8: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:132:5: branch_false: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:121:8: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:132:5: branch_false: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:121:8: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:132:5: branch_false: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:121:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:122:7: branch_true: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:122:7: throw: if ‘logSystemError’ throws an exception...
brltty-6.8/python3/Programs/charset_iconv.c:122:7: danger: ‘convTable[3].newHandle’ leaks here; was allocated at [(3)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1108]
brltty-6.8/python3/Programs/charset_iconv.c:126:9: warning[-Wanalyzer-malloc-leak]: leak of ‘convTable[1].newHandle’
brltty-6.8/python3/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:121:28: acquire_memory: allocated here
brltty-6.8/python3/Programs/charset_iconv.c:121:8: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:132:5: branch_false: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:121:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:122:7: branch_true: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:124:14: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:125:9: branch_true: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:126:9: throw: if ‘iconv_close’ throws an exception...
brltty-6.8/python3/Programs/charset_iconv.c:126:9: danger: ‘convTable[1].newHandle’ leaks here; was allocated at [(3)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1109]
brltty-6.8/python3/Programs/charset_iconv.c:126:9: warning[-Wanalyzer-malloc-leak]: leak of ‘convTable[2].newHandle’
brltty-6.8/python3/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:121:28: acquire_memory: allocated here
brltty-6.8/python3/Programs/charset_iconv.c:121:8: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:132:5: branch_false: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:121:8: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:132:5: branch_false: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:121:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:122:7: branch_true: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:124:14: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:125:9: branch_true: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:126:9: throw: if ‘iconv_close’ throws an exception...
brltty-6.8/python3/Programs/charset_iconv.c:126:9: danger: ‘convTable[2].newHandle’ leaks here; was allocated at [(3)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1110]
brltty-6.8/python3/Programs/charset_iconv.c:126:9: warning[-Wanalyzer-malloc-leak]: leak of ‘convTable[3].newHandle’
brltty-6.8/python3/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:121:28: acquire_memory: allocated here
brltty-6.8/python3/Programs/charset_iconv.c:121:8: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:132:5: branch_false: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:121:8: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:132:5: branch_false: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:121:8: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:132:5: branch_false: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:121:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:122:7: branch_true: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:124:14: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:125:9: branch_true: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:126:9: throw: if ‘iconv_close’ throws an exception...
brltty-6.8/python3/Programs/charset_iconv.c:126:9: danger: ‘convTable[3].newHandle’ leaks here; was allocated at [(3)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-126): [#def1111]
brltty-6.8/python3/Programs/charset_iconv.c:126:9: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
brltty-6.8/python3/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:121:8: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:132:5: branch_false: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:121:8: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:132:5: branch_false: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:121:8: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:132:5: branch_false: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:121:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:122:7: branch_true: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:124:14: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:125:9: branch_true: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:126:9: danger: out-of-bounds read from byte 88 till byte 95 but ‘convTable’ ends at byte 64
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1112]
brltty-6.8/python3/Programs/charset_iconv.c:129:14: warning[-Wanalyzer-malloc-leak]: leak of ‘convTable[0].newHandle’
brltty-6.8/python3/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:121:28: acquire_memory: allocated here
brltty-6.8/python3/Programs/charset_iconv.c:121:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:122:7: branch_true: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:124:14: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:129:14: branch_false: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:129:14: danger: ‘convTable[0].newHandle’ leaks here; was allocated at [(3)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1113]
brltty-6.8/python3/Programs/charset_iconv.c:129:14: warning[-Wanalyzer-malloc-leak]: leak of ‘convTable[1].newHandle’
brltty-6.8/python3/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:121:28: acquire_memory: allocated here
brltty-6.8/python3/Programs/charset_iconv.c:121:8: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:132:5: branch_false: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:121:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:122:7: branch_true: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:129:14: danger: ‘convTable[1].newHandle’ leaks here; was allocated at [(3)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-126): [#def1114]
brltty-6.8/python3/Programs/charset_iconv.c:138:10: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
brltty-6.8/python3/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:121:8: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:132:5: branch_false: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:121:8: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:132:5: branch_false: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:121:8: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:132:5: branch_false: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:120:10: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:120:10: branch_false: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:135:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:136:5: branch_true: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:138:10: danger: out-of-bounds read from byte 64 till byte 71 but ‘convTable’ ends at byte 64
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1115]
brltty-6.8/python3/Programs/charset_iconv.c:141:7: warning[-Wanalyzer-malloc-leak]: leak of ‘convTable[1].newHandle’
brltty-6.8/python3/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:121:28: acquire_memory: allocated here
brltty-6.8/python3/Programs/charset_iconv.c:121:8: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:132:5: branch_false: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:121:8: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:132:5: branch_false: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:120:10: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:120:10: branch_false: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:135:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:136:5: branch_true: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:138:8: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:141:7: branch_false: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:141:7: throw: if ‘iconv_close’ throws an exception...
brltty-6.8/python3/Programs/charset_iconv.c:141:7: danger: ‘convTable[1].newHandle’ leaks here; was allocated at [(3)](sarif:/runs/0/results/22/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1116]
brltty-6.8/python3/Programs/charset_iconv.c:141:7: warning[-Wanalyzer-malloc-leak]: leak of ‘convTable[firstTime].newHandle’
brltty-6.8/python3/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:121:28: acquire_memory: allocated here
brltty-6.8/python3/Programs/charset_iconv.c:121:8: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:132:5: branch_false: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:120:10: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:120:10: branch_false: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:135:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:136:5: branch_true: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:138:8: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:141:7: branch_false: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:141:7: throw: if ‘iconv_close’ throws an exception...
brltty-6.8/python3/Programs/charset_iconv.c:141:7: danger: ‘convTable[firstTime].newHandle’ leaks here; was allocated at [(3)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-126): [#def1117]
brltty-6.8/python3/Programs/charset_iconv.c:144:21: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
brltty-6.8/python3/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:121:8: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:132:5: branch_false: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:121:8: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:132:5: branch_false: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:121:8: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:132:5: branch_false: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:120:10: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:120:10: branch_false: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:135:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:136:5: branch_true: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:138:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:144:21: branch_true: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:144:21: danger: out-of-bounds read from byte 88 till byte 95 but ‘convTable’ ends at byte 64
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1118]
brltty-6.8/python3/Programs/charset_iconv.c:147:18: warning[-Wanalyzer-malloc-leak]: leak of ‘convTable[0].newHandle’
brltty-6.8/python3/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:121:28: acquire_memory: allocated here
brltty-6.8/python3/Programs/charset_iconv.c:121:8: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:132:5: branch_false: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:120:10: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:120:10: branch_false: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:135:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:136:5: branch_true: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:138:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:144:21: branch_true: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:135:10: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:147:6: branch_false: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:147:6: branch_true: following ‘true’ branch (when ‘firstTime != 0’)...
brltty-6.8/python3/Programs/charset_iconv.c:147:18: branch_true: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:147:18: throw: if ‘onProgramExit’ throws an exception...
brltty-6.8/python3/Programs/charset_iconv.c:147:18: danger: ‘convTable[0].newHandle’ leaks here; was allocated at [(3)](sarif:/runs/0/results/25/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1119]
brltty-6.8/python3/Programs/charset_iconv.c:147:18: warning[-Wanalyzer-malloc-leak]: leak of ‘convTable[1].newHandle’
brltty-6.8/python3/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:121:28: acquire_memory: allocated here
brltty-6.8/python3/Programs/charset_iconv.c:121:8: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:132:5: branch_false: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:121:8: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:132:5: branch_false: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:120:10: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:120:10: branch_false: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:135:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:136:5: branch_true: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:138:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:144:21: branch_true: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:135:10: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:147:6: branch_false: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:147:6: branch_true: following ‘true’ branch (when ‘firstTime != 0’)...
brltty-6.8/python3/Programs/charset_iconv.c:147:18: branch_true: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:147:18: throw: if ‘onProgramExit’ throws an exception...
brltty-6.8/python3/Programs/charset_iconv.c:147:18: danger: ‘convTable[1].newHandle’ leaks here; was allocated at [(3)](sarif:/runs/0/results/26/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1120]
brltty-6.8/python3/Programs/charset_iconv.c:147:18: warning[-Wanalyzer-malloc-leak]: leak of ‘convTable[2].newHandle’
brltty-6.8/python3/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:121:28: acquire_memory: allocated here
brltty-6.8/python3/Programs/charset_iconv.c:121:8: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:132:5: branch_false: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:121:8: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:132:5: branch_false: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:121:8: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:132:5: branch_false: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:120:10: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:120:10: branch_false: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:135:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:136:5: branch_true: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:138:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:144:21: branch_true: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:135:10: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:147:6: branch_false: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:147:6: branch_true: following ‘true’ branch (when ‘firstTime != 0’)...
brltty-6.8/python3/Programs/charset_iconv.c:147:18: branch_true: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:147:18: throw: if ‘onProgramExit’ throws an exception...
brltty-6.8/python3/Programs/charset_iconv.c:147:18: danger: ‘convTable[2].newHandle’ leaks here; was allocated at [(3)](sarif:/runs/0/results/27/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1121]
brltty-6.8/python3/Programs/charset_iconv.c:149:1: warning[-Wanalyzer-malloc-leak]: leak of ‘convTable[2].newHandle’
brltty-6.8/python3/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:121:28: acquire_memory: allocated here
brltty-6.8/python3/Programs/charset_iconv.c:121:8: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:132:5: branch_false: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:121:8: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:132:5: branch_false: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:121:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:122:7: branch_true: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:149:1: danger: ‘convTable[2].newHandle’ leaks here; was allocated at [(3)](sarif:/runs/0/results/28/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1122]
brltty-6.8/python3/Programs/charset_iconv.c:149:1: warning[-Wanalyzer-malloc-leak]: leak of ‘convTable[3].newHandle’
brltty-6.8/python3/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:121:28: acquire_memory: allocated here
brltty-6.8/python3/Programs/charset_iconv.c:121:8: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:132:5: branch_false: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:121:8: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:132:5: branch_false: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:121:8: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:132:5: branch_false: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:120:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:121:56: branch_true: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:121:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/charset_iconv.c:122:7: branch_true: ...to here
brltty-6.8/python3/Programs/charset_iconv.c:149:1: danger: ‘convTable[3].newHandle’ leaks here; was allocated at [(3)](sarif:/runs/0/results/29/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1123]
brltty-6.8/python3/Programs/clipboard.c:81:32: warning[-Wanalyzer-malloc-leak]: leak of ‘entry’
brltty-6.8/python3/Programs/clipboard.c:80:18: acquire_memory: allocated here
brltty-6.8/python3/Programs/clipboard.c:80:8: branch_true: following ‘true’ branch (when ‘entry’ is non-NULL)...
brltty-6.8/python3/Programs/clipboard.c:81:32: branch_true: ...to here
brltty-6.8/python3/Programs/clipboard.c:81:32: throw: if ‘allocateCharacters’ throws an exception...
brltty-6.8/python3/Programs/clipboard.c:81:32: danger: ‘entry’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1124]
brltty-6.8/python3/Programs/clipboard.c:85:13: warning[-Wanalyzer-malloc-leak]: leak of ‘entry’
brltty-6.8/python3/Programs/clipboard.c:80:18: acquire_memory: allocated here
brltty-6.8/python3/Programs/clipboard.c:80:8: branch_true: following ‘true’ branch (when ‘entry’ is non-NULL)...
brltty-6.8/python3/Programs/clipboard.c:81:32: branch_true: ...to here
brltty-6.8/python3/Programs/clipboard.c:81:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/clipboard.c:82:9: branch_true: ...to here
brltty-6.8/python3/Programs/clipboard.c:85:13: throw: if ‘enqueueItem’ throws an exception...
brltty-6.8/python3/Programs/clipboard.c:85:13: danger: ‘entry’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1125]
brltty-6.8/python3/Programs/clipboard.c:91:9: warning[-Wanalyzer-malloc-leak]: leak of ‘entry’
brltty-6.8/python3/Programs/clipboard.c:80:18: acquire_memory: allocated here
brltty-6.8/python3/Programs/clipboard.c:80:8: branch_true: following ‘true’ branch (when ‘entry’ is non-NULL)...
brltty-6.8/python3/Programs/clipboard.c:81:32: branch_true: ...to here
brltty-6.8/python3/Programs/clipboard.c:81:10: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/clipboard.c:91:9: branch_false: ...to here
brltty-6.8/python3/Programs/clipboard.c:91:9: throw: if ‘logMallocError’ throws an exception...
brltty-6.8/python3/Programs/clipboard.c:91:9: danger: ‘entry’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1126]
brltty-6.8/python3/Programs/clipboard.c:256:31: warning[-Wanalyzer-malloc-leak]: leak of ‘cpb’
brltty-6.8/python3/Programs/clipboard.c:249:14: acquire_memory: allocated here
brltty-6.8/python3/Programs/clipboard.c:249:6: branch_true: following ‘true’ branch (when ‘cpb’ is non-NULL)...
brltty-6.8/python3/Programs/clipboard.c:250:5: branch_true: ...to here
brltty-6.8/python3/Programs/clipboard.c:256:31: throw: if ‘newQueue’ throws an exception...
brltty-6.8/python3/Programs/clipboard.c:256:31: danger: ‘cpb’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1127]
brltty-6.8/python3/Programs/clipboard.c:264:1: warning[-Wanalyzer-malloc-leak]: leak of ‘cpb’
brltty-6.8/python3/Programs/clipboard.c:249:14: acquire_memory: allocated here
brltty-6.8/python3/Programs/clipboard.c:249:6: branch_true: following ‘true’ branch (when ‘cpb’ is non-NULL)...
brltty-6.8/python3/Programs/clipboard.c:250:5: branch_true: ...to here
brltty-6.8/python3/Programs/clipboard.c:256:8: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/clipboard.c:256:8: branch_false: ...to here
brltty-6.8/python3/Programs/clipboard.c:264:1: danger: ‘cpb’ leaks here; was allocated at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1128]
brltty-6.8/python3/Programs/clipboard.c:282:1: warning[-Wanalyzer-malloc-leak]: leak of ‘cpb’
brltty-6.8/python3/Programs/clipboard.c:300:1: enter_function: entry to ‘getMainClipboard’
brltty-6.8/python3/Programs/clipboard.c:304:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/clipboard.c:305:24: branch_true: ...to here
brltty-6.8/python3/Programs/clipboard.c:305:24: call_function: calling ‘newClipboard’ from ‘getMainClipboard’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1129]
brltty-6.8/python3/Programs/cmd_clipboard.c:713:22: warning[-Wanalyzer-malloc-leak]: leak of ‘ccd’
brltty-6.8/python3/Programs/cmd_clipboard.c:711:14: acquire_memory: allocated here
brltty-6.8/python3/Programs/cmd_clipboard.c:711:6: branch_true: following ‘true’ branch (when ‘ccd’ is non-NULL)...
brltty-6.8/python3/Programs/cmd_clipboard.c:712:5: branch_true: ...to here
brltty-6.8/python3/Programs/cmd_clipboard.c:713:22: throw: if ‘getMainClipboard’ throws an exception...
brltty-6.8/python3/Programs/cmd_clipboard.c:713:22: danger: ‘ccd’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1130]
brltty-6.8/python3/Programs/cmd_clipboard.c:719:9: warning[-Wanalyzer-malloc-leak]: leak of ‘ccd’
brltty-6.8/python3/Programs/cmd_clipboard.c:711:14: acquire_memory: allocated here
brltty-6.8/python3/Programs/cmd_clipboard.c:711:6: branch_true: following ‘true’ branch (when ‘ccd’ is non-NULL)...
brltty-6.8/python3/Programs/cmd_clipboard.c:712:5: branch_true: ...to here
brltty-6.8/python3/Programs/cmd_clipboard.c:719:9: throw: if ‘pushCommandHandler’ throws an exception...
brltty-6.8/python3/Programs/cmd_clipboard.c:719:9: danger: ‘ccd’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1131]
brltty-6.8/python3/Programs/cmd_input.c:428:31: warning[-Wanalyzer-malloc-leak]: leak of ‘icd’
brltty-6.8/python3/Programs/cmd_input.c:423:14: acquire_memory: allocated here
brltty-6.8/python3/Programs/cmd_input.c:423:6: branch_true: following ‘true’ branch (when ‘icd’ is non-NULL)...
brltty-6.8/python3/Programs/cmd_input.c:424:5: branch_true: ...to here
brltty-6.8/python3/Programs/cmd_input.c:428:31: throw: if ‘registerReportListener’ throws an exception...
brltty-6.8/python3/Programs/cmd_input.c:428:31: danger: ‘icd’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1132]
brltty-6.8/python3/Programs/cmd_keycodes.c:799:31: warning[-Wanalyzer-malloc-leak]: leak of ‘kcd’
brltty-6.8/python3/Programs/cmd_keycodes.c:795:14: acquire_memory: allocated here
brltty-6.8/python3/Programs/cmd_keycodes.c:795:6: branch_true: following ‘true’ branch (when ‘kcd’ is non-NULL)...
brltty-6.8/python3/Programs/cmd_keycodes.c:796:5: branch_true: ...to here
brltty-6.8/python3/Programs/cmd_keycodes.c:799:31: throw: if ‘registerReportListener’ throws an exception...
brltty-6.8/python3/Programs/cmd_keycodes.c:799:31: danger: ‘kcd’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1133]
brltty-6.8/python3/Programs/cmd_learn.c:58:13: warning[-Wanalyzer-malloc-leak]: leak of ‘lmp’
brltty-6.8/python3/Programs/cmd_learn.c:54:18: acquire_memory: allocated here
brltty-6.8/python3/Programs/cmd_learn.c:54:10: branch_true: following ‘true’ branch (when ‘lmp’ is non-NULL)...
brltty-6.8/python3/Programs/cmd_learn.c:56:9: branch_true: ...to here
brltty-6.8/python3/Programs/cmd_learn.c:58:13: throw: if ‘asyncAddTask’ throws an exception...
brltty-6.8/python3/Programs/cmd_learn.c:58:13: danger: ‘lmp’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-457): [#def1134]
brltty-6.8/python3/Programs/cmd_navigation.c:233: warning[uninitvar]: Uninitialized variable: text
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1135]
brltty-6.8/python3/Programs/cmd_override.c:194:9: warning[-Wanalyzer-malloc-leak]: leak of ‘ocd’
brltty-6.8/python3/Programs/cmd_override.c:189:14: acquire_memory: allocated here
brltty-6.8/python3/Programs/cmd_override.c:189:6: branch_true: following ‘true’ branch (when ‘ocd’ is non-NULL)...
brltty-6.8/python3/Programs/cmd_override.c:190:5: branch_true: ...to here
brltty-6.8/python3/Programs/cmd_override.c:194:9: throw: if ‘pushCommandHandler’ throws an exception...
brltty-6.8/python3/Programs/cmd_override.c:194:9: danger: ‘ocd’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1136]
brltty-6.8/python3/Programs/cmd_preferences.c:180:9: warning[-Wanalyzer-malloc-leak]: leak of ‘pcd’
brltty-6.8/python3/Programs/cmd_preferences.c:177:14: acquire_memory: allocated here
brltty-6.8/python3/Programs/cmd_preferences.c:177:6: branch_true: following ‘true’ branch (when ‘pcd’ is non-NULL)...
brltty-6.8/python3/Programs/cmd_preferences.c:178:5: branch_true: ...to here
brltty-6.8/python3/Programs/cmd_preferences.c:180:9: throw: if ‘pushCommandHandler’ throws an exception...
brltty-6.8/python3/Programs/cmd_preferences.c:180:9: danger: ‘pcd’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1137]
brltty-6.8/python3/Programs/cmd_queue.c:271:13: warning[-Wanalyzer-malloc-leak]: leak of ‘item’
brltty-6.8/python3/Programs/cmd_queue.c:260:6: branch_false: following ‘false’ branch (when ‘command != -1’)...
brltty-6.8/python3/Programs/cmd_queue.c:263:20: branch_false: ...to here
brltty-6.8/python3/Programs/cmd_queue.c:265:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/cmd_queue.c:266:32: branch_true: ...to here
brltty-6.8/python3/Programs/cmd_queue.c:266:32: acquire_memory: allocated here
brltty-6.8/python3/Programs/cmd_queue.c:268:10: branch_true: following ‘true’ branch (when ‘item’ is non-NULL)...
brltty-6.8/python3/Programs/cmd_queue.c:269:9: branch_true: ...to here
brltty-6.8/python3/Programs/cmd_queue.c:271:13: throw: if ‘enqueueItem’ throws an exception...
brltty-6.8/python3/Programs/cmd_queue.c:271:13: danger: ‘item’ leaks here; was allocated at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1138]
brltty-6.8/python3/Programs/cmd_queue.c:307:28: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
brltty-6.8/python3/Programs/cmd_queue.c:287:1: enter_function: entry to ‘pushCommandHandler’
brltty-6.8/python3/Programs/cmd_queue.c:296:6: branch_true: following ‘true’ branch (when ‘chl’ is non-NULL)...
brltty-6.8/python3/Programs/cmd_queue.c:297:5: branch_true: ...to here
brltty-6.8/python3/Programs/cmd_queue.c:305:35: call_function: inlined call to ‘getCommandHandlerTop’ from ‘pushCommandHandler’
brltty-6.8/python3/Programs/cmd_queue.c:307:28: branch_true: ...to here
brltty-6.8/python3/Programs/cmd_queue.c:307:28: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1139]
brltty-6.8/python3/Programs/cmd_queue.c:323:24: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
brltty-6.8/python3/Programs/cmd_queue.c:321:1: enter_function: entry to ‘popCommandHandler’
brltty-6.8/python3/Programs/cmd_queue.c:322:31: call_function: inlined call to ‘getCommandHandlerTop’ from ‘popCommandHandler’
brltty-6.8/python3/Programs/cmd_queue.c:323:24: branch_true: ...to here
brltty-6.8/python3/Programs/cmd_queue.c:323:24: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1140]
brltty-6.8/python3/Programs/cmd_touch.c:116:54: warning[-Wanalyzer-malloc-leak]: leak of ‘tcd’
brltty-6.8/python3/Programs/cmd_touch.c:113:14: acquire_memory: allocated here
brltty-6.8/python3/Programs/cmd_touch.c:113:6: branch_true: following ‘true’ branch (when ‘tcd’ is non-NULL)...
brltty-6.8/python3/Programs/cmd_touch.c:114:5: branch_true: ...to here
brltty-6.8/python3/Programs/cmd_touch.c:116:54: throw: if ‘registerReportListener’ throws an exception...
brltty-6.8/python3/Programs/cmd_touch.c:116:54: danger: ‘tcd’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1141]
brltty-6.8/python3/Programs/cmdline.c:451:11: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*indexToLetter[index]’
brltty-6.8/python3/Programs/cmdline.c:413:32: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/cmdline.c:438:5: branch_false: ...to here
brltty-6.8/python3/Programs/cmdline.c:447:32: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/cmdline.c:448:42: branch_true: ...to here
brltty-6.8/python3/Programs/cmdline.c:450:10: branch_false: following ‘false’ branch (when ‘word’ is non-NULL)...
brltty-6.8/python3/Programs/cmdline.c:451:11: branch_false: ...to here
brltty-6.8/python3/Programs/cmdline.c:451:11: danger: use of uninitialized value ‘*indexToLetter[index]’ here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1142]
brltty-6.8/python3/Programs/cmdline.c:877:17: warning[-Wanalyzer-malloc-leak]: leak of ‘newSetting’
brltty-6.8/python3/Programs/cmdline.c:865:36: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/cmdline.c:866:40: branch_true: ...to here
brltty-6.8/python3/Programs/cmdline.c:868:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/cmdline.c:869:19: branch_true: ...to here
brltty-6.8/python3/Programs/cmdline.c:874:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/cmdline.c:875:13: branch_true: ...to here
brltty-6.8/python3/Programs/cmdline.c:875:12: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/cmdline.c:876:29: branch_true: ...to here
brltty-6.8/python3/Programs/cmdline.c:876:29: acquire_memory: allocated here
brltty-6.8/python3/Programs/cmdline.c:876:14: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/cmdline.c:877:17: branch_true: ...to here
brltty-6.8/python3/Programs/cmdline.c:877:17: throw: if the called function throws an exception...
brltty-6.8/python3/Programs/cmdline.c:877:17: danger: ‘newSetting’ leaks here; was allocated at [(9)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1143]
brltty-6.8/python3/Programs/cmdline.c:1068:9: warning[-Wanalyzer-malloc-leak]: leak of ‘directive’
brltty-6.8/python3/Programs/cmdline.c:1048:36: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/cmdline.c:1049:40: branch_true: ...to here
brltty-6.8/python3/Programs/cmdline.c:1051:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/cmdline.c:1057:25: acquire_memory: allocated here
brltty-6.8/python3/Programs/cmdline.c:1057:10: branch_false: following ‘false’ branch (when ‘directive’ is non-NULL)...
brltty-6.8/python3/Programs/cmdline.c:1063:7: branch_false: ...to here
brltty-6.8/python3/Programs/cmdline.c:1068:9: throw: if ‘convertUtf8ToWchars’ throws an exception...
brltty-6.8/python3/Programs/cmdline.c:1068:9: danger: ‘directive’ leaks here; was allocated at [(5)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1144]
brltty-6.8/python3/Programs/cmdline.c:1234:7: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(path, "r")’
brltty-6.8/python3/Programs/cmdline.c:1257:1: enter_function: entry to ‘processInputFile’
brltty-6.8/python3/Programs/cmdline.c:1258:6: branch_false: following ‘false’ branch (when the strings are non-equal)...
brltty-6.8/python3/Programs/cmdline.c:1263:20: branch_false: ...to here
brltty-6.8/python3/Programs/cmdline.c:1263:20: acquire_resource: opened here
brltty-6.8/python3/Programs/cmdline.c:1265:8: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/cmdline.c:1270:32: branch_false: ...to here
brltty-6.8/python3/Programs/cmdline.c:1270:32: call_function: calling ‘processInputStream’ from ‘processInputFile’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1145]
brltty-6.8/python3/Programs/cmdline.c:1234:7: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(path, "r")’
brltty-6.8/python3/Programs/cmdline.c:1257:1: enter_function: entry to ‘processInputFile’
brltty-6.8/python3/Programs/cmdline.c:1258:6: branch_false: following ‘false’ branch (when the strings are non-equal)...
brltty-6.8/python3/Programs/cmdline.c:1263:20: branch_false: ...to here
brltty-6.8/python3/Programs/cmdline.c:1263:20: acquire_memory: allocated here
brltty-6.8/python3/Programs/cmdline.c:1265:8: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/cmdline.c:1270:32: branch_false: ...to here
brltty-6.8/python3/Programs/cmdline.c:1270:32: call_function: calling ‘processInputStream’ from ‘processInputFile’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1146]
brltty-6.8/python3/Programs/config.c:2806:10: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
brltty-6.8/python3/Programs/config.c:2910:1: enter_function: entry to ‘background’
brltty-6.8/python3/Programs/config.c:2913:6: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/config.c:2918:3: branch_false: ...to here
brltty-6.8/python3/Programs/config.c:2924:8: branch_false: following ‘false’ branch (when ‘child != -1’)...
brltty-6.8/python3/Programs/config.c:2929:8: branch_false: ...to here
brltty-6.8/python3/Programs/config.c:2929:8: branch_true: following ‘true’ branch (when ‘child != 0’)...
brltty-6.8/python3/Programs/config.c:2932:11: branch_true: ...to here
brltty-6.8/python3/Programs/config.c:2934:12: call_function: inlined call to ‘makePidFile’ from ‘background’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1147]
brltty-6.8/python3/Programs/config.c:2918:3: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
brltty-6.8/python3/Programs/config.c:2913:6: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/config.c:2918:3: branch_false: ...to here
brltty-6.8/python3/Programs/config.c:2918:3: throw: if ‘fflush’ throws an exception...
brltty-6.8/python3/Programs/config.c:2918:3: danger: ‘fds[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1148]
brltty-6.8/python3/Programs/config.c:2918:3: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
brltty-6.8/python3/Programs/config.c:2913:6: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/config.c:2918:3: branch_false: ...to here
brltty-6.8/python3/Programs/config.c:2918:3: throw: if ‘fflush’ throws an exception...
brltty-6.8/python3/Programs/config.c:2918:3: danger: ‘fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1149]
brltty-6.8/python3/Programs/config.c:2919:3: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
brltty-6.8/python3/Programs/config.c:2913:6: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/config.c:2918:3: branch_false: ...to here
brltty-6.8/python3/Programs/config.c:2919:3: throw: if ‘fflush’ throws an exception...
brltty-6.8/python3/Programs/config.c:2919:3: danger: ‘fds[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1150]
brltty-6.8/python3/Programs/config.c:2919:3: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
brltty-6.8/python3/Programs/config.c:2913:6: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/config.c:2918:3: branch_false: ...to here
brltty-6.8/python3/Programs/config.c:2919:3: throw: if ‘fflush’ throws an exception...
brltty-6.8/python3/Programs/config.c:2919:3: danger: ‘fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1151]
brltty-6.8/python3/Programs/config.c:2925:7: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
brltty-6.8/python3/Programs/config.c:2913:6: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/config.c:2918:3: branch_false: ...to here
brltty-6.8/python3/Programs/config.c:2924:8: branch_true: following ‘true’ branch (when ‘child == -1’)...
brltty-6.8/python3/Programs/config.c:2925:7: branch_true: ...to here
brltty-6.8/python3/Programs/config.c:2925:7: throw: if ‘logSystemError’ throws an exception...
brltty-6.8/python3/Programs/config.c:2925:7: danger: ‘fds[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1152]
brltty-6.8/python3/Programs/config.c:2925:7: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
brltty-6.8/python3/Programs/config.c:2913:6: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/config.c:2918:3: branch_false: ...to here
brltty-6.8/python3/Programs/config.c:2924:8: branch_true: following ‘true’ branch (when ‘child == -1’)...
brltty-6.8/python3/Programs/config.c:2925:7: branch_true: ...to here
brltty-6.8/python3/Programs/config.c:2925:7: throw: if ‘logSystemError’ throws an exception...
brltty-6.8/python3/Programs/config.c:2925:7: danger: ‘fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1153]
brltty-6.8/python3/Programs/config.c:2932:11: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
brltty-6.8/python3/Programs/config.c:2913:6: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/config.c:2918:3: branch_false: ...to here
brltty-6.8/python3/Programs/config.c:2924:8: branch_false: following ‘false’ branch (when ‘child != -1’)...
brltty-6.8/python3/Programs/config.c:2929:8: branch_false: ...to here
brltty-6.8/python3/Programs/config.c:2929:8: branch_true: following ‘true’ branch (when ‘child != 0’)...
brltty-6.8/python3/Programs/config.c:2932:11: branch_true: ...to here
brltty-6.8/python3/Programs/config.c:2932:11: throw: if ‘close’ throws an exception...
brltty-6.8/python3/Programs/config.c:2932:11: danger: ‘fds[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1154]
brltty-6.8/python3/Programs/config.c:2932:11: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
brltty-6.8/python3/Programs/config.c:2913:6: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/config.c:2918:3: branch_false: ...to here
brltty-6.8/python3/Programs/config.c:2924:8: branch_false: following ‘false’ branch (when ‘child != -1’)...
brltty-6.8/python3/Programs/config.c:2929:8: branch_false: ...to here
brltty-6.8/python3/Programs/config.c:2929:8: branch_true: following ‘true’ branch (when ‘child != 0’)...
brltty-6.8/python3/Programs/config.c:2932:11: branch_true: ...to here
brltty-6.8/python3/Programs/config.c:2932:11: throw: if ‘close’ throws an exception...
brltty-6.8/python3/Programs/config.c:2932:11: danger: ‘fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1155]
brltty-6.8/python3/Programs/config.c:2932:32: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
brltty-6.8/python3/Programs/config.c:2913:6: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/config.c:2918:3: branch_false: ...to here
brltty-6.8/python3/Programs/config.c:2924:8: branch_false: following ‘false’ branch (when ‘child != -1’)...
brltty-6.8/python3/Programs/config.c:2929:8: branch_false: ...to here
brltty-6.8/python3/Programs/config.c:2929:8: branch_true: following ‘true’ branch (when ‘child != 0’)...
brltty-6.8/python3/Programs/config.c:2932:11: branch_true: ...to here
brltty-6.8/python3/Programs/config.c:2932:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/config.c:2932:32: branch_true: ...to here
brltty-6.8/python3/Programs/config.c:2932:32: throw: if ‘logSystemError’ throws an exception...
brltty-6.8/python3/Programs/config.c:2932:32: danger: ‘fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1156]
brltty-6.8/python3/Programs/config.c:2940:11: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
brltty-6.8/python3/Programs/config.c:2913:6: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/config.c:2918:3: branch_false: ...to here
brltty-6.8/python3/Programs/config.c:2924:8: branch_false: following ‘false’ branch (when ‘child != -1’)...
brltty-6.8/python3/Programs/config.c:2929:8: branch_false: ...to here
brltty-6.8/python3/Programs/config.c:2929:8: branch_true: following ‘true’ branch (when ‘child != 0’)...
brltty-6.8/python3/Programs/config.c:2932:11: branch_true: ...to here
brltty-6.8/python3/Programs/config.c:2940:11: throw: if ‘close’ throws an exception...
brltty-6.8/python3/Programs/config.c:2940:11: danger: ‘fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1157]
brltty-6.8/python3/Programs/config.c:2945:7: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
brltty-6.8/python3/Programs/config.c:2913:6: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/config.c:2918:3: branch_false: ...to here
brltty-6.8/python3/Programs/config.c:2924:8: branch_false: following ‘false’ branch (when ‘child != -1’)...
brltty-6.8/python3/Programs/config.c:2929:8: branch_false: ...to here
brltty-6.8/python3/Programs/config.c:2929:8: branch_false: following ‘false’ branch (when ‘child == 0’)...
brltty-6.8/python3/Programs/config.c:2945:7: branch_false: ...to here
brltty-6.8/python3/Programs/config.c:2945:7: throw: if ‘close’ throws an exception...
brltty-6.8/python3/Programs/config.c:2945:7: danger: ‘fds[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1158]
brltty-6.8/python3/Programs/config.c:2945:7: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
brltty-6.8/python3/Programs/config.c:2913:6: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/config.c:2918:3: branch_false: ...to here
brltty-6.8/python3/Programs/config.c:2924:8: branch_false: following ‘false’ branch (when ‘child != -1’)...
brltty-6.8/python3/Programs/config.c:2929:8: branch_false: ...to here
brltty-6.8/python3/Programs/config.c:2929:8: branch_false: following ‘false’ branch (when ‘child == 0’)...
brltty-6.8/python3/Programs/config.c:2945:7: branch_false: ...to here
brltty-6.8/python3/Programs/config.c:2945:7: throw: if ‘close’ throws an exception...
brltty-6.8/python3/Programs/config.c:2945:7: danger: ‘fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1159]
brltty-6.8/python3/Programs/config.c:2945:28: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
brltty-6.8/python3/Programs/config.c:2913:6: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/config.c:2918:3: branch_false: ...to here
brltty-6.8/python3/Programs/config.c:2924:8: branch_false: following ‘false’ branch (when ‘child != -1’)...
brltty-6.8/python3/Programs/config.c:2929:8: branch_false: ...to here
brltty-6.8/python3/Programs/config.c:2929:8: branch_false: following ‘false’ branch (when ‘child == 0’)...
brltty-6.8/python3/Programs/config.c:2945:7: branch_false: ...to here
brltty-6.8/python3/Programs/config.c:2945:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/config.c:2945:28: branch_true: ...to here
brltty-6.8/python3/Programs/config.c:2945:28: throw: if ‘logSystemError’ throws an exception...
brltty-6.8/python3/Programs/config.c:2945:28: danger: ‘fds[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1160]
brltty-6.8/python3/Programs/config.c:2950:53: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
brltty-6.8/python3/Programs/config.c:2913:6: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/config.c:2918:3: branch_false: ...to here
brltty-6.8/python3/Programs/config.c:2924:8: branch_false: following ‘false’ branch (when ‘child != -1’)...
brltty-6.8/python3/Programs/config.c:2929:8: branch_false: ...to here
brltty-6.8/python3/Programs/config.c:2929:8: branch_false: following ‘false’ branch (when ‘child == 0’)...
brltty-6.8/python3/Programs/config.c:2945:7: branch_false: ...to here
brltty-6.8/python3/Programs/config.c:2950:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/config.c:2950:53: branch_true: ...to here
brltty-6.8/python3/Programs/config.c:2950:53: throw: if ‘logSystemError’ throws an exception...
brltty-6.8/python3/Programs/config.c:2950:53: danger: ‘fds[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1161]
brltty-6.8/python3/Programs/config.c:2951:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
brltty-6.8/python3/Programs/config.c:2913:6: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/config.c:2918:3: branch_false: ...to here
brltty-6.8/python3/Programs/config.c:2924:8: branch_false: following ‘false’ branch (when ‘child != -1’)...
brltty-6.8/python3/Programs/config.c:2929:8: branch_false: ...to here
brltty-6.8/python3/Programs/config.c:2929:8: branch_false: following ‘false’ branch (when ‘child == 0’)...
brltty-6.8/python3/Programs/config.c:2945:7: branch_false: ...to here
brltty-6.8/python3/Programs/config.c:2951:9: throw: if ‘close’ throws an exception...
brltty-6.8/python3/Programs/config.c:2951:9: danger: ‘fds[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1162]
brltty-6.8/python3/Programs/core.c:190:5: warning[-Wanalyzer-malloc-leak]: leak of ‘pre’
brltty-6.8/python3/Programs/core.c:181:14: acquire_memory: allocated here
brltty-6.8/python3/Programs/core.c:181:6: branch_true: following ‘true’ branch (when ‘pre’ is non-NULL)...
brltty-6.8/python3/Programs/core.c:184:28: branch_true: ...to here
brltty-6.8/python3/Programs/core.c:190:5: throw: if ‘suspendUpdates’ throws an exception...
brltty-6.8/python3/Programs/core.c:190:5: danger: ‘pre’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1163]
brltty-6.8/python3/Programs/core.c:1042:7: warning[-Wanalyzer-malloc-leak]: leak of ‘attributes’
brltty-6.8/python3/Programs/core.c:1026:6: branch_true: following ‘true’ branch (when ‘textBuffer’ is non-NULL)...
brltty-6.8/python3/Programs/core.c:1029:29: branch_true: ...to here
brltty-6.8/python3/Programs/core.c:1029:29: acquire_memory: allocated here
brltty-6.8/python3/Programs/core.c:1029:8: branch_true: following ‘true’ branch (when ‘attributesBuffer’ is non-NULL)...
brltty-6.8/python3/Programs/core.c:1034:46: branch_true: ...to here
brltty-6.8/python3/Programs/core.c:1036:14: branch_false: following ‘false’ branch (when ‘character >= end’)...
brltty-6.8/python3/Programs/core.c:1042:7: branch_false: ...to here
brltty-6.8/python3/Programs/core.c:1042:7: throw: if ‘sayWideCharacters’ throws an exception...
brltty-6.8/python3/Programs/core.c:1042:7: danger: ‘attributes’ leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1164]
brltty-6.8/python3/Programs/core.c:1042:7: warning[-Wanalyzer-malloc-leak]: leak of ‘text’
brltty-6.8/python3/Programs/core.c:1026:21: acquire_memory: allocated here
brltty-6.8/python3/Programs/core.c:1026:6: branch_true: following ‘true’ branch (when ‘textBuffer’ is non-NULL)...
brltty-6.8/python3/Programs/core.c:1029:29: branch_true: ...to here
brltty-6.8/python3/Programs/core.c:1029:8: branch_true: following ‘true’ branch (when ‘attributesBuffer’ is non-NULL)...
brltty-6.8/python3/Programs/core.c:1034:46: branch_true: ...to here
brltty-6.8/python3/Programs/core.c:1036:14: branch_false: following ‘false’ branch (when ‘character >= end’)...
brltty-6.8/python3/Programs/core.c:1042:7: branch_false: ...to here
brltty-6.8/python3/Programs/core.c:1042:7: throw: if ‘sayWideCharacters’ throws an exception...
brltty-6.8/python3/Programs/core.c:1042:7: danger: ‘text’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1165]
brltty-6.8/python3/Programs/core.c:1045:7: warning[-Wanalyzer-malloc-leak]: leak of ‘textBuffer’
brltty-6.8/python3/Programs/core.c:1026:21: acquire_memory: allocated here
brltty-6.8/python3/Programs/core.c:1026:6: branch_true: following ‘true’ branch (when ‘textBuffer’ is non-NULL)...
brltty-6.8/python3/Programs/core.c:1029:29: branch_true: ...to here
brltty-6.8/python3/Programs/core.c:1029:8: branch_false: following ‘false’ branch (when ‘attributesBuffer’ is NULL)...
brltty-6.8/python3/Programs/core.c:1045:7: branch_false: ...to here
brltty-6.8/python3/Programs/core.c:1045:7: throw: if ‘logMallocError’ throws an exception...
brltty-6.8/python3/Programs/core.c:1045:7: danger: ‘textBuffer’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-457): [#def1166]
brltty-6.8/python3/Programs/core.c:1134: warning[uninitvar]: Uninitialized variable: attributesBuffer
Error: CPPCHECK_WARNING (CWE-457): [#def1167]
brltty-6.8/python3/Programs/core.c:1134: warning[uninitvar]: Uninitialized variable: textBuffer
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1168]
brltty-6.8/python3/Programs/core.c:1279:11: warning[-Wanalyzer-malloc-leak]: leak of ‘iep’
brltty-6.8/python3/Programs/core.c:1272:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/core.c:1275:16: branch_true: ...to here
brltty-6.8/python3/Programs/core.c:1275:16: acquire_memory: allocated here
brltty-6.8/python3/Programs/core.c:1275:8: branch_true: following ‘true’ branch (when ‘iep’ is non-NULL)...
brltty-6.8/python3/Programs/core.c:1277:7: branch_true: ...to here
brltty-6.8/python3/Programs/core.c:1279:11: throw: if ‘asyncSignalEvent’ throws an exception...
brltty-6.8/python3/Programs/core.c:1279:11: danger: ‘iep’ leaks here; was allocated at [(3)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1169]
brltty-6.8/python3/Programs/core.c:1470:3: warning[-Wanalyzer-malloc-leak]: leak of ‘ctd’
brltty-6.8/python3/Programs/core.c:1512:1: enter_function: entry to ‘runCoreTask’
brltty-6.8/python3/Programs/core.c:1515:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/core.c:1518:16: branch_true: ...to here
brltty-6.8/python3/Programs/core.c:1518:16: acquire_memory: allocated here
brltty-6.8/python3/Programs/core.c:1518:8: branch_true: following ‘true’ branch (when ‘ctd’ is non-NULL)...
brltty-6.8/python3/Programs/core.c:1518:8: branch_true: ...to here
brltty-6.8/python3/Programs/core.c:1527:10: branch_true: following ‘true’ branch (when ‘wait == 0’)...
brltty-6.8/python3/Programs/core.c:1528:9: call_function: inlined call to ‘logCoreTaskAction’ from ‘runCoreTask’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1170]
brltty-6.8/python3/Programs/core.c:1527:39: warning[-Wanalyzer-malloc-leak]: leak of ‘ctd’
brltty-6.8/python3/Programs/core.c:1515:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/core.c:1518:16: branch_true: ...to here
brltty-6.8/python3/Programs/core.c:1518:16: acquire_memory: allocated here
brltty-6.8/python3/Programs/core.c:1518:8: branch_true: following ‘true’ branch (when ‘ctd’ is non-NULL)...
brltty-6.8/python3/Programs/core.c:1518:8: branch_true: ...to here
brltty-6.8/python3/Programs/core.c:1527:10: branch_false: following ‘false’ branch (when ‘wait != 0’)...
brltty-6.8/python3/Programs/core.c:1527:39: branch_false: ...to here
brltty-6.8/python3/Programs/core.c:1527:39: throw: if ‘asyncNewEvent’ throws an exception...
brltty-6.8/python3/Programs/core.c:1527:39: danger: ‘ctd’ leaks here; was allocated at [(3)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1171]
brltty-6.8/python3/Programs/core.c:1530:13: warning[-Wanalyzer-malloc-leak]: leak of ‘ctd’
brltty-6.8/python3/Programs/core.c:1512:1: enter_function: entry to ‘runCoreTask’
brltty-6.8/python3/Programs/core.c:1515:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/core.c:1518:16: branch_true: ...to here
brltty-6.8/python3/Programs/core.c:1518:16: acquire_memory: allocated here
brltty-6.8/python3/Programs/core.c:1518:8: branch_true: following ‘true’ branch (when ‘ctd’ is non-NULL)...
brltty-6.8/python3/Programs/core.c:1518:8: branch_true: ...to here
brltty-6.8/python3/Programs/core.c:1527:10: branch_true: following ‘true’ branch (when ‘wait == 0’)...
brltty-6.8/python3/Programs/core.c:1528:9: call_function: inlined call to ‘logCoreTaskAction’ from ‘runCoreTask’
brltty-6.8/python3/Programs/core.c:1530:13: throw: if ‘asyncAddTask’ throws an exception...
brltty-6.8/python3/Programs/core.c:1530:13: danger: ‘ctd’ leaks here; was allocated at [(4)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1172]
brltty-6.8/python3/Programs/ctb_compile.c:750:33: warning[-Wanalyzer-malloc-leak]: leak of ‘table’
brltty-6.8/python3/Programs/ctb_compile.c:748:16: acquire_memory: allocated here
brltty-6.8/python3/Programs/ctb_compile.c:748:6: branch_true: following ‘true’ branch (when ‘table’ is non-NULL)...
brltty-6.8/python3/Programs/ctb_compile.c:749:5: branch_true: ...to here
brltty-6.8/python3/Programs/ctb_compile.c:750:33: throw: if ‘getContractionTableTranslationMethods_native’ throws an exception...
brltty-6.8/python3/Programs/ctb_compile.c:750:33: danger: ‘table’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1173]
brltty-6.8/python3/Programs/ctb_compile.c:822:5: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
brltty-6.8/python3/Programs/ctb_compile.c:863:1: enter_function: entry to ‘compileContractionTable_external’
brltty-6.8/python3/Programs/ctb_compile.c:866:6: branch_true: following ‘true’ branch (when ‘table’ is non-NULL)...
brltty-6.8/python3/Programs/ctb_compile.c:867:5: branch_true: ...to here
brltty-6.8/python3/Programs/ctb_compile.c:869:41: acquire_memory: allocated here
brltty-6.8/python3/Programs/ctb_compile.c:869:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/ctb_compile.c:870:7: branch_true: ...to here
brltty-6.8/python3/Programs/ctb_compile.c:879:11: call_function: calling ‘startContractionCommand’ from ‘compileContractionTable_external’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1174]
brltty-6.8/python3/Programs/ctb_compile.c:822:5: warning[-Wanalyzer-malloc-leak]: leak of ‘table’
brltty-6.8/python3/Programs/ctb_compile.c:863:1: enter_function: entry to ‘compileContractionTable_external’
brltty-6.8/python3/Programs/ctb_compile.c:866:16: acquire_memory: allocated here
brltty-6.8/python3/Programs/ctb_compile.c:866:6: branch_true: following ‘true’ branch (when ‘table’ is non-NULL)...
brltty-6.8/python3/Programs/ctb_compile.c:867:5: branch_true: ...to here
brltty-6.8/python3/Programs/ctb_compile.c:869:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/ctb_compile.c:870:7: branch_true: ...to here
brltty-6.8/python3/Programs/ctb_compile.c:879:11: call_function: calling ‘startContractionCommand’ from ‘compileContractionTable_external’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1175]
brltty-6.8/python3/Programs/ctb_compile.c:827:5: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
brltty-6.8/python3/Programs/ctb_compile.c:863:1: enter_function: entry to ‘compileContractionTable_external’
brltty-6.8/python3/Programs/ctb_compile.c:866:6: branch_true: following ‘true’ branch (when ‘table’ is non-NULL)...
brltty-6.8/python3/Programs/ctb_compile.c:867:5: branch_true: ...to here
brltty-6.8/python3/Programs/ctb_compile.c:869:41: acquire_memory: allocated here
brltty-6.8/python3/Programs/ctb_compile.c:869:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/ctb_compile.c:870:7: branch_true: ...to here
brltty-6.8/python3/Programs/ctb_compile.c:879:11: call_function: calling ‘startContractionCommand’ from ‘compileContractionTable_external’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1176]
brltty-6.8/python3/Programs/ctb_compile.c:827:5: warning[-Wanalyzer-malloc-leak]: leak of ‘table’
brltty-6.8/python3/Programs/ctb_compile.c:863:1: enter_function: entry to ‘compileContractionTable_external’
brltty-6.8/python3/Programs/ctb_compile.c:866:16: acquire_memory: allocated here
brltty-6.8/python3/Programs/ctb_compile.c:866:6: branch_true: following ‘true’ branch (when ‘table’ is non-NULL)...
brltty-6.8/python3/Programs/ctb_compile.c:867:5: branch_true: ...to here
brltty-6.8/python3/Programs/ctb_compile.c:869:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/ctb_compile.c:870:7: branch_true: ...to here
brltty-6.8/python3/Programs/ctb_compile.c:879:11: call_function: calling ‘startContractionCommand’ from ‘compileContractionTable_external’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1177]
brltty-6.8/python3/Programs/ctb_compile.c:871:35: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
brltty-6.8/python3/Programs/ctb_compile.c:866:6: branch_true: following ‘true’ branch (when ‘table’ is non-NULL)...
brltty-6.8/python3/Programs/ctb_compile.c:867:5: branch_true: ...to here
brltty-6.8/python3/Programs/ctb_compile.c:869:41: acquire_memory: allocated here
brltty-6.8/python3/Programs/ctb_compile.c:869:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/ctb_compile.c:870:7: branch_true: ...to here
brltty-6.8/python3/Programs/ctb_compile.c:871:35: throw: if ‘getContractionTableTranslationMethods_external’ throws an exception...
brltty-6.8/python3/Programs/ctb_compile.c:871:35: danger: ‘<unknown>’ leaks here; was allocated at [(3)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1178]
brltty-6.8/python3/Programs/ctb_compile.c:871:35: warning[-Wanalyzer-malloc-leak]: leak of ‘table’
brltty-6.8/python3/Programs/ctb_compile.c:866:16: acquire_memory: allocated here
brltty-6.8/python3/Programs/ctb_compile.c:866:6: branch_true: following ‘true’ branch (when ‘table’ is non-NULL)...
brltty-6.8/python3/Programs/ctb_compile.c:867:5: branch_true: ...to here
brltty-6.8/python3/Programs/ctb_compile.c:869:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/ctb_compile.c:870:7: branch_true: ...to here
brltty-6.8/python3/Programs/ctb_compile.c:871:35: throw: if ‘getContractionTableTranslationMethods_external’ throws an exception...
brltty-6.8/python3/Programs/ctb_compile.c:871:35: danger: ‘table’ leaks here; was allocated at [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1179]
brltty-6.8/python3/Programs/ctb_compile.c:885:7: warning[-Wanalyzer-malloc-leak]: leak of ‘table’
brltty-6.8/python3/Programs/ctb_compile.c:866:16: acquire_memory: allocated here
brltty-6.8/python3/Programs/ctb_compile.c:866:6: branch_true: following ‘true’ branch (when ‘table’ is non-NULL)...
brltty-6.8/python3/Programs/ctb_compile.c:867:5: branch_true: ...to here
brltty-6.8/python3/Programs/ctb_compile.c:869:8: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/ctb_compile.c:885:7: branch_false: ...to here
brltty-6.8/python3/Programs/ctb_compile.c:885:7: throw: if ‘logMallocError’ throws an exception...
brltty-6.8/python3/Programs/ctb_compile.c:885:7: danger: ‘table’ leaks here; was allocated at [(1)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/0)
Error: COMPILER_WARNING (CWE-704): [#def1180]
brltty-6.8/python3/Programs/ctb_external.c: scope_hint: In function ‘handleExternalResponse_outputOffsets’
brltty-6.8/python3/Programs/ctb_external.c:240:27: warning[-Wdiscarded-qualifiers]: initialization discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def1181]
brltty-6.8/python3/Programs/ctb_external.c:240:27: warning[-Wdiscarded-qualifiers]: initialization discards ‘const’ qualifier from pointer target type
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1182]
brltty-6.8/python3/Programs/ctb_native.c:521:7: warning[-Wanalyzer-malloc-leak]: leak of ‘rule’
brltty-6.8/python3/Programs/ctb_native.c:571:1: enter_function: entry to ‘setAlwaysRule’
brltty-6.8/python3/Programs/ctb_native.c:578:6: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/ctb_native.c:591:20: branch_false: ...to here
brltty-6.8/python3/Programs/ctb_native.c:591:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/ctb_native.c:593:20: branch_true: ...to here
brltty-6.8/python3/Programs/ctb_native.c:593:20: call_function: calling ‘makeDecomposedBraille’ from ‘setAlwaysRule’
brltty-6.8/python3/Programs/ctb_native.c:593:20: return_function: returning to ‘setAlwaysRule’ from ‘makeDecomposedBraille’
brltty-6.8/python3/Programs/ctb_native.c:603:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/ctb_native.c:605:14: branch_true: ...to here
brltty-6.8/python3/Programs/ctb_native.c:607:19: acquire_memory: allocated here
brltty-6.8/python3/Programs/ctb_native.c:607:10: branch_true: following ‘true’ branch (when ‘rule’ is non-NULL)...
brltty-6.8/python3/Programs/ctb_native.c:608:9: branch_true: ...to here
brltty-6.8/python3/Programs/ctb_native.c:614:13: call_function: calling ‘addRule’ from ‘setAlwaysRule’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def1183]
brltty-6.8/python3/Programs/datafile.c:95:5: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
brltty-6.8/python3/Programs/datafile.c:239:1: enter_function: entry to ‘findDataOperand’
brltty-6.8/python3/Programs/datafile.c:244:6: branch_true: following ‘true’ branch (when ‘description’ is non-NULL)...
brltty-6.8/python3/Programs/datafile.c:244:20: branch_true: ...to here
brltty-6.8/python3/Programs/datafile.c:244:20: call_function: calling ‘reportDataError’ from ‘findDataOperand’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1184]
brltty-6.8/python3/Programs/file.c:134:23: warning[-Wanalyzer-malloc-leak]: leak of ‘getPathDirectory(path)’
brltty-6.8/python3/Programs/file.c:476:1: enter_function: entry to ‘ensureDirectory’
brltty-6.8/python3/Programs/file.c:479:6: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/file.c:481:13: branch_false: ...to here
brltty-6.8/python3/Programs/file.c:481:13: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/file.c:485:22: branch_false: ...to here
brltty-6.8/python3/Programs/file.c:485:22: call_function: calling ‘getPathDirectory’ from ‘ensureDirectory’
brltty-6.8/python3/Programs/file.c:485:22: return_function: returning to ‘ensureDirectory’ from ‘getPathDirectory’
brltty-6.8/python3/Programs/file.c:486:10: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/file.c:489:11: branch_false: ...to here
brltty-6.8/python3/Programs/file.c:489:10: branch_true: following ‘true’ branch (when the strings are non-equal)...
brltty-6.8/python3/Programs/file.c:490:18: branch_true: ...to here
brltty-6.8/python3/Programs/file.c:490:18: call_function: calling ‘ensureDirectory’ from ‘ensureDirectory’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1185]
brltty-6.8/python3/Programs/file.c:204:10: warning[-Wanalyzer-malloc-leak]: leak of ‘paths’
brltty-6.8/python3/Programs/file.c:755:1: enter_function: entry to ‘getPrimaryOverrideDirectory’
brltty-6.8/python3/Programs/file.c:756:36: call_function: calling ‘getAllOverrideDirectories’ from ‘getPrimaryOverrideDirectory’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1186]
brltty-6.8/python3/Programs/file.c:204:10: warning[-Wanalyzer-malloc-leak]: leak of ‘primary’
brltty-6.8/python3/Programs/file.c:755:1: enter_function: entry to ‘getPrimaryOverrideDirectory’
brltty-6.8/python3/Programs/file.c:756:36: call_function: calling ‘getAllOverrideDirectories’ from ‘getPrimaryOverrideDirectory’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1187]
brltty-6.8/python3/Programs/file.c:617:15: warning[-Wanalyzer-malloc-leak]: leak of ‘getHomeDirectory()’
brltty-6.8/python3/Programs/file.c:755:1: enter_function: entry to ‘getPrimaryOverrideDirectory’
brltty-6.8/python3/Programs/file.c:756:36: call_function: calling ‘getAllOverrideDirectories’ from ‘getPrimaryOverrideDirectory’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1188]
brltty-6.8/python3/Programs/file.c:619:5: warning[-Wanalyzer-malloc-leak]: leak of ‘paths’
brltty-6.8/python3/Programs/file.c:755:1: enter_function: entry to ‘getPrimaryOverrideDirectory’
brltty-6.8/python3/Programs/file.c:756:36: call_function: calling ‘getAllOverrideDirectories’ from ‘getPrimaryOverrideDirectory’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1189]
brltty-6.8/python3/Programs/file.c:636:3: warning[-Wanalyzer-malloc-leak]: leak of ‘paths’
brltty-6.8/python3/Programs/file.c:755:1: enter_function: entry to ‘getPrimaryOverrideDirectory’
brltty-6.8/python3/Programs/file.c:756:36: call_function: calling ‘getAllOverrideDirectories’ from ‘getPrimaryOverrideDirectory’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1190]
brltty-6.8/python3/Programs/file.c:636:3: warning[-Wanalyzer-malloc-leak]: leak of ‘primary’
brltty-6.8/python3/Programs/file.c:755:1: enter_function: entry to ‘getPrimaryOverrideDirectory’
brltty-6.8/python3/Programs/file.c:756:36: call_function: calling ‘getAllOverrideDirectories’ from ‘getPrimaryOverrideDirectory’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1191]
brltty-6.8/python3/Programs/file.c:689:13: warning[-Wanalyzer-malloc-leak]: leak of ‘paths’
brltty-6.8/python3/Programs/file.c:755:1: enter_function: entry to ‘getPrimaryOverrideDirectory’
brltty-6.8/python3/Programs/file.c:756:36: call_function: calling ‘getAllOverrideDirectories’ from ‘getPrimaryOverrideDirectory’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1192]
brltty-6.8/python3/Programs/file.c:739:11: warning[-Wanalyzer-malloc-leak]: leak of ‘paths’
brltty-6.8/python3/Programs/file.c:755:1: enter_function: entry to ‘getPrimaryOverrideDirectory’
brltty-6.8/python3/Programs/file.c:756:36: call_function: calling ‘getAllOverrideDirectories’ from ‘getPrimaryOverrideDirectory’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1193]
brltty-6.8/python3/Programs/file.c:999:5: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(path, mode)’
brltty-6.8/python3/Programs/file.c:996:16: acquire_resource: opened here
brltty-6.8/python3/Programs/file.c:998:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/file.c:999:5: branch_true: ...to here
brltty-6.8/python3/Programs/file.c:999:5: throw: if ‘logMessage’ throws an exception...
brltty-6.8/python3/Programs/file.c:999:5: danger: ‘fopen(path, mode)’ leaks here; was opened at [(1)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1194]
brltty-6.8/python3/Programs/file.c:999:5: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(path, mode)’
brltty-6.8/python3/Programs/file.c:996:16: acquire_memory: allocated here
brltty-6.8/python3/Programs/file.c:998:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/file.c:999:5: branch_true: ...to here
brltty-6.8/python3/Programs/file.c:999:5: throw: if ‘logMessage’ throws an exception...
brltty-6.8/python3/Programs/file.c:999:5: danger: ‘fopen(path, mode)’ leaks here; was allocated at [(1)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1195]
brltty-6.8/python3/Programs/file.c:1033:11: warning[-Wanalyzer-malloc-leak]: leak of ‘buffer’
brltty-6.8/python3/Programs/file.c:1076:1: enter_function: entry to ‘processLines’
brltty-6.8/python3/Programs/file.c:1090:10: call_function: calling ‘readLine’ from ‘processLines’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1196]
brltty-6.8/python3/Programs/file.c:1044:9: warning[-Wanalyzer-malloc-leak]: leak of ‘buffer’
brltty-6.8/python3/Programs/file.c:1076:1: enter_function: entry to ‘processLines’
brltty-6.8/python3/Programs/file.c:1090:10: call_function: calling ‘readLine’ from ‘processLines’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1197]
brltty-6.8/python3/Programs/file.c:1063:5: warning[-Wanalyzer-malloc-leak]: leak of ‘buffer’
brltty-6.8/python3/Programs/file.c:1076:1: enter_function: entry to ‘processLines’
brltty-6.8/python3/Programs/file.c:1090:10: call_function: calling ‘readLine’ from ‘processLines’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1198]
brltty-6.8/python3/Programs/gio.c:97:16: warning[-Wanalyzer-malloc-leak]: leak of ‘endpoint’
brltty-6.8/python3/Programs/gio.c:136:1: enter_function: entry to ‘gioConnectResource’
brltty-6.8/python3/Programs/gio.c:140:37: call_function: calling ‘gioGetProperties’ from ‘gioConnectResource’
brltty-6.8/python3/Programs/gio.c:140:37: return_function: returning to ‘gioConnectResource’ from ‘gioGetProperties’
brltty-6.8/python3/Programs/gio.c:142:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/gio.c:145:21: branch_true: ...to here
brltty-6.8/python3/Programs/gio.c:145:21: acquire_memory: allocated here
brltty-6.8/python3/Programs/gio.c:145:8: branch_true: following ‘true’ branch (when ‘endpoint’ is non-NULL)...
brltty-6.8/python3/Programs/gio.c:146:7: branch_true: ...to here
brltty-6.8/python3/Programs/gio.c:156:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/gio.c:162:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/gio.c:163:35: branch_true: ...to here
brltty-6.8/python3/Programs/gio.c:168:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/gio.c:169:33: branch_true: ...to here
brltty-6.8/python3/Programs/gio.c:169:12: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/gio.c:171:63: branch_true: ...to here
brltty-6.8/python3/Programs/gio.c:184:14: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/gio.c:185:17: call_function: inlined call to ‘gioStartEndpoint’ from ‘gioConnectResource’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1199]
brltty-6.8/python3/Programs/gio.c:157:30: warning[-Wanalyzer-malloc-leak]: leak of ‘endpoint’
brltty-6.8/python3/Programs/gio.c:136:1: enter_function: entry to ‘gioConnectResource’
brltty-6.8/python3/Programs/gio.c:140:37: call_function: calling ‘gioGetProperties’ from ‘gioConnectResource’
brltty-6.8/python3/Programs/gio.c:140:37: return_function: returning to ‘gioConnectResource’ from ‘gioGetProperties’
brltty-6.8/python3/Programs/gio.c:142:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/gio.c:145:21: branch_true: ...to here
brltty-6.8/python3/Programs/gio.c:145:21: acquire_memory: allocated here
brltty-6.8/python3/Programs/gio.c:145:8: branch_true: following ‘true’ branch (when ‘endpoint’ is non-NULL)...
brltty-6.8/python3/Programs/gio.c:146:7: branch_true: ...to here
brltty-6.8/python3/Programs/gio.c:156:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/gio.c:157:30: throw: if the called function throws an exception...
brltty-6.8/python3/Programs/gio.c:157:30: danger: ‘endpoint’ leaks here; was allocated at [(9)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1200]
brltty-6.8/python3/Programs/gio.c:163:35: warning[-Wanalyzer-malloc-leak]: leak of ‘endpoint’
brltty-6.8/python3/Programs/gio.c:136:1: enter_function: entry to ‘gioConnectResource’
brltty-6.8/python3/Programs/gio.c:140:37: call_function: calling ‘gioGetProperties’ from ‘gioConnectResource’
brltty-6.8/python3/Programs/gio.c:140:37: return_function: returning to ‘gioConnectResource’ from ‘gioGetProperties’
brltty-6.8/python3/Programs/gio.c:142:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/gio.c:145:21: branch_true: ...to here
brltty-6.8/python3/Programs/gio.c:145:21: acquire_memory: allocated here
brltty-6.8/python3/Programs/gio.c:145:8: branch_true: following ‘true’ branch (when ‘endpoint’ is non-NULL)...
brltty-6.8/python3/Programs/gio.c:146:7: branch_true: ...to here
brltty-6.8/python3/Programs/gio.c:162:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/gio.c:163:35: branch_true: ...to here
brltty-6.8/python3/Programs/gio.c:163:35: throw: if the called function throws an exception...
brltty-6.8/python3/Programs/gio.c:163:35: danger: ‘endpoint’ leaks here; was allocated at [(9)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1201]
brltty-6.8/python3/Programs/gio.c:169:33: warning[-Wanalyzer-malloc-leak]: leak of ‘endpoint’
brltty-6.8/python3/Programs/gio.c:136:1: enter_function: entry to ‘gioConnectResource’
brltty-6.8/python3/Programs/gio.c:140:37: call_function: calling ‘gioGetProperties’ from ‘gioConnectResource’
brltty-6.8/python3/Programs/gio.c:140:37: return_function: returning to ‘gioConnectResource’ from ‘gioGetProperties’
brltty-6.8/python3/Programs/gio.c:142:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/gio.c:145:21: branch_true: ...to here
brltty-6.8/python3/Programs/gio.c:145:21: acquire_memory: allocated here
brltty-6.8/python3/Programs/gio.c:145:8: branch_true: following ‘true’ branch (when ‘endpoint’ is non-NULL)...
brltty-6.8/python3/Programs/gio.c:146:7: branch_true: ...to here
brltty-6.8/python3/Programs/gio.c:162:10: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/gio.c:162:10: branch_false: ...to here
brltty-6.8/python3/Programs/gio.c:168:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/gio.c:169:33: branch_true: ...to here
brltty-6.8/python3/Programs/gio.c:169:33: throw: if the called function throws an exception...
brltty-6.8/python3/Programs/gio.c:169:33: danger: ‘endpoint’ leaks here; was allocated at [(9)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1202]
brltty-6.8/python3/Programs/gio.c:171:42: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
brltty-6.8/python3/Programs/gio.c:136:1: enter_function: entry to ‘gioConnectResource’
brltty-6.8/python3/Programs/gio.c:140:37: call_function: calling ‘gioGetProperties’ from ‘gioConnectResource’
brltty-6.8/python3/Programs/gio.c:140:37: return_function: returning to ‘gioConnectResource’ from ‘gioGetProperties’
brltty-6.8/python3/Programs/gio.c:142:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/gio.c:145:21: branch_true: ...to here
brltty-6.8/python3/Programs/gio.c:145:8: branch_true: following ‘true’ branch (when ‘endpoint’ is non-NULL)...
brltty-6.8/python3/Programs/gio.c:146:7: branch_true: ...to here
brltty-6.8/python3/Programs/gio.c:162:10: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/gio.c:162:10: branch_false: ...to here
brltty-6.8/python3/Programs/gio.c:168:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/gio.c:169:33: branch_true: ...to here
brltty-6.8/python3/Programs/gio.c:169:12: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/gio.c:171:63: branch_true: ...to here
brltty-6.8/python3/Programs/gio.c:171:63: release_memory: using NULL here
brltty-6.8/python3/Programs/gio.c:171:42: danger: dereference of NULL ‘*endpoint.handleMethods’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1203]
brltty-6.8/python3/Programs/gio.c:174:46: warning[-Wanalyzer-malloc-leak]: leak of ‘endpoint’
brltty-6.8/python3/Programs/gio.c:136:1: enter_function: entry to ‘gioConnectResource’
brltty-6.8/python3/Programs/gio.c:140:37: call_function: calling ‘gioGetProperties’ from ‘gioConnectResource’
brltty-6.8/python3/Programs/gio.c:140:37: return_function: returning to ‘gioConnectResource’ from ‘gioGetProperties’
brltty-6.8/python3/Programs/gio.c:142:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/gio.c:145:21: branch_true: ...to here
brltty-6.8/python3/Programs/gio.c:145:21: acquire_memory: allocated here
brltty-6.8/python3/Programs/gio.c:145:8: branch_true: following ‘true’ branch (when ‘endpoint’ is non-NULL)...
brltty-6.8/python3/Programs/gio.c:146:7: branch_true: ...to here
brltty-6.8/python3/Programs/gio.c:162:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/gio.c:163:35: branch_true: ...to here
brltty-6.8/python3/Programs/gio.c:168:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/gio.c:169:33: branch_true: ...to here
brltty-6.8/python3/Programs/gio.c:169:12: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/gio.c:171:63: branch_true: ...to here
brltty-6.8/python3/Programs/gio.c:173:16: branch_true: following ‘true’ branch (when ‘getChainedEndpoint’ is non-NULL)...
brltty-6.8/python3/Programs/gio.c:174:46: branch_true: ...to here
brltty-6.8/python3/Programs/gio.c:174:46: throw: if the called function throws an exception...
brltty-6.8/python3/Programs/gio.c:174:46: danger: ‘endpoint’ leaks here; was allocated at [(9)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1204]
brltty-6.8/python3/Programs/gio.c:184:56: warning[-Wanalyzer-malloc-leak]: leak of ‘endpoint’
brltty-6.8/python3/Programs/gio.c:136:1: enter_function: entry to ‘gioConnectResource’
brltty-6.8/python3/Programs/gio.c:140:37: call_function: calling ‘gioGetProperties’ from ‘gioConnectResource’
brltty-6.8/python3/Programs/gio.c:140:37: return_function: returning to ‘gioConnectResource’ from ‘gioGetProperties’
brltty-6.8/python3/Programs/gio.c:142:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/gio.c:145:21: branch_true: ...to here
brltty-6.8/python3/Programs/gio.c:145:21: acquire_memory: allocated here
brltty-6.8/python3/Programs/gio.c:145:8: branch_true: following ‘true’ branch (when ‘endpoint’ is non-NULL)...
brltty-6.8/python3/Programs/gio.c:146:7: branch_true: ...to here
brltty-6.8/python3/Programs/gio.c:162:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/gio.c:163:35: branch_true: ...to here
brltty-6.8/python3/Programs/gio.c:168:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/gio.c:169:33: branch_true: ...to here
brltty-6.8/python3/Programs/gio.c:169:12: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/gio.c:171:63: branch_true: ...to here
brltty-6.8/python3/Programs/gio.c:184:14: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/gio.c:184:56: branch_false: ...to here
brltty-6.8/python3/Programs/gio.c:184:56: throw: if the called function throws an exception...
brltty-6.8/python3/Programs/gio.c:184:56: danger: ‘endpoint’ leaks here; was allocated at [(9)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1205]
brltty-6.8/python3/Programs/gio.c:199:9: warning[-Wanalyzer-malloc-leak]: leak of ‘endpoint’
brltty-6.8/python3/Programs/gio.c:136:1: enter_function: entry to ‘gioConnectResource’
brltty-6.8/python3/Programs/gio.c:140:37: call_function: calling ‘gioGetProperties’ from ‘gioConnectResource’
brltty-6.8/python3/Programs/gio.c:140:37: return_function: returning to ‘gioConnectResource’ from ‘gioGetProperties’
brltty-6.8/python3/Programs/gio.c:142:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/gio.c:145:21: branch_true: ...to here
brltty-6.8/python3/Programs/gio.c:145:21: acquire_memory: allocated here
brltty-6.8/python3/Programs/gio.c:145:8: branch_true: following ‘true’ branch (when ‘endpoint’ is non-NULL)...
brltty-6.8/python3/Programs/gio.c:146:7: branch_true: ...to here
brltty-6.8/python3/Programs/gio.c:162:10: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/gio.c:162:10: branch_false: ...to here
brltty-6.8/python3/Programs/gio.c:168:10: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/gio.c:199:9: branch_false: ...to here
brltty-6.8/python3/Programs/gio.c:199:9: throw: if ‘logUnsupportedOperation’ throws an exception...
brltty-6.8/python3/Programs/gio.c:199:9: danger: ‘endpoint’ leaks here; was allocated at [(9)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1206]
brltty-6.8/python3/Programs/gio.c:224:5: warning[-Wanalyzer-malloc-leak]: leak of ‘endpoint’
brltty-6.8/python3/Programs/gio.c:136:1: enter_function: entry to ‘gioConnectResource’
brltty-6.8/python3/Programs/gio.c:140:37: call_function: calling ‘gioGetProperties’ from ‘gioConnectResource’
brltty-6.8/python3/Programs/gio.c:140:37: return_function: returning to ‘gioConnectResource’ from ‘gioGetProperties’
brltty-6.8/python3/Programs/gio.c:142:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/gio.c:145:21: branch_true: ...to here
brltty-6.8/python3/Programs/gio.c:145:21: acquire_memory: allocated here
brltty-6.8/python3/Programs/gio.c:145:8: branch_true: following ‘true’ branch (when ‘endpoint’ is non-NULL)...
brltty-6.8/python3/Programs/gio.c:146:7: branch_true: ...to here
brltty-6.8/python3/Programs/gio.c:162:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/gio.c:163:35: branch_true: ...to here
brltty-6.8/python3/Programs/gio.c:168:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/gio.c:169:33: branch_true: ...to here
brltty-6.8/python3/Programs/gio.c:169:12: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/gio.c:171:63: branch_true: ...to here
brltty-6.8/python3/Programs/gio.c:173:16: branch_true: following ‘true’ branch (when ‘getChainedEndpoint’ is non-NULL)...
brltty-6.8/python3/Programs/gio.c:174:46: branch_true: ...to here
brltty-6.8/python3/Programs/gio.c:176:18: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/gio.c:177:17: branch_true: ...to here
brltty-6.8/python3/Programs/gio.c:178:17: call_function: calling ‘gioDisconnectResource’ from ‘gioConnectResource’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1207]
brltty-6.8/python3/Programs/gio.c:226:14: warning[-Wanalyzer-malloc-leak]: leak of ‘endpoint’
brltty-6.8/python3/Programs/gio.c:136:1: enter_function: entry to ‘gioConnectResource’
brltty-6.8/python3/Programs/gio.c:140:37: call_function: calling ‘gioGetProperties’ from ‘gioConnectResource’
brltty-6.8/python3/Programs/gio.c:140:37: return_function: returning to ‘gioConnectResource’ from ‘gioGetProperties’
brltty-6.8/python3/Programs/gio.c:142:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/gio.c:145:21: branch_true: ...to here
brltty-6.8/python3/Programs/gio.c:145:21: acquire_memory: allocated here
brltty-6.8/python3/Programs/gio.c:145:8: branch_true: following ‘true’ branch (when ‘endpoint’ is non-NULL)...
brltty-6.8/python3/Programs/gio.c:146:7: branch_true: ...to here
brltty-6.8/python3/Programs/gio.c:162:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/gio.c:163:35: branch_true: ...to here
brltty-6.8/python3/Programs/gio.c:168:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/gio.c:169:33: branch_true: ...to here
brltty-6.8/python3/Programs/gio.c:169:12: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/gio.c:171:63: branch_true: ...to here
brltty-6.8/python3/Programs/gio.c:173:16: branch_true: following ‘true’ branch (when ‘getChainedEndpoint’ is non-NULL)...
brltty-6.8/python3/Programs/gio.c:174:46: branch_true: ...to here
brltty-6.8/python3/Programs/gio.c:176:18: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/gio.c:177:17: branch_true: ...to here
brltty-6.8/python3/Programs/gio.c:178:17: call_function: calling ‘gioDisconnectResource’ from ‘gioConnectResource’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1208]
brltty-6.8/python3/Programs/gio.c:413:9: warning[-Wanalyzer-malloc-leak]: leak of ‘hio’
brltty-6.8/python3/Programs/gio.c:682:1: enter_function: entry to ‘gioNewHandleInputObject’
brltty-6.8/python3/Programs/gio.c:688:14: acquire_memory: allocated here
brltty-6.8/python3/Programs/gio.c:688:6: branch_true: following ‘true’ branch (when ‘hio’ is non-NULL)...
brltty-6.8/python3/Programs/gio.c:688:6: branch_true: ...to here
brltty-6.8/python3/Programs/gio.c:697:8: branch_true: following ‘true’ branch (when ‘endpoint’ is non-NULL)...
brltty-6.8/python3/Programs/gio.c:698:11: branch_true: ...to here
brltty-6.8/python3/Programs/gio.c:698:11: call_function: calling ‘gioMonitorInput’ from ‘gioNewHandleInputObject’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1209]
brltty-6.8/python3/Programs/gio.c:704:9: warning[-Wanalyzer-malloc-leak]: leak of ‘hio’
brltty-6.8/python3/Programs/gio.c:688:14: acquire_memory: allocated here
brltty-6.8/python3/Programs/gio.c:688:6: branch_true: following ‘true’ branch (when ‘hio’ is non-NULL)...
brltty-6.8/python3/Programs/gio.c:688:6: branch_true: ...to here
brltty-6.8/python3/Programs/gio.c:704:9: throw: if ‘asyncNewRelativeAlarm’ throws an exception...
brltty-6.8/python3/Programs/gio.c:704:9: danger: ‘hio’ leaks here; was allocated at [(1)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1210]
brltty-6.8/python3/Programs/gio_bluetooth.c:143:3: warning[-Wanalyzer-malloc-leak]: leak of ‘handle’
brltty-6.8/python3/Programs/gio_bluetooth.c:150:1: enter_function: entry to ‘connectBluetoothResource’
brltty-6.8/python3/Programs/gio_bluetooth.c:154:23: acquire_memory: allocated here
brltty-6.8/python3/Programs/gio_bluetooth.c:156:6: branch_true: following ‘true’ branch (when ‘handle’ is non-NULL)...
brltty-6.8/python3/Programs/gio_bluetooth.c:157:5: branch_true: ...to here
brltty-6.8/python3/Programs/gio_bluetooth.c:166:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/gio_bluetooth.c:167:11: call_function: inlined call to ‘gioIsHidSupported’ from ‘connectBluetoothResource’
brltty-6.8/python3/Programs/gio_bluetooth.c:167:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/gio_bluetooth.c:168:36: branch_true: ...to here
brltty-6.8/python3/Programs/gio_bluetooth.c:168:36: call_function: calling ‘getHidEndpoint’ from ‘connectBluetoothResource’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1211]
brltty-6.8/python3/Programs/gio_bluetooth.c:146:10: warning[-Wanalyzer-malloc-leak]: leak of ‘handle’
brltty-6.8/python3/Programs/gio_bluetooth.c:150:1: enter_function: entry to ‘connectBluetoothResource’
brltty-6.8/python3/Programs/gio_bluetooth.c:154:23: acquire_memory: allocated here
brltty-6.8/python3/Programs/gio_bluetooth.c:156:6: branch_true: following ‘true’ branch (when ‘handle’ is non-NULL)...
brltty-6.8/python3/Programs/gio_bluetooth.c:157:5: branch_true: ...to here
brltty-6.8/python3/Programs/gio_bluetooth.c:166:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/gio_bluetooth.c:167:11: call_function: inlined call to ‘gioIsHidSupported’ from ‘connectBluetoothResource’
brltty-6.8/python3/Programs/gio_bluetooth.c:167:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/gio_bluetooth.c:168:36: branch_true: ...to here
brltty-6.8/python3/Programs/gio_bluetooth.c:168:36: call_function: calling ‘getHidEndpoint’ from ‘connectBluetoothResource’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1212]
brltty-6.8/python3/Programs/gio_bluetooth.c:160:5: warning[-Wanalyzer-malloc-leak]: leak of ‘handle’
brltty-6.8/python3/Programs/gio_bluetooth.c:154:23: acquire_memory: allocated here
brltty-6.8/python3/Programs/gio_bluetooth.c:156:6: branch_true: following ‘true’ branch (when ‘handle’ is non-NULL)...
brltty-6.8/python3/Programs/gio_bluetooth.c:157:5: branch_true: ...to here
brltty-6.8/python3/Programs/gio_bluetooth.c:160:5: throw: if ‘bthInitializeConnectionRequest’ throws an exception...
brltty-6.8/python3/Programs/gio_bluetooth.c:160:5: danger: ‘handle’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1213]
brltty-6.8/python3/Programs/gio_bluetooth.c:166:9: warning[-Wanalyzer-malloc-leak]: leak of ‘handle’
brltty-6.8/python3/Programs/gio_bluetooth.c:154:23: acquire_memory: allocated here
brltty-6.8/python3/Programs/gio_bluetooth.c:156:6: branch_true: following ‘true’ branch (when ‘handle’ is non-NULL)...
brltty-6.8/python3/Programs/gio_bluetooth.c:157:5: branch_true: ...to here
brltty-6.8/python3/Programs/gio_bluetooth.c:166:9: throw: if ‘bthApplyParameters’ throws an exception...
brltty-6.8/python3/Programs/gio_bluetooth.c:166:9: danger: ‘handle’ leaks here; was allocated at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1214]
brltty-6.8/python3/Programs/gio_bluetooth.c:176:33: warning[-Wanalyzer-malloc-leak]: leak of ‘handle’
brltty-6.8/python3/Programs/gio_bluetooth.c:150:1: enter_function: entry to ‘connectBluetoothResource’
brltty-6.8/python3/Programs/gio_bluetooth.c:154:23: acquire_memory: allocated here
brltty-6.8/python3/Programs/gio_bluetooth.c:156:6: branch_true: following ‘true’ branch (when ‘handle’ is non-NULL)...
brltty-6.8/python3/Programs/gio_bluetooth.c:157:5: branch_true: ...to here
brltty-6.8/python3/Programs/gio_bluetooth.c:166:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/gio_bluetooth.c:167:11: call_function: inlined call to ‘gioIsHidSupported’ from ‘connectBluetoothResource’
brltty-6.8/python3/Programs/gio_bluetooth.c:176:33: throw: if ‘bthOpenConnection’ throws an exception...
brltty-6.8/python3/Programs/gio_bluetooth.c:176:33: danger: ‘handle’ leaks here; was allocated at [(2)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1215]
brltty-6.8/python3/Programs/gio_hid.c:245:9: warning[-Wanalyzer-malloc-leak]: leak of ‘handle’
brltty-6.8/python3/Programs/gio_hid.c:240:23: acquire_memory: allocated here
brltty-6.8/python3/Programs/gio_hid.c:242:6: branch_true: following ‘true’ branch (when ‘handle’ is non-NULL)...
brltty-6.8/python3/Programs/gio_hid.c:243:5: branch_true: ...to here
brltty-6.8/python3/Programs/gio_hid.c:245:9: throw: if ‘hidOpenDeviceWithParameters’ throws an exception...
brltty-6.8/python3/Programs/gio_hid.c:245:9: danger: ‘handle’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1216]
brltty-6.8/python3/Programs/gio_internal.h:168:10: warning[-Wanalyzer-malloc-leak]: leak of ‘handle’
brltty-6.8/python3/Programs/gio_bluetooth.c:150:1: enter_function: entry to ‘connectBluetoothResource’
brltty-6.8/python3/Programs/gio_bluetooth.c:154:23: acquire_memory: allocated here
brltty-6.8/python3/Programs/gio_bluetooth.c:156:6: branch_true: following ‘true’ branch (when ‘handle’ is non-NULL)...
brltty-6.8/python3/Programs/gio_bluetooth.c:157:5: branch_true: ...to here
brltty-6.8/python3/Programs/gio_bluetooth.c:166:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/gio_bluetooth.c:167:11: call_function: inlined call to ‘gioIsHidSupported’ from ‘connectBluetoothResource’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1217]
brltty-6.8/python3/Programs/gio_serial.c:134:27: warning[-Wanalyzer-malloc-leak]: leak of ‘handle’
brltty-6.8/python3/Programs/gio_serial.c:129:23: acquire_memory: allocated here
brltty-6.8/python3/Programs/gio_serial.c:131:6: branch_true: following ‘true’ branch (when ‘handle’ is non-NULL)...
brltty-6.8/python3/Programs/gio_serial.c:132:5: branch_true: ...to here
brltty-6.8/python3/Programs/gio_serial.c:134:27: throw: if ‘serialOpenDevice’ throws an exception...
brltty-6.8/python3/Programs/gio_serial.c:134:27: danger: ‘handle’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1218]
brltty-6.8/python3/Programs/gio_serial.c:135:11: warning[-Wanalyzer-malloc-leak]: leak of ‘handle’
brltty-6.8/python3/Programs/gio_serial.c:129:23: acquire_memory: allocated here
brltty-6.8/python3/Programs/gio_serial.c:131:6: branch_true: following ‘true’ branch (when ‘handle’ is non-NULL)...
brltty-6.8/python3/Programs/gio_serial.c:132:5: branch_true: ...to here
brltty-6.8/python3/Programs/gio_serial.c:134:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/gio_serial.c:135:47: branch_true: ...to here
brltty-6.8/python3/Programs/gio_serial.c:135:11: throw: if ‘serialSetParameters’ throws an exception...
brltty-6.8/python3/Programs/gio_serial.c:135:11: danger: ‘handle’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1219]
brltty-6.8/python3/Programs/gio_serial.c:140:7: warning[-Wanalyzer-malloc-leak]: leak of ‘handle’
brltty-6.8/python3/Programs/gio_serial.c:129:23: acquire_memory: allocated here
brltty-6.8/python3/Programs/gio_serial.c:131:6: branch_true: following ‘true’ branch (when ‘handle’ is non-NULL)...
brltty-6.8/python3/Programs/gio_serial.c:132:5: branch_true: ...to here
brltty-6.8/python3/Programs/gio_serial.c:134:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/gio_serial.c:135:47: branch_true: ...to here
brltty-6.8/python3/Programs/gio_serial.c:135:10: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/gio_serial.c:140:7: branch_false: ...to here
brltty-6.8/python3/Programs/gio_serial.c:140:7: throw: if ‘serialCloseDevice’ throws an exception...
brltty-6.8/python3/Programs/gio_serial.c:140:7: danger: ‘handle’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1220]
brltty-6.8/python3/Programs/gio_usb.c:330:28: warning[-Wanalyzer-malloc-leak]: leak of ‘handle’
brltty-6.8/python3/Programs/gio_usb.c:325:23: acquire_memory: allocated here
brltty-6.8/python3/Programs/gio_usb.c:327:6: branch_true: following ‘true’ branch (when ‘handle’ is non-NULL)...
brltty-6.8/python3/Programs/gio_usb.c:328:5: branch_true: ...to here
brltty-6.8/python3/Programs/gio_usb.c:330:28: throw: if ‘usbOpenChannel’ throws an exception...
brltty-6.8/python3/Programs/gio_usb.c:330:28: danger: ‘handle’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1221]
brltty-6.8/python3/Programs/gio_usb.c:345:21: warning[-Wanalyzer-malloc-leak]: leak of ‘handle’
brltty-6.8/python3/Programs/gio_usb.c:325:23: acquire_memory: allocated here
brltty-6.8/python3/Programs/gio_usb.c:327:6: branch_true: following ‘true’ branch (when ‘handle’ is non-NULL)...
brltty-6.8/python3/Programs/gio_usb.c:328:5: branch_true: ...to here
brltty-6.8/python3/Programs/gio_usb.c:330:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/gio_usb.c:332:35: branch_true: ...to here
brltty-6.8/python3/Programs/gio_usb.c:345:12: branch_true: following ‘true’ branch (when ‘method’ is non-NULL)...
brltty-6.8/python3/Programs/gio_usb.c:345:21: branch_true: ...to here
brltty-6.8/python3/Programs/gio_usb.c:345:21: throw: if the called function throws an exception...
brltty-6.8/python3/Programs/gio_usb.c:345:21: danger: ‘handle’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-126): [#def1222]
brltty-6.8/python3/Programs/hid.c:236:9: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
brltty-6.8/python3/Programs/hid.c:211:1: enter_function: entry to ‘hidSetFilterIdentifiers’
brltty-6.8/python3/Programs/hid.c:235:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/hid.c:236:9: branch_true: ...to here
brltty-6.8/python3/Programs/hid.c:236:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/hid.c:237:12: call_function: calling ‘hidParseDeviceIdentifier’ from ‘hidSetFilterIdentifiers’
brltty-6.8/python3/Programs/hid.c:237:12: return_function: returning to ‘hidSetFilterIdentifiers’ from ‘hidParseDeviceIdentifier’
brltty-6.8/python3/Programs/hid.c:237:10: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/hid.c:243:5: branch_false: ...to here
brltty-6.8/python3/Programs/hid.c:235:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/hid.c:236:9: branch_true: ...to here
brltty-6.8/python3/Programs/hid.c:236:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/hid.c:237:12: call_function: calling ‘hidParseDeviceIdentifier’ from ‘hidSetFilterIdentifiers’
brltty-6.8/python3/Programs/hid.c:237:12: return_function: returning to ‘hidSetFilterIdentifiers’ from ‘hidParseDeviceIdentifier’
brltty-6.8/python3/Programs/hid.c:237:10: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/hid.c:243:5: branch_false: ...to here
brltty-6.8/python3/Programs/hid.c:235:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/hid.c:236:9: branch_true: ...to here
brltty-6.8/python3/Programs/hid.c:236:9: danger: out-of-bounds read from byte 56 till byte 63 but ‘identifierTable’ ends at byte 48
Error: GCC_ANALYZER_WARNING (CWE-126): [#def1223]
brltty-6.8/python3/Programs/hid.c:237:37: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
brltty-6.8/python3/Programs/hid.c:211:1: enter_function: entry to ‘hidSetFilterIdentifiers’
brltty-6.8/python3/Programs/hid.c:235:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/hid.c:236:9: branch_true: ...to here
brltty-6.8/python3/Programs/hid.c:236:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/hid.c:237:12: call_function: calling ‘hidParseDeviceIdentifier’ from ‘hidSetFilterIdentifiers’
brltty-6.8/python3/Programs/hid.c:237:12: return_function: returning to ‘hidSetFilterIdentifiers’ from ‘hidParseDeviceIdentifier’
brltty-6.8/python3/Programs/hid.c:237:10: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/hid.c:243:5: branch_false: ...to here
brltty-6.8/python3/Programs/hid.c:235:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/hid.c:236:9: branch_true: ...to here
brltty-6.8/python3/Programs/hid.c:236:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/hid.c:237:12: call_function: calling ‘hidParseDeviceIdentifier’ from ‘hidSetFilterIdentifiers’
brltty-6.8/python3/Programs/hid.c:237:12: return_function: returning to ‘hidSetFilterIdentifiers’ from ‘hidParseDeviceIdentifier’
brltty-6.8/python3/Programs/hid.c:237:10: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/hid.c:243:5: branch_false: ...to here
brltty-6.8/python3/Programs/hid.c:235:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/hid.c:236:9: branch_true: ...to here
brltty-6.8/python3/Programs/hid.c:236:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/hid.c:237:37: danger: out-of-bounds read from byte 64 till byte 71 but ‘identifierTable’ ends at byte 48
Error: CPPCHECK_WARNING (CWE-401): [#def1224]
brltty-6.8/python3/Programs/hid_linux.c:92: error[memleak]: Memory leak: items
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1225]
brltty-6.8/python3/Programs/ihex.c:161:8: warning[-Wanalyzer-malloc-leak]: leak of ‘ihexParseRecord(rpd)’
brltty-6.8/python3/Programs/ihex.c:300:1: enter_function: entry to ‘ihexProcessLine’
brltty-6.8/python3/Programs/ihex.c:307:6: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/ihex.c:308:6: branch_false: ...to here
brltty-6.8/python3/Programs/ihex.c:308:6: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/ihex.c:310:3: branch_false: ...to here
brltty-6.8/python3/Programs/ihex.c:311:30: call_function: calling ‘ihexParseRecord’ from ‘ihexProcessLine’
brltty-6.8/python3/Programs/ihex.c:311:30: return_function: returning to ‘ihexProcessLine’ from ‘ihexParseRecord’
brltty-6.8/python3/Programs/ihex.c:314:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/ihex.c:315:9: branch_true: ...to here
brltty-6.8/python3/Programs/ihex.c:315:9: call_function: calling ‘ihexCallHandler’ from ‘ihexProcessLine’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1226]
brltty-6.8/python3/Programs/kbd.c:158:9: warning[-Wanalyzer-malloc-leak]: leak of ‘kio’
brltty-6.8/python3/Programs/kbd.c:145:14: acquire_memory: allocated here
brltty-6.8/python3/Programs/kbd.c:145:6: branch_true: following ‘true’ branch (when ‘kio’ is non-NULL)...
brltty-6.8/python3/Programs/kbd.c:146:5: branch_true: ...to here
brltty-6.8/python3/Programs/kbd.c:158:9: throw: if ‘newKeyboardInstanceExtension’ throws an exception...
brltty-6.8/python3/Programs/kbd.c:158:9: danger: ‘kio’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1227]
brltty-6.8/python3/Programs/kbd.c:210:9: warning[-Wanalyzer-malloc-leak]: leak of ‘kmo’
brltty-6.8/python3/Programs/kbd.c:204:14: acquire_memory: allocated here
brltty-6.8/python3/Programs/kbd.c:204:6: branch_true: following ‘true’ branch (when ‘kmo’ is non-NULL)...
brltty-6.8/python3/Programs/kbd.c:205:5: branch_true: ...to here
brltty-6.8/python3/Programs/kbd.c:210:9: throw: if ‘newKeyboardMonitorExtension’ throws an exception...
brltty-6.8/python3/Programs/kbd.c:210:9: danger: ‘kmo’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1228]
brltty-6.8/python3/Programs/kbd_linux.c:647:6: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(*kio_94(D)->kix.device.path, 0)’
brltty-6.8/python3/Programs/kbd_linux.c:647:36: acquire_resource: opened here
brltty-6.8/python3/Programs/kbd_linux.c:647:6: danger: ‘open(*kio_94(D)->kix.device.path, 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1229]
brltty-6.8/python3/Programs/kbd_linux.c:775:21: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir("/dev/input")’
brltty-6.8/python3/Programs/kbd_linux.c:772:20: acquire_memory: allocated here
brltty-6.8/python3/Programs/kbd_linux.c:772:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/kbd_linux.c:772:6: branch_true: ...to here
brltty-6.8/python3/Programs/kbd_linux.c:775:21: throw: if ‘readdir’ throws an exception...
brltty-6.8/python3/Programs/kbd_linux.c:775:21: danger: ‘opendir("/dev/input")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1230]
brltty-6.8/python3/Programs/kbd_linux.c:830:5: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(__builtin_alloca_with_align(strlen(device) + 9, 8), 0)’
brltty-6.8/python3/Programs/kbd_linux.c:820:21: acquire_resource: opened here
brltty-6.8/python3/Programs/kbd_linux.c:820:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/kbd_linux.c:824:19: branch_true: ...to here
brltty-6.8/python3/Programs/kbd_linux.c:824:8: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/kbd_linux.c:824:8: branch_false: ...to here
brltty-6.8/python3/Programs/kbd_linux.c:830:5: danger: ‘open(__builtin_alloca_with_align(strlen(device) + 9, 8), 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1231]
brltty-6.8/python3/Programs/ktb_compile.c:171:7: warning[-Wanalyzer-malloc-leak]: leak of ‘ktd.table’
brltty-6.8/python3/Programs/ktb_compile.c:1816:1: enter_function: entry to ‘compileKeyTable’
brltty-6.8/python3/Programs/ktb_compile.c:1819:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/ktb_compile.c:1822:5: branch_true: ...to here
brltty-6.8/python3/Programs/ktb_compile.c:1832:22: acquire_memory: allocated here
brltty-6.8/python3/Programs/ktb_compile.c:1832:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/ktb_compile.c:1833:7: branch_true: ...to here
brltty-6.8/python3/Programs/ktb_compile.c:1866:11: call_function: calling ‘defineInitialKeyContexts’ from ‘compileKeyTable’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1232]
brltty-6.8/python3/Programs/ktb_compile.c:203:10: warning[-Wanalyzer-malloc-leak]: leak of ‘newTable’
brltty-6.8/python3/Programs/ktb_compile.c:1115:8: enter_function: entry to ‘processContextOperands’
brltty-6.8/python3/Programs/ktb_compile.c:1121:25: call_function: inlined call to ‘getCurrentKeyContext’ from ‘processContextOperands’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1233]
brltty-6.8/python3/Programs/ktb_compile.c:216:5: warning[-Wanalyzer-malloc-leak]: leak of ‘ktd.table’
brltty-6.8/python3/Programs/ktb_compile.c:1816:1: enter_function: entry to ‘compileKeyTable’
brltty-6.8/python3/Programs/ktb_compile.c:1819:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/ktb_compile.c:1822:5: branch_true: ...to here
brltty-6.8/python3/Programs/ktb_compile.c:1832:22: acquire_memory: allocated here
brltty-6.8/python3/Programs/ktb_compile.c:1832:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/ktb_compile.c:1833:7: branch_true: ...to here
brltty-6.8/python3/Programs/ktb_compile.c:1866:11: call_function: calling ‘defineInitialKeyContexts’ from ‘compileKeyTable’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1234]
brltty-6.8/python3/Programs/menu.c:182:5: warning[-Wanalyzer-malloc-leak]: leak of ‘submenu’
brltty-6.8/python3/Programs/menu.c:958:1: enter_function: entry to ‘newSubmenuMenuItem’
brltty-6.8/python3/Programs/menu.c:963:18: acquire_memory: allocated here
brltty-6.8/python3/Programs/menu.c:963:6: branch_true: following ‘true’ branch (when ‘submenu’ is non-NULL)...
brltty-6.8/python3/Programs/menu.c:964:5: branch_true: ...to here
brltty-6.8/python3/Programs/menu.c:966:26: call_function: calling ‘newMenu’ from ‘newSubmenuMenuItem’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1235]
brltty-6.8/python3/Programs/menu.c:190:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘item’
brltty-6.8/python3/Programs/menu.c:1164:1: enter_function: entry to ‘getCurrentMenuItem’
brltty-6.8/python3/Programs/menu.c:1165:23: call_function: inlined call to ‘getSelectedMenuItem’ from ‘getCurrentMenuItem’
brltty-6.8/python3/Programs/menu.c:1165:23: call_function: inlined call to ‘getSelectedMenuItem’ from ‘getCurrentMenuItem’
brltty-6.8/python3/Programs/menu.c:1168:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/menu.c:1169:8: branch_true: ...to here
brltty-6.8/python3/Programs/menu.c:1169:8: branch_true: following ‘true’ branch (when ‘oldItem’ is non-NULL)...
brltty-6.8/python3/Programs/menu.c:1169:18: call_function: inlined call to ‘endMenuItem’ from ‘getCurrentMenuItem’
brltty-6.8/python3/Programs/menu.c:1170:24: call_function: calling ‘beginMenuItem’ from ‘getCurrentMenuItem’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1236]
brltty-6.8/python3/Programs/menu.c:195:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
brltty-6.8/python3/Programs/menu.c:958:1: enter_function: entry to ‘newSubmenuMenuItem’
brltty-6.8/python3/Programs/menu.c:963:6: branch_true: following ‘true’ branch (when ‘submenu’ is non-NULL)...
brltty-6.8/python3/Programs/menu.c:964:5: branch_true: ...to here
brltty-6.8/python3/Programs/menu.c:966:26: call_function: calling ‘newMenu’ from ‘newSubmenuMenuItem’
brltty-6.8/python3/Programs/menu.c:966:26: return_function: returning to ‘newSubmenuMenuItem’ from ‘newMenu’
brltty-6.8/python3/Programs/menu.c:966:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/menu.c:970:20: branch_true: ...to here
brltty-6.8/python3/Programs/menu.c:970:20: call_function: calling ‘newMenuItem’ from ‘newSubmenuMenuItem’
brltty-6.8/python3/Programs/menu.c:970:20: return_function: returning to ‘newSubmenuMenuItem’ from ‘newMenuItem’
brltty-6.8/python3/Programs/menu.c:970:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/menu.c:973:21: branch_true: ...to here
brltty-6.8/python3/Programs/menu.c:973:21: call_function: calling ‘newMenuItem’ from ‘newSubmenuMenuItem’
brltty-6.8/python3/Programs/menu.c:973:21: return_function: returning to ‘newSubmenuMenuItem’ from ‘newMenuItem’
brltty-6.8/python3/Programs/menu.c:973:12: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/menu.c:992:7: branch_false: ...to here
brltty-6.8/python3/Programs/menu.c:992:7: call_function: calling ‘destroyMenu’ from ‘newSubmenuMenuItem’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1237]
brltty-6.8/python3/Programs/menu.c:288:27: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘item’
brltty-6.8/python3/Programs/menu.c:947:1: enter_function: entry to ‘getComment_close’
brltty-6.8/python3/Programs/menu.c:948:27: call_function: calling ‘getParentMenuItem’ from ‘getComment_close’
brltty-6.8/python3/Programs/menu.c:948:27: return_function: returning to ‘getComment_close’ from ‘getParentMenuItem’
brltty-6.8/python3/Programs/menu.c:948:10: call_function: calling ‘getMenuItemTitle’ from ‘getComment_close’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1238]
brltty-6.8/python3/Programs/menu.c:313:7: warning[-Wanalyzer-malloc-leak]: leak of ‘newMenuItem(newMenu(), 0, &closeName)’
brltty-6.8/python3/Programs/menu.c:958:1: enter_function: entry to ‘newSubmenuMenuItem’
brltty-6.8/python3/Programs/menu.c:963:6: branch_true: following ‘true’ branch (when ‘submenu’ is non-NULL)...
brltty-6.8/python3/Programs/menu.c:964:5: branch_true: ...to here
brltty-6.8/python3/Programs/menu.c:966:26: call_function: calling ‘newMenu’ from ‘newSubmenuMenuItem’
brltty-6.8/python3/Programs/menu.c:966:26: return_function: returning to ‘newSubmenuMenuItem’ from ‘newMenu’
brltty-6.8/python3/Programs/menu.c:966:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/menu.c:970:20: branch_true: ...to here
brltty-6.8/python3/Programs/menu.c:970:20: call_function: calling ‘newMenuItem’ from ‘newSubmenuMenuItem’
brltty-6.8/python3/Programs/menu.c:970:20: return_function: returning to ‘newSubmenuMenuItem’ from ‘newMenuItem’
brltty-6.8/python3/Programs/menu.c:970:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/menu.c:973:21: branch_true: ...to here
brltty-6.8/python3/Programs/menu.c:973:21: call_function: calling ‘newMenuItem’ from ‘newSubmenuMenuItem’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1239]
brltty-6.8/python3/Programs/menu.c:318:7: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
brltty-6.8/python3/Programs/menu.c:958:1: enter_function: entry to ‘newSubmenuMenuItem’
brltty-6.8/python3/Programs/menu.c:963:6: branch_true: following ‘true’ branch (when ‘submenu’ is non-NULL)...
brltty-6.8/python3/Programs/menu.c:964:5: branch_true: ...to here
brltty-6.8/python3/Programs/menu.c:966:26: call_function: calling ‘newMenu’ from ‘newSubmenuMenuItem’
brltty-6.8/python3/Programs/menu.c:966:26: return_function: returning to ‘newSubmenuMenuItem’ from ‘newMenu’
brltty-6.8/python3/Programs/menu.c:966:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/menu.c:970:20: branch_true: ...to here
brltty-6.8/python3/Programs/menu.c:970:20: call_function: calling ‘newMenuItem’ from ‘newSubmenuMenuItem’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1240]
brltty-6.8/python3/Programs/menu.c:318:7: warning[-Wanalyzer-malloc-leak]: leak of ‘files’
brltty-6.8/python3/Programs/menu.c:701:1: enter_function: entry to ‘newFilesMenuItem’
brltty-6.8/python3/Programs/menu.c:708:16: acquire_memory: allocated here
brltty-6.8/python3/Programs/menu.c:708:6: branch_true: following ‘true’ branch (when ‘files’ is non-NULL)...
brltty-6.8/python3/Programs/menu.c:709:5: branch_true: ...to here
brltty-6.8/python3/Programs/menu.c:719:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/menu.c:720:7: branch_true: ...to here
brltty-6.8/python3/Programs/menu.c:722:29: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/menu.c:723:12: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/menu.c:724:14: branch_true: ...to here
brltty-6.8/python3/Programs/menu.c:724:14: branch_true: following ‘true’ branch (when ‘subdirectory’ is non-NULL)...
brltty-6.8/python3/Programs/menu.c:725:32: branch_true: ...to here
brltty-6.8/python3/Programs/menu.c:730:14: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/menu.c:731:30: branch_true: ...to here
brltty-6.8/python3/Programs/menu.c:731:30: call_function: calling ‘newMenuItem’ from ‘newFilesMenuItem’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1241]
brltty-6.8/python3/Programs/menu.c:318:7: warning[-Wanalyzer-malloc-leak]: leak of ‘submenu’
brltty-6.8/python3/Programs/menu.c:958:1: enter_function: entry to ‘newSubmenuMenuItem’
brltty-6.8/python3/Programs/menu.c:963:18: acquire_memory: allocated here
brltty-6.8/python3/Programs/menu.c:963:6: branch_true: following ‘true’ branch (when ‘submenu’ is non-NULL)...
brltty-6.8/python3/Programs/menu.c:964:5: branch_true: ...to here
brltty-6.8/python3/Programs/menu.c:966:26: call_function: calling ‘newMenu’ from ‘newSubmenuMenuItem’
brltty-6.8/python3/Programs/menu.c:966:26: return_function: returning to ‘newSubmenuMenuItem’ from ‘newMenu’
brltty-6.8/python3/Programs/menu.c:966:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/menu.c:970:20: branch_true: ...to here
brltty-6.8/python3/Programs/menu.c:970:20: call_function: calling ‘newMenuItem’ from ‘newSubmenuMenuItem’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1242]
brltty-6.8/python3/Programs/menu.c:329:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
brltty-6.8/python3/Programs/menu.c:312:1: enter_function: entry to ‘newMenuItem’
brltty-6.8/python3/Programs/menu.c:327:22: call_function: calling ‘getMenuItem’ from ‘newMenuItem’
brltty-6.8/python3/Programs/menu.c:327:22: return_function: returning to ‘newMenuItem’ from ‘getMenuItem’
brltty-6.8/python3/Programs/menu.c:329:5: danger: dereference of NULL ‘getMenuItem(menu, *menu.items.count)’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1243]
brltty-6.8/python3/Programs/menu.c:542:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(".", 0)’
brltty-6.8/python3/Programs/menu.c:533:29: acquire_resource: opened here
brltty-6.8/python3/Programs/menu.c:535:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/menu.c:542:17: branch_true: ...to here
brltty-6.8/python3/Programs/menu.c:542:10: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/menu.c:588:88: branch_false: ...to here
brltty-6.8/python3/Programs/menu.c:587:9: throw: if ‘logMessage’ throws an exception...
brltty-6.8/python3/Programs/menu.c:542:17: danger: ‘open(".", 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1244]
brltty-6.8/python3/Programs/menu.c:716:17: warning[-Wanalyzer-malloc-leak]: leak of ‘files’
brltty-6.8/python3/Programs/menu.c:708:16: acquire_memory: allocated here
brltty-6.8/python3/Programs/menu.c:708:6: branch_true: following ‘true’ branch (when ‘files’ is non-NULL)...
brltty-6.8/python3/Programs/menu.c:709:5: branch_true: ...to here
brltty-6.8/python3/Programs/menu.c:716:17: throw: if ‘joinStrings’ throws an exception...
brltty-6.8/python3/Programs/menu.c:716:17: danger: ‘files’ leaks here; was allocated at [(1)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1245]
brltty-6.8/python3/Programs/menu.c:722:39: warning[-Wanalyzer-malloc-leak]: leak of ‘files’
brltty-6.8/python3/Programs/menu.c:708:16: acquire_memory: allocated here
brltty-6.8/python3/Programs/menu.c:708:6: branch_true: following ‘true’ branch (when ‘files’ is non-NULL)...
brltty-6.8/python3/Programs/menu.c:709:5: branch_true: ...to here
brltty-6.8/python3/Programs/menu.c:719:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/menu.c:720:7: branch_true: ...to here
brltty-6.8/python3/Programs/menu.c:722:29: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/menu.c:722:39: branch_true: ...to here
brltty-6.8/python3/Programs/menu.c:722:39: throw: if ‘ensureFileExtension’ throws an exception...
brltty-6.8/python3/Programs/menu.c:722:39: danger: ‘files’ leaks here; was allocated at [(1)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1246]
brltty-6.8/python3/Programs/menu.c:725:32: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
brltty-6.8/python3/Programs/menu.c:708:6: branch_true: following ‘true’ branch (when ‘files’ is non-NULL)...
brltty-6.8/python3/Programs/menu.c:709:5: branch_true: ...to here
brltty-6.8/python3/Programs/menu.c:719:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/menu.c:720:7: branch_true: ...to here
brltty-6.8/python3/Programs/menu.c:722:29: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/menu.c:723:31: acquire_memory: allocated here
brltty-6.8/python3/Programs/menu.c:723:12: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/menu.c:724:14: branch_true: ...to here
brltty-6.8/python3/Programs/menu.c:724:14: branch_true: following ‘true’ branch (when ‘subdirectory’ is non-NULL)...
brltty-6.8/python3/Programs/menu.c:725:32: branch_true: ...to here
brltty-6.8/python3/Programs/menu.c:725:32: throw: if ‘makePath’ throws an exception...
brltty-6.8/python3/Programs/menu.c:725:32: danger: ‘<unknown>’ leaks here; was allocated at [(7)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1247]
brltty-6.8/python3/Programs/menu.c:725:32: warning[-Wanalyzer-malloc-leak]: leak of ‘files’
brltty-6.8/python3/Programs/menu.c:708:16: acquire_memory: allocated here
brltty-6.8/python3/Programs/menu.c:708:6: branch_true: following ‘true’ branch (when ‘files’ is non-NULL)...
brltty-6.8/python3/Programs/menu.c:709:5: branch_true: ...to here
brltty-6.8/python3/Programs/menu.c:719:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/menu.c:720:7: branch_true: ...to here
brltty-6.8/python3/Programs/menu.c:722:29: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/menu.c:723:12: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/menu.c:724:14: branch_true: ...to here
brltty-6.8/python3/Programs/menu.c:724:14: branch_true: following ‘true’ branch (when ‘subdirectory’ is non-NULL)...
brltty-6.8/python3/Programs/menu.c:725:32: branch_true: ...to here
brltty-6.8/python3/Programs/menu.c:725:32: throw: if ‘makePath’ throws an exception...
brltty-6.8/python3/Programs/menu.c:725:32: danger: ‘files’ leaks here; was allocated at [(1)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1248]
brltty-6.8/python3/Programs/menu.c:727:13: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
brltty-6.8/python3/Programs/menu.c:708:6: branch_true: following ‘true’ branch (when ‘files’ is non-NULL)...
brltty-6.8/python3/Programs/menu.c:709:5: branch_true: ...to here
brltty-6.8/python3/Programs/menu.c:719:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/menu.c:720:7: branch_true: ...to here
brltty-6.8/python3/Programs/menu.c:722:29: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/menu.c:723:31: acquire_memory: allocated here
brltty-6.8/python3/Programs/menu.c:723:12: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/menu.c:724:14: branch_true: ...to here
brltty-6.8/python3/Programs/menu.c:724:14: branch_false: following ‘false’ branch (when ‘subdirectory’ is NULL)...
brltty-6.8/python3/Programs/menu.c:726:43: branch_false: ...to here
brltty-6.8/python3/Programs/menu.c:726:21: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/menu.c:727:13: branch_true: ...to here
brltty-6.8/python3/Programs/menu.c:727:13: throw: if ‘logMallocError’ throws an exception...
brltty-6.8/python3/Programs/menu.c:727:13: danger: ‘<unknown>’ leaks here; was allocated at [(7)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1249]
brltty-6.8/python3/Programs/menu.c:727:13: warning[-Wanalyzer-malloc-leak]: leak of ‘files’
brltty-6.8/python3/Programs/menu.c:708:16: acquire_memory: allocated here
brltty-6.8/python3/Programs/menu.c:708:6: branch_true: following ‘true’ branch (when ‘files’ is non-NULL)...
brltty-6.8/python3/Programs/menu.c:709:5: branch_true: ...to here
brltty-6.8/python3/Programs/menu.c:719:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/menu.c:720:7: branch_true: ...to here
brltty-6.8/python3/Programs/menu.c:722:29: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/menu.c:723:12: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/menu.c:724:14: branch_true: ...to here
brltty-6.8/python3/Programs/menu.c:724:14: branch_false: following ‘false’ branch (when ‘subdirectory’ is NULL)...
brltty-6.8/python3/Programs/menu.c:726:43: branch_false: ...to here
brltty-6.8/python3/Programs/menu.c:726:21: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/menu.c:727:13: branch_true: ...to here
brltty-6.8/python3/Programs/menu.c:727:13: throw: if ‘logMallocError’ throws an exception...
brltty-6.8/python3/Programs/menu.c:727:13: danger: ‘files’ leaks here; was allocated at [(1)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1250]
brltty-6.8/python3/Programs/menu.c:744:11: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
brltty-6.8/python3/Programs/menu.c:708:6: branch_true: following ‘true’ branch (when ‘files’ is non-NULL)...
brltty-6.8/python3/Programs/menu.c:709:5: branch_true: ...to here
brltty-6.8/python3/Programs/menu.c:719:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/menu.c:720:7: branch_true: ...to here
brltty-6.8/python3/Programs/menu.c:722:29: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/menu.c:722:80: branch_false: ...to here
brltty-6.8/python3/Programs/menu.c:722:80: acquire_memory: allocated here
brltty-6.8/python3/Programs/menu.c:722:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/menu.c:723:31: branch_true: ...to here
brltty-6.8/python3/Programs/menu.c:723:12: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/menu.c:744:11: branch_false: ...to here
brltty-6.8/python3/Programs/menu.c:744:11: throw: if ‘logMallocError’ throws an exception...
brltty-6.8/python3/Programs/menu.c:744:11: danger: ‘<unknown>’ leaks here; was allocated at [(7)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1251]
brltty-6.8/python3/Programs/menu.c:744:11: warning[-Wanalyzer-malloc-leak]: leak of ‘files’
brltty-6.8/python3/Programs/menu.c:708:16: acquire_memory: allocated here
brltty-6.8/python3/Programs/menu.c:708:6: branch_true: following ‘true’ branch (when ‘files’ is non-NULL)...
brltty-6.8/python3/Programs/menu.c:709:5: branch_true: ...to here
brltty-6.8/python3/Programs/menu.c:719:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/menu.c:720:7: branch_true: ...to here
brltty-6.8/python3/Programs/menu.c:722:29: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/menu.c:723:12: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/menu.c:744:11: branch_false: ...to here
brltty-6.8/python3/Programs/menu.c:744:11: throw: if ‘logMallocError’ throws an exception...
brltty-6.8/python3/Programs/menu.c:744:11: danger: ‘files’ leaks here; was allocated at [(1)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1252]
brltty-6.8/python3/Programs/menu.c:749:9: warning[-Wanalyzer-malloc-leak]: leak of ‘files’
brltty-6.8/python3/Programs/menu.c:708:16: acquire_memory: allocated here
brltty-6.8/python3/Programs/menu.c:708:6: branch_true: following ‘true’ branch (when ‘files’ is non-NULL)...
brltty-6.8/python3/Programs/menu.c:709:5: branch_true: ...to here
brltty-6.8/python3/Programs/menu.c:719:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/menu.c:720:7: branch_true: ...to here
brltty-6.8/python3/Programs/menu.c:722:29: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/menu.c:722:39: branch_true: ...to here
brltty-6.8/python3/Programs/menu.c:722:10: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/menu.c:749:9: branch_false: ...to here
brltty-6.8/python3/Programs/menu.c:749:9: throw: if ‘logMallocError’ throws an exception...
brltty-6.8/python3/Programs/menu.c:749:9: danger: ‘files’ leaks here; was allocated at [(1)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1253]
brltty-6.8/python3/Programs/menu.c:754:7: warning[-Wanalyzer-malloc-leak]: leak of ‘files’
brltty-6.8/python3/Programs/menu.c:708:16: acquire_memory: allocated here
brltty-6.8/python3/Programs/menu.c:708:6: branch_true: following ‘true’ branch (when ‘files’ is non-NULL)...
brltty-6.8/python3/Programs/menu.c:709:5: branch_true: ...to here
brltty-6.8/python3/Programs/menu.c:719:8: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/menu.c:754:7: branch_false: ...to here
brltty-6.8/python3/Programs/menu.c:754:7: throw: if ‘logMallocError’ throws an exception...
brltty-6.8/python3/Programs/menu.c:754:7: danger: ‘files’ leaks here; was allocated at [(1)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1254]
brltty-6.8/python3/Programs/menu.c:1075:8: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
brltty-6.8/python3/Programs/menu.c:1142:1: enter_function: entry to ‘changeMenuSettingScaled’
brltty-6.8/python3/Programs/menu.c:1143:20: call_function: calling ‘getCurrentMenuItem’ from ‘changeMenuSettingScaled’
brltty-6.8/python3/Programs/menu.c:1143:20: return_function: returning to ‘changeMenuSettingScaled’ from ‘getCurrentMenuItem’
brltty-6.8/python3/Programs/menu.c:1145:7: call_function: inlined call to ‘activateMenuItem’ from ‘changeMenuSettingScaled’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1255]
brltty-6.8/python3/Programs/menu.c:1181:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
brltty-6.8/python3/Programs/menu.c:1177:1: enter_function: entry to ‘getCurrentSubmenu’
brltty-6.8/python3/Programs/menu.c:1179:22: call_function: calling ‘getCurrentMenuItem’ from ‘getCurrentSubmenu’
brltty-6.8/python3/Programs/menu.c:1179:22: return_function: returning to ‘getCurrentSubmenu’ from ‘getCurrentMenuItem’
brltty-6.8/python3/Programs/menu.c:1181:9: danger: dereference of NULL ‘getCurrentMenuItem(menu)’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1256]
brltty-6.8/python3/Programs/message.c:307:7: warning[-Wanalyzer-malloc-leak]: leak of ‘mgp’
brltty-6.8/python3/Programs/message.c:525:1: enter_function: entry to ‘message’
brltty-6.8/python3/Programs/message.c:532:14: acquire_memory: allocated here
brltty-6.8/python3/Programs/message.c:532:6: branch_true: following ‘true’ branch (when ‘mgp’ is non-NULL)...
brltty-6.8/python3/Programs/message.c:533:5: branch_true: ...to here
brltty-6.8/python3/Programs/message.c:539:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/message.c:540:7: branch_true: ...to here
brltty-6.8/python3/Programs/message.c:541:7: call_function: calling ‘presentMessage’ from ‘message’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1257]
brltty-6.8/python3/Programs/message.c:308:10: warning[-Wanalyzer-malloc-leak]: leak of ‘mgp’
brltty-6.8/python3/Programs/message.c:525:1: enter_function: entry to ‘message’
brltty-6.8/python3/Programs/message.c:532:14: acquire_memory: allocated here
brltty-6.8/python3/Programs/message.c:532:6: branch_true: following ‘true’ branch (when ‘mgp’ is non-NULL)...
brltty-6.8/python3/Programs/message.c:533:5: branch_true: ...to here
brltty-6.8/python3/Programs/message.c:539:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/message.c:540:7: branch_true: ...to here
brltty-6.8/python3/Programs/message.c:541:7: call_function: calling ‘presentMessage’ from ‘message’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1258]
brltty-6.8/python3/Programs/message.c:376:5: warning[-Wanalyzer-malloc-leak]: leak of ‘mgp’
brltty-6.8/python3/Programs/message.c:525:1: enter_function: entry to ‘message’
brltty-6.8/python3/Programs/message.c:532:14: acquire_memory: allocated here
brltty-6.8/python3/Programs/message.c:532:6: branch_true: following ‘true’ branch (when ‘mgp’ is non-NULL)...
brltty-6.8/python3/Programs/message.c:533:5: branch_true: ...to here
brltty-6.8/python3/Programs/message.c:539:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/message.c:540:7: branch_true: ...to here
brltty-6.8/python3/Programs/message.c:541:7: call_function: calling ‘presentMessage’ from ‘message’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1259]
brltty-6.8/python3/Programs/message.c:423:7: warning[-Wanalyzer-malloc-leak]: leak of ‘mgp’
brltty-6.8/python3/Programs/message.c:525:1: enter_function: entry to ‘message’
brltty-6.8/python3/Programs/message.c:532:14: acquire_memory: allocated here
brltty-6.8/python3/Programs/message.c:532:6: branch_true: following ‘true’ branch (when ‘mgp’ is non-NULL)...
brltty-6.8/python3/Programs/message.c:533:5: branch_true: ...to here
brltty-6.8/python3/Programs/message.c:539:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/message.c:540:7: branch_true: ...to here
brltty-6.8/python3/Programs/message.c:541:7: call_function: calling ‘presentMessage’ from ‘message’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1260]
brltty-6.8/python3/Programs/message.c:430:17: warning[-Wanalyzer-malloc-leak]: leak of ‘mgp’
brltty-6.8/python3/Programs/message.c:525:1: enter_function: entry to ‘message’
brltty-6.8/python3/Programs/message.c:532:14: acquire_memory: allocated here
brltty-6.8/python3/Programs/message.c:532:6: branch_true: following ‘true’ branch (when ‘mgp’ is non-NULL)...
brltty-6.8/python3/Programs/message.c:533:5: branch_true: ...to here
brltty-6.8/python3/Programs/message.c:539:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/message.c:540:7: branch_true: ...to here
brltty-6.8/python3/Programs/message.c:541:7: call_function: calling ‘presentMessage’ from ‘message’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1261]
brltty-6.8/python3/Programs/message.c:436:31: warning[-Wanalyzer-malloc-leak]: leak of ‘mgp’
brltty-6.8/python3/Programs/message.c:525:1: enter_function: entry to ‘message’
brltty-6.8/python3/Programs/message.c:532:14: acquire_memory: allocated here
brltty-6.8/python3/Programs/message.c:532:6: branch_true: following ‘true’ branch (when ‘mgp’ is non-NULL)...
brltty-6.8/python3/Programs/message.c:533:5: branch_true: ...to here
brltty-6.8/python3/Programs/message.c:539:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/message.c:540:7: branch_true: ...to here
brltty-6.8/python3/Programs/message.c:541:7: call_function: calling ‘presentMessage’ from ‘message’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1262]
brltty-6.8/python3/Programs/message.c:438:5: warning[-Wanalyzer-malloc-leak]: leak of ‘mgp’
brltty-6.8/python3/Programs/message.c:525:1: enter_function: entry to ‘message’
brltty-6.8/python3/Programs/message.c:532:14: acquire_memory: allocated here
brltty-6.8/python3/Programs/message.c:532:6: branch_true: following ‘true’ branch (when ‘mgp’ is non-NULL)...
brltty-6.8/python3/Programs/message.c:533:5: branch_true: ...to here
brltty-6.8/python3/Programs/message.c:539:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/message.c:540:7: branch_true: ...to here
brltty-6.8/python3/Programs/message.c:541:7: call_function: calling ‘presentMessage’ from ‘message’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1263]
brltty-6.8/python3/Programs/message.c:448:9: warning[-Wanalyzer-malloc-leak]: leak of ‘mgp’
brltty-6.8/python3/Programs/message.c:525:1: enter_function: entry to ‘message’
brltty-6.8/python3/Programs/message.c:532:14: acquire_memory: allocated here
brltty-6.8/python3/Programs/message.c:532:6: branch_true: following ‘true’ branch (when ‘mgp’ is non-NULL)...
brltty-6.8/python3/Programs/message.c:533:5: branch_true: ...to here
brltty-6.8/python3/Programs/message.c:539:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/message.c:540:7: branch_true: ...to here
brltty-6.8/python3/Programs/message.c:541:7: call_function: calling ‘presentMessage’ from ‘message’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1264]
brltty-6.8/python3/Programs/message.c:466:27: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*mgd.segments.first.start’
brltty-6.8/python3/Programs/message.c:416:1: enter_function: entry to ‘presentMessage’
brltty-6.8/python3/Programs/message.c:423:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/message.c:423:21: branch_true: ...to here
brltty-6.8/python3/Programs/message.c:448:8: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/message.c:463:20: branch_false: ...to here
brltty-6.8/python3/Programs/message.c:465:25: call_function: calling ‘makeSegments’ from ‘presentMessage’
brltty-6.8/python3/Programs/message.c:465:25: return_function: returning to ‘presentMessage’ from ‘makeSegments’
brltty-6.8/python3/Programs/message.c:466:27: danger: use of uninitialized value ‘*mgd.segments.first.start’ here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1265]
brltty-6.8/python3/Programs/message.c:545:11: warning[-Wanalyzer-malloc-leak]: leak of ‘mgp’
brltty-6.8/python3/Programs/message.c:532:14: acquire_memory: allocated here
brltty-6.8/python3/Programs/message.c:532:6: branch_true: following ‘true’ branch (when ‘mgp’ is non-NULL)...
brltty-6.8/python3/Programs/message.c:533:5: branch_true: ...to here
brltty-6.8/python3/Programs/message.c:539:8: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/message.c:544:7: branch_false: ...to here
brltty-6.8/python3/Programs/message.c:545:11: throw: if ‘asyncAddTask’ throws an exception...
brltty-6.8/python3/Programs/message.c:545:11: danger: ‘mgp’ leaks here; was allocated at [(1)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1266]
brltty-6.8/python3/Programs/messages.c:545:3: warning[-Wanalyzer-malloc-leak]: leak of ‘copy’
brltty-6.8/python3/Programs/messages.c:610:1: enter_function: entry to ‘setMessagesDirectory’
brltty-6.8/python3/Programs/messages.c:611:10: call_function: calling ‘updateProperty’ from ‘setMessagesDirectory’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1267]
brltty-6.8/python3/Programs/messages.c:552:5: warning[-Wanalyzer-malloc-leak]: leak of ‘copy’
brltty-6.8/python3/Programs/messages.c:620:1: enter_function: entry to ‘setMessagesDomain’
brltty-6.8/python3/Programs/messages.c:621:10: call_function: calling ‘updateProperty’ from ‘setMessagesDomain’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1268]
brltty-6.8/python3/Programs/messages.c:557:5: warning[-Wanalyzer-malloc-leak]: leak of ‘copy’
brltty-6.8/python3/Programs/messages.c:620:1: enter_function: entry to ‘setMessagesDomain’
brltty-6.8/python3/Programs/messages.c:621:10: call_function: calling ‘updateProperty’ from ‘setMessagesDomain’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1269]
brltty-6.8/python3/Programs/messages.c:595:20: warning[-Wanalyzer-malloc-leak]: leak of ‘copy’
brltty-6.8/python3/Programs/messages.c:592:16: acquire_memory: allocated here
brltty-6.8/python3/Programs/messages.c:594:6: branch_true: following ‘true’ branch (when ‘copy’ is non-NULL)...
brltty-6.8/python3/Programs/messages.c:595:8: branch_true: ...to here
brltty-6.8/python3/Programs/messages.c:595:8: branch_false: following ‘false’ branch (when ‘setter’ is non-NULL)...
brltty-6.8/python3/Programs/messages.c:595:20: branch_false: ...to here
brltty-6.8/python3/Programs/messages.c:595:20: throw: if the called function throws an exception...
brltty-6.8/python3/Programs/messages.c:595:20: danger: ‘copy’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1270]
brltty-6.8/python3/Programs/midi_alsa.c:44:5: warning[-Wanalyzer-malloc-leak]: leak of ‘clientInformation’
brltty-6.8/python3/Programs/midi_alsa.c:41:46: acquire_memory: allocated here
brltty-6.8/python3/Programs/midi_alsa.c:43:6: branch_true: following ‘true’ branch (when ‘clientInformation’ is non-NULL)...
brltty-6.8/python3/Programs/midi_alsa.c:44:5: branch_true: ...to here
brltty-6.8/python3/Programs/midi_alsa.c:44:5: throw: if ‘snd_seq_client_info_sizeof’ throws an exception...
brltty-6.8/python3/Programs/midi_alsa.c:44:5: danger: ‘clientInformation’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1271]
brltty-6.8/python3/Programs/midi_alsa.c:45:5: warning[-Wanalyzer-malloc-leak]: leak of ‘clientInformation’
brltty-6.8/python3/Programs/midi_alsa.c:41:46: acquire_memory: allocated here
brltty-6.8/python3/Programs/midi_alsa.c:43:6: branch_true: following ‘true’ branch (when ‘clientInformation’ is non-NULL)...
brltty-6.8/python3/Programs/midi_alsa.c:44:5: branch_true: ...to here
brltty-6.8/python3/Programs/midi_alsa.c:45:5: throw: if ‘snd_seq_client_info_set_client’ throws an exception...
brltty-6.8/python3/Programs/midi_alsa.c:45:5: danger: ‘clientInformation’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1272]
brltty-6.8/python3/Programs/midi_alsa.c:52:9: warning[-Wanalyzer-malloc-leak]: leak of ‘portInformation’
brltty-6.8/python3/Programs/midi_alsa.c:43:6: branch_true: following ‘true’ branch (when ‘clientInformation’ is non-NULL)...
brltty-6.8/python3/Programs/midi_alsa.c:44:5: branch_true: ...to here
brltty-6.8/python3/Programs/midi_alsa.c:47:12: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/midi_alsa.c:48:30: branch_true: ...to here
brltty-6.8/python3/Programs/midi_alsa.c:49:46: acquire_memory: allocated here
brltty-6.8/python3/Programs/midi_alsa.c:52:9: throw: if ‘snd_seq_port_info_sizeof’ throws an exception...
brltty-6.8/python3/Programs/midi_alsa.c:52:9: danger: ‘portInformation’ leaks here; was allocated at [(5)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1273]
brltty-6.8/python3/Programs/midi_alsa.c:53:9: warning[-Wanalyzer-malloc-leak]: leak of ‘portInformation’
brltty-6.8/python3/Programs/midi_alsa.c:43:6: branch_true: following ‘true’ branch (when ‘clientInformation’ is non-NULL)...
brltty-6.8/python3/Programs/midi_alsa.c:44:5: branch_true: ...to here
brltty-6.8/python3/Programs/midi_alsa.c:47:12: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/midi_alsa.c:48:30: branch_true: ...to here
brltty-6.8/python3/Programs/midi_alsa.c:49:46: acquire_memory: allocated here
brltty-6.8/python3/Programs/midi_alsa.c:53:9: throw: if ‘snd_seq_port_info_set_client’ throws an exception...
brltty-6.8/python3/Programs/midi_alsa.c:53:9: danger: ‘portInformation’ leaks here; was allocated at [(5)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1274]
brltty-6.8/python3/Programs/midi_alsa.c:113:15: warning[-Wanalyzer-malloc-leak]: leak of ‘info’
brltty-6.8/python3/Programs/midi_alsa.c:94:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/midi_alsa.c:97:9: branch_true: ...to here
brltty-6.8/python3/Programs/midi_alsa.c:97:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/midi_alsa.c:100:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/midi_alsa.c:103:12: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/midi_alsa.c:107:15: branch_true: ...to here
brltty-6.8/python3/Programs/midi_alsa.c:107:14: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/midi_alsa.c:110:43: branch_false: ...to here
brltty-6.8/python3/Programs/midi_alsa.c:110:43: acquire_memory: allocated here
brltty-6.8/python3/Programs/midi_alsa.c:112:16: branch_true: following ‘true’ branch (when ‘info’ is non-NULL)...
brltty-6.8/python3/Programs/midi_alsa.c:113:15: branch_true: ...to here
brltty-6.8/python3/Programs/midi_alsa.c:113:15: throw: if ‘snd_seq_client_info_sizeof’ throws an exception...
brltty-6.8/python3/Programs/midi_alsa.c:113:15: danger: ‘info’ leaks here; was allocated at [(11)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1275]
brltty-6.8/python3/Programs/midi_alsa.c:114:15: warning[-Wanalyzer-malloc-leak]: leak of ‘info’
brltty-6.8/python3/Programs/midi_alsa.c:94:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/midi_alsa.c:97:9: branch_true: ...to here
brltty-6.8/python3/Programs/midi_alsa.c:97:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/midi_alsa.c:100:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/midi_alsa.c:103:12: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/midi_alsa.c:107:15: branch_true: ...to here
brltty-6.8/python3/Programs/midi_alsa.c:107:14: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/midi_alsa.c:110:43: branch_false: ...to here
brltty-6.8/python3/Programs/midi_alsa.c:110:43: acquire_memory: allocated here
brltty-6.8/python3/Programs/midi_alsa.c:112:16: branch_true: following ‘true’ branch (when ‘info’ is non-NULL)...
brltty-6.8/python3/Programs/midi_alsa.c:113:15: branch_true: ...to here
brltty-6.8/python3/Programs/midi_alsa.c:114:15: throw: if ‘snd_seq_client_info_set_client’ throws an exception...
brltty-6.8/python3/Programs/midi_alsa.c:114:15: danger: ‘info’ leaks here; was allocated at [(11)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1276]
brltty-6.8/python3/Programs/midi_alsa.c:144:17: warning[-Wanalyzer-malloc-leak]: leak of ‘info’
brltty-6.8/python3/Programs/midi_alsa.c:94:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/midi_alsa.c:97:9: branch_true: ...to here
brltty-6.8/python3/Programs/midi_alsa.c:97:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/midi_alsa.c:100:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/midi_alsa.c:103:12: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/midi_alsa.c:107:15: branch_true: ...to here
brltty-6.8/python3/Programs/midi_alsa.c:108:16: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/midi_alsa.c:138:17: branch_true: ...to here
brltty-6.8/python3/Programs/midi_alsa.c:138:16: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/midi_alsa.c:141:43: branch_false: ...to here
brltty-6.8/python3/Programs/midi_alsa.c:141:43: acquire_memory: allocated here
brltty-6.8/python3/Programs/midi_alsa.c:143:18: branch_true: following ‘true’ branch (when ‘info’ is non-NULL)...
brltty-6.8/python3/Programs/midi_alsa.c:144:17: branch_true: ...to here
brltty-6.8/python3/Programs/midi_alsa.c:144:17: throw: if ‘snd_seq_port_info_sizeof’ throws an exception...
brltty-6.8/python3/Programs/midi_alsa.c:144:17: danger: ‘info’ leaks here; was allocated at [(13)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1277]
brltty-6.8/python3/Programs/midi_alsa.c:145:17: warning[-Wanalyzer-malloc-leak]: leak of ‘info’
brltty-6.8/python3/Programs/midi_alsa.c:94:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/midi_alsa.c:97:9: branch_true: ...to here
brltty-6.8/python3/Programs/midi_alsa.c:97:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/midi_alsa.c:100:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/midi_alsa.c:103:12: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/midi_alsa.c:107:15: branch_true: ...to here
brltty-6.8/python3/Programs/midi_alsa.c:108:16: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/midi_alsa.c:138:17: branch_true: ...to here
brltty-6.8/python3/Programs/midi_alsa.c:138:16: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/midi_alsa.c:141:43: branch_false: ...to here
brltty-6.8/python3/Programs/midi_alsa.c:141:43: acquire_memory: allocated here
brltty-6.8/python3/Programs/midi_alsa.c:143:18: branch_true: following ‘true’ branch (when ‘info’ is non-NULL)...
brltty-6.8/python3/Programs/midi_alsa.c:144:17: branch_true: ...to here
brltty-6.8/python3/Programs/midi_alsa.c:145:17: throw: if ‘snd_seq_port_info_set_client’ throws an exception...
brltty-6.8/python3/Programs/midi_alsa.c:145:17: danger: ‘info’ leaks here; was allocated at [(13)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1278]
brltty-6.8/python3/Programs/midi_alsa.c:223:19: warning[-Wanalyzer-malloc-leak]: leak of ‘midi’
brltty-6.8/python3/Programs/midi_alsa.c:219:15: acquire_memory: allocated here
brltty-6.8/python3/Programs/midi_alsa.c:219:6: branch_true: following ‘true’ branch (when ‘midi’ is non-NULL)...
brltty-6.8/python3/Programs/midi_alsa.c:223:19: branch_true: ...to here
brltty-6.8/python3/Programs/midi_alsa.c:223:19: throw: if ‘snd_seq_open’ throws an exception...
brltty-6.8/python3/Programs/midi_alsa.c:223:19: danger: ‘midi’ leaks here; was allocated at [(1)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1279]
brltty-6.8/python3/Programs/mntpt.c:65:5: warning[-Wanalyzer-malloc-leak]: leak of ‘path’
brltty-6.8/python3/Programs/mntpt.c:55:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/mntpt.c:55:6: branch_true: ...to here
brltty-6.8/python3/Programs/mntpt.c:58:12: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/mntpt.c:59:34: branch_true: ...to here
brltty-6.8/python3/Programs/mntpt.c:60:22: acquire_memory: allocated here
brltty-6.8/python3/Programs/mntpt.c:60:12: branch_false: following ‘false’ branch (when ‘path’ is non-NULL)...
brltty-6.8/python3/Programs/mntpt.c:65:5: branch_false: ...to here
brltty-6.8/python3/Programs/mntpt.c:65:5: throw: if ‘closeMountsTable’ throws an exception...
brltty-6.8/python3/Programs/mntpt.c:65:5: danger: ‘path’ leaks here; was allocated at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1280]
brltty-6.8/python3/Programs/mntpt.c:85:18: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
brltty-6.8/python3/Programs/mntpt.c:105:1: enter_function: entry to ‘makeMountPoint’
brltty-6.8/python3/Programs/mntpt.c:106:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/mntpt.c:109:5: branch_true: ...to here
brltty-6.8/python3/Programs/mntpt.c:112:8: branch_true: following ‘true’ branch (when ‘entry’ is non-NULL)...
brltty-6.8/python3/Programs/mntpt.c:113:7: branch_true: ...to here
brltty-6.8/python3/Programs/mntpt.c:115:31: acquire_memory: allocated here
brltty-6.8/python3/Programs/mntpt.c:115:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/mntpt.c:116:38: branch_true: ...to here
brltty-6.8/python3/Programs/mntpt.c:116:12: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/mntpt.c:117:35: branch_true: ...to here
brltty-6.8/python3/Programs/mntpt.c:117:14: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/mntpt.c:118:40: branch_true: ...to here
brltty-6.8/python3/Programs/mntpt.c:118:16: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/mntpt.c:119:15: branch_true: ...to here
brltty-6.8/python3/Programs/mntpt.c:119:15: call_function: calling ‘updateMountsTable’ from ‘makeMountPoint’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1281]
brltty-6.8/python3/Programs/mntpt.c:85:18: warning[-Wanalyzer-malloc-leak]: leak of ‘entry’
brltty-6.8/python3/Programs/mntpt.c:105:1: enter_function: entry to ‘makeMountPoint’
brltty-6.8/python3/Programs/mntpt.c:106:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/mntpt.c:109:5: branch_true: ...to here
brltty-6.8/python3/Programs/mntpt.c:112:18: acquire_memory: allocated here
brltty-6.8/python3/Programs/mntpt.c:112:8: branch_true: following ‘true’ branch (when ‘entry’ is non-NULL)...
brltty-6.8/python3/Programs/mntpt.c:113:7: branch_true: ...to here
brltty-6.8/python3/Programs/mntpt.c:115:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/mntpt.c:116:38: branch_true: ...to here
brltty-6.8/python3/Programs/mntpt.c:116:12: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/mntpt.c:117:35: branch_true: ...to here
brltty-6.8/python3/Programs/mntpt.c:117:14: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/mntpt.c:118:40: branch_true: ...to here
brltty-6.8/python3/Programs/mntpt.c:118:16: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/mntpt.c:119:15: branch_true: ...to here
brltty-6.8/python3/Programs/mntpt.c:119:15: call_function: calling ‘updateMountsTable’ from ‘makeMountPoint’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1282]
brltty-6.8/python3/Programs/mntpt.c:86:7: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
brltty-6.8/python3/Programs/mntpt.c:105:1: enter_function: entry to ‘makeMountPoint’
brltty-6.8/python3/Programs/mntpt.c:106:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/mntpt.c:109:5: branch_true: ...to here
brltty-6.8/python3/Programs/mntpt.c:112:8: branch_true: following ‘true’ branch (when ‘entry’ is non-NULL)...
brltty-6.8/python3/Programs/mntpt.c:113:7: branch_true: ...to here
brltty-6.8/python3/Programs/mntpt.c:115:31: acquire_memory: allocated here
brltty-6.8/python3/Programs/mntpt.c:115:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/mntpt.c:116:38: branch_true: ...to here
brltty-6.8/python3/Programs/mntpt.c:116:12: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/mntpt.c:117:35: branch_true: ...to here
brltty-6.8/python3/Programs/mntpt.c:117:14: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/mntpt.c:118:40: branch_true: ...to here
brltty-6.8/python3/Programs/mntpt.c:118:16: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/mntpt.c:119:15: branch_true: ...to here
brltty-6.8/python3/Programs/mntpt.c:119:15: call_function: calling ‘updateMountsTable’ from ‘makeMountPoint’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1283]
brltty-6.8/python3/Programs/mntpt.c:86:7: warning[-Wanalyzer-malloc-leak]: leak of ‘entry’
brltty-6.8/python3/Programs/mntpt.c:105:1: enter_function: entry to ‘makeMountPoint’
brltty-6.8/python3/Programs/mntpt.c:106:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/mntpt.c:109:5: branch_true: ...to here
brltty-6.8/python3/Programs/mntpt.c:112:18: acquire_memory: allocated here
brltty-6.8/python3/Programs/mntpt.c:112:8: branch_true: following ‘true’ branch (when ‘entry’ is non-NULL)...
brltty-6.8/python3/Programs/mntpt.c:113:7: branch_true: ...to here
brltty-6.8/python3/Programs/mntpt.c:115:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/mntpt.c:116:38: branch_true: ...to here
brltty-6.8/python3/Programs/mntpt.c:116:12: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/mntpt.c:117:35: branch_true: ...to here
brltty-6.8/python3/Programs/mntpt.c:117:14: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/mntpt.c:118:40: branch_true: ...to here
brltty-6.8/python3/Programs/mntpt.c:118:16: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/mntpt.c:119:15: branch_true: ...to here
brltty-6.8/python3/Programs/mntpt.c:119:15: call_function: calling ‘updateMountsTable’ from ‘makeMountPoint’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1284]
brltty-6.8/python3/Programs/mntpt.c:94:5: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
brltty-6.8/python3/Programs/mntpt.c:105:1: enter_function: entry to ‘makeMountPoint’
brltty-6.8/python3/Programs/mntpt.c:106:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/mntpt.c:109:5: branch_true: ...to here
brltty-6.8/python3/Programs/mntpt.c:112:8: branch_true: following ‘true’ branch (when ‘entry’ is non-NULL)...
brltty-6.8/python3/Programs/mntpt.c:113:7: branch_true: ...to here
brltty-6.8/python3/Programs/mntpt.c:115:31: acquire_memory: allocated here
brltty-6.8/python3/Programs/mntpt.c:115:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/mntpt.c:116:38: branch_true: ...to here
brltty-6.8/python3/Programs/mntpt.c:116:12: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/mntpt.c:117:35: branch_true: ...to here
brltty-6.8/python3/Programs/mntpt.c:117:14: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/mntpt.c:118:40: branch_true: ...to here
brltty-6.8/python3/Programs/mntpt.c:118:16: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/mntpt.c:119:15: branch_true: ...to here
brltty-6.8/python3/Programs/mntpt.c:119:15: call_function: calling ‘updateMountsTable’ from ‘makeMountPoint’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1285]
brltty-6.8/python3/Programs/mntpt.c:94:5: warning[-Wanalyzer-malloc-leak]: leak of ‘entry’
brltty-6.8/python3/Programs/mntpt.c:105:1: enter_function: entry to ‘makeMountPoint’
brltty-6.8/python3/Programs/mntpt.c:106:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/mntpt.c:109:5: branch_true: ...to here
brltty-6.8/python3/Programs/mntpt.c:112:18: acquire_memory: allocated here
brltty-6.8/python3/Programs/mntpt.c:112:8: branch_true: following ‘true’ branch (when ‘entry’ is non-NULL)...
brltty-6.8/python3/Programs/mntpt.c:113:7: branch_true: ...to here
brltty-6.8/python3/Programs/mntpt.c:115:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/mntpt.c:116:38: branch_true: ...to here
brltty-6.8/python3/Programs/mntpt.c:116:12: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/mntpt.c:117:35: branch_true: ...to here
brltty-6.8/python3/Programs/mntpt.c:117:14: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/mntpt.c:118:40: branch_true: ...to here
brltty-6.8/python3/Programs/mntpt.c:118:16: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/mntpt.c:119:15: branch_true: ...to here
brltty-6.8/python3/Programs/mntpt.c:119:15: call_function: calling ‘updateMountsTable’ from ‘makeMountPoint’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1286]
brltty-6.8/python3/Programs/mntpt.c:122:15: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
brltty-6.8/python3/Programs/mntpt.c:106:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/mntpt.c:109:5: branch_true: ...to here
brltty-6.8/python3/Programs/mntpt.c:112:8: branch_true: following ‘true’ branch (when ‘entry’ is non-NULL)...
brltty-6.8/python3/Programs/mntpt.c:113:7: branch_true: ...to here
brltty-6.8/python3/Programs/mntpt.c:115:31: acquire_memory: allocated here
brltty-6.8/python3/Programs/mntpt.c:115:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/mntpt.c:116:38: branch_true: ...to here
brltty-6.8/python3/Programs/mntpt.c:116:12: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/mntpt.c:117:35: branch_true: ...to here
brltty-6.8/python3/Programs/mntpt.c:117:14: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/mntpt.c:118:40: branch_true: ...to here
brltty-6.8/python3/Programs/mntpt.c:118:16: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/mntpt.c:122:15: branch_false: ...to here
brltty-6.8/python3/Programs/mntpt.c:122:15: throw: if ‘logMallocError’ throws an exception...
brltty-6.8/python3/Programs/mntpt.c:122:15: danger: ‘<unknown>’ leaks here; was allocated at [(5)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1287]
brltty-6.8/python3/Programs/mntpt.c:122:15: warning[-Wanalyzer-malloc-leak]: leak of ‘entry’
brltty-6.8/python3/Programs/mntpt.c:106:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/mntpt.c:109:5: branch_true: ...to here
brltty-6.8/python3/Programs/mntpt.c:112:18: acquire_memory: allocated here
brltty-6.8/python3/Programs/mntpt.c:112:8: branch_true: following ‘true’ branch (when ‘entry’ is non-NULL)...
brltty-6.8/python3/Programs/mntpt.c:113:7: branch_true: ...to here
brltty-6.8/python3/Programs/mntpt.c:115:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/mntpt.c:116:38: branch_true: ...to here
brltty-6.8/python3/Programs/mntpt.c:116:12: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/mntpt.c:117:35: branch_true: ...to here
brltty-6.8/python3/Programs/mntpt.c:117:14: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/mntpt.c:118:40: branch_true: ...to here
brltty-6.8/python3/Programs/mntpt.c:118:16: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/mntpt.c:122:15: branch_false: ...to here
brltty-6.8/python3/Programs/mntpt.c:122:15: throw: if ‘logMallocError’ throws an exception...
brltty-6.8/python3/Programs/mntpt.c:122:15: danger: ‘entry’ leaks here; was allocated at [(3)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1288]
brltty-6.8/python3/Programs/mntpt.c:127:13: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
brltty-6.8/python3/Programs/mntpt.c:106:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/mntpt.c:109:5: branch_true: ...to here
brltty-6.8/python3/Programs/mntpt.c:112:8: branch_true: following ‘true’ branch (when ‘entry’ is non-NULL)...
brltty-6.8/python3/Programs/mntpt.c:113:7: branch_true: ...to here
brltty-6.8/python3/Programs/mntpt.c:115:31: acquire_memory: allocated here
brltty-6.8/python3/Programs/mntpt.c:115:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/mntpt.c:116:38: branch_true: ...to here
brltty-6.8/python3/Programs/mntpt.c:116:12: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/mntpt.c:117:35: branch_true: ...to here
brltty-6.8/python3/Programs/mntpt.c:117:14: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/mntpt.c:127:13: branch_false: ...to here
brltty-6.8/python3/Programs/mntpt.c:127:13: throw: if ‘logMallocError’ throws an exception...
brltty-6.8/python3/Programs/mntpt.c:127:13: danger: ‘<unknown>’ leaks here; was allocated at [(5)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1289]
brltty-6.8/python3/Programs/mntpt.c:127:13: warning[-Wanalyzer-malloc-leak]: leak of ‘entry’
brltty-6.8/python3/Programs/mntpt.c:106:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/mntpt.c:109:5: branch_true: ...to here
brltty-6.8/python3/Programs/mntpt.c:112:18: acquire_memory: allocated here
brltty-6.8/python3/Programs/mntpt.c:112:8: branch_true: following ‘true’ branch (when ‘entry’ is non-NULL)...
brltty-6.8/python3/Programs/mntpt.c:113:7: branch_true: ...to here
brltty-6.8/python3/Programs/mntpt.c:115:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/mntpt.c:116:38: branch_true: ...to here
brltty-6.8/python3/Programs/mntpt.c:116:12: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/mntpt.c:117:35: branch_true: ...to here
brltty-6.8/python3/Programs/mntpt.c:117:14: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/mntpt.c:127:13: branch_false: ...to here
brltty-6.8/python3/Programs/mntpt.c:127:13: throw: if ‘logMallocError’ throws an exception...
brltty-6.8/python3/Programs/mntpt.c:127:13: danger: ‘entry’ leaks here; was allocated at [(3)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1290]
brltty-6.8/python3/Programs/mntpt.c:132:11: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
brltty-6.8/python3/Programs/mntpt.c:106:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/mntpt.c:109:5: branch_true: ...to here
brltty-6.8/python3/Programs/mntpt.c:112:8: branch_true: following ‘true’ branch (when ‘entry’ is non-NULL)...
brltty-6.8/python3/Programs/mntpt.c:113:7: branch_true: ...to here
brltty-6.8/python3/Programs/mntpt.c:115:31: acquire_memory: allocated here
brltty-6.8/python3/Programs/mntpt.c:115:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/mntpt.c:116:38: branch_true: ...to here
brltty-6.8/python3/Programs/mntpt.c:116:12: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/mntpt.c:132:11: branch_false: ...to here
brltty-6.8/python3/Programs/mntpt.c:132:11: throw: if ‘logMallocError’ throws an exception...
brltty-6.8/python3/Programs/mntpt.c:132:11: danger: ‘<unknown>’ leaks here; was allocated at [(5)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1291]
brltty-6.8/python3/Programs/mntpt.c:132:11: warning[-Wanalyzer-malloc-leak]: leak of ‘entry’
brltty-6.8/python3/Programs/mntpt.c:106:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/mntpt.c:109:5: branch_true: ...to here
brltty-6.8/python3/Programs/mntpt.c:112:18: acquire_memory: allocated here
brltty-6.8/python3/Programs/mntpt.c:112:8: branch_true: following ‘true’ branch (when ‘entry’ is non-NULL)...
brltty-6.8/python3/Programs/mntpt.c:113:7: branch_true: ...to here
brltty-6.8/python3/Programs/mntpt.c:115:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/mntpt.c:116:38: branch_true: ...to here
brltty-6.8/python3/Programs/mntpt.c:116:12: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/mntpt.c:132:11: branch_false: ...to here
brltty-6.8/python3/Programs/mntpt.c:132:11: throw: if ‘logMallocError’ throws an exception...
brltty-6.8/python3/Programs/mntpt.c:132:11: danger: ‘entry’ leaks here; was allocated at [(3)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1292]
brltty-6.8/python3/Programs/mntpt.c:137:9: warning[-Wanalyzer-malloc-leak]: leak of ‘entry’
brltty-6.8/python3/Programs/mntpt.c:106:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/mntpt.c:109:5: branch_true: ...to here
brltty-6.8/python3/Programs/mntpt.c:112:18: acquire_memory: allocated here
brltty-6.8/python3/Programs/mntpt.c:112:8: branch_true: following ‘true’ branch (when ‘entry’ is non-NULL)...
brltty-6.8/python3/Programs/mntpt.c:113:7: branch_true: ...to here
brltty-6.8/python3/Programs/mntpt.c:115:10: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/mntpt.c:137:9: branch_false: ...to here
brltty-6.8/python3/Programs/mntpt.c:137:9: throw: if ‘logMallocError’ throws an exception...
brltty-6.8/python3/Programs/mntpt.c:137:9: danger: ‘entry’ leaks here; was allocated at [(3)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1293]
brltty-6.8/python3/Programs/msg_queue.c:121:13: warning[-Wanalyzer-malloc-leak]: leak of ‘mhp’
brltty-6.8/python3/Programs/msg_queue.c:101:1: enter_function: entry to ‘messageReceiverThread’
brltty-6.8/python3/Programs/msg_queue.c:107:22: call_function: calling ‘receiveMessage’ from ‘messageReceiverThread’
brltty-6.8/python3/Programs/msg_queue.c:107:22: return_function: returning to ‘messageReceiverThread’ from ‘receiveMessage’
brltty-6.8/python3/Programs/msg_queue.c:109:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/msg_queue.c:112:18: branch_true: ...to here
brltty-6.8/python3/Programs/msg_queue.c:112:18: acquire_memory: allocated here
brltty-6.8/python3/Programs/msg_queue.c:112:10: branch_true: following ‘true’ branch (when ‘mhp’ is non-NULL)...
brltty-6.8/python3/Programs/msg_queue.c:115:21: branch_true: ...to here
brltty-6.8/python3/Programs/msg_queue.c:121:13: throw: if ‘asyncSignalEvent’ throws an exception...
brltty-6.8/python3/Programs/msg_queue.c:121:13: danger: ‘mhp’ leaks here; was allocated at [(9)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1294]
brltty-6.8/python3/Programs/msg_queue.c:149:23: warning[-Wanalyzer-malloc-leak]: leak of ‘mra’
brltty-6.8/python3/Programs/msg_queue.c:139:14: acquire_memory: allocated here
brltty-6.8/python3/Programs/msg_queue.c:139:6: branch_true: following ‘true’ branch (when ‘mra’ is non-NULL)...
brltty-6.8/python3/Programs/msg_queue.c:140:5: branch_true: ...to here
brltty-6.8/python3/Programs/msg_queue.c:149:23: throw: if ‘asyncNewEvent’ throws an exception...
brltty-6.8/python3/Programs/msg_queue.c:149:23: danger: ‘mra’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1295]
brltty-6.8/python3/Programs/notes_beep.c:35:9: warning[-Wanalyzer-malloc-leak]: leak of ‘device’
brltty-6.8/python3/Programs/notes_beep.c:34:17: acquire_memory: allocated here
brltty-6.8/python3/Programs/notes_beep.c:34:6: branch_true: following ‘true’ branch (when ‘device’ is non-NULL)...
brltty-6.8/python3/Programs/notes_beep.c:35:9: branch_true: ...to here
brltty-6.8/python3/Programs/notes_beep.c:35:9: throw: if ‘canBeep’ throws an exception...
brltty-6.8/python3/Programs/notes_beep.c:35:9: danger: ‘device’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1296]
brltty-6.8/python3/Programs/notes_beep.c:36:7: warning[-Wanalyzer-malloc-leak]: leak of ‘device’
brltty-6.8/python3/Programs/notes_beep.c:34:17: acquire_memory: allocated here
brltty-6.8/python3/Programs/notes_beep.c:34:6: branch_true: following ‘true’ branch (when ‘device’ is non-NULL)...
brltty-6.8/python3/Programs/notes_beep.c:35:9: branch_true: ...to here
brltty-6.8/python3/Programs/notes_beep.c:35:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/notes_beep.c:36:7: branch_true: ...to here
brltty-6.8/python3/Programs/notes_beep.c:36:7: throw: if ‘logMessage’ throws an exception...
brltty-6.8/python3/Programs/notes_beep.c:36:7: danger: ‘device’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1297]
brltty-6.8/python3/Programs/notes_fm.c:36:9: warning[-Wanalyzer-malloc-leak]: leak of ‘device’
brltty-6.8/python3/Programs/notes_fm.c:35:17: acquire_memory: allocated here
brltty-6.8/python3/Programs/notes_fm.c:35:6: branch_true: following ‘true’ branch (when ‘device’ is non-NULL)...
brltty-6.8/python3/Programs/notes_fm.c:36:9: branch_true: ...to here
brltty-6.8/python3/Programs/notes_fm.c:36:9: throw: if ‘fmEnablePorts’ throws an exception...
brltty-6.8/python3/Programs/notes_fm.c:36:9: danger: ‘device’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1298]
brltty-6.8/python3/Programs/notes_fm.c:37:11: warning[-Wanalyzer-malloc-leak]: leak of ‘device’
brltty-6.8/python3/Programs/notes_fm.c:35:17: acquire_memory: allocated here
brltty-6.8/python3/Programs/notes_fm.c:35:6: branch_true: following ‘true’ branch (when ‘device’ is non-NULL)...
brltty-6.8/python3/Programs/notes_fm.c:36:9: branch_true: ...to here
brltty-6.8/python3/Programs/notes_fm.c:36:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/notes_fm.c:37:11: branch_true: ...to here
brltty-6.8/python3/Programs/notes_fm.c:37:11: throw: if ‘fmTestCard’ throws an exception...
brltty-6.8/python3/Programs/notes_fm.c:37:11: danger: ‘device’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1299]
brltty-6.8/python3/Programs/notes_fm.c:40:9: warning[-Wanalyzer-malloc-leak]: leak of ‘device’
brltty-6.8/python3/Programs/notes_fm.c:35:17: acquire_memory: allocated here
brltty-6.8/python3/Programs/notes_fm.c:35:6: branch_true: following ‘true’ branch (when ‘device’ is non-NULL)...
brltty-6.8/python3/Programs/notes_fm.c:36:9: branch_true: ...to here
brltty-6.8/python3/Programs/notes_fm.c:36:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/notes_fm.c:37:11: branch_true: ...to here
brltty-6.8/python3/Programs/notes_fm.c:37:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/notes_fm.c:38:9: branch_true: ...to here
brltty-6.8/python3/Programs/notes_fm.c:40:9: throw: if ‘logMessage’ throws an exception...
brltty-6.8/python3/Programs/notes_fm.c:40:9: danger: ‘device’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1300]
brltty-6.8/python3/Programs/notes_fm.c:44:7: warning[-Wanalyzer-malloc-leak]: leak of ‘device’
brltty-6.8/python3/Programs/notes_fm.c:35:17: acquire_memory: allocated here
brltty-6.8/python3/Programs/notes_fm.c:35:6: branch_true: following ‘true’ branch (when ‘device’ is non-NULL)...
brltty-6.8/python3/Programs/notes_fm.c:36:9: branch_true: ...to here
brltty-6.8/python3/Programs/notes_fm.c:36:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/notes_fm.c:37:11: branch_true: ...to here
brltty-6.8/python3/Programs/notes_fm.c:37:10: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/notes_fm.c:44:7: branch_false: ...to here
brltty-6.8/python3/Programs/notes_fm.c:44:7: throw: if ‘fmDisablePorts’ throws an exception...
brltty-6.8/python3/Programs/notes_fm.c:44:7: danger: ‘device’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1301]
brltty-6.8/python3/Programs/notes_midi.c:42:25: warning[-Wanalyzer-malloc-leak]: leak of ‘device’
brltty-6.8/python3/Programs/notes_midi.c:41:17: acquire_memory: allocated here
brltty-6.8/python3/Programs/notes_midi.c:41:6: branch_true: following ‘true’ branch (when ‘device’ is non-NULL)...
brltty-6.8/python3/Programs/notes_midi.c:42:25: branch_true: ...to here
brltty-6.8/python3/Programs/notes_midi.c:42:25: throw: if ‘openMidiDevice’ throws an exception...
brltty-6.8/python3/Programs/notes_midi.c:42:25: danger: ‘device’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1302]
brltty-6.8/python3/Programs/notes_midi.c:44:7: warning[-Wanalyzer-malloc-leak]: leak of ‘device’
brltty-6.8/python3/Programs/notes_midi.c:41:17: acquire_memory: allocated here
brltty-6.8/python3/Programs/notes_midi.c:41:6: branch_true: following ‘true’ branch (when ‘device’ is non-NULL)...
brltty-6.8/python3/Programs/notes_midi.c:42:25: branch_true: ...to here
brltty-6.8/python3/Programs/notes_midi.c:42:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/notes_midi.c:43:7: branch_true: ...to here
brltty-6.8/python3/Programs/notes_midi.c:44:7: throw: if ‘setMidiInstrument’ throws an exception...
brltty-6.8/python3/Programs/notes_midi.c:44:7: danger: ‘device’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1303]
brltty-6.8/python3/Programs/notes_midi.c:46:7: warning[-Wanalyzer-malloc-leak]: leak of ‘device’
brltty-6.8/python3/Programs/notes_midi.c:41:17: acquire_memory: allocated here
brltty-6.8/python3/Programs/notes_midi.c:41:6: branch_true: following ‘true’ branch (when ‘device’ is non-NULL)...
brltty-6.8/python3/Programs/notes_midi.c:42:25: branch_true: ...to here
brltty-6.8/python3/Programs/notes_midi.c:42:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/notes_midi.c:43:7: branch_true: ...to here
brltty-6.8/python3/Programs/notes_midi.c:46:7: throw: if ‘logMessage’ throws an exception...
brltty-6.8/python3/Programs/notes_midi.c:46:7: danger: ‘device’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-758): [#def1304]
brltty-6.8/python3/Programs/notes_pcm.c:219: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1305]
brltty-6.8/python3/Programs/params_linux.c:47:21: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen("/proc/cmdline", "r")’
brltty-6.8/python3/Programs/params_linux.c:32:6: branch_true: following ‘true’ branch (when ‘parameters’ is non-NULL)...
brltty-6.8/python3/Programs/params_linux.c:36:17: branch_true: ...to here
brltty-6.8/python3/Programs/params_linux.c:36:17: acquire_resource: opened here
brltty-6.8/python3/Programs/params_linux.c:36:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/params_linux.c:38:20: branch_true: ...to here
brltty-6.8/python3/Programs/params_linux.c:40:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/params_linux.c:40:10: branch_true: ...to here
brltty-6.8/python3/Programs/params_linux.c:43:16: branch_true: following ‘true’ branch (when ‘token’ is non-NULL)...
brltty-6.8/python3/Programs/params_linux.c:46:16: branch_true: ...to here
brltty-6.8/python3/Programs/params_linux.c:46:14: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/params_linux.c:47:21: branch_true: ...to here
brltty-6.8/python3/Programs/params_linux.c:46:15: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/params_linux.c:48:61: branch_true: ...to here
brltty-6.8/python3/Programs/params_linux.c:50:16: branch_false: following ‘false’ branch (when ‘newParameters’ is NULL)...
brltty-6.8/python3/Programs/params_linux.c:54:15: branch_false: ...to here
brltty-6.8/python3/Programs/params_linux.c:54:15: throw: if ‘logMallocError’ throws an exception...
brltty-6.8/python3/Programs/params_linux.c:47:21: danger: ‘fopen("/proc/cmdline", "r")’ leaks here; was opened at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1306]
brltty-6.8/python3/Programs/params_linux.c:47:21: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen("/proc/cmdline", "r")’
brltty-6.8/python3/Programs/params_linux.c:32:6: branch_true: following ‘true’ branch (when ‘parameters’ is non-NULL)...
brltty-6.8/python3/Programs/params_linux.c:36:17: branch_true: ...to here
brltty-6.8/python3/Programs/params_linux.c:36:17: acquire_memory: allocated here
brltty-6.8/python3/Programs/params_linux.c:36:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/params_linux.c:38:20: branch_true: ...to here
brltty-6.8/python3/Programs/params_linux.c:40:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/params_linux.c:40:10: branch_true: ...to here
brltty-6.8/python3/Programs/params_linux.c:43:16: branch_true: following ‘true’ branch (when ‘token’ is non-NULL)...
brltty-6.8/python3/Programs/params_linux.c:46:16: branch_true: ...to here
brltty-6.8/python3/Programs/params_linux.c:46:14: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/params_linux.c:47:21: branch_true: ...to here
brltty-6.8/python3/Programs/params_linux.c:46:15: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/params_linux.c:48:61: branch_true: ...to here
brltty-6.8/python3/Programs/params_linux.c:50:16: branch_false: following ‘false’ branch (when ‘newParameters’ is NULL)...
brltty-6.8/python3/Programs/params_linux.c:54:15: branch_false: ...to here
brltty-6.8/python3/Programs/params_linux.c:54:15: throw: if ‘logMallocError’ throws an exception...
brltty-6.8/python3/Programs/params_linux.c:47:21: danger: ‘fopen("/proc/cmdline", "r")’ leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1307]
brltty-6.8/python3/Programs/params_linux.c:54:15: warning[-Wanalyzer-malloc-leak]: leak of ‘parameters’
brltty-6.8/python3/Programs/params_linux.c:32:21: acquire_memory: allocated here
brltty-6.8/python3/Programs/params_linux.c:32:6: branch_true: following ‘true’ branch (when ‘parameters’ is non-NULL)...
brltty-6.8/python3/Programs/params_linux.c:36:17: branch_true: ...to here
brltty-6.8/python3/Programs/params_linux.c:36:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/params_linux.c:38:20: branch_true: ...to here
brltty-6.8/python3/Programs/params_linux.c:40:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/params_linux.c:40:10: branch_true: ...to here
brltty-6.8/python3/Programs/params_linux.c:43:16: branch_true: following ‘true’ branch (when ‘token’ is non-NULL)...
brltty-6.8/python3/Programs/params_linux.c:46:16: branch_true: ...to here
brltty-6.8/python3/Programs/params_linux.c:46:14: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/params_linux.c:47:21: branch_true: ...to here
brltty-6.8/python3/Programs/params_linux.c:46:15: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/params_linux.c:48:61: branch_true: ...to here
brltty-6.8/python3/Programs/params_linux.c:50:16: branch_false: following ‘false’ branch (when ‘newParameters’ is NULL)...
brltty-6.8/python3/Programs/params_linux.c:54:15: branch_false: ...to here
brltty-6.8/python3/Programs/params_linux.c:54:15: throw: if ‘logMallocError’ throws an exception...
brltty-6.8/python3/Programs/params_linux.c:54:15: danger: ‘parameters’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1308]
brltty-6.8/python3/Programs/parse.c:97:10: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*element’
brltty-6.8/python3/Programs/parse.c:579:1: enter_function: entry to ‘getParameters’
brltty-6.8/python3/Programs/parse.c:590:8: branch_true: following ‘true’ branch (when ‘values’ is non-NULL)...
brltty-6.8/python3/Programs/parse.c:590:8: branch_true: ...to here
brltty-6.8/python3/Programs/parse.c:593:14: branch_false: following ‘false’ branch (when ‘count <= index’)...
brltty-6.8/python3/Programs/parse.c:602:10: branch_false: ...to here
brltty-6.8/python3/Programs/parse.c:602:10: branch_false: following ‘false’ branch (when ‘count != index’)...
brltty-6.8/python3/Programs/parse.c:607:7: branch_false: ...to here
brltty-6.8/python3/Programs/parse.c:607:7: call_function: calling ‘deallocateStrings’ from ‘getParameters’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1309]
brltty-6.8/python3/Programs/parse.c:112:11: warning[-Wanalyzer-malloc-leak]: leak of ‘splitString(value, 44, 0)’
brltty-6.8/python3/Programs/parse.c:156:1: enter_function: entry to ‘changeListSetting’
brltty-6.8/python3/Programs/parse.c:157:20: call_function: calling ‘splitString’ from ‘changeListSetting’
brltty-6.8/python3/Programs/parse.c:157:20: return_function: returning to ‘changeListSetting’ from ‘splitString’
brltty-6.8/python3/Programs/parse.c:159:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/parse.c:160:9: branch_true: ...to here
brltty-6.8/python3/Programs/parse.c:160:9: call_function: calling ‘changeStringSetting’ from ‘changeListSetting’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1310]
brltty-6.8/python3/Programs/parse.c:595:11: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
brltty-6.8/python3/Programs/parse.c:590:8: branch_true: following ‘true’ branch (when ‘values’ is non-NULL)...
brltty-6.8/python3/Programs/parse.c:590:8: branch_true: ...to here
brltty-6.8/python3/Programs/parse.c:593:14: branch_true: following ‘true’ branch (when ‘count > index’)...
brltty-6.8/python3/Programs/parse.c:594:21: branch_true: ...to here
brltty-6.8/python3/Programs/parse.c:594:31: acquire_memory: allocated here
brltty-6.8/python3/Programs/parse.c:594:12: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/parse.c:599:9: branch_false: ...to here
brltty-6.8/python3/Programs/parse.c:593:14: branch_true: following ‘true’ branch (when ‘count > index’)...
brltty-6.8/python3/Programs/parse.c:594:21: branch_true: ...to here
brltty-6.8/python3/Programs/parse.c:594:12: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/parse.c:595:11: branch_true: ...to here
brltty-6.8/python3/Programs/parse.c:595:11: throw: if ‘logMallocError’ throws an exception...
brltty-6.8/python3/Programs/parse.c:595:11: danger: ‘<unknown>’ leaks here; was allocated at [(5)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1311]
brltty-6.8/python3/Programs/parse.c:595:11: warning[-Wanalyzer-malloc-leak]: leak of ‘values’
brltty-6.8/python3/Programs/parse.c:590:19: acquire_memory: allocated here
brltty-6.8/python3/Programs/parse.c:590:8: branch_true: following ‘true’ branch (when ‘values’ is non-NULL)...
brltty-6.8/python3/Programs/parse.c:590:8: branch_true: ...to here
brltty-6.8/python3/Programs/parse.c:593:14: branch_true: following ‘true’ branch (when ‘count > index’)...
brltty-6.8/python3/Programs/parse.c:594:21: branch_true: ...to here
brltty-6.8/python3/Programs/parse.c:594:12: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/parse.c:595:11: branch_true: ...to here
brltty-6.8/python3/Programs/parse.c:595:11: throw: if ‘logMallocError’ throws an exception...
brltty-6.8/python3/Programs/parse.c:595:11: danger: ‘values’ leaks here; was allocated at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1312]
brltty-6.8/python3/Programs/pcm_alsa.c:136:19: warning[-Wanalyzer-malloc-leak]: leak of ‘pcm’
brltty-6.8/python3/Programs/pcm_alsa.c:132:14: acquire_memory: allocated here
brltty-6.8/python3/Programs/pcm_alsa.c:132:6: branch_true: following ‘true’ branch (when ‘pcm’ is non-NULL)...
brltty-6.8/python3/Programs/pcm_alsa.c:135:10: branch_true: ...to here
brltty-6.8/python3/Programs/pcm_alsa.c:136:19: throw: if ‘snd_pcm_open’ throws an exception...
brltty-6.8/python3/Programs/pcm_alsa.c:136:19: danger: ‘pcm’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1313]
brltty-6.8/python3/Programs/pgmprivs_linux.c:1104:7: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
brltty-6.8/python3/Programs/pgmprivs_linux.c:1686:1: enter_function: entry to ‘scfInstallFilter’
brltty-6.8/python3/Programs/pgmprivs_linux.c:1688:6: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/pgmprivs_linux.c:1692:7: branch_false: ...to here
brltty-6.8/python3/Programs/pgmprivs_linux.c:1697:14: call_function: calling ‘scfMakeFilter’ from ‘scfInstallFilter’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1314]
brltty-6.8/python3/Programs/pgmprivs_linux.c:1144:7: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
brltty-6.8/python3/Programs/pgmprivs_linux.c:1686:1: enter_function: entry to ‘scfInstallFilter’
brltty-6.8/python3/Programs/pgmprivs_linux.c:1688:6: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/pgmprivs_linux.c:1692:7: branch_false: ...to here
brltty-6.8/python3/Programs/pgmprivs_linux.c:1697:14: call_function: calling ‘scfMakeFilter’ from ‘scfInstallFilter’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1315]
brltty-6.8/python3/Programs/pgmprivs_linux.c:1190:3: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
brltty-6.8/python3/Programs/pgmprivs_linux.c:1686:1: enter_function: entry to ‘scfInstallFilter’
brltty-6.8/python3/Programs/pgmprivs_linux.c:1688:6: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/pgmprivs_linux.c:1692:7: branch_false: ...to here
brltty-6.8/python3/Programs/pgmprivs_linux.c:1697:14: call_function: calling ‘scfMakeFilter’ from ‘scfInstallFilter’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1316]
brltty-6.8/python3/Programs/pgmprivs_linux.c:1202:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
brltty-6.8/python3/Programs/pgmprivs_linux.c:1686:1: enter_function: entry to ‘scfInstallFilter’
brltty-6.8/python3/Programs/pgmprivs_linux.c:1688:6: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/pgmprivs_linux.c:1692:7: branch_false: ...to here
brltty-6.8/python3/Programs/pgmprivs_linux.c:1697:14: call_function: calling ‘scfMakeFilter’ from ‘scfInstallFilter’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1317]
brltty-6.8/python3/Programs/pgmprivs_linux.c:1229:5: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
brltty-6.8/python3/Programs/pgmprivs_linux.c:1686:1: enter_function: entry to ‘scfInstallFilter’
brltty-6.8/python3/Programs/pgmprivs_linux.c:1688:6: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/pgmprivs_linux.c:1692:7: branch_false: ...to here
brltty-6.8/python3/Programs/pgmprivs_linux.c:1697:14: call_function: calling ‘scfMakeFilter’ from ‘scfInstallFilter’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1318]
brltty-6.8/python3/Programs/pipe.c:243:3: warning[-Wanalyzer-malloc-leak]: leak of ‘obj’
brltty-6.8/python3/Programs/pipe.c:303:1: enter_function: entry to ‘newNamedPipeObject’
brltty-6.8/python3/Programs/pipe.c:306:14: acquire_memory: allocated here
brltty-6.8/python3/Programs/pipe.c:306:6: branch_true: following ‘true’ branch (when ‘obj’ is non-NULL)...
brltty-6.8/python3/Programs/pipe.c:306:6: branch_true: ...to here
brltty-6.8/python3/Programs/pipe.c:325:24: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/pipe.c:325:35: branch_true: ...to here
brltty-6.8/python3/Programs/pipe.c:328:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/pipe.c:329:12: branch_true: ...to here
brltty-6.8/python3/Programs/pipe.c:329:10: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/pipe.c:331:18: branch_false: ...to here
brltty-6.8/python3/Programs/pipe.c:331:18: call_function: calling ‘createFifo’ from ‘newNamedPipeObject’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1319]
brltty-6.8/python3/Programs/pipe.c:245:3: warning[-Wanalyzer-malloc-leak]: leak of ‘obj’
brltty-6.8/python3/Programs/pipe.c:303:1: enter_function: entry to ‘newNamedPipeObject’
brltty-6.8/python3/Programs/pipe.c:306:14: acquire_memory: allocated here
brltty-6.8/python3/Programs/pipe.c:306:6: branch_true: following ‘true’ branch (when ‘obj’ is non-NULL)...
brltty-6.8/python3/Programs/pipe.c:306:6: branch_true: ...to here
brltty-6.8/python3/Programs/pipe.c:325:24: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/pipe.c:325:35: branch_true: ...to here
brltty-6.8/python3/Programs/pipe.c:328:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/pipe.c:329:12: branch_true: ...to here
brltty-6.8/python3/Programs/pipe.c:329:10: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/pipe.c:331:18: branch_false: ...to here
brltty-6.8/python3/Programs/pipe.c:331:18: call_function: calling ‘createFifo’ from ‘newNamedPipeObject’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1320]
brltty-6.8/python3/Programs/pipe.c:251:7: warning[-Wanalyzer-malloc-leak]: leak of ‘obj’
brltty-6.8/python3/Programs/pipe.c:303:1: enter_function: entry to ‘newNamedPipeObject’
brltty-6.8/python3/Programs/pipe.c:306:14: acquire_memory: allocated here
brltty-6.8/python3/Programs/pipe.c:306:6: branch_true: following ‘true’ branch (when ‘obj’ is non-NULL)...
brltty-6.8/python3/Programs/pipe.c:306:6: branch_true: ...to here
brltty-6.8/python3/Programs/pipe.c:325:24: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/pipe.c:325:35: branch_true: ...to here
brltty-6.8/python3/Programs/pipe.c:328:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/pipe.c:329:12: branch_true: ...to here
brltty-6.8/python3/Programs/pipe.c:329:10: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/pipe.c:331:18: branch_false: ...to here
brltty-6.8/python3/Programs/pipe.c:331:18: call_function: calling ‘createFifo’ from ‘newNamedPipeObject’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1321]
brltty-6.8/python3/Programs/pipe.c:259:5: warning[-Wanalyzer-malloc-leak]: leak of ‘obj’
brltty-6.8/python3/Programs/pipe.c:303:1: enter_function: entry to ‘newNamedPipeObject’
brltty-6.8/python3/Programs/pipe.c:306:14: acquire_memory: allocated here
brltty-6.8/python3/Programs/pipe.c:306:6: branch_true: following ‘true’ branch (when ‘obj’ is non-NULL)...
brltty-6.8/python3/Programs/pipe.c:306:6: branch_true: ...to here
brltty-6.8/python3/Programs/pipe.c:325:24: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/pipe.c:325:35: branch_true: ...to here
brltty-6.8/python3/Programs/pipe.c:328:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/pipe.c:329:12: branch_true: ...to here
brltty-6.8/python3/Programs/pipe.c:329:10: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/pipe.c:331:18: branch_false: ...to here
brltty-6.8/python3/Programs/pipe.c:331:18: call_function: calling ‘createFifo’ from ‘newNamedPipeObject’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1322]
brltty-6.8/python3/Programs/pipe.c:261:5: warning[-Wanalyzer-malloc-leak]: leak of ‘obj’
brltty-6.8/python3/Programs/pipe.c:303:1: enter_function: entry to ‘newNamedPipeObject’
brltty-6.8/python3/Programs/pipe.c:306:14: acquire_memory: allocated here
brltty-6.8/python3/Programs/pipe.c:306:6: branch_true: following ‘true’ branch (when ‘obj’ is non-NULL)...
brltty-6.8/python3/Programs/pipe.c:306:6: branch_true: ...to here
brltty-6.8/python3/Programs/pipe.c:325:24: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/pipe.c:325:35: branch_true: ...to here
brltty-6.8/python3/Programs/pipe.c:328:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/pipe.c:329:12: branch_true: ...to here
brltty-6.8/python3/Programs/pipe.c:329:10: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/pipe.c:331:18: branch_false: ...to here
brltty-6.8/python3/Programs/pipe.c:331:18: call_function: calling ‘createFifo’ from ‘newNamedPipeObject’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1323]
brltty-6.8/python3/Programs/pipe.c:265:36: warning[-Wanalyzer-malloc-leak]: leak of ‘obj’
brltty-6.8/python3/Programs/pipe.c:303:1: enter_function: entry to ‘newNamedPipeObject’
brltty-6.8/python3/Programs/pipe.c:306:14: acquire_memory: allocated here
brltty-6.8/python3/Programs/pipe.c:306:6: branch_true: following ‘true’ branch (when ‘obj’ is non-NULL)...
brltty-6.8/python3/Programs/pipe.c:306:6: branch_true: ...to here
brltty-6.8/python3/Programs/pipe.c:325:24: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/pipe.c:325:35: branch_true: ...to here
brltty-6.8/python3/Programs/pipe.c:328:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/pipe.c:329:12: branch_true: ...to here
brltty-6.8/python3/Programs/pipe.c:329:10: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/pipe.c:331:18: branch_false: ...to here
brltty-6.8/python3/Programs/pipe.c:331:18: call_function: calling ‘createFifo’ from ‘newNamedPipeObject’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1324]
brltty-6.8/python3/Programs/pipe.c:266:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor
brltty-6.8/python3/Programs/pipe.c:303:1: enter_function: entry to ‘newNamedPipeObject’
brltty-6.8/python3/Programs/pipe.c:306:6: branch_true: following ‘true’ branch (when ‘obj’ is non-NULL)...
brltty-6.8/python3/Programs/pipe.c:306:6: branch_true: ...to here
brltty-6.8/python3/Programs/pipe.c:325:24: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/pipe.c:325:35: branch_true: ...to here
brltty-6.8/python3/Programs/pipe.c:328:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/pipe.c:329:12: branch_true: ...to here
brltty-6.8/python3/Programs/pipe.c:329:10: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/pipe.c:331:18: branch_false: ...to here
brltty-6.8/python3/Programs/pipe.c:331:18: call_function: calling ‘createFifo’ from ‘newNamedPipeObject’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1325]
brltty-6.8/python3/Programs/pipe.c:266:9: warning[-Wanalyzer-malloc-leak]: leak of ‘obj’
brltty-6.8/python3/Programs/pipe.c:303:1: enter_function: entry to ‘newNamedPipeObject’
brltty-6.8/python3/Programs/pipe.c:306:14: acquire_memory: allocated here
brltty-6.8/python3/Programs/pipe.c:306:6: branch_true: following ‘true’ branch (when ‘obj’ is non-NULL)...
brltty-6.8/python3/Programs/pipe.c:306:6: branch_true: ...to here
brltty-6.8/python3/Programs/pipe.c:325:24: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/pipe.c:325:35: branch_true: ...to here
brltty-6.8/python3/Programs/pipe.c:328:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/pipe.c:329:12: branch_true: ...to here
brltty-6.8/python3/Programs/pipe.c:329:10: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/pipe.c:331:18: branch_false: ...to here
brltty-6.8/python3/Programs/pipe.c:331:18: call_function: calling ‘createFifo’ from ‘newNamedPipeObject’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1326]
brltty-6.8/python3/Programs/pipe.c:282:5: warning[-Wanalyzer-malloc-leak]: leak of ‘obj’
brltty-6.8/python3/Programs/pipe.c:303:1: enter_function: entry to ‘newNamedPipeObject’
brltty-6.8/python3/Programs/pipe.c:306:14: acquire_memory: allocated here
brltty-6.8/python3/Programs/pipe.c:306:6: branch_true: following ‘true’ branch (when ‘obj’ is non-NULL)...
brltty-6.8/python3/Programs/pipe.c:306:6: branch_true: ...to here
brltty-6.8/python3/Programs/pipe.c:325:24: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/pipe.c:325:35: branch_true: ...to here
brltty-6.8/python3/Programs/pipe.c:328:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/pipe.c:329:12: branch_true: ...to here
brltty-6.8/python3/Programs/pipe.c:329:10: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/pipe.c:331:18: branch_false: ...to here
brltty-6.8/python3/Programs/pipe.c:331:18: call_function: calling ‘createFifo’ from ‘newNamedPipeObject’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1327]
brltty-6.8/python3/Programs/pipe.c:323:31: warning[-Wanalyzer-malloc-leak]: leak of ‘obj’
brltty-6.8/python3/Programs/pipe.c:306:14: acquire_memory: allocated here
brltty-6.8/python3/Programs/pipe.c:306:6: branch_true: following ‘true’ branch (when ‘obj’ is non-NULL)...
brltty-6.8/python3/Programs/pipe.c:306:6: branch_true: ...to here
brltty-6.8/python3/Programs/pipe.c:323:31: throw: if ‘getNamedPipeDirectory’ throws an exception...
brltty-6.8/python3/Programs/pipe.c:323:31: danger: ‘obj’ leaks here; was allocated at [(1)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1328]
brltty-6.8/python3/Programs/pipe.c:325:35: warning[-Wanalyzer-malloc-leak]: leak of ‘obj’
brltty-6.8/python3/Programs/pipe.c:306:14: acquire_memory: allocated here
brltty-6.8/python3/Programs/pipe.c:306:6: branch_true: following ‘true’ branch (when ‘obj’ is non-NULL)...
brltty-6.8/python3/Programs/pipe.c:306:6: branch_true: ...to here
brltty-6.8/python3/Programs/pipe.c:325:24: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/pipe.c:325:35: branch_true: ...to here
brltty-6.8/python3/Programs/pipe.c:325:35: throw: if ‘makePath’ throws an exception...
brltty-6.8/python3/Programs/pipe.c:325:35: danger: ‘obj’ leaks here; was allocated at [(1)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-129): [#def1329]
brltty-6.8/python3/Programs/prefs.c:96:26: warning[-Wanalyzer-tainted-array-index]: use of attacker-controlled value ‘newPreferences.expandCurrentWord’ in array lookup without checking for negative
brltty-6.8/python3/Programs/prefs.c:351:1: enter_function: entry to ‘loadPreferencesFile’
brltty-6.8/python3/Programs/prefs.c:357:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/prefs.c:359:21: branch_true: ...to here
brltty-6.8/python3/Programs/prefs.c:361:8: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/prefs.c:364:15: branch_false: ...to here
brltty-6.8/python3/Programs/prefs.c:364:15: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/prefs.c:365:17: branch_false: ...to here
brltty-6.8/python3/Programs/prefs.c:364:16: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/prefs.c:366:17: branch_false: ...to here
brltty-6.8/python3/Programs/prefs.c:364:16: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/prefs.c:374:7: branch_false: ...to here
brltty-6.8/python3/Programs/prefs.c:396:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/prefs.c:397:9: branch_true: ...to here
brltty-6.8/python3/Programs/prefs.c:397:9: call_function: calling ‘setStatusStyle’ from ‘loadPreferencesFile’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1330]
brltty-6.8/python3/Programs/prefs.c:557:10: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(path, "w")’
brltty-6.8/python3/Programs/prefs.c:565:16: acquire_resource: opened here
brltty-6.8/python3/Programs/prefs.c:567:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/prefs.c:568:9: branch_true: ...to here
brltty-6.8/python3/Programs/prefs.c:576:7: throw: if ‘logMessage’ throws an exception...
brltty-6.8/python3/Programs/prefs.c:557:10: danger: ‘fopen(path, "w")’ leaks here; was opened at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1331]
brltty-6.8/python3/Programs/prefs.c:557:10: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(path, "w")’
brltty-6.8/python3/Programs/prefs.c:565:16: acquire_memory: allocated here
brltty-6.8/python3/Programs/prefs.c:567:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/prefs.c:568:9: branch_true: ...to here
brltty-6.8/python3/Programs/prefs.c:576:7: throw: if ‘logMessage’ throws an exception...
brltty-6.8/python3/Programs/prefs.c:557:10: danger: ‘fopen(path, "w")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1332]
brltty-6.8/python3/Programs/profile.c:168:13: warning[-Wanalyzer-malloc-leak]: leak of ‘pad.values’
brltty-6.8/python3/Programs/profile.c:147:1: enter_function: entry to ‘activateProfile’
brltty-6.8/python3/Programs/profile.c:150:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/profile.c:153:17: branch_true: ...to here
brltty-6.8/python3/Programs/profile.c:153:17: call_function: calling ‘makeProfilePath’ from ‘activateProfile’
brltty-6.8/python3/Programs/profile.c:153:17: return_function: returning to ‘activateProfile’ from ‘makeProfilePath’
brltty-6.8/python3/Programs/profile.c:153:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/profile.c:154:29: branch_true: ...to here
brltty-6.8/python3/Programs/profile.c:158:25: acquire_memory: allocated here
brltty-6.8/python3/Programs/profile.c:158:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/profile.c:158:10: branch_true: ...to here
brltty-6.8/python3/Programs/profile.c:168:13: throw: if ‘processDataFile’ throws an exception...
brltty-6.8/python3/Programs/profile.c:168:13: danger: ‘pad.values’ leaks here; was allocated at [(11)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1333]
brltty-6.8/python3/Programs/program.c:294:12: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(pidFile, "r")’
brltty-6.8/python3/Programs/program.c:286:15: acquire_resource: opened here
brltty-6.8/python3/Programs/program.c:286:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/program.c:290:17: branch_true: ...to here
brltty-6.8/python3/Programs/program.c:290:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/program.c:292:22: branch_true: ...to here
brltty-6.8/python3/Programs/program.c:295:13: throw: if ‘cancelProcess’ throws an exception...
brltty-6.8/python3/Programs/program.c:294:12: danger: ‘fopen(pidFile, "r")’ leaks here; was opened at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1334]
brltty-6.8/python3/Programs/program.c:294:12: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(pidFile, "r")’
brltty-6.8/python3/Programs/program.c:286:15: acquire_memory: allocated here
brltty-6.8/python3/Programs/program.c:286:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/program.c:290:17: branch_true: ...to here
brltty-6.8/python3/Programs/program.c:290:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/program.c:292:22: branch_true: ...to here
brltty-6.8/python3/Programs/program.c:295:13: throw: if ‘cancelProcess’ throws an exception...
brltty-6.8/python3/Programs/program.c:294:12: danger: ‘fopen(pidFile, "r")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1335]
brltty-6.8/python3/Programs/queue.c:65:27: warning[-Wanalyzer-malloc-leak]: leak of ‘newElement(queue, item)’
brltty-6.8/python3/Programs/queue.c:208:1: enter_function: entry to ‘enqueueItem’
brltty-6.8/python3/Programs/queue.c:209:22: call_function: calling ‘newElement’ from ‘enqueueItem’
brltty-6.8/python3/Programs/queue.c:209:22: return_function: returning to ‘enqueueItem’ from ‘newElement’
brltty-6.8/python3/Programs/queue.c:211:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/queue.c:211:16: branch_true: ...to here
brltty-6.8/python3/Programs/queue.c:211:16: call_function: calling ‘linkElement’ from ‘enqueueItem’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1336]
brltty-6.8/python3/Programs/report.c:191:29: warning[-Wanalyzer-malloc-leak]: leak of ‘rli’
brltty-6.8/python3/Programs/report.c:172:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/report.c:173:10: branch_true: ...to here
brltty-6.8/python3/Programs/report.c:181:8: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/report.c:186:18: branch_false: ...to here
brltty-6.8/python3/Programs/report.c:186:18: acquire_memory: allocated here
brltty-6.8/python3/Programs/report.c:186:10: branch_true: following ‘true’ branch (when ‘rli’ is non-NULL)...
brltty-6.8/python3/Programs/report.c:187:9: branch_true: ...to here
brltty-6.8/python3/Programs/report.c:191:29: throw: if ‘enqueueItem’ throws an exception...
brltty-6.8/python3/Programs/report.c:191:29: danger: ‘rli’ leaks here; was allocated at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1337]
brltty-6.8/python3/Programs/rgx.c:81:5: warning[-Wanalyzer-malloc-leak]: leak of ‘matcher’
brltty-6.8/python3/Programs/rgx.c:106:1: enter_function: entry to ‘rgxAddPatternCharacters’
brltty-6.8/python3/Programs/rgx.c:113:18: acquire_memory: allocated here
brltty-6.8/python3/Programs/rgx.c:113:6: branch_true: following ‘true’ branch (when ‘matcher’ is non-NULL)...
brltty-6.8/python3/Programs/rgx.c:113:6: branch_true: ...to here
brltty-6.8/python3/Programs/rgx.c:124:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/rgx.c:124:38: branch_true: ...to here
brltty-6.8/python3/Programs/rgx.c:136:10: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/rgx.c:151:9: branch_false: ...to here
brltty-6.8/python3/Programs/rgx.c:151:9: call_function: calling ‘rgxLogError’ from ‘rgxAddPatternCharacters’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1338]
brltty-6.8/python3/Programs/rgx.c:92:3: warning[-Wanalyzer-malloc-leak]: leak of ‘matcher’
brltty-6.8/python3/Programs/rgx.c:106:1: enter_function: entry to ‘rgxAddPatternCharacters’
brltty-6.8/python3/Programs/rgx.c:113:18: acquire_memory: allocated here
brltty-6.8/python3/Programs/rgx.c:113:6: branch_true: following ‘true’ branch (when ‘matcher’ is non-NULL)...
brltty-6.8/python3/Programs/rgx.c:113:6: branch_true: ...to here
brltty-6.8/python3/Programs/rgx.c:124:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/rgx.c:124:38: branch_true: ...to here
brltty-6.8/python3/Programs/rgx.c:136:10: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/rgx.c:151:9: branch_false: ...to here
brltty-6.8/python3/Programs/rgx.c:151:9: call_function: calling ‘rgxLogError’ from ‘rgxAddPatternCharacters’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1339]
brltty-6.8/python3/Programs/rgx.c:132:32: warning[-Wanalyzer-malloc-leak]: leak of ‘matcher’
brltty-6.8/python3/Programs/rgx.c:113:18: acquire_memory: allocated here
brltty-6.8/python3/Programs/rgx.c:113:6: branch_true: following ‘true’ branch (when ‘matcher’ is non-NULL)...
brltty-6.8/python3/Programs/rgx.c:113:6: branch_true: ...to here
brltty-6.8/python3/Programs/rgx.c:124:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/rgx.c:124:38: branch_true: ...to here
brltty-6.8/python3/Programs/rgx.c:132:32: throw: if ‘rgxCompilePattern’ throws an exception...
brltty-6.8/python3/Programs/rgx.c:132:32: danger: ‘matcher’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1340]
brltty-6.8/python3/Programs/rgx.c:137:34: warning[-Wanalyzer-malloc-leak]: leak of ‘matcher’
brltty-6.8/python3/Programs/rgx.c:113:18: acquire_memory: allocated here
brltty-6.8/python3/Programs/rgx.c:113:6: branch_true: following ‘true’ branch (when ‘matcher’ is non-NULL)...
brltty-6.8/python3/Programs/rgx.c:113:6: branch_true: ...to here
brltty-6.8/python3/Programs/rgx.c:124:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/rgx.c:124:38: branch_true: ...to here
brltty-6.8/python3/Programs/rgx.c:136:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/rgx.c:137:34: branch_true: ...to here
brltty-6.8/python3/Programs/rgx.c:137:34: throw: if ‘rgxAllocateData’ throws an exception...
brltty-6.8/python3/Programs/rgx.c:137:34: danger: ‘matcher’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1341]
brltty-6.8/python3/Programs/rgx.c:140:15: warning[-Wanalyzer-malloc-leak]: leak of ‘matcher’
brltty-6.8/python3/Programs/rgx.c:113:18: acquire_memory: allocated here
brltty-6.8/python3/Programs/rgx.c:113:6: branch_true: following ‘true’ branch (when ‘matcher’ is non-NULL)...
brltty-6.8/python3/Programs/rgx.c:113:6: branch_true: ...to here
brltty-6.8/python3/Programs/rgx.c:124:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/rgx.c:124:38: branch_true: ...to here
brltty-6.8/python3/Programs/rgx.c:136:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/rgx.c:137:34: branch_true: ...to here
brltty-6.8/python3/Programs/rgx.c:139:12: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/rgx.c:140:15: branch_true: ...to here
brltty-6.8/python3/Programs/rgx.c:140:15: throw: if ‘enqueueItem’ throws an exception...
brltty-6.8/python3/Programs/rgx.c:140:15: danger: ‘matcher’ leaks here; was allocated at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1342]
brltty-6.8/python3/Programs/rgx.c:146:11: warning[-Wanalyzer-malloc-leak]: leak of ‘matcher’
brltty-6.8/python3/Programs/rgx.c:113:18: acquire_memory: allocated here
brltty-6.8/python3/Programs/rgx.c:113:6: branch_true: following ‘true’ branch (when ‘matcher’ is non-NULL)...
brltty-6.8/python3/Programs/rgx.c:113:6: branch_true: ...to here
brltty-6.8/python3/Programs/rgx.c:124:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/rgx.c:124:38: branch_true: ...to here
brltty-6.8/python3/Programs/rgx.c:136:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/rgx.c:137:34: branch_true: ...to here
brltty-6.8/python3/Programs/rgx.c:139:12: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/rgx.c:146:11: branch_false: ...to here
brltty-6.8/python3/Programs/rgx.c:146:11: throw: if ‘logMallocError’ throws an exception...
brltty-6.8/python3/Programs/rgx.c:146:11: danger: ‘matcher’ leaks here; was allocated at [(1)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1343]
brltty-6.8/python3/Programs/rgx.c:149:9: warning[-Wanalyzer-malloc-leak]: leak of ‘matcher’
brltty-6.8/python3/Programs/rgx.c:113:18: acquire_memory: allocated here
brltty-6.8/python3/Programs/rgx.c:113:6: branch_true: following ‘true’ branch (when ‘matcher’ is non-NULL)...
brltty-6.8/python3/Programs/rgx.c:113:6: branch_true: ...to here
brltty-6.8/python3/Programs/rgx.c:124:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/rgx.c:124:38: branch_true: ...to here
brltty-6.8/python3/Programs/rgx.c:136:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/rgx.c:137:34: branch_true: ...to here
brltty-6.8/python3/Programs/rgx.c:139:12: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/rgx.c:146:11: branch_false: ...to here
brltty-6.8/python3/Programs/rgx.c:149:9: throw: if ‘rgxDeallocateCode’ throws an exception...
brltty-6.8/python3/Programs/rgx.c:149:9: danger: ‘matcher’ leaks here; was allocated at [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1344]
brltty-6.8/python3/Programs/rgx.c:156:7: warning[-Wanalyzer-malloc-leak]: leak of ‘matcher’
brltty-6.8/python3/Programs/rgx.c:113:18: acquire_memory: allocated here
brltty-6.8/python3/Programs/rgx.c:113:6: branch_true: following ‘true’ branch (when ‘matcher’ is non-NULL)...
brltty-6.8/python3/Programs/rgx.c:113:6: branch_true: ...to here
brltty-6.8/python3/Programs/rgx.c:124:8: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/rgx.c:156:7: branch_false: ...to here
brltty-6.8/python3/Programs/rgx.c:156:7: throw: if ‘logMallocError’ throws an exception...
brltty-6.8/python3/Programs/rgx.c:156:7: danger: ‘matcher’ leaks here; was allocated at [(1)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1345]
brltty-6.8/python3/Programs/rgx.c:356:26: warning[-Wanalyzer-malloc-leak]: leak of ‘rgx’
brltty-6.8/python3/Programs/rgx.c:351:14: acquire_memory: allocated here
brltty-6.8/python3/Programs/rgx.c:351:6: branch_true: following ‘true’ branch (when ‘rgx’ is non-NULL)...
brltty-6.8/python3/Programs/rgx.c:351:6: branch_true: ...to here
brltty-6.8/python3/Programs/rgx.c:356:26: throw: if ‘newQueue’ throws an exception...
brltty-6.8/python3/Programs/rgx.c:356:26: danger: ‘rgx’ leaks here; was allocated at [(1)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1346]
brltty-6.8/python3/Programs/routing.c:156:5: warning[-Wanalyzer-malloc-leak]: leak of ‘crd.vertical.buffer’
brltty-6.8/python3/Programs/routing.c:478:1: enter_function: entry to ‘startRoutingProcess’
brltty-6.8/python3/Programs/routing.c:496:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/routing.c:497:18: branch_true: ...to here
brltty-6.8/python3/Programs/routing.c:497:18: call_function: calling ‘routeCursor’ from ‘startRoutingProcess’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1347]
brltty-6.8/python3/Programs/serial.c:716:30: warning[-Wanalyzer-malloc-leak]: leak of ‘serial’
brltty-6.8/python3/Programs/serial.c:707:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/serial.c:710:19: branch_true: ...to here
brltty-6.8/python3/Programs/serial.c:710:19: acquire_memory: allocated here
brltty-6.8/python3/Programs/serial.c:710:8: branch_true: following ‘true’ branch (when ‘serial’ is non-NULL)...
brltty-6.8/python3/Programs/serial.c:711:7: branch_true: ...to here
brltty-6.8/python3/Programs/serial.c:716:30: throw: if ‘getDevicePath’ throws an exception...
brltty-6.8/python3/Programs/serial.c:716:30: danger: ‘serial’ leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1348]
brltty-6.8/python3/Programs/serial.c:723:13: warning[-Wanalyzer-malloc-leak]: leak of ‘serial’
brltty-6.8/python3/Programs/serial.c:707:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/serial.c:710:19: branch_true: ...to here
brltty-6.8/python3/Programs/serial.c:710:19: acquire_memory: allocated here
brltty-6.8/python3/Programs/serial.c:710:8: branch_true: following ‘true’ branch (when ‘serial’ is non-NULL)...
brltty-6.8/python3/Programs/serial.c:711:7: branch_true: ...to here
brltty-6.8/python3/Programs/serial.c:719:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/serial.c:720:9: branch_true: ...to here
brltty-6.8/python3/Programs/serial.c:723:13: throw: if ‘serialConnectDevice’ throws an exception...
brltty-6.8/python3/Programs/serial.c:723:13: danger: ‘serial’ leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: CPPCHECK_WARNING (CWE-457): [#def1349]
brltty-6.8/python3/Programs/serial_termios.c:222: error[uninitvar]: Uninitialized variable: size
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1350]
brltty-6.8/python3/Programs/spk_input.c:156:22: warning[-Wanalyzer-malloc-leak]: leak of ‘obj’
brltty-6.8/python3/Programs/spk_input.c:153:14: acquire_memory: allocated here
brltty-6.8/python3/Programs/spk_input.c:153:6: branch_true: following ‘true’ branch (when ‘obj’ is non-NULL)...
brltty-6.8/python3/Programs/spk_input.c:154:5: branch_true: ...to here
brltty-6.8/python3/Programs/spk_input.c:156:22: throw: if ‘newNamedPipeObject’ throws an exception...
brltty-6.8/python3/Programs/spk_input.c:156:22: danger: ‘obj’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1351]
brltty-6.8/python3/Programs/spk_thread.c:271:3: warning[-Wanalyzer-malloc-leak]: leak of ‘sdt’
brltty-6.8/python3/Programs/spk_thread.c:867:1: enter_function: entry to ‘constructSpeechDriverThread’
brltty-6.8/python3/Programs/spk_thread.c:873:14: acquire_memory: allocated here
brltty-6.8/python3/Programs/spk_thread.c:873:6: branch_true: following ‘true’ branch (when ‘sdt’ is non-NULL)...
brltty-6.8/python3/Programs/spk_thread.c:874:5: branch_true: ...to here
brltty-6.8/python3/Programs/spk_thread.c:875:5: call_function: calling ‘setThreadState’ from ‘constructSpeechDriverThread’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1352]
brltty-6.8/python3/Programs/spk_thread.c:881:30: warning[-Wanalyzer-malloc-leak]: leak of ‘sdt’
brltty-6.8/python3/Programs/spk_thread.c:867:1: enter_function: entry to ‘constructSpeechDriverThread’
brltty-6.8/python3/Programs/spk_thread.c:873:14: acquire_memory: allocated here
brltty-6.8/python3/Programs/spk_thread.c:873:6: branch_true: following ‘true’ branch (when ‘sdt’ is non-NULL)...
brltty-6.8/python3/Programs/spk_thread.c:874:5: branch_true: ...to here
brltty-6.8/python3/Programs/spk_thread.c:875:5: call_function: calling ‘setThreadState’ from ‘constructSpeechDriverThread’
brltty-6.8/python3/Programs/spk_thread.c:875:5: return_function: returning to ‘constructSpeechDriverThread’ from ‘setThreadState’
brltty-6.8/python3/Programs/spk_thread.c:881:30: throw: if ‘newQueue’ throws an exception...
brltty-6.8/python3/Programs/spk_thread.c:881:30: danger: ‘sdt’ leaks here; was allocated at [(2)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1353]
brltty-6.8/python3/Programs/system_linux.c:939:9: warning[-Wanalyzer-malloc-leak]: leak of ‘monitor’
brltty-6.8/python3/Programs/system_linux.c:1421:1: enter_function: entry to ‘newInputEventMonitor’
brltty-6.8/python3/Programs/system_linux.c:1428:18: acquire_memory: allocated here
brltty-6.8/python3/Programs/system_linux.c:1428:6: branch_true: following ‘true’ branch (when ‘monitor’ is non-NULL)...
brltty-6.8/python3/Programs/system_linux.c:1429:5: branch_true: ...to here
brltty-6.8/python3/Programs/system_linux.c:1433:34: call_function: calling ‘newUinputObject’ from ‘newInputEventMonitor’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1354]
brltty-6.8/python3/Programs/system_linux.c:939:9: warning[-Wanalyzer-malloc-leak]: leak of ‘uinput’
brltty-6.8/python3/Programs/system_linux.c:1115:1: enter_function: entry to ‘newUinputObject’
brltty-6.8/python3/Programs/system_linux.c:1119:17: acquire_memory: allocated here
brltty-6.8/python3/Programs/system_linux.c:1119:6: branch_true: following ‘true’ branch (when ‘uinput’ is non-NULL)...
brltty-6.8/python3/Programs/system_linux.c:1120:5: branch_true: ...to here
brltty-6.8/python3/Programs/system_linux.c:1121:5: call_function: calling ‘installUinputModule’ from ‘newUinputObject’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1355]
brltty-6.8/python3/Programs/system_linux.c:945:16: warning[-Wanalyzer-malloc-leak]: leak of ‘monitor’
brltty-6.8/python3/Programs/system_linux.c:1421:1: enter_function: entry to ‘newInputEventMonitor’
brltty-6.8/python3/Programs/system_linux.c:1428:18: acquire_memory: allocated here
brltty-6.8/python3/Programs/system_linux.c:1428:6: branch_true: following ‘true’ branch (when ‘monitor’ is non-NULL)...
brltty-6.8/python3/Programs/system_linux.c:1429:5: branch_true: ...to here
brltty-6.8/python3/Programs/system_linux.c:1433:34: call_function: calling ‘newUinputObject’ from ‘newInputEventMonitor’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1356]
brltty-6.8/python3/Programs/system_linux.c:945:16: warning[-Wanalyzer-malloc-leak]: leak of ‘uinput’
brltty-6.8/python3/Programs/system_linux.c:1115:1: enter_function: entry to ‘newUinputObject’
brltty-6.8/python3/Programs/system_linux.c:1119:17: acquire_memory: allocated here
brltty-6.8/python3/Programs/system_linux.c:1119:6: branch_true: following ‘true’ branch (when ‘uinput’ is non-NULL)...
brltty-6.8/python3/Programs/system_linux.c:1120:5: branch_true: ...to here
brltty-6.8/python3/Programs/system_linux.c:1121:5: call_function: calling ‘installUinputModule’ from ‘newUinputObject’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1357]
brltty-6.8/python3/Programs/system_linux.c:948:9: warning[-Wanalyzer-malloc-leak]: leak of ‘monitor’
brltty-6.8/python3/Programs/system_linux.c:1421:1: enter_function: entry to ‘newInputEventMonitor’
brltty-6.8/python3/Programs/system_linux.c:1428:18: acquire_memory: allocated here
brltty-6.8/python3/Programs/system_linux.c:1428:6: branch_true: following ‘true’ branch (when ‘monitor’ is non-NULL)...
brltty-6.8/python3/Programs/system_linux.c:1429:5: branch_true: ...to here
brltty-6.8/python3/Programs/system_linux.c:1433:34: call_function: calling ‘newUinputObject’ from ‘newInputEventMonitor’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1358]
brltty-6.8/python3/Programs/system_linux.c:948:9: warning[-Wanalyzer-malloc-leak]: leak of ‘uinput’
brltty-6.8/python3/Programs/system_linux.c:1115:1: enter_function: entry to ‘newUinputObject’
brltty-6.8/python3/Programs/system_linux.c:1119:17: acquire_memory: allocated here
brltty-6.8/python3/Programs/system_linux.c:1119:6: branch_true: following ‘true’ branch (when ‘uinput’ is non-NULL)...
brltty-6.8/python3/Programs/system_linux.c:1120:5: branch_true: ...to here
brltty-6.8/python3/Programs/system_linux.c:1121:5: call_function: calling ‘installUinputModule’ from ‘newUinputObject’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1359]
brltty-6.8/python3/Programs/system_linux.c:972:13: warning[-Wanalyzer-malloc-leak]: leak of ‘monitor’
brltty-6.8/python3/Programs/system_linux.c:1421:1: enter_function: entry to ‘newInputEventMonitor’
brltty-6.8/python3/Programs/system_linux.c:1428:18: acquire_memory: allocated here
brltty-6.8/python3/Programs/system_linux.c:1428:6: branch_true: following ‘true’ branch (when ‘monitor’ is non-NULL)...
brltty-6.8/python3/Programs/system_linux.c:1429:5: branch_true: ...to here
brltty-6.8/python3/Programs/system_linux.c:1433:34: call_function: calling ‘newUinputObject’ from ‘newInputEventMonitor’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1360]
brltty-6.8/python3/Programs/system_linux.c:972:13: warning[-Wanalyzer-malloc-leak]: leak of ‘uinput’
brltty-6.8/python3/Programs/system_linux.c:1115:1: enter_function: entry to ‘newUinputObject’
brltty-6.8/python3/Programs/system_linux.c:1119:17: acquire_memory: allocated here
brltty-6.8/python3/Programs/system_linux.c:1119:6: branch_true: following ‘true’ branch (when ‘uinput’ is non-NULL)...
brltty-6.8/python3/Programs/system_linux.c:1120:5: branch_true: ...to here
brltty-6.8/python3/Programs/system_linux.c:1121:5: call_function: calling ‘installUinputModule’ from ‘newUinputObject’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1361]
brltty-6.8/python3/Programs/system_linux.c:984:21: warning[-Wanalyzer-malloc-leak]: leak of ‘uinput’
brltty-6.8/python3/Programs/system_linux.c:1115:1: enter_function: entry to ‘newUinputObject’
brltty-6.8/python3/Programs/system_linux.c:1119:17: acquire_memory: allocated here
brltty-6.8/python3/Programs/system_linux.c:1119:6: branch_true: following ‘true’ branch (when ‘uinput’ is non-NULL)...
brltty-6.8/python3/Programs/system_linux.c:1120:5: branch_true: ...to here
brltty-6.8/python3/Programs/system_linux.c:1121:5: call_function: calling ‘installUinputModule’ from ‘newUinputObject’
brltty-6.8/python3/Programs/system_linux.c:1121:5: return_function: returning to ‘newUinputObject’ from ‘installUinputModule’
brltty-6.8/python3/Programs/system_linux.c:1129:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/system_linux.c:1130:37: branch_true: ...to here
brltty-6.8/python3/Programs/system_linux.c:1130:37: call_function: calling ‘openCharacterDevice’ from ‘newUinputObject’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1362]
brltty-6.8/python3/Programs/system_linux.c:997:23: warning[-Wanalyzer-malloc-leak]: leak of ‘uinput’
brltty-6.8/python3/Programs/system_linux.c:1115:1: enter_function: entry to ‘newUinputObject’
brltty-6.8/python3/Programs/system_linux.c:1119:17: acquire_memory: allocated here
brltty-6.8/python3/Programs/system_linux.c:1119:6: branch_true: following ‘true’ branch (when ‘uinput’ is non-NULL)...
brltty-6.8/python3/Programs/system_linux.c:1120:5: branch_true: ...to here
brltty-6.8/python3/Programs/system_linux.c:1121:5: call_function: calling ‘installUinputModule’ from ‘newUinputObject’
brltty-6.8/python3/Programs/system_linux.c:1121:5: return_function: returning to ‘newUinputObject’ from ‘installUinputModule’
brltty-6.8/python3/Programs/system_linux.c:1129:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/system_linux.c:1130:37: branch_true: ...to here
brltty-6.8/python3/Programs/system_linux.c:1130:37: call_function: calling ‘openCharacterDevice’ from ‘newUinputObject’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1363]
brltty-6.8/python3/Programs/system_linux.c:1000:23: warning[-Wanalyzer-malloc-leak]: leak of ‘uinput’
brltty-6.8/python3/Programs/system_linux.c:1115:1: enter_function: entry to ‘newUinputObject’
brltty-6.8/python3/Programs/system_linux.c:1119:17: acquire_memory: allocated here
brltty-6.8/python3/Programs/system_linux.c:1119:6: branch_true: following ‘true’ branch (when ‘uinput’ is non-NULL)...
brltty-6.8/python3/Programs/system_linux.c:1120:5: branch_true: ...to here
brltty-6.8/python3/Programs/system_linux.c:1121:5: call_function: calling ‘installUinputModule’ from ‘newUinputObject’
brltty-6.8/python3/Programs/system_linux.c:1121:5: return_function: returning to ‘newUinputObject’ from ‘installUinputModule’
brltty-6.8/python3/Programs/system_linux.c:1129:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/system_linux.c:1130:37: branch_true: ...to here
brltty-6.8/python3/Programs/system_linux.c:1130:37: call_function: calling ‘openCharacterDevice’ from ‘newUinputObject’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1364]
brltty-6.8/python3/Programs/system_linux.c:1006:3: warning[-Wanalyzer-malloc-leak]: leak of ‘uinput’
brltty-6.8/python3/Programs/system_linux.c:1115:1: enter_function: entry to ‘newUinputObject’
brltty-6.8/python3/Programs/system_linux.c:1119:17: acquire_memory: allocated here
brltty-6.8/python3/Programs/system_linux.c:1119:6: branch_true: following ‘true’ branch (when ‘uinput’ is non-NULL)...
brltty-6.8/python3/Programs/system_linux.c:1120:5: branch_true: ...to here
brltty-6.8/python3/Programs/system_linux.c:1121:5: call_function: calling ‘installUinputModule’ from ‘newUinputObject’
brltty-6.8/python3/Programs/system_linux.c:1121:5: return_function: returning to ‘newUinputObject’ from ‘installUinputModule’
brltty-6.8/python3/Programs/system_linux.c:1129:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/system_linux.c:1130:37: branch_true: ...to here
brltty-6.8/python3/Programs/system_linux.c:1130:37: call_function: calling ‘openCharacterDevice’ from ‘newUinputObject’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1365]
brltty-6.8/python3/Programs/system_linux.c:1010:3: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘descriptor’
brltty-6.8/python3/Programs/system_linux.c:984:21: acquire_resource: opened here
brltty-6.8/python3/Programs/system_linux.c:984:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/system_linux.c:984:3: branch_true: ...to here
brltty-6.8/python3/Programs/system_linux.c:1010:3: throw: if ‘logMessage’ throws an exception...
brltty-6.8/python3/Programs/system_linux.c:1010:3: danger: ‘descriptor’ leaks here; was opened at [(1)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1366]
brltty-6.8/python3/Programs/system_linux.c:1010:3: warning[-Wanalyzer-malloc-leak]: leak of ‘uinput’
brltty-6.8/python3/Programs/system_linux.c:1115:1: enter_function: entry to ‘newUinputObject’
brltty-6.8/python3/Programs/system_linux.c:1119:17: acquire_memory: allocated here
brltty-6.8/python3/Programs/system_linux.c:1119:6: branch_true: following ‘true’ branch (when ‘uinput’ is non-NULL)...
brltty-6.8/python3/Programs/system_linux.c:1120:5: branch_true: ...to here
brltty-6.8/python3/Programs/system_linux.c:1121:5: call_function: calling ‘installUinputModule’ from ‘newUinputObject’
brltty-6.8/python3/Programs/system_linux.c:1121:5: return_function: returning to ‘newUinputObject’ from ‘installUinputModule’
brltty-6.8/python3/Programs/system_linux.c:1129:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/system_linux.c:1130:37: branch_true: ...to here
brltty-6.8/python3/Programs/system_linux.c:1130:37: call_function: calling ‘openCharacterDevice’ from ‘newUinputObject’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1367]
brltty-6.8/python3/Programs/system_linux.c:1075:16: warning[-Wanalyzer-malloc-leak]: leak of ‘uinput’
brltty-6.8/python3/Programs/system_linux.c:1115:1: enter_function: entry to ‘newUinputObject’
brltty-6.8/python3/Programs/system_linux.c:1119:17: acquire_memory: allocated here
brltty-6.8/python3/Programs/system_linux.c:1119:6: branch_true: following ‘true’ branch (when ‘uinput’ is non-NULL)...
brltty-6.8/python3/Programs/system_linux.c:1120:5: branch_true: ...to here
brltty-6.8/python3/Programs/system_linux.c:1121:5: call_function: calling ‘installUinputModule’ from ‘newUinputObject’
brltty-6.8/python3/Programs/system_linux.c:1121:5: return_function: returning to ‘newUinputObject’ from ‘installUinputModule’
brltty-6.8/python3/Programs/system_linux.c:1129:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/system_linux.c:1130:37: branch_true: ...to here
brltty-6.8/python3/Programs/system_linux.c:1130:37: call_function: calling ‘openCharacterDevice’ from ‘newUinputObject’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1368]
brltty-6.8/python3/Programs/system_linux.c:1084:19: warning[-Wanalyzer-malloc-leak]: leak of ‘uinput’
brltty-6.8/python3/Programs/system_linux.c:1115:1: enter_function: entry to ‘newUinputObject’
brltty-6.8/python3/Programs/system_linux.c:1119:17: acquire_memory: allocated here
brltty-6.8/python3/Programs/system_linux.c:1119:6: branch_true: following ‘true’ branch (when ‘uinput’ is non-NULL)...
brltty-6.8/python3/Programs/system_linux.c:1120:5: branch_true: ...to here
brltty-6.8/python3/Programs/system_linux.c:1121:5: call_function: calling ‘installUinputModule’ from ‘newUinputObject’
brltty-6.8/python3/Programs/system_linux.c:1121:5: return_function: returning to ‘newUinputObject’ from ‘installUinputModule’
brltty-6.8/python3/Programs/system_linux.c:1129:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/system_linux.c:1130:37: branch_true: ...to here
brltty-6.8/python3/Programs/system_linux.c:1130:37: call_function: calling ‘openCharacterDevice’ from ‘newUinputObject’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1369]
brltty-6.8/python3/Programs/system_linux.c:1126:16: warning[-Wanalyzer-malloc-leak]: leak of ‘monitor’
brltty-6.8/python3/Programs/system_linux.c:1421:1: enter_function: entry to ‘newInputEventMonitor’
brltty-6.8/python3/Programs/system_linux.c:1428:18: acquire_memory: allocated here
brltty-6.8/python3/Programs/system_linux.c:1428:6: branch_true: following ‘true’ branch (when ‘monitor’ is non-NULL)...
brltty-6.8/python3/Programs/system_linux.c:1429:5: branch_true: ...to here
brltty-6.8/python3/Programs/system_linux.c:1433:34: call_function: calling ‘newUinputObject’ from ‘newInputEventMonitor’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1370]
brltty-6.8/python3/Programs/system_linux.c:1126:16: warning[-Wanalyzer-malloc-leak]: leak of ‘uinput’
brltty-6.8/python3/Programs/system_linux.c:1115:1: enter_function: entry to ‘newUinputObject’
brltty-6.8/python3/Programs/system_linux.c:1119:17: acquire_memory: allocated here
brltty-6.8/python3/Programs/system_linux.c:1119:6: branch_true: following ‘true’ branch (when ‘uinput’ is non-NULL)...
brltty-6.8/python3/Programs/system_linux.c:1120:5: branch_true: ...to here
brltty-6.8/python3/Programs/system_linux.c:1121:5: call_function: calling ‘installUinputModule’ from ‘newUinputObject’
brltty-6.8/python3/Programs/system_linux.c:1121:5: return_function: returning to ‘newUinputObject’ from ‘installUinputModule’
brltty-6.8/python3/Programs/system_linux.c:1126:16: throw: if ‘resolveDeviceName’ throws an exception...
brltty-6.8/python3/Programs/system_linux.c:1126:16: danger: ‘uinput’ leaks here; was allocated at [(2)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1371]
brltty-6.8/python3/Programs/thread.c:74:5: warning[-Wanalyzer-malloc-leak]: leak of ‘run’
brltty-6.8/python3/Programs/thread.c:68:14: acquire_memory: allocated here
brltty-6.8/python3/Programs/thread.c:68:6: branch_true: following ‘true’ branch (when ‘run’ is non-NULL)...
brltty-6.8/python3/Programs/thread.c:70:21: branch_true: ...to here
brltty-6.8/python3/Programs/thread.c:74:5: throw: if ‘logMessage’ throws an exception...
brltty-6.8/python3/Programs/thread.c:74:5: danger: ‘run’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1372]
brltty-6.8/python3/Programs/ttb_compile.c:44:10: warning[-Wanalyzer-malloc-leak]: leak of ‘table’
brltty-6.8/python3/Programs/ttb_compile.c:347:1: enter_function: entry to ‘makeTextTable’
brltty-6.8/python3/Programs/ttb_compile.c:348:22: acquire_memory: allocated here
brltty-6.8/python3/Programs/ttb_compile.c:350:6: branch_true: following ‘true’ branch (when ‘table’ is non-NULL)...
brltty-6.8/python3/Programs/ttb_compile.c:350:6: branch_true: ...to here
brltty-6.8/python3/Programs/ttb_compile.c:353:28: call_function: calling ‘getTextTableHeader’ from ‘makeTextTable’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1373]
brltty-6.8/python3/Programs/ttb_compile.c:76:32: warning[-Wanalyzer-malloc-leak]: leak of ‘table’
brltty-6.8/python3/Programs/ttb_compile.c:347:1: enter_function: entry to ‘makeTextTable’
brltty-6.8/python3/Programs/ttb_compile.c:348:22: acquire_memory: allocated here
brltty-6.8/python3/Programs/ttb_compile.c:350:6: branch_true: following ‘true’ branch (when ‘table’ is non-NULL)...
brltty-6.8/python3/Programs/ttb_compile.c:350:6: branch_true: ...to here
brltty-6.8/python3/Programs/ttb_compile.c:360:15: call_function: calling ‘getUnicodeCell’ from ‘makeTextTable’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1374]
brltty-6.8/python3/Programs/ttb_compile.c:101:32: warning[-Wanalyzer-malloc-leak]: leak of ‘table’
brltty-6.8/python3/Programs/ttb_compile.c:347:1: enter_function: entry to ‘makeTextTable’
brltty-6.8/python3/Programs/ttb_compile.c:348:22: acquire_memory: allocated here
brltty-6.8/python3/Programs/ttb_compile.c:350:6: branch_true: following ‘true’ branch (when ‘table’ is non-NULL)...
brltty-6.8/python3/Programs/ttb_compile.c:350:6: branch_true: ...to here
brltty-6.8/python3/Programs/ttb_compile.c:360:15: call_function: calling ‘getUnicodeCell’ from ‘makeTextTable’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1375]
brltty-6.8/python3/Programs/ttb_compile.c:124:10: warning[-Wanalyzer-malloc-leak]: leak of ‘table’
brltty-6.8/python3/Programs/ttb_compile.c:347:1: enter_function: entry to ‘makeTextTable’
brltty-6.8/python3/Programs/ttb_compile.c:348:22: acquire_memory: allocated here
brltty-6.8/python3/Programs/ttb_compile.c:350:6: branch_true: following ‘true’ branch (when ‘table’ is non-NULL)...
brltty-6.8/python3/Programs/ttb_compile.c:350:6: branch_true: ...to here
brltty-6.8/python3/Programs/ttb_compile.c:360:15: call_function: calling ‘getUnicodeCell’ from ‘makeTextTable’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1376]
brltty-6.8/python3/Programs/ttb_compile.c:264:22: warning[-Wanalyzer-malloc-leak]: leak of ‘ttd’
brltty-6.8/python3/Programs/ttb_compile.c:257:14: acquire_memory: allocated here
brltty-6.8/python3/Programs/ttb_compile.c:257:6: branch_true: following ‘true’ branch (when ‘ttd’ is non-NULL)...
brltty-6.8/python3/Programs/ttb_compile.c:258:5: branch_true: ...to here
brltty-6.8/python3/Programs/ttb_compile.c:264:22: throw: if ‘newDataArea’ throws an exception...
brltty-6.8/python3/Programs/ttb_compile.c:264:22: danger: ‘ttd’ leaks here; was allocated at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1377]
brltty-6.8/python3/Programs/ttb_compile.c:265:11: warning[-Wanalyzer-malloc-leak]: leak of ‘ttd’
brltty-6.8/python3/Programs/ttb_compile.c:257:14: acquire_memory: allocated here
brltty-6.8/python3/Programs/ttb_compile.c:257:6: branch_true: following ‘true’ branch (when ‘ttd’ is non-NULL)...
brltty-6.8/python3/Programs/ttb_compile.c:258:5: branch_true: ...to here
brltty-6.8/python3/Programs/ttb_compile.c:264:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/ttb_compile.c:265:11: branch_true: ...to here
brltty-6.8/python3/Programs/ttb_compile.c:265:11: throw: if ‘allocateDataItem’ throws an exception...
brltty-6.8/python3/Programs/ttb_compile.c:265:11: danger: ‘ttd’ leaks here; was allocated at [(1)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1378]
brltty-6.8/python3/Programs/ttb_compile.c:269:7: warning[-Wanalyzer-malloc-leak]: leak of ‘ttd’
brltty-6.8/python3/Programs/ttb_compile.c:257:14: acquire_memory: allocated here
brltty-6.8/python3/Programs/ttb_compile.c:257:6: branch_true: following ‘true’ branch (when ‘ttd’ is non-NULL)...
brltty-6.8/python3/Programs/ttb_compile.c:258:5: branch_true: ...to here
brltty-6.8/python3/Programs/ttb_compile.c:264:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/ttb_compile.c:265:11: branch_true: ...to here
brltty-6.8/python3/Programs/ttb_compile.c:265:10: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/ttb_compile.c:269:7: branch_false: ...to here
brltty-6.8/python3/Programs/ttb_compile.c:269:7: throw: if ‘destroyDataArea’ throws an exception...
brltty-6.8/python3/Programs/ttb_compile.c:269:7: danger: ‘ttd’ leaks here; was allocated at [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1379]
brltty-6.8/python3/Programs/ttb_compile.c:333:11: warning[-Wanalyzer-malloc-leak]: leak of ‘parameters.data’
brltty-6.8/python3/Programs/ttb_compile.c:323:1: enter_function: entry to ‘processTextTableLines’
brltty-6.8/python3/Programs/ttb_compile.c:324:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/ttb_compile.c:327:16: branch_true: ...to here
brltty-6.8/python3/Programs/ttb_compile.c:327:16: call_function: calling ‘newTextTableData’ from ‘processTextTableLines’
brltty-6.8/python3/Programs/ttb_compile.c:327:16: return_function: returning to ‘processTextTableLines’ from ‘newTextTableData’
brltty-6.8/python3/Programs/ttb_compile.c:327:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/ttb_compile.c:328:32: branch_true: ...to here
brltty-6.8/python3/Programs/ttb_compile.c:333:11: throw: if ‘processDataStream’ throws an exception...
brltty-6.8/python3/Programs/ttb_compile.c:333:11: danger: ‘parameters.data’ leaks here; was allocated at [(6)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/5)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1380]
brltty-6.8/python3/Programs/ttb_compile.c:354:19: warning[-Wanalyzer-malloc-leak]: leak of ‘table’
brltty-6.8/python3/Programs/ttb_compile.c:348:22: acquire_memory: allocated here
brltty-6.8/python3/Programs/ttb_compile.c:350:6: branch_true: following ‘true’ branch (when ‘table’ is non-NULL)...
brltty-6.8/python3/Programs/ttb_compile.c:350:6: branch_true: ...to here
brltty-6.8/python3/Programs/ttb_compile.c:354:19: throw: if ‘getDataSize’ throws an exception...
brltty-6.8/python3/Programs/ttb_compile.c:354:19: danger: ‘table’ leaks here; was allocated at [(1)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1381]
brltty-6.8/python3/Programs/ttb_compile.c:364:5: warning[-Wanalyzer-malloc-leak]: leak of ‘table’
brltty-6.8/python3/Programs/ttb_compile.c:347:1: enter_function: entry to ‘makeTextTable’
brltty-6.8/python3/Programs/ttb_compile.c:348:22: acquire_memory: allocated here
brltty-6.8/python3/Programs/ttb_compile.c:350:6: branch_true: following ‘true’ branch (when ‘table’ is non-NULL)...
brltty-6.8/python3/Programs/ttb_compile.c:350:6: branch_true: ...to here
brltty-6.8/python3/Programs/ttb_compile.c:360:15: call_function: calling ‘getUnicodeCell’ from ‘makeTextTable’
brltty-6.8/python3/Programs/ttb_compile.c:360:15: return_function: returning to ‘makeTextTable’ from ‘getUnicodeCell’
brltty-6.8/python3/Programs/ttb_compile.c:361:10: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/ttb_compile.c:364:5: branch_false: ...to here
brltty-6.8/python3/Programs/ttb_compile.c:364:5: throw: if ‘resetDataArea’ throws an exception...
brltty-6.8/python3/Programs/ttb_compile.c:364:5: danger: ‘table’ leaks here; was allocated at [(2)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1382]
brltty-6.8/python3/Programs/tune.c:414:7: warning[-Wanalyzer-malloc-leak]: leak of ‘newTuneRequest(0)’
brltty-6.8/python3/Programs/tune.c:431:1: enter_function: entry to ‘tuneSetDevice’
brltty-6.8/python3/Programs/tune.c:466:16: call_function: calling ‘newTuneRequest’ from ‘tuneSetDevice’
brltty-6.8/python3/Programs/tune.c:466:16: return_function: returning to ‘tuneSetDevice’ from ‘newTuneRequest’
brltty-6.8/python3/Programs/tune.c:466:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/tune.c:467:7: branch_true: ...to here
brltty-6.8/python3/Programs/tune.c:468:12: call_function: calling ‘sendTuneRequest’ from ‘tuneSetDevice’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1383]
brltty-6.8/python3/Programs/tune.c:414:7: warning[-Wanalyzer-malloc-leak]: leak of ‘newTuneRequest(1)’
brltty-6.8/python3/Programs/tune.c:476:1: enter_function: entry to ‘tunePlayNotes’
brltty-6.8/python3/Programs/tune.c:477:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/tune.c:480:16: branch_true: ...to here
brltty-6.8/python3/Programs/tune.c:480:16: call_function: calling ‘newTuneRequest’ from ‘tunePlayNotes’
brltty-6.8/python3/Programs/tune.c:480:16: return_function: returning to ‘tunePlayNotes’ from ‘newTuneRequest’
brltty-6.8/python3/Programs/tune.c:480:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/tune.c:481:7: branch_true: ...to here
brltty-6.8/python3/Programs/tune.c:483:12: call_function: calling ‘sendTuneRequest’ from ‘tunePlayNotes’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1384]
brltty-6.8/python3/Programs/tune.c:414:7: warning[-Wanalyzer-malloc-leak]: leak of ‘newTuneRequest(2)’
brltty-6.8/python3/Programs/tune.c:489:1: enter_function: entry to ‘tunePlayTones’
brltty-6.8/python3/Programs/tune.c:490:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/tune.c:493:16: branch_true: ...to here
brltty-6.8/python3/Programs/tune.c:493:16: call_function: calling ‘newTuneRequest’ from ‘tunePlayTones’
brltty-6.8/python3/Programs/tune.c:493:16: return_function: returning to ‘tunePlayTones’ from ‘newTuneRequest’
brltty-6.8/python3/Programs/tune.c:493:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/tune.c:494:7: branch_true: ...to here
brltty-6.8/python3/Programs/tune.c:496:12: call_function: calling ‘sendTuneRequest’ from ‘tunePlayTones’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1385]
brltty-6.8/python3/Programs/tune.c:414:7: warning[-Wanalyzer-malloc-leak]: leak of ‘newTuneRequest(3)’
brltty-6.8/python3/Programs/tune.c:502:1: enter_function: entry to ‘tuneWait’
brltty-6.8/python3/Programs/tune.c:505:14: call_function: calling ‘newTuneRequest’ from ‘tuneWait’
brltty-6.8/python3/Programs/tune.c:505:14: return_function: returning to ‘tuneWait’ from ‘newTuneRequest’
brltty-6.8/python3/Programs/tune.c:505:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/tune.c:506:5: branch_true: ...to here
brltty-6.8/python3/Programs/tune.c:507:10: call_function: calling ‘sendTuneRequest’ from ‘tuneWait’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1386]
brltty-6.8/python3/Programs/tune.c:414:7: warning[-Wanalyzer-malloc-leak]: leak of ‘newTuneRequest(4)’
brltty-6.8/python3/Programs/tune.c:518:1: enter_function: entry to ‘tuneSynchronize’
brltty-6.8/python3/Programs/tune.c:521:14: call_function: calling ‘newTuneRequest’ from ‘tuneSynchronize’
brltty-6.8/python3/Programs/tune.c:521:14: return_function: returning to ‘tuneSynchronize’ from ‘newTuneRequest’
brltty-6.8/python3/Programs/tune.c:521:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/tune.c:522:32: branch_true: ...to here
brltty-6.8/python3/Programs/tune.c:525:9: call_function: calling ‘sendTuneRequest’ from ‘tuneSynchronize’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1387]
brltty-6.8/python3/Programs/tune_builder.c:643:47: warning[-Wanalyzer-malloc-leak]: leak of ‘tb’
brltty-6.8/python3/Programs/tune_builder.c:660:1: enter_function: entry to ‘newTuneBuilder’
brltty-6.8/python3/Programs/tune_builder.c:663:13: acquire_memory: allocated here
brltty-6.8/python3/Programs/tune_builder.c:663:6: branch_true: following ‘true’ branch (when ‘tb’ is non-NULL)...
brltty-6.8/python3/Programs/tune_builder.c:664:5: branch_true: ...to here
brltty-6.8/python3/Programs/tune_builder.c:669:5: call_function: calling ‘resetTuneBuilder’ from ‘newTuneBuilder’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1388]
brltty-6.8/python3/Programs/tune_builder.c:643:64: warning[-Wanalyzer-malloc-leak]: leak of ‘tb’
brltty-6.8/python3/Programs/tune_builder.c:660:1: enter_function: entry to ‘newTuneBuilder’
brltty-6.8/python3/Programs/tune_builder.c:663:13: acquire_memory: allocated here
brltty-6.8/python3/Programs/tune_builder.c:663:6: branch_true: following ‘true’ branch (when ‘tb’ is non-NULL)...
brltty-6.8/python3/Programs/tune_builder.c:664:5: branch_true: ...to here
brltty-6.8/python3/Programs/tune_builder.c:669:5: call_function: calling ‘resetTuneBuilder’ from ‘newTuneBuilder’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1389]
brltty-6.8/python3/Programs/unicode.c:64:32: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘**current_9(D)’
brltty-6.8/python3/Programs/unicode.c:210:1: enter_function: entry to ‘composeCharacters’
brltty-6.8/python3/Programs/unicode.c:215:6: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/unicode.c:217:9: branch_false: ...to here
brltty-6.8/python3/Programs/unicode.c:253:8: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/unicode.c:284:1: branch_false: ...to here
brltty-6.8/python3/Programs/unicode.c:269:12: branch_true: following ‘true’ branch (when ‘trg < trgEnd’)...
brltty-6.8/python3/Programs/unicode.c:270:12: branch_true: ...to here
brltty-6.8/python3/Programs/unicode.c:270:12: call_function: calling ‘nextBaseCharacter’ from ‘composeCharacters’
Error: CPPCHECK_WARNING (CWE-457): [#def1390]
brltty-6.8/python3/Programs/update.c:301: warning[uninitvar]: Uninitialized variable: inputText
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1391]
brltty-6.8/python3/Programs/update.c:714:43: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*compactCells[i]’
brltty-6.8/python3/Programs/update.c:634:1: enter_function: entry to ‘renderInfoLine’
brltty-6.8/python3/Programs/update.c:638:6: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/update.c:644:23: branch_false: ...to here
brltty-6.8/python3/Programs/update.c:659:6: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/update.c:668:5: branch_false: ...to here
brltty-6.8/python3/Programs/update.c:675:3: call_function: calling ‘getBrailleVariantCharacter’ from ‘renderInfoLine’
brltty-6.8/python3/Programs/update.c:675:3: return_function: returning to ‘renderInfoLine’ from ‘getBrailleVariantCharacter’
brltty-6.8/python3/Programs/update.c:687:6: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/update.c:701:12: branch_false: ...to here
brltty-6.8/python3/Programs/update.c:708:30: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/update.c:710:5: branch_false: ...to here
brltty-6.8/python3/Programs/update.c:710:28: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/update.c:713:10: branch_true: ...to here
brltty-6.8/python3/Programs/update.c:713:10: branch_false: following ‘false’ branch (when ‘threshold <= i’)...
brltty-6.8/python3/Programs/update.c:716:21: branch_false: ...to here
brltty-6.8/python3/Programs/update.c:710:28: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/update.c:713:10: branch_true: ...to here
brltty-6.8/python3/Programs/update.c:713:10: branch_false: following ‘false’ branch (when ‘threshold <= i’)...
brltty-6.8/python3/Programs/update.c:716:21: branch_false: ...to here
brltty-6.8/python3/Programs/update.c:710:28: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/update.c:713:10: branch_true: ...to here
brltty-6.8/python3/Programs/update.c:714:43: danger: use of uninitialized value ‘*compactCells[i]’ here
Error: CPPCHECK_WARNING (CWE-457): [#def1392]
brltty-6.8/python3/Programs/update.c:724: warning[uninitvar]: Uninitialized variable: characters
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1393]
brltty-6.8/python3/Programs/usb.c:62:10: warning[-Wanalyzer-malloc-leak]: leak of ‘descriptors’
brltty-6.8/python3/Programs/usb.c:494:1: enter_function: entry to ‘usbConfigureDevice’
brltty-6.8/python3/Programs/usb.c:506:52: call_function: calling ‘usbConfigurationDescriptor’ from ‘usbConfigureDevice’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1394]
brltty-6.8/python3/Programs/usb.c:461:22: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘descriptor.configuration.wTotalLength’
brltty-6.8/python3/Programs/usb.c:760:1: enter_function: entry to ‘usbGetEndpoint’
brltty-6.8/python3/Programs/usb.c:762:6: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/usb.c:763:45: branch_false: ...to here
brltty-6.8/python3/Programs/usb.c:763:45: call_function: calling ‘usbEndpointDescriptor’ from ‘usbGetEndpoint’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1395]
brltty-6.8/python3/Programs/usb.c:490:10: warning[-Wanalyzer-malloc-leak]: leak of ‘descriptors’
brltty-6.8/python3/Programs/usb.c:494:1: enter_function: entry to ‘usbConfigureDevice’
brltty-6.8/python3/Programs/usb.c:506:52: call_function: calling ‘usbConfigurationDescriptor’ from ‘usbConfigureDevice’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1396]
brltty-6.8/python3/Programs/usb.c:874:5: warning[-Wanalyzer-malloc-leak]: leak of ‘device’
brltty-6.8/python3/Programs/usb.c:1028:1: enter_function: entry to ‘usbOpenDevice’
brltty-6.8/python3/Programs/usb.c:1031:17: acquire_memory: allocated here
brltty-6.8/python3/Programs/usb.c:1031:6: branch_true: following ‘true’ branch (when ‘device’ is non-NULL)...
brltty-6.8/python3/Programs/usb.c:1032:5: branch_true: ...to here
brltty-6.8/python3/Programs/usb.c:1039:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/usb.c:1040:35: branch_true: ...to here
brltty-6.8/python3/Programs/usb.c:1040:10: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/usb.c:1052:7: branch_false: ...to here
brltty-6.8/python3/Programs/usb.c:1052:7: call_function: calling ‘usbRemoveEndpoints’ from ‘usbOpenDevice’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1397]
brltty-6.8/python3/Programs/usb.c:875:5: warning[-Wanalyzer-malloc-leak]: leak of ‘device’
brltty-6.8/python3/Programs/usb.c:1028:1: enter_function: entry to ‘usbOpenDevice’
brltty-6.8/python3/Programs/usb.c:1031:17: acquire_memory: allocated here
brltty-6.8/python3/Programs/usb.c:1031:6: branch_true: following ‘true’ branch (when ‘device’ is non-NULL)...
brltty-6.8/python3/Programs/usb.c:1032:5: branch_true: ...to here
brltty-6.8/python3/Programs/usb.c:1039:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/usb.c:1040:35: branch_true: ...to here
brltty-6.8/python3/Programs/usb.c:1040:10: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/usb.c:1052:7: branch_false: ...to here
brltty-6.8/python3/Programs/usb.c:1052:7: call_function: calling ‘usbRemoveEndpoints’ from ‘usbOpenDevice’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1398]
brltty-6.8/python3/Programs/usb.c:878:7: warning[-Wanalyzer-malloc-leak]: leak of ‘device’
brltty-6.8/python3/Programs/usb.c:1028:1: enter_function: entry to ‘usbOpenDevice’
brltty-6.8/python3/Programs/usb.c:1031:17: acquire_memory: allocated here
brltty-6.8/python3/Programs/usb.c:1031:6: branch_true: following ‘true’ branch (when ‘device’ is non-NULL)...
brltty-6.8/python3/Programs/usb.c:1032:5: branch_true: ...to here
brltty-6.8/python3/Programs/usb.c:1039:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/usb.c:1040:35: branch_true: ...to here
brltty-6.8/python3/Programs/usb.c:1040:10: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/usb.c:1052:7: branch_false: ...to here
brltty-6.8/python3/Programs/usb.c:1052:7: call_function: calling ‘usbRemoveEndpoints’ from ‘usbOpenDevice’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1399]
brltty-6.8/python3/Programs/usb.c:898:9: warning[-Wanalyzer-malloc-leak]: leak of ‘entry’
brltty-6.8/python3/Programs/usb.c:894:16: acquire_memory: allocated here
brltty-6.8/python3/Programs/usb.c:894:6: branch_true: following ‘true’ branch (when ‘entry’ is non-NULL)...
brltty-6.8/python3/Programs/usb.c:896:5: branch_true: ...to here
brltty-6.8/python3/Programs/usb.c:898:9: throw: if ‘enqueueItem’ throws an exception...
brltty-6.8/python3/Programs/usb.c:898:9: danger: ‘entry’ leaks here; was allocated at [(1)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1400]
brltty-6.8/python3/Programs/usb.c:1039:30: warning[-Wanalyzer-malloc-leak]: leak of ‘device’
brltty-6.8/python3/Programs/usb.c:1031:17: acquire_memory: allocated here
brltty-6.8/python3/Programs/usb.c:1031:6: branch_true: following ‘true’ branch (when ‘device’ is non-NULL)...
brltty-6.8/python3/Programs/usb.c:1032:5: branch_true: ...to here
brltty-6.8/python3/Programs/usb.c:1039:30: throw: if ‘newQueue’ throws an exception...
brltty-6.8/python3/Programs/usb.c:1039:30: danger: ‘device’ leaks here; was allocated at [(1)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1401]
brltty-6.8/python3/Programs/usb.c:1040:35: warning[-Wanalyzer-malloc-leak]: leak of ‘device’
brltty-6.8/python3/Programs/usb.c:1031:17: acquire_memory: allocated here
brltty-6.8/python3/Programs/usb.c:1031:6: branch_true: following ‘true’ branch (when ‘device’ is non-NULL)...
brltty-6.8/python3/Programs/usb.c:1032:5: branch_true: ...to here
brltty-6.8/python3/Programs/usb.c:1039:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/usb.c:1040:35: branch_true: ...to here
brltty-6.8/python3/Programs/usb.c:1040:35: throw: if ‘newQueue’ throws an exception...
brltty-6.8/python3/Programs/usb.c:1040:35: danger: ‘device’ leaks here; was allocated at [(1)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1402]
brltty-6.8/python3/Programs/usb.c:1041:13: warning[-Wanalyzer-malloc-leak]: leak of ‘device’
brltty-6.8/python3/Programs/usb.c:1031:17: acquire_memory: allocated here
brltty-6.8/python3/Programs/usb.c:1031:6: branch_true: following ‘true’ branch (when ‘device’ is non-NULL)...
brltty-6.8/python3/Programs/usb.c:1032:5: branch_true: ...to here
brltty-6.8/python3/Programs/usb.c:1039:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/usb.c:1040:35: branch_true: ...to here
brltty-6.8/python3/Programs/usb.c:1040:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/usb.c:1041:13: branch_true: ...to here
brltty-6.8/python3/Programs/usb.c:1041:13: throw: if ‘usbReadDeviceDescriptor’ throws an exception...
brltty-6.8/python3/Programs/usb.c:1041:13: danger: ‘device’ leaks here; was allocated at [(1)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1403]
brltty-6.8/python3/Programs/usb.c:1641:28: warning[-Wanalyzer-malloc-leak]: leak of ‘channel’
brltty-6.8/python3/Programs/usb.c:1638:18: acquire_memory: allocated here
brltty-6.8/python3/Programs/usb.c:1638:6: branch_true: following ‘true’ branch (when ‘channel’ is non-NULL)...
brltty-6.8/python3/Programs/usb.c:1641:28: branch_true: ...to here
brltty-6.8/python3/Programs/usb.c:1641:28: throw: if ‘usbFindDevice’ throws an exception...
brltty-6.8/python3/Programs/usb.c:1641:28: danger: ‘channel’ leaks here; was allocated at [(1)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1404]
brltty-6.8/python3/Programs/usb_cdc_acm.c:235:10: warning[-Wanalyzer-malloc-leak]: leak of ‘usd’
brltty-6.8/python3/Programs/usb_cdc_acm.c:270:1: enter_function: entry to ‘usbMakeData_CDC_ACM’
brltty-6.8/python3/Programs/usb_cdc_acm.c:273:14: acquire_memory: allocated here
brltty-6.8/python3/Programs/usb_cdc_acm.c:273:6: branch_true: following ‘true’ branch (when ‘usd’ is non-NULL)...
brltty-6.8/python3/Programs/usb_cdc_acm.c:273:6: branch_true: ...to here
brltty-6.8/python3/Programs/usb_cdc_acm.c:277:27: call_function: calling ‘usbFindCommunicationInterface’ from ‘usbMakeData_CDC_ACM’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1405]
brltty-6.8/python3/Programs/usb_cdc_acm.c:243:3: warning[-Wanalyzer-malloc-leak]: leak of ‘usd’
brltty-6.8/python3/Programs/usb_cdc_acm.c:270:1: enter_function: entry to ‘usbMakeData_CDC_ACM’
brltty-6.8/python3/Programs/usb_cdc_acm.c:273:14: acquire_memory: allocated here
brltty-6.8/python3/Programs/usb_cdc_acm.c:273:6: branch_true: following ‘true’ branch (when ‘usd’ is non-NULL)...
brltty-6.8/python3/Programs/usb_cdc_acm.c:273:6: branch_true: ...to here
brltty-6.8/python3/Programs/usb_cdc_acm.c:277:27: call_function: calling ‘usbFindCommunicationInterface’ from ‘usbMakeData_CDC_ACM’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1406]
brltty-6.8/python3/Programs/usb_cdc_acm.c:252:10: warning[-Wanalyzer-malloc-leak]: leak of ‘usd’
brltty-6.8/python3/Programs/usb_cdc_acm.c:270:1: enter_function: entry to ‘usbMakeData_CDC_ACM’
brltty-6.8/python3/Programs/usb_cdc_acm.c:273:14: acquire_memory: allocated here
brltty-6.8/python3/Programs/usb_cdc_acm.c:273:6: branch_true: following ‘true’ branch (when ‘usd’ is non-NULL)...
brltty-6.8/python3/Programs/usb_cdc_acm.c:273:6: branch_true: ...to here
brltty-6.8/python3/Programs/usb_cdc_acm.c:277:27: call_function: calling ‘usbFindCommunicationInterface’ from ‘usbMakeData_CDC_ACM’
brltty-6.8/python3/Programs/usb_cdc_acm.c:277:27: return_function: returning to ‘usbMakeData_CDC_ACM’ from ‘usbFindCommunicationInterface’
brltty-6.8/python3/Programs/usb_cdc_acm.c:277:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/usb_cdc_acm.c:278:21: branch_true: ...to here
brltty-6.8/python3/Programs/usb_cdc_acm.c:280:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/usb_cdc_acm.c:281:73: branch_true: ...to here
brltty-6.8/python3/Programs/usb_cdc_acm.c:281:12: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/usb_cdc_acm.c:282:32: branch_true: ...to here
brltty-6.8/python3/Programs/usb_cdc_acm.c:282:32: call_function: calling ‘usbFindInterruptInputEndpoint’ from ‘usbMakeData_CDC_ACM’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1407]
brltty-6.8/python3/Programs/usb_cdc_acm.c:264:3: warning[-Wanalyzer-malloc-leak]: leak of ‘usd’
brltty-6.8/python3/Programs/usb_cdc_acm.c:270:1: enter_function: entry to ‘usbMakeData_CDC_ACM’
brltty-6.8/python3/Programs/usb_cdc_acm.c:273:14: acquire_memory: allocated here
brltty-6.8/python3/Programs/usb_cdc_acm.c:273:6: branch_true: following ‘true’ branch (when ‘usd’ is non-NULL)...
brltty-6.8/python3/Programs/usb_cdc_acm.c:273:6: branch_true: ...to here
brltty-6.8/python3/Programs/usb_cdc_acm.c:277:27: call_function: calling ‘usbFindCommunicationInterface’ from ‘usbMakeData_CDC_ACM’
brltty-6.8/python3/Programs/usb_cdc_acm.c:277:27: return_function: returning to ‘usbMakeData_CDC_ACM’ from ‘usbFindCommunicationInterface’
brltty-6.8/python3/Programs/usb_cdc_acm.c:277:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/usb_cdc_acm.c:278:21: branch_true: ...to here
brltty-6.8/python3/Programs/usb_cdc_acm.c:280:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/usb_cdc_acm.c:281:73: branch_true: ...to here
brltty-6.8/python3/Programs/usb_cdc_acm.c:281:12: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/usb_cdc_acm.c:282:32: branch_true: ...to here
brltty-6.8/python3/Programs/usb_cdc_acm.c:282:32: call_function: calling ‘usbFindInterruptInputEndpoint’ from ‘usbMakeData_CDC_ACM’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1408]
brltty-6.8/python3/Programs/usb_cdc_acm.c:280:11: warning[-Wanalyzer-malloc-leak]: leak of ‘usd’
brltty-6.8/python3/Programs/usb_cdc_acm.c:270:1: enter_function: entry to ‘usbMakeData_CDC_ACM’
brltty-6.8/python3/Programs/usb_cdc_acm.c:273:14: acquire_memory: allocated here
brltty-6.8/python3/Programs/usb_cdc_acm.c:273:6: branch_true: following ‘true’ branch (when ‘usd’ is non-NULL)...
brltty-6.8/python3/Programs/usb_cdc_acm.c:273:6: branch_true: ...to here
brltty-6.8/python3/Programs/usb_cdc_acm.c:277:27: call_function: calling ‘usbFindCommunicationInterface’ from ‘usbMakeData_CDC_ACM’
brltty-6.8/python3/Programs/usb_cdc_acm.c:277:27: return_function: returning to ‘usbMakeData_CDC_ACM’ from ‘usbFindCommunicationInterface’
brltty-6.8/python3/Programs/usb_cdc_acm.c:277:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/usb_cdc_acm.c:278:21: branch_true: ...to here
brltty-6.8/python3/Programs/usb_cdc_acm.c:280:11: throw: if ‘usbClaimInterface’ throws an exception...
brltty-6.8/python3/Programs/usb_cdc_acm.c:280:11: danger: ‘usd’ leaks here; was allocated at [(2)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1409]
brltty-6.8/python3/Programs/usb_cdc_acm.c:281:13: warning[-Wanalyzer-malloc-leak]: leak of ‘usd’
brltty-6.8/python3/Programs/usb_cdc_acm.c:270:1: enter_function: entry to ‘usbMakeData_CDC_ACM’
brltty-6.8/python3/Programs/usb_cdc_acm.c:273:14: acquire_memory: allocated here
brltty-6.8/python3/Programs/usb_cdc_acm.c:273:6: branch_true: following ‘true’ branch (when ‘usd’ is non-NULL)...
brltty-6.8/python3/Programs/usb_cdc_acm.c:273:6: branch_true: ...to here
brltty-6.8/python3/Programs/usb_cdc_acm.c:277:27: call_function: calling ‘usbFindCommunicationInterface’ from ‘usbMakeData_CDC_ACM’
brltty-6.8/python3/Programs/usb_cdc_acm.c:277:27: return_function: returning to ‘usbMakeData_CDC_ACM’ from ‘usbFindCommunicationInterface’
brltty-6.8/python3/Programs/usb_cdc_acm.c:277:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/usb_cdc_acm.c:278:21: branch_true: ...to here
brltty-6.8/python3/Programs/usb_cdc_acm.c:280:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/usb_cdc_acm.c:281:73: branch_true: ...to here
brltty-6.8/python3/Programs/usb_cdc_acm.c:281:13: throw: if ‘usbSetAlternative’ throws an exception...
brltty-6.8/python3/Programs/usb_cdc_acm.c:281:13: danger: ‘usd’ leaks here; was allocated at [(2)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1410]
brltty-6.8/python3/Programs/usb_cdc_acm.c:283:13: warning[-Wanalyzer-malloc-leak]: leak of ‘usd’
brltty-6.8/python3/Programs/usb_cdc_acm.c:270:1: enter_function: entry to ‘usbMakeData_CDC_ACM’
brltty-6.8/python3/Programs/usb_cdc_acm.c:273:14: acquire_memory: allocated here
brltty-6.8/python3/Programs/usb_cdc_acm.c:273:6: branch_true: following ‘true’ branch (when ‘usd’ is non-NULL)...
brltty-6.8/python3/Programs/usb_cdc_acm.c:273:6: branch_true: ...to here
brltty-6.8/python3/Programs/usb_cdc_acm.c:277:27: call_function: calling ‘usbFindCommunicationInterface’ from ‘usbMakeData_CDC_ACM’
brltty-6.8/python3/Programs/usb_cdc_acm.c:277:27: return_function: returning to ‘usbMakeData_CDC_ACM’ from ‘usbFindCommunicationInterface’
brltty-6.8/python3/Programs/usb_cdc_acm.c:277:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/usb_cdc_acm.c:278:21: branch_true: ...to here
brltty-6.8/python3/Programs/usb_cdc_acm.c:280:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/usb_cdc_acm.c:281:73: branch_true: ...to here
brltty-6.8/python3/Programs/usb_cdc_acm.c:281:12: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/usb_cdc_acm.c:282:32: branch_true: ...to here
brltty-6.8/python3/Programs/usb_cdc_acm.c:282:32: call_function: calling ‘usbFindInterruptInputEndpoint’ from ‘usbMakeData_CDC_ACM’
brltty-6.8/python3/Programs/usb_cdc_acm.c:282:32: return_function: returning to ‘usbMakeData_CDC_ACM’ from ‘usbFindInterruptInputEndpoint’
brltty-6.8/python3/Programs/usb_cdc_acm.c:282:14: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/usb_cdc_acm.c:283:35: branch_true: ...to here
brltty-6.8/python3/Programs/usb_cdc_acm.c:283:13: throw: if ‘usbBeginInput’ throws an exception...
brltty-6.8/python3/Programs/usb_cdc_acm.c:283:13: danger: ‘usd’ leaks here; was allocated at [(2)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1411]
brltty-6.8/python3/Programs/usb_cdc_acm.c:289:9: warning[-Wanalyzer-malloc-leak]: leak of ‘usd’
brltty-6.8/python3/Programs/usb_cdc_acm.c:270:1: enter_function: entry to ‘usbMakeData_CDC_ACM’
brltty-6.8/python3/Programs/usb_cdc_acm.c:273:14: acquire_memory: allocated here
brltty-6.8/python3/Programs/usb_cdc_acm.c:273:6: branch_true: following ‘true’ branch (when ‘usd’ is non-NULL)...
brltty-6.8/python3/Programs/usb_cdc_acm.c:273:6: branch_true: ...to here
brltty-6.8/python3/Programs/usb_cdc_acm.c:277:27: call_function: calling ‘usbFindCommunicationInterface’ from ‘usbMakeData_CDC_ACM’
brltty-6.8/python3/Programs/usb_cdc_acm.c:277:27: return_function: returning to ‘usbMakeData_CDC_ACM’ from ‘usbFindCommunicationInterface’
brltty-6.8/python3/Programs/usb_cdc_acm.c:277:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/usb_cdc_acm.c:278:21: branch_true: ...to here
brltty-6.8/python3/Programs/usb_cdc_acm.c:280:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/usb_cdc_acm.c:281:73: branch_true: ...to here
brltty-6.8/python3/Programs/usb_cdc_acm.c:281:12: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/usb_cdc_acm.c:289:9: branch_false: ...to here
brltty-6.8/python3/Programs/usb_cdc_acm.c:289:9: throw: if ‘usbReleaseInterface’ throws an exception...
brltty-6.8/python3/Programs/usb_cdc_acm.c:289:9: danger: ‘usd’ leaks here; was allocated at [(2)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1412]
brltty-6.8/python3/Programs/usb_hid.c:63:26: warning[-Wanalyzer-malloc-leak]: leak of ‘items’
brltty-6.8/python3/Programs/usb_hid.c:45:1: enter_function: entry to ‘usbHidGetItems’
brltty-6.8/python3/Programs/usb_hid.c:51:33: call_function: calling ‘usbHidDescriptor’ from ‘usbHidGetItems’
brltty-6.8/python3/Programs/usb_hid.c:51:33: return_function: returning to ‘usbHidGetItems’ from ‘usbHidDescriptor’
brltty-6.8/python3/Programs/usb_hid.c:53:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/usb_hid.c:54:18: branch_true: ...to here
brltty-6.8/python3/Programs/usb_hid.c:54:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/usb_hid.c:55:47: branch_true: ...to here
brltty-6.8/python3/Programs/usb_hid.c:62:20: acquire_memory: allocated here
brltty-6.8/python3/Programs/usb_hid.c:62:10: branch_true: following ‘true’ branch (when ‘items’ is non-NULL)...
brltty-6.8/python3/Programs/usb_hid.c:67:22: branch_true: ...to here
brltty-6.8/python3/Programs/usb_hid.c:63:26: throw: if ‘usbControlRead’ throws an exception...
brltty-6.8/python3/Programs/usb_hid.c:63:26: danger: ‘items’ leaks here; was allocated at [(11)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1413]
brltty-6.8/python3/Programs/usb_linux.c:83:7: warning[-Wanalyzer-malloc-leak]: leak of ‘usbGetDriver(device, interface)’
brltty-6.8/python3/Programs/usb_linux.c:222:1: enter_function: entry to ‘usbDisconnectInterface’
brltty-6.8/python3/Programs/usb_linux.c:223:18: call_function: calling ‘usbGetDriver’ from ‘usbDisconnectInterface’
brltty-6.8/python3/Programs/usb_linux.c:223:18: return_function: returning to ‘usbDisconnectInterface’ from ‘usbGetDriver’
brltty-6.8/python3/Programs/usb_linux.c:225:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/usb_linux.c:226:19: branch_true: ...to here
brltty-6.8/python3/Programs/usb_linux.c:228:5: throw: if ‘logMessage’ throws an exception...
brltty-6.8/python3/Programs/usb_linux.c:83:7: danger: ‘usbGetDriver(device, interface)’ leaks here; was allocated at [(8)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1414]
brltty-6.8/python3/Programs/usb_linux.c:96:5: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘*devx.usbfsFile’
brltty-6.8/python3/Programs/usb_linux.c:329:1: enter_function: entry to ‘usbResetDevice’
brltty-6.8/python3/Programs/usb_linux.c:334:7: call_function: calling ‘usbOpenUsbfsFile’ from ‘usbResetDevice’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1415]
brltty-6.8/python3/Programs/usb_linux.c:97:16: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(*devx_11(D)->host.usbfsPath, 524290)’
brltty-6.8/python3/Programs/usb_linux.c:209:1: enter_function: entry to ‘usbDisconnectDriver’
brltty-6.8/python3/Programs/usb_linux.c:212:7: call_function: calling ‘usbControlDriver’ from ‘usbDisconnectDriver’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1416]
brltty-6.8/python3/Programs/usb_linux.c:132:16: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(makePath(*devx_22->host.sysfsPath, "power/autosuspend"), 524289)’
brltty-6.8/python3/Programs/usb_linux.c:116:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/usb_linux.c:117:18: branch_true: ...to here
brltty-6.8/python3/Programs/usb_linux.c:119:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/usb_linux.c:126:18: branch_true: ...to here
brltty-6.8/python3/Programs/usb_linux.c:126:18: acquire_resource: opened here
brltty-6.8/python3/Programs/usb_linux.c:128:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/usb_linux.c:128:10: branch_true: ...to here
brltty-6.8/python3/Programs/usb_linux.c:132:16: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/usb_linux.c:133:27: branch_true: ...to here
brltty-6.8/python3/Programs/usb_linux.c:134:28: throw: if ‘write’ throws an exception...
brltty-6.8/python3/Programs/usb_linux.c:132:16: danger: ‘open(makePath(*devx_22->host.sysfsPath, "power/autosuspend"), 524289)’ leaks here; was opened at [(5)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1417]
brltty-6.8/python3/Programs/usb_linux.c:584:21: warning[-Wanalyzer-malloc-leak]: leak of ‘usbMakeURB(*<unknown>.descriptor, buffer, length, context)’
brltty-6.8/python3/Programs/usb_linux.c:657:1: enter_function: entry to ‘usbSubmitRequest’
brltty-6.8/python3/Programs/usb_linux.c:669:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/usb_linux.c:670:29: branch_true: ...to here
brltty-6.8/python3/Programs/usb_linux.c:673:18: call_function: calling ‘usbMakeURB’ from ‘usbSubmitRequest’
brltty-6.8/python3/Programs/usb_linux.c:673:18: return_function: returning to ‘usbSubmitRequest’ from ‘usbMakeURB’
brltty-6.8/python3/Programs/usb_linux.c:673:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/usb_linux.c:674:9: branch_true: ...to here
brltty-6.8/python3/Programs/usb_linux.c:677:13: call_function: calling ‘usbSubmitURB’ from ‘usbSubmitRequest’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1418]
brltty-6.8/python3/Programs/usb_linux.c:1187:36: warning[-Wanalyzer-malloc-leak]: leak of ‘eptx’
brltty-6.8/python3/Programs/usb_linux.c:1183:15: acquire_memory: allocated here
brltty-6.8/python3/Programs/usb_linux.c:1183:6: branch_true: following ‘true’ branch (when ‘eptx’ is non-NULL)...
brltty-6.8/python3/Programs/usb_linux.c:1184:5: branch_true: ...to here
brltty-6.8/python3/Programs/usb_linux.c:1187:36: throw: if ‘newQueue’ throws an exception...
brltty-6.8/python3/Programs/usb_linux.c:1187:36: danger: ‘eptx’ leaks here; was allocated at [(1)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1419]
brltty-6.8/python3/Programs/usb_linux.c:1197:7: warning[-Wanalyzer-malloc-leak]: leak of ‘eptx’
brltty-6.8/python3/Programs/usb_linux.c:1183:15: acquire_memory: allocated here
brltty-6.8/python3/Programs/usb_linux.c:1183:6: branch_true: following ‘true’ branch (when ‘eptx’ is non-NULL)...
brltty-6.8/python3/Programs/usb_linux.c:1184:5: branch_true: ...to here
brltty-6.8/python3/Programs/usb_linux.c:1187:8: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/usb_linux.c:1197:7: branch_false: ...to here
brltty-6.8/python3/Programs/usb_linux.c:1197:7: throw: if ‘logSystemError’ throws an exception...
brltty-6.8/python3/Programs/usb_linux.c:1197:7: danger: ‘eptx’ leaks here; was allocated at [(1)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1420]
brltty-6.8/python3/Programs/usb_linux.c:1254:25: warning[-Wanalyzer-malloc-leak]: leak of ‘devx’
brltty-6.8/python3/Programs/usb_linux.c:1248:15: acquire_memory: allocated here
brltty-6.8/python3/Programs/usb_linux.c:1248:6: branch_true: following ‘true’ branch (when ‘devx’ is non-NULL)...
brltty-6.8/python3/Programs/usb_linux.c:1248:6: branch_true: ...to here
brltty-6.8/python3/Programs/usb_linux.c:1254:25: throw: if ‘usbTestDevice’ throws an exception...
brltty-6.8/python3/Programs/usb_linux.c:1254:25: danger: ‘devx’ leaks here; was allocated at [(1)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1421]
brltty-6.8/python3/Programs/usb_linux.c:1272:12: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
brltty-6.8/python3/Programs/usb_linux.c:1376:1: enter_function: entry to ‘usbAddHostDevice’
brltty-6.8/python3/Programs/usb_linux.c:1380:6: branch_true: following ‘true’ branch (when ‘host’ is non-NULL)...
brltty-6.8/python3/Programs/usb_linux.c:1381:28: branch_true: ...to here
brltty-6.8/python3/Programs/usb_linux.c:1381:28: acquire_memory: allocated here
brltty-6.8/python3/Programs/usb_linux.c:1381:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/usb_linux.c:1382:25: branch_true: ...to here
brltty-6.8/python3/Programs/usb_linux.c:1382:25: call_function: calling ‘usbMakeSysfsPath’ from ‘usbAddHostDevice’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1422]
brltty-6.8/python3/Programs/usb_linux.c:1272:12: warning[-Wanalyzer-malloc-leak]: leak of ‘host’
brltty-6.8/python3/Programs/usb_linux.c:1376:1: enter_function: entry to ‘usbAddHostDevice’
brltty-6.8/python3/Programs/usb_linux.c:1380:15: acquire_memory: allocated here
brltty-6.8/python3/Programs/usb_linux.c:1380:6: branch_true: following ‘true’ branch (when ‘host’ is non-NULL)...
brltty-6.8/python3/Programs/usb_linux.c:1381:28: branch_true: ...to here
brltty-6.8/python3/Programs/usb_linux.c:1381:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/usb_linux.c:1382:25: branch_true: ...to here
brltty-6.8/python3/Programs/usb_linux.c:1382:25: call_function: calling ‘usbMakeSysfsPath’ from ‘usbAddHostDevice’
Error: CPPCHECK_WARNING (CWE-457): [#def1423]
brltty-6.8/python3/Programs/usb_linux.c:1298: error[uninitvar]: Uninitialized variable: &length
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1424]
brltty-6.8/python3/Programs/usb_linux.c:1303:27: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
brltty-6.8/python3/Programs/usb_linux.c:1376:1: enter_function: entry to ‘usbAddHostDevice’
brltty-6.8/python3/Programs/usb_linux.c:1380:6: branch_true: following ‘true’ branch (when ‘host’ is non-NULL)...
brltty-6.8/python3/Programs/usb_linux.c:1381:28: branch_true: ...to here
brltty-6.8/python3/Programs/usb_linux.c:1381:28: acquire_memory: allocated here
brltty-6.8/python3/Programs/usb_linux.c:1381:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/usb_linux.c:1382:25: branch_true: ...to here
brltty-6.8/python3/Programs/usb_linux.c:1382:25: call_function: calling ‘usbMakeSysfsPath’ from ‘usbAddHostDevice’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1425]
brltty-6.8/python3/Programs/usb_linux.c:1303:27: warning[-Wanalyzer-malloc-leak]: leak of ‘host’
brltty-6.8/python3/Programs/usb_linux.c:1376:1: enter_function: entry to ‘usbAddHostDevice’
brltty-6.8/python3/Programs/usb_linux.c:1380:15: acquire_memory: allocated here
brltty-6.8/python3/Programs/usb_linux.c:1380:6: branch_true: following ‘true’ branch (when ‘host’ is non-NULL)...
brltty-6.8/python3/Programs/usb_linux.c:1381:28: branch_true: ...to here
brltty-6.8/python3/Programs/usb_linux.c:1381:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/usb_linux.c:1382:25: branch_true: ...to here
brltty-6.8/python3/Programs/usb_linux.c:1382:25: call_function: calling ‘usbMakeSysfsPath’ from ‘usbAddHostDevice’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1426]
brltty-6.8/python3/Programs/usb_linux.c:1325:19: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
brltty-6.8/python3/Programs/usb_linux.c:1376:1: enter_function: entry to ‘usbAddHostDevice’
brltty-6.8/python3/Programs/usb_linux.c:1380:6: branch_true: following ‘true’ branch (when ‘host’ is non-NULL)...
brltty-6.8/python3/Programs/usb_linux.c:1381:28: branch_true: ...to here
brltty-6.8/python3/Programs/usb_linux.c:1381:28: acquire_memory: allocated here
brltty-6.8/python3/Programs/usb_linux.c:1381:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/usb_linux.c:1382:25: branch_true: ...to here
brltty-6.8/python3/Programs/usb_linux.c:1382:25: call_function: calling ‘usbMakeSysfsPath’ from ‘usbAddHostDevice’
brltty-6.8/python3/Programs/usb_linux.c:1382:25: return_function: returning to ‘usbAddHostDevice’ from ‘usbMakeSysfsPath’
brltty-6.8/python3/Programs/usb_linux.c:1384:12: call_function: calling ‘usbReadHostDeviceDescriptor’ from ‘usbAddHostDevice’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1427]
brltty-6.8/python3/Programs/usb_linux.c:1325:19: warning[-Wanalyzer-malloc-leak]: leak of ‘host’
brltty-6.8/python3/Programs/usb_linux.c:1376:1: enter_function: entry to ‘usbAddHostDevice’
brltty-6.8/python3/Programs/usb_linux.c:1380:15: acquire_memory: allocated here
brltty-6.8/python3/Programs/usb_linux.c:1380:6: branch_true: following ‘true’ branch (when ‘host’ is non-NULL)...
brltty-6.8/python3/Programs/usb_linux.c:1381:28: branch_true: ...to here
brltty-6.8/python3/Programs/usb_linux.c:1381:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/usb_linux.c:1382:25: branch_true: ...to here
brltty-6.8/python3/Programs/usb_linux.c:1382:25: call_function: calling ‘usbMakeSysfsPath’ from ‘usbAddHostDevice’
brltty-6.8/python3/Programs/usb_linux.c:1382:25: return_function: returning to ‘usbAddHostDevice’ from ‘usbMakeSysfsPath’
brltty-6.8/python3/Programs/usb_linux.c:1384:12: call_function: calling ‘usbReadHostDeviceDescriptor’ from ‘usbAddHostDevice’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1428]
brltty-6.8/python3/Programs/usb_linux.c:1332:21: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
brltty-6.8/python3/Programs/usb_linux.c:1376:1: enter_function: entry to ‘usbAddHostDevice’
brltty-6.8/python3/Programs/usb_linux.c:1380:6: branch_true: following ‘true’ branch (when ‘host’ is non-NULL)...
brltty-6.8/python3/Programs/usb_linux.c:1381:28: branch_true: ...to here
brltty-6.8/python3/Programs/usb_linux.c:1381:28: acquire_memory: allocated here
brltty-6.8/python3/Programs/usb_linux.c:1381:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/usb_linux.c:1382:25: branch_true: ...to here
brltty-6.8/python3/Programs/usb_linux.c:1382:25: call_function: calling ‘usbMakeSysfsPath’ from ‘usbAddHostDevice’
brltty-6.8/python3/Programs/usb_linux.c:1382:25: return_function: returning to ‘usbAddHostDevice’ from ‘usbMakeSysfsPath’
brltty-6.8/python3/Programs/usb_linux.c:1384:12: call_function: calling ‘usbReadHostDeviceDescriptor’ from ‘usbAddHostDevice’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1429]
brltty-6.8/python3/Programs/usb_linux.c:1332:21: warning[-Wanalyzer-malloc-leak]: leak of ‘host’
brltty-6.8/python3/Programs/usb_linux.c:1376:1: enter_function: entry to ‘usbAddHostDevice’
brltty-6.8/python3/Programs/usb_linux.c:1380:15: acquire_memory: allocated here
brltty-6.8/python3/Programs/usb_linux.c:1380:6: branch_true: following ‘true’ branch (when ‘host’ is non-NULL)...
brltty-6.8/python3/Programs/usb_linux.c:1381:28: branch_true: ...to here
brltty-6.8/python3/Programs/usb_linux.c:1381:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/usb_linux.c:1382:25: branch_true: ...to here
brltty-6.8/python3/Programs/usb_linux.c:1382:25: call_function: calling ‘usbMakeSysfsPath’ from ‘usbAddHostDevice’
brltty-6.8/python3/Programs/usb_linux.c:1382:25: return_function: returning to ‘usbAddHostDevice’ from ‘usbMakeSysfsPath’
brltty-6.8/python3/Programs/usb_linux.c:1384:12: call_function: calling ‘usbReadHostDeviceDescriptor’ from ‘usbAddHostDevice’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1430]
brltty-6.8/python3/Programs/usb_linux.c:1348:12: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
brltty-6.8/python3/Programs/usb_linux.c:1376:1: enter_function: entry to ‘usbAddHostDevice’
brltty-6.8/python3/Programs/usb_linux.c:1380:6: branch_true: following ‘true’ branch (when ‘host’ is non-NULL)...
brltty-6.8/python3/Programs/usb_linux.c:1381:28: branch_true: ...to here
brltty-6.8/python3/Programs/usb_linux.c:1381:28: acquire_memory: allocated here
brltty-6.8/python3/Programs/usb_linux.c:1381:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/usb_linux.c:1382:25: branch_true: ...to here
brltty-6.8/python3/Programs/usb_linux.c:1384:12: call_function: calling ‘usbReadHostDeviceDescriptor’ from ‘usbAddHostDevice’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1431]
brltty-6.8/python3/Programs/usb_linux.c:1348:12: warning[-Wanalyzer-malloc-leak]: leak of ‘host’
brltty-6.8/python3/Programs/usb_linux.c:1376:1: enter_function: entry to ‘usbAddHostDevice’
brltty-6.8/python3/Programs/usb_linux.c:1380:15: acquire_memory: allocated here
brltty-6.8/python3/Programs/usb_linux.c:1380:6: branch_true: following ‘true’ branch (when ‘host’ is non-NULL)...
brltty-6.8/python3/Programs/usb_linux.c:1381:28: branch_true: ...to here
brltty-6.8/python3/Programs/usb_linux.c:1381:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/usb_linux.c:1382:25: branch_true: ...to here
brltty-6.8/python3/Programs/usb_linux.c:1384:12: call_function: calling ‘usbReadHostDeviceDescriptor’ from ‘usbAddHostDevice’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1432]
brltty-6.8/python3/Programs/usb_linux.c:1352:17: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
brltty-6.8/python3/Programs/usb_linux.c:1376:1: enter_function: entry to ‘usbAddHostDevice’
brltty-6.8/python3/Programs/usb_linux.c:1380:6: branch_true: following ‘true’ branch (when ‘host’ is non-NULL)...
brltty-6.8/python3/Programs/usb_linux.c:1381:28: branch_true: ...to here
brltty-6.8/python3/Programs/usb_linux.c:1381:28: acquire_memory: allocated here
brltty-6.8/python3/Programs/usb_linux.c:1381:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/usb_linux.c:1382:25: branch_true: ...to here
brltty-6.8/python3/Programs/usb_linux.c:1384:12: call_function: calling ‘usbReadHostDeviceDescriptor’ from ‘usbAddHostDevice’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1433]
brltty-6.8/python3/Programs/usb_linux.c:1355:7: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘file’
brltty-6.8/python3/Programs/usb_linux.c:1348:12: acquire_resource: opened here
brltty-6.8/python3/Programs/usb_linux.c:1351:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/usb_linux.c:1352:28: branch_true: ...to here
brltty-6.8/python3/Programs/usb_linux.c:1354:8: branch_true: following ‘true’ branch (when ‘count == -1’)...
brltty-6.8/python3/Programs/usb_linux.c:1355:7: branch_true: ...to here
brltty-6.8/python3/Programs/usb_linux.c:1355:7: throw: if ‘logSystemError’ throws an exception...
brltty-6.8/python3/Programs/usb_linux.c:1355:7: danger: ‘file’ leaks here; was opened at [(1)](sarif:/runs/0/results/26/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1434]
brltty-6.8/python3/Programs/usb_linux.c:1355:7: warning[-Wanalyzer-malloc-leak]: leak of ‘host’
brltty-6.8/python3/Programs/usb_linux.c:1376:1: enter_function: entry to ‘usbAddHostDevice’
brltty-6.8/python3/Programs/usb_linux.c:1380:15: acquire_memory: allocated here
brltty-6.8/python3/Programs/usb_linux.c:1380:6: branch_true: following ‘true’ branch (when ‘host’ is non-NULL)...
brltty-6.8/python3/Programs/usb_linux.c:1381:28: branch_true: ...to here
brltty-6.8/python3/Programs/usb_linux.c:1381:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/usb_linux.c:1382:25: branch_true: ...to here
brltty-6.8/python3/Programs/usb_linux.c:1384:12: call_function: calling ‘usbReadHostDeviceDescriptor’ from ‘usbAddHostDevice’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1435]
brltty-6.8/python3/Programs/usb_linux.c:1357:7: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘file’
brltty-6.8/python3/Programs/usb_linux.c:1348:12: acquire_resource: opened here
brltty-6.8/python3/Programs/usb_linux.c:1351:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/usb_linux.c:1352:28: branch_true: ...to here
brltty-6.8/python3/Programs/usb_linux.c:1354:8: branch_false: following ‘false’ branch (when ‘count != -1’)...
brltty-6.8/python3/Programs/usb_linux.c:1356:15: branch_false: ...to here
brltty-6.8/python3/Programs/usb_linux.c:1356:15: branch_true: following ‘true’ branch (when ‘count != 18’)...
brltty-6.8/python3/Programs/usb_linux.c:1357:7: branch_true: ...to here
brltty-6.8/python3/Programs/usb_linux.c:1357:7: throw: if ‘logMessage’ throws an exception...
brltty-6.8/python3/Programs/usb_linux.c:1357:7: danger: ‘file’ leaks here; was opened at [(1)](sarif:/runs/0/results/28/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1436]
brltty-6.8/python3/Programs/usb_linux.c:1357:7: warning[-Wanalyzer-malloc-leak]: leak of ‘host’
brltty-6.8/python3/Programs/usb_linux.c:1376:1: enter_function: entry to ‘usbAddHostDevice’
brltty-6.8/python3/Programs/usb_linux.c:1380:15: acquire_memory: allocated here
brltty-6.8/python3/Programs/usb_linux.c:1380:6: branch_true: following ‘true’ branch (when ‘host’ is non-NULL)...
brltty-6.8/python3/Programs/usb_linux.c:1381:28: branch_true: ...to here
brltty-6.8/python3/Programs/usb_linux.c:1381:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/usb_linux.c:1382:25: branch_true: ...to here
brltty-6.8/python3/Programs/usb_linux.c:1384:12: call_function: calling ‘usbReadHostDeviceDescriptor’ from ‘usbAddHostDevice’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1437]
brltty-6.8/python3/Programs/usb_linux.c:1369:5: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘file’
brltty-6.8/python3/Programs/usb_linux.c:1348:12: acquire_resource: opened here
brltty-6.8/python3/Programs/usb_linux.c:1351:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/usb_linux.c:1352:28: branch_true: ...to here
brltty-6.8/python3/Programs/usb_linux.c:1369:5: throw: if ‘close’ throws an exception...
brltty-6.8/python3/Programs/usb_linux.c:1369:5: danger: ‘file’ leaks here; was opened at [(1)](sarif:/runs/0/results/30/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1438]
brltty-6.8/python3/Programs/usb_linux.c:1369:5: warning[-Wanalyzer-malloc-leak]: leak of ‘host’
brltty-6.8/python3/Programs/usb_linux.c:1376:1: enter_function: entry to ‘usbAddHostDevice’
brltty-6.8/python3/Programs/usb_linux.c:1380:15: acquire_memory: allocated here
brltty-6.8/python3/Programs/usb_linux.c:1380:6: branch_true: following ‘true’ branch (when ‘host’ is non-NULL)...
brltty-6.8/python3/Programs/usb_linux.c:1381:28: branch_true: ...to here
brltty-6.8/python3/Programs/usb_linux.c:1381:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/usb_linux.c:1382:25: branch_true: ...to here
brltty-6.8/python3/Programs/usb_linux.c:1384:12: call_function: calling ‘usbReadHostDeviceDescriptor’ from ‘usbAddHostDevice’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1439]
brltty-6.8/python3/Programs/usb_linux.c:1386:18: warning[-Wanalyzer-malloc-leak]: leak of ‘host’
brltty-6.8/python3/Programs/usb_linux.c:1376:1: enter_function: entry to ‘usbAddHostDevice’
brltty-6.8/python3/Programs/usb_linux.c:1380:15: acquire_memory: allocated here
brltty-6.8/python3/Programs/usb_linux.c:1380:6: branch_true: following ‘true’ branch (when ‘host’ is non-NULL)...
brltty-6.8/python3/Programs/usb_linux.c:1381:28: branch_true: ...to here
brltty-6.8/python3/Programs/usb_linux.c:1381:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/usb_linux.c:1382:25: branch_true: ...to here
brltty-6.8/python3/Programs/usb_linux.c:1384:12: call_function: calling ‘usbReadHostDeviceDescriptor’ from ‘usbAddHostDevice’
brltty-6.8/python3/Programs/usb_linux.c:1384:12: return_function: returning to ‘usbAddHostDevice’ from ‘usbReadHostDeviceDescriptor’
brltty-6.8/python3/Programs/usb_linux.c:1384:10: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/usb_linux.c:1386:18: branch_false: ...to here
brltty-6.8/python3/Programs/usb_linux.c:1386:18: throw: if ‘enqueueItem’ throws an exception...
brltty-6.8/python3/Programs/usb_linux.c:1386:18: danger: ‘host’ leaks here; was allocated at [(2)](sarif:/runs/0/results/32/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1440]
brltty-6.8/python3/Programs/usb_linux.c:1393:7: warning[-Wanalyzer-malloc-leak]: leak of ‘host’
brltty-6.8/python3/Programs/usb_linux.c:1380:15: acquire_memory: allocated here
brltty-6.8/python3/Programs/usb_linux.c:1380:6: branch_true: following ‘true’ branch (when ‘host’ is non-NULL)...
brltty-6.8/python3/Programs/usb_linux.c:1381:28: branch_true: ...to here
brltty-6.8/python3/Programs/usb_linux.c:1381:8: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/usb_linux.c:1393:7: branch_false: ...to here
brltty-6.8/python3/Programs/usb_linux.c:1393:7: throw: if ‘logSystemError’ throws an exception...
brltty-6.8/python3/Programs/usb_linux.c:1393:7: danger: ‘host’ leaks here; was allocated at [(1)](sarif:/runs/0/results/33/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1441]
brltty-6.8/python3/Programs/usb_linux.c:1414:21: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(root)’
brltty-6.8/python3/Programs/usb_linux.c:1410:20: acquire_memory: allocated here
brltty-6.8/python3/Programs/usb_linux.c:1410:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/usb_linux.c:1410:6: branch_true: ...to here
brltty-6.8/python3/Programs/usb_linux.c:1414:21: throw: if ‘readdir’ throws an exception...
brltty-6.8/python3/Programs/usb_linux.c:1414:21: danger: ‘opendir(root)’ leaks here; was allocated at [(1)](sarif:/runs/0/results/34/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1442]
brltty-6.8/python3/Programs/usb_serial.c:109:7: warning[-Wanalyzer-malloc-leak]: leak of ‘target’
brltty-6.8/python3/Programs/usb_serial.c:95:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/usb_serial.c:98:22: branch_true: ...to here
brltty-6.8/python3/Programs/usb_serial.c:98:22: acquire_memory: allocated here
brltty-6.8/python3/Programs/usb_serial.c:98:8: branch_false: following ‘false’ branch (when ‘adapters’ is non-NULL)...
brltty-6.8/python3/Programs/usb_serial.c:105:44: branch_false: ...to here
brltty-6.8/python3/Programs/usb_serial.c:108:14: branch_false: following ‘false’ branch (when ‘source >= end’)...
brltty-6.8/python3/Programs/usb_serial.c:109:7: branch_false: ...to here
brltty-6.8/python3/Programs/usb_serial.c:109:7: throw: if ‘qsort’ throws an exception...
brltty-6.8/python3/Programs/usb_serial.c:109:7: danger: ‘target’ leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1443]
brltty-6.8/python3/Programs/variables.c:54:7: warning[-Wanalyzer-malloc-leak]: leak of ‘variable’
brltty-6.8/python3/Programs/variables.c:208:1: enter_function: entry to ‘findVariable’
brltty-6.8/python3/Programs/variables.c:221:21: acquire_memory: allocated here
brltty-6.8/python3/Programs/variables.c:221:8: branch_true: following ‘true’ branch (when ‘variable’ is non-NULL)...
brltty-6.8/python3/Programs/variables.c:221:8: branch_true: ...to here
brltty-6.8/python3/Programs/variables.c:226:11: call_function: calling ‘setCharacterString’ from ‘findVariable’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1444]
brltty-6.8/python3/Programs/variables.c:111:27: warning[-Wanalyzer-malloc-leak]: leak of ‘vnl’
brltty-6.8/python3/Programs/variables.c:325:1: enter_function: entry to ‘getGlobalVariables’
brltty-6.8/python3/Programs/variables.c:328:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/variables.c:331:17: branch_true: ...to here
brltty-6.8/python3/Programs/variables.c:331:17: call_function: calling ‘newVariableNestingLevel’ from ‘getGlobalVariables’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1445]
brltty-6.8/python3/Programs/variables.c:227:13: warning[-Wanalyzer-malloc-leak]: leak of ‘variable’
brltty-6.8/python3/Programs/variables.c:208:1: enter_function: entry to ‘findVariable’
brltty-6.8/python3/Programs/variables.c:221:21: acquire_memory: allocated here
brltty-6.8/python3/Programs/variables.c:221:8: branch_true: following ‘true’ branch (when ‘variable’ is non-NULL)...
brltty-6.8/python3/Programs/variables.c:221:8: branch_true: ...to here
brltty-6.8/python3/Programs/variables.c:226:11: call_function: calling ‘setCharacterString’ from ‘findVariable’
brltty-6.8/python3/Programs/variables.c:226:11: return_function: returning to ‘findVariable’ from ‘setCharacterString’
brltty-6.8/python3/Programs/variables.c:226:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/variables.c:227:13: branch_true: ...to here
brltty-6.8/python3/Programs/variables.c:227:13: throw: if ‘enqueueItem’ throws an exception...
brltty-6.8/python3/Programs/variables.c:227:13: danger: ‘variable’ leaks here; was allocated at [(2)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1446]
brltty-6.8/python3/Programs/xbrlapi.c:415:21: warning[-Wanalyzer-malloc-leak]: leak of ‘cur’
brltty-6.8/python3/Programs/xbrlapi.c:525:13: enter_function: entry to ‘add_window’
brltty-6.8/python3/Programs/xbrlapi.c:528:15: acquire_memory: allocated here
brltty-6.8/python3/Programs/xbrlapi.c:528:6: branch_false: following ‘false’ branch (when ‘cur’ is non-NULL)...
brltty-6.8/python3/Programs/xbrlapi.c:532:3: branch_false: ...to here
brltty-6.8/python3/Programs/xbrlapi.c:536:18: call_function: inlined call to ‘getWindowName’ from ‘add_window’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1447]
brltty-6.8/python3/Programs/xbrlapi.c:429:10: warning[-Wanalyzer-malloc-leak]: leak of ‘cur’
brltty-6.8/python3/Programs/xbrlapi.c:525:13: enter_function: entry to ‘add_window’
brltty-6.8/python3/Programs/xbrlapi.c:528:15: acquire_memory: allocated here
brltty-6.8/python3/Programs/xbrlapi.c:528:6: branch_false: following ‘false’ branch (when ‘cur’ is non-NULL)...
brltty-6.8/python3/Programs/xbrlapi.c:532:3: branch_false: ...to here
brltty-6.8/python3/Programs/xbrlapi.c:536:18: call_function: inlined call to ‘getWindowName’ from ‘add_window’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1448]
brltty-6.8/python3/Programs/xbrlapi.c:433:21: warning[-Wanalyzer-malloc-leak]: leak of ‘cur’
brltty-6.8/python3/Programs/xbrlapi.c:525:13: enter_function: entry to ‘add_window’
brltty-6.8/python3/Programs/xbrlapi.c:528:15: acquire_memory: allocated here
brltty-6.8/python3/Programs/xbrlapi.c:528:6: branch_false: following ‘false’ branch (when ‘cur’ is non-NULL)...
brltty-6.8/python3/Programs/xbrlapi.c:532:3: branch_false: ...to here
brltty-6.8/python3/Programs/xbrlapi.c:536:18: call_function: inlined call to ‘getWindowName’ from ‘add_window’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1449]
brltty-6.8/python3/Programs/xbrlapi.c:446:10: warning[-Wanalyzer-malloc-leak]: leak of ‘cur’
brltty-6.8/python3/Programs/xbrlapi.c:780:13: enter_function: entry to ‘toX_f’
brltty-6.8/python3/Programs/xbrlapi.c:802:6: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/xbrlapi.c:804:8: branch_false: ...to here
brltty-6.8/python3/Programs/xbrlapi.c:804:6: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/xbrlapi.c:807:15: branch_false: ...to here
brltty-6.8/python3/Programs/xbrlapi.c:812:8: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/xbrlapi.c:814:10: branch_false: ...to here
brltty-6.8/python3/Programs/xbrlapi.c:814:8: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/xbrlapi.c:816:10: branch_false: ...to here
brltty-6.8/python3/Programs/xbrlapi.c:816:8: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/xbrlapi.c:1175:1: branch_false: ...to here
brltty-6.8/python3/Programs/xbrlapi.c:828:6: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/xbrlapi.c:835:19: branch_false: ...to here
brltty-6.8/python3/Programs/xbrlapi.c:842:8: branch_false: following ‘false’ branch (when the strings are equal)...
brltty-6.8/python3/Programs/xbrlapi.c:851:3: branch_false: ...to here
brltty-6.8/python3/Programs/xbrlapi.c:851:12: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/xbrlapi.c:852:10: branch_true: ...to here
brltty-6.8/python3/Programs/xbrlapi.c:853:10: call_function: calling ‘grabWindows’ from ‘toX_f’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1450]
brltty-6.8/python3/Programs/xbrlapi.c:450:5: warning[-Wanalyzer-malloc-leak]: leak of ‘cur’
brltty-6.8/python3/Programs/xbrlapi.c:780:13: enter_function: entry to ‘toX_f’
brltty-6.8/python3/Programs/xbrlapi.c:802:6: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/xbrlapi.c:804:8: branch_false: ...to here
brltty-6.8/python3/Programs/xbrlapi.c:804:6: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/xbrlapi.c:807:15: branch_false: ...to here
brltty-6.8/python3/Programs/xbrlapi.c:812:8: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/xbrlapi.c:814:10: branch_false: ...to here
brltty-6.8/python3/Programs/xbrlapi.c:814:8: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/xbrlapi.c:816:10: branch_false: ...to here
brltty-6.8/python3/Programs/xbrlapi.c:816:8: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/xbrlapi.c:1175:1: branch_false: ...to here
brltty-6.8/python3/Programs/xbrlapi.c:828:6: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/xbrlapi.c:835:19: branch_false: ...to here
brltty-6.8/python3/Programs/xbrlapi.c:842:8: branch_false: following ‘false’ branch (when the strings are equal)...
brltty-6.8/python3/Programs/xbrlapi.c:851:3: branch_false: ...to here
brltty-6.8/python3/Programs/xbrlapi.c:851:12: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/xbrlapi.c:852:10: branch_true: ...to here
brltty-6.8/python3/Programs/xbrlapi.c:853:10: call_function: calling ‘grabWindows’ from ‘toX_f’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1451]
brltty-6.8/python3/Programs/xbrlapi.c:456:3: warning[-Wanalyzer-malloc-leak]: leak of ‘cur’
brltty-6.8/python3/Programs/xbrlapi.c:780:13: enter_function: entry to ‘toX_f’
brltty-6.8/python3/Programs/xbrlapi.c:802:6: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/xbrlapi.c:804:8: branch_false: ...to here
brltty-6.8/python3/Programs/xbrlapi.c:804:6: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/xbrlapi.c:807:15: branch_false: ...to here
brltty-6.8/python3/Programs/xbrlapi.c:812:8: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/xbrlapi.c:814:10: branch_false: ...to here
brltty-6.8/python3/Programs/xbrlapi.c:814:8: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/xbrlapi.c:816:10: branch_false: ...to here
brltty-6.8/python3/Programs/xbrlapi.c:816:8: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/xbrlapi.c:1175:1: branch_false: ...to here
brltty-6.8/python3/Programs/xbrlapi.c:828:6: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/xbrlapi.c:835:19: branch_false: ...to here
brltty-6.8/python3/Programs/xbrlapi.c:842:8: branch_false: following ‘false’ branch (when the strings are equal)...
brltty-6.8/python3/Programs/xbrlapi.c:851:3: branch_false: ...to here
brltty-6.8/python3/Programs/xbrlapi.c:851:12: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/xbrlapi.c:852:10: branch_true: ...to here
brltty-6.8/python3/Programs/xbrlapi.c:853:10: call_function: calling ‘grabWindows’ from ‘toX_f’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1452]
brltty-6.8/python3/Programs/xbrlapi.c:456:3: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
brltty-6.8/python3/Programs/xbrlapi.c:432:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/xbrlapi.c:432:6: branch_true: ...to here
brltty-6.8/python3/Programs/xbrlapi.c:440:8: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/xbrlapi.c:444:25: branch_false: ...to here
brltty-6.8/python3/Programs/xbrlapi.c:449:6: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/xbrlapi.c:454:8: branch_false: ...to here
brltty-6.8/python3/Programs/xbrlapi.c:455:9: acquire_memory: allocated here
brltty-6.8/python3/Programs/xbrlapi.c:456:3: throw: if ‘XFree’ throws an exception...
brltty-6.8/python3/Programs/xbrlapi.c:456:3: danger: ‘ret’ leaks here; was allocated at [(7)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1453]
brltty-6.8/python3/Programs/xbrlapi.c:457:3: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
brltty-6.8/python3/Programs/xbrlapi.c:432:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/xbrlapi.c:432:6: branch_true: ...to here
brltty-6.8/python3/Programs/xbrlapi.c:440:8: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/xbrlapi.c:444:25: branch_false: ...to here
brltty-6.8/python3/Programs/xbrlapi.c:449:6: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/xbrlapi.c:454:8: branch_false: ...to here
brltty-6.8/python3/Programs/xbrlapi.c:455:9: acquire_memory: allocated here
brltty-6.8/python3/Programs/xbrlapi.c:457:3: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/xbrlapi.c:457:3: branch_true: ...to here
brltty-6.8/python3/Programs/xbrlapi.c:457:3: throw: if ‘fflush’ throws an exception...
brltty-6.8/python3/Programs/xbrlapi.c:457:3: danger: ‘ret’ leaks here; was allocated at [(7)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1454]
brltty-6.8/python3/Programs/xbrlapi.c:468:11: warning[-Wanalyzer-malloc-leak]: leak of ‘input’
brltty-6.8/python3/Programs/xbrlapi.c:432:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/xbrlapi.c:432:6: branch_true: ...to here
brltty-6.8/python3/Programs/xbrlapi.c:440:8: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/xbrlapi.c:444:25: branch_false: ...to here
brltty-6.8/python3/Programs/xbrlapi.c:449:6: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/xbrlapi.c:454:8: branch_false: ...to here
brltty-6.8/python3/Programs/xbrlapi.c:455:9: acquire_memory: allocated here
brltty-6.8/python3/Programs/xbrlapi.c:461:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/xbrlapi.c:468:11: throw: if ‘iconv’ throws an exception...
brltty-6.8/python3/Programs/xbrlapi.c:468:11: danger: ‘input’ leaks here; was allocated at [(7)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1455]
brltty-6.8/python3/Programs/xbrlapi.c:468:11: warning[-Wanalyzer-malloc-leak]: leak of ‘output’
brltty-6.8/python3/Programs/xbrlapi.c:432:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/xbrlapi.c:432:6: branch_true: ...to here
brltty-6.8/python3/Programs/xbrlapi.c:440:8: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/xbrlapi.c:444:25: branch_false: ...to here
brltty-6.8/python3/Programs/xbrlapi.c:449:6: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/xbrlapi.c:454:8: branch_false: ...to here
brltty-6.8/python3/Programs/xbrlapi.c:461:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/xbrlapi.c:465:22: acquire_memory: allocated here
brltty-6.8/python3/Programs/xbrlapi.c:468:11: throw: if ‘iconv’ throws an exception...
brltty-6.8/python3/Programs/xbrlapi.c:468:11: danger: ‘output’ leaks here; was allocated at [(9)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1456]
brltty-6.8/python3/Programs/xbrlapi.c:473:9: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
brltty-6.8/python3/Programs/xbrlapi.c:432:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/xbrlapi.c:432:6: branch_true: ...to here
brltty-6.8/python3/Programs/xbrlapi.c:440:8: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/xbrlapi.c:444:25: branch_false: ...to here
brltty-6.8/python3/Programs/xbrlapi.c:449:6: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/xbrlapi.c:454:8: branch_false: ...to here
brltty-6.8/python3/Programs/xbrlapi.c:455:9: acquire_memory: allocated here
brltty-6.8/python3/Programs/xbrlapi.c:461:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/xbrlapi.c:468:10: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/xbrlapi.c:471:9: branch_false: ...to here
brltty-6.8/python3/Programs/xbrlapi.c:473:9: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/xbrlapi.c:473:9: branch_true: ...to here
brltty-6.8/python3/Programs/xbrlapi.c:473:9: throw: if ‘fflush’ throws an exception...
brltty-6.8/python3/Programs/xbrlapi.c:473:9: danger: ‘ret’ leaks here; was allocated at [(12)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/11)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1457]
brltty-6.8/python3/Programs/xbrlapi.c:500:9: warning[-Wanalyzer-malloc-leak]: leak of ‘name’
brltty-6.8/python3/Programs/xbrlapi.c:494:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/xbrlapi.c:495:9: branch_true: ...to here
brltty-6.8/python3/Programs/xbrlapi.c:495:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/xbrlapi.c:496:11: branch_true: ...to here
brltty-6.8/python3/Programs/xbrlapi.c:498:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/xbrlapi.c:499:16: branch_true: ...to here
brltty-6.8/python3/Programs/xbrlapi.c:499:16: acquire_memory: allocated here
brltty-6.8/python3/Programs/xbrlapi.c:500:9: throw: if ‘XFree’ throws an exception...
brltty-6.8/python3/Programs/xbrlapi.c:500:9: danger: ‘name’ leaks here; was allocated at [(7)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1458]
brltty-6.8/python3/Programs/xbrlapi.c:504:5: warning[-Wanalyzer-malloc-leak]: leak of ‘name’
brltty-6.8/python3/Programs/xbrlapi.c:494:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/xbrlapi.c:495:9: branch_true: ...to here
brltty-6.8/python3/Programs/xbrlapi.c:495:8: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/xbrlapi.c:496:11: branch_true: ...to here
brltty-6.8/python3/Programs/xbrlapi.c:498:10: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/xbrlapi.c:499:16: branch_true: ...to here
brltty-6.8/python3/Programs/xbrlapi.c:499:16: acquire_memory: allocated here
brltty-6.8/python3/Programs/xbrlapi.c:504:5: throw: if ‘XFree’ throws an exception...
brltty-6.8/python3/Programs/xbrlapi.c:504:5: danger: ‘name’ leaks here; was allocated at [(7)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def1459]
brltty-6.8/python3/Programs/xbrlapi.c:702:7: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘state’ where non-null expected
brltty-6.8/python3/Programs/xbrlapi.c:708:13: enter_function: entry to ‘setFocus’
brltty-6.8/python3/Programs/xbrlapi.c:716:6: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/xbrlapi.c:720:21: branch_false: ...to here
brltty-6.8/python3/Programs/xbrlapi.c:730:6: branch_true: following ‘true’ branch (when ‘commandName’ is NULL)...
brltty-6.8/python3/Programs/xbrlapi.c:730:35: branch_true: ...to here
brltty-6.8/python3/Programs/xbrlapi.c:730:35: acquire_memory: this call could return NULL
brltty-6.8/python3/Programs/xbrlapi.c:732:3: call_function: inlined call to ‘writeStateToFile’ from ‘setFocus’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1460]
brltty-6.8/python3/Programs/xbrlapi.c:726:3: warning[-Wanalyzer-malloc-leak]: leak of ‘commandName’
brltty-6.8/python3/Programs/xbrlapi.c:708:13: enter_function: entry to ‘setFocus’
brltty-6.8/python3/Programs/xbrlapi.c:712:27: call_function: calling ‘window_of_Window’ from ‘setFocus’
brltty-6.8/python3/Programs/xbrlapi.c:712:27: return_function: returning to ‘setFocus’ from ‘window_of_Window’
brltty-6.8/python3/Programs/xbrlapi.c:716:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/xbrlapi.c:717:5: branch_true: ...to here
brltty-6.8/python3/Programs/xbrlapi.c:718:19: call_function: calling ‘getWindowApplicationName’ from ‘setFocus’
brltty-6.8/python3/Programs/xbrlapi.c:718:19: return_function: returning to ‘setFocus’ from ‘getWindowApplicationName’
brltty-6.8/python3/Programs/xbrlapi.c:726:3: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/xbrlapi.c:726:3: branch_true: ...to here
brltty-6.8/python3/Programs/xbrlapi.c:726:3: throw: if ‘fflush’ throws an exception...
brltty-6.8/python3/Programs/xbrlapi.c:726:3: danger: ‘commandName’ leaks here; was allocated at [(17)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/16)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1461]
brltty-6.8/python3/Programs/xbrlapi.c:731:3: warning[-Wanalyzer-malloc-leak]: leak of ‘commandName’
brltty-6.8/python3/Programs/xbrlapi.c:708:13: enter_function: entry to ‘setFocus’
brltty-6.8/python3/Programs/xbrlapi.c:712:27: call_function: calling ‘window_of_Window’ from ‘setFocus’
brltty-6.8/python3/Programs/xbrlapi.c:712:27: return_function: returning to ‘setFocus’ from ‘window_of_Window’
brltty-6.8/python3/Programs/xbrlapi.c:716:6: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/xbrlapi.c:717:5: branch_true: ...to here
brltty-6.8/python3/Programs/xbrlapi.c:718:19: call_function: calling ‘getWindowApplicationName’ from ‘setFocus’
brltty-6.8/python3/Programs/xbrlapi.c:718:19: return_function: returning to ‘setFocus’ from ‘getWindowApplicationName’
brltty-6.8/python3/Programs/xbrlapi.c:728:6: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/xbrlapi.c:730:6: branch_false: ...to here
brltty-6.8/python3/Programs/xbrlapi.c:730:6: branch_false: following ‘false’ branch (when ‘commandName’ is non-NULL)...
brltty-6.8/python3/Programs/xbrlapi.c:731:3: branch_false: ...to here
brltty-6.8/python3/Programs/xbrlapi.c:731:3: branch_true: following ‘true’ branch...
brltty-6.8/python3/Programs/xbrlapi.c:731:3: branch_true: ...to here
brltty-6.8/python3/Programs/xbrlapi.c:731:3: throw: if ‘fflush’ throws an exception...
brltty-6.8/python3/Programs/xbrlapi.c:731:3: danger: ‘commandName’ leaks here; was allocated at [(17)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/16)
Error: GCC_ANALYZER_WARNING (CWE-479): [#def1462]
brltty-6.8/python3/Programs/xbrlapi.c:1183:3: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘exit’ from within signal handler
brltty-6.8/python3/Programs/xbrlapi.c:1187:1: enter_function: entry to ‘main’
brltty-6.8/python3/Programs/xbrlapi.c:1198:5: branch_false: following ‘false’ branch...
brltty-6.8/python3/Programs/xbrlapi.c:1183:3: danger: call to ‘exit’ from within signal handler
Scan Properties
| analyzer-version-clippy | 1.92.0 |
| analyzer-version-cppcheck | 2.19.1 |
| analyzer-version-gcc | 16.0.0 |
| analyzer-version-gcc-analyzer | 16.0.0 |
| analyzer-version-shellcheck | 0.11.0 |
| analyzer-version-unicontrol | 0.0.2 |
| enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| exit-code | 0 |
| host | ip-172-16-1-79.us-west-2.compute.internal |
| known-false-positives | /usr/share/csmock/known-false-positives.js |
| known-false-positives-rpm | known-false-positives-0.0.0.20250521.132812.g8eff701.main-1.el9.noarch |
| mock-config | fedora-rawhide-x86_64 |
| project-name | brltty-6.8-6.fc44 |
| store-results-to | /tmp/tmpilxirmmg/brltty-6.8-6.fc44.tar.xz |
| time-created | 2026-01-08 15:42:13 |
| time-finished | 2026-01-08 15:51:31 |
| tool | csmock |
| tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmpilxirmmg/brltty-6.8-6.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpilxirmmg/brltty-6.8-6.fc44.src.rpm' |
| tool-version | csmock-3.8.3.20251215.161544.g62de9a5-1.el9 |