eci.nativecodeanalysis.sarif 51 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286
  1. {
  2. "version": "2.1.0",
  3. "$schema": "https://schemastore.azurewebsites.net/schemas/json/sarif-2.1.0-rtm.5.json",
  4. "runs": [
  5. {
  6. "results": [
  7. {
  8. "ruleId": "C6255",
  9. "message": {
  10. "text": "_alloca kennzeichnet Fehler durch Auslösen einer Stapelüberlaufausnahme. Verwenden Sie stattdessen _malloca."
  11. },
  12. "locations": [
  13. {
  14. "physicalLocation": {
  15. "artifactLocation": {
  16. "uri": "file:///C:/Users/wruser/source/repos/SharpMuPDF/mupdf/thirdparty/zint/backend/eci.c"
  17. },
  18. "region": {
  19. "startLine": 771,
  20. "startColumn": 53,
  21. "endLine": 771,
  22. "endColumn": 53
  23. }
  24. },
  25. "logicalLocations": [
  26. {
  27. "decoratedName": "get_best_eci",
  28. "kind": "function"
  29. }
  30. ]
  31. }
  32. ]
  33. },
  34. {
  35. "ruleId": "C6255",
  36. "message": {
  37. "text": "_alloca kennzeichnet Fehler durch Auslösen einer Stapelüberlaufausnahme. Verwenden Sie stattdessen _malloca."
  38. },
  39. "locations": [
  40. {
  41. "physicalLocation": {
  42. "artifactLocation": {
  43. "uri": "file:///C:/Users/wruser/source/repos/SharpMuPDF/mupdf/thirdparty/zint/backend/eci.c"
  44. },
  45. "region": {
  46. "startLine": 828,
  47. "startColumn": 46,
  48. "endLine": 828,
  49. "endColumn": 46
  50. }
  51. },
  52. "logicalLocations": [
  53. {
  54. "decoratedName": "sjis_utf8",
  55. "kind": "function"
  56. }
  57. ]
  58. }
  59. ]
  60. },
  61. {
  62. "ruleId": "C6385",
  63. "message": {
  64. "text": "Lesen ungültiger Daten von \"utfdata\": die lesbare Größe beträgt \"sizeof(unsigned int)*((*p_length+1))\" Byte, es können jedoch \"8\" Byte gelesen werden."
  65. },
  66. "locations": [
  67. {
  68. "physicalLocation": {
  69. "artifactLocation": {
  70. "uri": "file:///C:/Users/wruser/source/repos/SharpMuPDF/mupdf/thirdparty/zint/backend/eci.c"
  71. },
  72. "region": {
  73. "startLine": 836,
  74. "startColumn": 13,
  75. "endLine": 836,
  76. "endColumn": 45
  77. }
  78. },
  79. "logicalLocations": [
  80. {
  81. "decoratedName": "sjis_utf8",
  82. "kind": "function"
  83. }
  84. ]
  85. }
  86. ],
  87. "codeFlows": [
  88. {
  89. "threadFlows": [
  90. {
  91. "locations": [
  92. {
  93. "location": {
  94. "physicalLocation": {
  95. "artifactLocation": {
  96. "uri": "file:///C:/Users/wruser/source/repos/SharpMuPDF/mupdf/thirdparty/zint/backend/eci.c"
  97. },
  98. "region": {
  99. "startLine": 826,
  100. "startColumn": 9
  101. }
  102. }
  103. },
  104. "importance": "unimportant"
  105. },
  106. {
  107. "location": {
  108. "physicalLocation": {
  109. "artifactLocation": {
  110. "uri": "file:///C:/Users/wruser/source/repos/SharpMuPDF/mupdf/thirdparty/zint/backend/eci.c"
  111. },
  112. "region": {
  113. "startLine": 827,
  114. "startColumn": 18
  115. }
  116. }
  117. },
  118. "importance": "unimportant"
  119. },
  120. {
  121. "location": {
  122. "physicalLocation": {
  123. "artifactLocation": {
  124. "uri": "file:///C:/Users/wruser/source/repos/SharpMuPDF/mupdf/thirdparty/zint/backend/eci.c"
  125. },
  126. "region": {
  127. "startLine": 827,
  128. "startColumn": 21
  129. }
  130. }
  131. },
  132. "importance": "unimportant"
  133. },
  134. {
  135. "location": {
  136. "physicalLocation": {
  137. "artifactLocation": {
  138. "uri": "file:///C:/Users/wruser/source/repos/SharpMuPDF/mupdf/thirdparty/zint/backend/eci.c"
  139. },
  140. "region": {
  141. "startLine": 828,
  142. "startColumn": 19
  143. }
  144. },
  145. "message": {
  146. "text": "\"utfdata\" ist ein Array mit 0 Byte."
  147. }
  148. },
  149. "kinds": [
  150. "declaration"
  151. ],
  152. "importance": "essential"
  153. },
  154. {
  155. "location": {
  156. "physicalLocation": {
  157. "artifactLocation": {
  158. "uri": "file:///C:/Users/wruser/source/repos/SharpMuPDF/mupdf/thirdparty/zint/backend/eci.c"
  159. },
  160. "region": {
  161. "startLine": 830,
  162. "startColumn": 18
  163. }
  164. },
  165. "message": {
  166. "text": "\"utfdata\" ist ein Eingabe-/Ausgabeargument für \"utf8_to_unicode\" (in c:\\users\\wruser\\source\\repos\\sharpmupdf\\mupdf\\thirdparty\\zint\\backend\\common.h:290 deklariert)"
  167. }
  168. },
  169. "kinds": [
  170. "declaration"
  171. ],
  172. "importance": "important"
  173. },
  174. {
  175. "location": {
  176. "physicalLocation": {
  177. "artifactLocation": {
  178. "uri": "file:///C:/Users/wruser/source/repos/SharpMuPDF/mupdf/thirdparty/zint/backend/eci.c"
  179. },
  180. "region": {
  181. "startLine": 831,
  182. "startColumn": 22
  183. }
  184. },
  185. "message": {
  186. "text": "Diese Verzweigung überspringen (Annahme: \"error_number!=0\" ist false)"
  187. }
  188. },
  189. "kinds": [
  190. "branch"
  191. ],
  192. "importance": "important"
  193. },
  194. {
  195. "location": {
  196. "physicalLocation": {
  197. "artifactLocation": {
  198. "uri": "file:///C:/Users/wruser/source/repos/SharpMuPDF/mupdf/thirdparty/zint/backend/eci.c"
  199. },
  200. "region": {
  201. "startLine": 835,
  202. "startColumn": 15
  203. }
  204. }
  205. },
  206. "importance": "unimportant"
  207. },
  208. {
  209. "location": {
  210. "physicalLocation": {
  211. "artifactLocation": {
  212. "uri": "file:///C:/Users/wruser/source/repos/SharpMuPDF/mupdf/thirdparty/zint/backend/eci.c"
  213. },
  214. "region": {
  215. "startLine": 835,
  216. "startColumn": 39
  217. }
  218. },
  219. "message": {
  220. "text": "In diese Schleife eintreten (Annahme: \"i<length\")"
  221. }
  222. },
  223. "kinds": [
  224. "branch"
  225. ],
  226. "importance": "important"
  227. },
  228. {
  229. "location": {
  230. "physicalLocation": {
  231. "artifactLocation": {
  232. "uri": "file:///C:/Users/wruser/source/repos/SharpMuPDF/mupdf/thirdparty/zint/backend/eci.c"
  233. },
  234. "region": {
  235. "startLine": 836,
  236. "startColumn": 13
  237. }
  238. },
  239. "message": {
  240. "text": "Diese Verzweigung überspringen (Annahme: \"<Verzweigungsbedingung>\" ist false)"
  241. }
  242. },
  243. "kinds": [
  244. "branch"
  245. ],
  246. "importance": "important"
  247. },
  248. {
  249. "location": {
  250. "physicalLocation": {
  251. "artifactLocation": {
  252. "uri": "file:///C:/Users/wruser/source/repos/SharpMuPDF/mupdf/thirdparty/zint/backend/eci.c"
  253. },
  254. "region": {
  255. "startLine": 835,
  256. "startColumn": 50
  257. }
  258. },
  259. "message": {
  260. "text": "\"i\" kann gleich 1 sein."
  261. }
  262. },
  263. "kinds": [
  264. "declaration"
  265. ],
  266. "importance": "essential"
  267. },
  268. {
  269. "location": {
  270. "physicalLocation": {
  271. "artifactLocation": {
  272. "uri": "file:///C:/Users/wruser/source/repos/SharpMuPDF/mupdf/thirdparty/zint/backend/eci.c"
  273. },
  274. "region": {
  275. "startLine": 835,
  276. "startColumn": 39
  277. }
  278. },
  279. "message": {
  280. "text": "Diese Schleife fortsetzen (Annahme: \"i<length\")"
  281. }
  282. },
  283. "kinds": [
  284. "branch"
  285. ],
  286. "importance": "important"
  287. },
  288. {
  289. "location": {
  290. "physicalLocation": {
  291. "artifactLocation": {
  292. "uri": "file:///C:/Users/wruser/source/repos/SharpMuPDF/mupdf/thirdparty/zint/backend/eci.c"
  293. },
  294. "region": {
  295. "startLine": 836,
  296. "startColumn": 13
  297. }
  298. },
  299. "message": {
  300. "text": "\"i\" ist ein Eingabe-/Ausgabeargument für \"u_sjis_int\" (in Zeile 218 deklariert)"
  301. }
  302. },
  303. "kinds": [
  304. "declaration"
  305. ],
  306. "importance": "important"
  307. },
  308. {
  309. "location": {
  310. "physicalLocation": {
  311. "artifactLocation": {
  312. "uri": "file:///C:/Users/wruser/source/repos/SharpMuPDF/mupdf/thirdparty/zint/backend/eci.c"
  313. },
  314. "region": {
  315. "startLine": 836,
  316. "startColumn": 13
  317. }
  318. },
  319. "message": {
  320. "text": "Diese Verzweigung überspringen (Annahme: \"<Verzweigungsbedingung>\" ist false)"
  321. }
  322. },
  323. "kinds": [
  324. "branch"
  325. ],
  326. "importance": "important"
  327. },
  328. {
  329. "location": {
  330. "physicalLocation": {
  331. "artifactLocation": {
  332. "uri": "file:///C:/Users/wruser/source/repos/SharpMuPDF/mupdf/thirdparty/zint/backend/eci.c"
  333. },
  334. "region": {
  335. "startLine": 836,
  336. "startColumn": 13
  337. }
  338. },
  339. "message": {
  340. "text": "Ungültiger Lesevorgang von \"utfdata\" (außerhalb des lesbaren Bereichs)"
  341. }
  342. },
  343. "kinds": [
  344. "usage"
  345. ],
  346. "importance": "essential"
  347. }
  348. ]
  349. }
  350. ]
  351. }
  352. ]
  353. },
  354. {
  355. "ruleId": "C6255",
  356. "message": {
  357. "text": "_alloca kennzeichnet Fehler durch Auslösen einer Stapelüberlaufausnahme. Verwenden Sie stattdessen _malloca."
  358. },
  359. "locations": [
  360. {
  361. "physicalLocation": {
  362. "artifactLocation": {
  363. "uri": "file:///C:/Users/wruser/source/repos/SharpMuPDF/mupdf/thirdparty/zint/backend/eci.c"
  364. },
  365. "region": {
  366. "startLine": 896,
  367. "startColumn": 54,
  368. "endLine": 896,
  369. "endColumn": 54
  370. }
  371. },
  372. "logicalLocations": [
  373. {
  374. "decoratedName": "sjis_utf8_to_eci",
  375. "kind": "function"
  376. }
  377. ]
  378. }
  379. ]
  380. },
  381. {
  382. "ruleId": "C6255",
  383. "message": {
  384. "text": "_alloca kennzeichnet Fehler durch Auslösen einer Stapelüberlaufausnahme. Verwenden Sie stattdessen _malloca."
  385. },
  386. "locations": [
  387. {
  388. "physicalLocation": {
  389. "artifactLocation": {
  390. "uri": "file:///C:/Users/wruser/source/repos/SharpMuPDF/mupdf/thirdparty/zint/backend/eci.c"
  391. },
  392. "region": {
  393. "startLine": 919,
  394. "startColumn": 46,
  395. "endLine": 919,
  396. "endColumn": 46
  397. }
  398. },
  399. "logicalLocations": [
  400. {
  401. "decoratedName": "gb2312_utf8",
  402. "kind": "function"
  403. }
  404. ]
  405. }
  406. ]
  407. },
  408. {
  409. "ruleId": "C6385",
  410. "message": {
  411. "text": "Lesen ungültiger Daten von \"utfdata\": die lesbare Größe beträgt \"sizeof(unsigned int)*((*p_length+1))\" Byte, es können jedoch \"8\" Byte gelesen werden."
  412. },
  413. "locations": [
  414. {
  415. "physicalLocation": {
  416. "artifactLocation": {
  417. "uri": "file:///C:/Users/wruser/source/repos/SharpMuPDF/mupdf/thirdparty/zint/backend/eci.c"
  418. },
  419. "region": {
  420. "startLine": 927,
  421. "startColumn": 13,
  422. "endLine": 927,
  423. "endColumn": 26
  424. }
  425. },
  426. "logicalLocations": [
  427. {
  428. "decoratedName": "gb2312_utf8",
  429. "kind": "function"
  430. }
  431. ]
  432. }
  433. ],
  434. "codeFlows": [
  435. {
  436. "threadFlows": [
  437. {
  438. "locations": [
  439. {
  440. "location": {
  441. "physicalLocation": {
  442. "artifactLocation": {
  443. "uri": "file:///C:/Users/wruser/source/repos/SharpMuPDF/mupdf/thirdparty/zint/backend/eci.c"
  444. },
  445. "region": {
  446. "startLine": 917,
  447. "startColumn": 9
  448. }
  449. }
  450. },
  451. "importance": "unimportant"
  452. },
  453. {
  454. "location": {
  455. "physicalLocation": {
  456. "artifactLocation": {
  457. "uri": "file:///C:/Users/wruser/source/repos/SharpMuPDF/mupdf/thirdparty/zint/backend/eci.c"
  458. },
  459. "region": {
  460. "startLine": 918,
  461. "startColumn": 18
  462. }
  463. }
  464. },
  465. "importance": "unimportant"
  466. },
  467. {
  468. "location": {
  469. "physicalLocation": {
  470. "artifactLocation": {
  471. "uri": "file:///C:/Users/wruser/source/repos/SharpMuPDF/mupdf/thirdparty/zint/backend/eci.c"
  472. },
  473. "region": {
  474. "startLine": 918,
  475. "startColumn": 21
  476. }
  477. }
  478. },
  479. "importance": "unimportant"
  480. },
  481. {
  482. "location": {
  483. "physicalLocation": {
  484. "artifactLocation": {
  485. "uri": "file:///C:/Users/wruser/source/repos/SharpMuPDF/mupdf/thirdparty/zint/backend/eci.c"
  486. },
  487. "region": {
  488. "startLine": 919,
  489. "startColumn": 19
  490. }
  491. },
  492. "message": {
  493. "text": "\"utfdata\" ist ein Array mit 0 Byte."
  494. }
  495. },
  496. "kinds": [
  497. "declaration"
  498. ],
  499. "importance": "essential"
  500. },
  501. {
  502. "location": {
  503. "physicalLocation": {
  504. "artifactLocation": {
  505. "uri": "file:///C:/Users/wruser/source/repos/SharpMuPDF/mupdf/thirdparty/zint/backend/eci.c"
  506. },
  507. "region": {
  508. "startLine": 921,
  509. "startColumn": 18
  510. }
  511. },
  512. "message": {
  513. "text": "\"utfdata\" ist ein Eingabe-/Ausgabeargument für \"utf8_to_unicode\" (in c:\\users\\wruser\\source\\repos\\sharpmupdf\\mupdf\\thirdparty\\zint\\backend\\common.h:290 deklariert)"
  514. }
  515. },
  516. "kinds": [
  517. "declaration"
  518. ],
  519. "importance": "important"
  520. },
  521. {
  522. "location": {
  523. "physicalLocation": {
  524. "artifactLocation": {
  525. "uri": "file:///C:/Users/wruser/source/repos/SharpMuPDF/mupdf/thirdparty/zint/backend/eci.c"
  526. },
  527. "region": {
  528. "startLine": 922,
  529. "startColumn": 22
  530. }
  531. },
  532. "message": {
  533. "text": "Diese Verzweigung überspringen (Annahme: \"error_number!=0\" ist false)"
  534. }
  535. },
  536. "kinds": [
  537. "branch"
  538. ],
  539. "importance": "important"
  540. },
  541. {
  542. "location": {
  543. "physicalLocation": {
  544. "artifactLocation": {
  545. "uri": "file:///C:/Users/wruser/source/repos/SharpMuPDF/mupdf/thirdparty/zint/backend/eci.c"
  546. },
  547. "region": {
  548. "startLine": 926,
  549. "startColumn": 15
  550. }
  551. }
  552. },
  553. "importance": "unimportant"
  554. },
  555. {
  556. "location": {
  557. "physicalLocation": {
  558. "artifactLocation": {
  559. "uri": "file:///C:/Users/wruser/source/repos/SharpMuPDF/mupdf/thirdparty/zint/backend/eci.c"
  560. },
  561. "region": {
  562. "startLine": 926,
  563. "startColumn": 39
  564. }
  565. },
  566. "message": {
  567. "text": "In diese Schleife eintreten (Annahme: \"i<length\")"
  568. }
  569. },
  570. "kinds": [
  571. "branch"
  572. ],
  573. "importance": "important"
  574. },
  575. {
  576. "location": {
  577. "physicalLocation": {
  578. "artifactLocation": {
  579. "uri": "file:///C:/Users/wruser/source/repos/SharpMuPDF/mupdf/thirdparty/zint/backend/eci.c"
  580. },
  581. "region": {
  582. "startLine": 927,
  583. "startColumn": 24
  584. }
  585. },
  586. "message": {
  587. "text": "Diese Verzweigung überspringen (Annahme: \"utfdata[i]<128\" ist false)"
  588. }
  589. },
  590. "kinds": [
  591. "branch"
  592. ],
  593. "importance": "important"
  594. },
  595. {
  596. "location": {
  597. "physicalLocation": {
  598. "artifactLocation": {
  599. "uri": "file:///C:/Users/wruser/source/repos/SharpMuPDF/mupdf/thirdparty/zint/backend/eci.c"
  600. },
  601. "region": {
  602. "startLine": 930,
  603. "startColumn": 17
  604. }
  605. },
  606. "message": {
  607. "text": "Diese Verzweigung überspringen (Annahme: \"<Verzweigungsbedingung>\" ist false)"
  608. }
  609. },
  610. "kinds": [
  611. "branch"
  612. ],
  613. "importance": "important"
  614. },
  615. {
  616. "location": {
  617. "physicalLocation": {
  618. "artifactLocation": {
  619. "uri": "file:///C:/Users/wruser/source/repos/SharpMuPDF/mupdf/thirdparty/zint/backend/eci.c"
  620. },
  621. "region": {
  622. "startLine": 926,
  623. "startColumn": 50
  624. }
  625. },
  626. "message": {
  627. "text": "\"i\" kann gleich 1 sein."
  628. }
  629. },
  630. "kinds": [
  631. "declaration"
  632. ],
  633. "importance": "essential"
  634. },
  635. {
  636. "location": {
  637. "physicalLocation": {
  638. "artifactLocation": {
  639. "uri": "file:///C:/Users/wruser/source/repos/SharpMuPDF/mupdf/thirdparty/zint/backend/eci.c"
  640. },
  641. "region": {
  642. "startLine": 926,
  643. "startColumn": 39
  644. }
  645. },
  646. "message": {
  647. "text": "Diese Schleife fortsetzen (Annahme: \"i<length\")"
  648. }
  649. },
  650. "kinds": [
  651. "branch"
  652. ],
  653. "importance": "important"
  654. },
  655. {
  656. "location": {
  657. "physicalLocation": {
  658. "artifactLocation": {
  659. "uri": "file:///C:/Users/wruser/source/repos/SharpMuPDF/mupdf/thirdparty/zint/backend/eci.c"
  660. },
  661. "region": {
  662. "startLine": 927,
  663. "startColumn": 24
  664. }
  665. },
  666. "message": {
  667. "text": "Diese Verzweigung überspringen (Annahme: \"utfdata[i]<128\" ist false)"
  668. }
  669. },
  670. "kinds": [
  671. "branch"
  672. ],
  673. "importance": "important"
  674. },
  675. {
  676. "location": {
  677. "physicalLocation": {
  678. "artifactLocation": {
  679. "uri": "file:///C:/Users/wruser/source/repos/SharpMuPDF/mupdf/thirdparty/zint/backend/eci.c"
  680. },
  681. "region": {
  682. "startLine": 927,
  683. "startColumn": 24
  684. }
  685. },
  686. "message": {
  687. "text": "Ungültiger Lesevorgang von \"utfdata\" (außerhalb des lesbaren Bereichs)"
  688. }
  689. },
  690. "kinds": [
  691. "usage"
  692. ],
  693. "importance": "essential"
  694. }
  695. ]
  696. }
  697. ]
  698. }
  699. ]
  700. },
  701. {
  702. "ruleId": "C6255",
  703. "message": {
  704. "text": "_alloca kennzeichnet Fehler durch Auslösen einer Stapelüberlaufausnahme. Verwenden Sie stattdessen _malloca."
  705. },
  706. "locations": [
  707. {
  708. "physicalLocation": {
  709. "artifactLocation": {
  710. "uri": "file:///C:/Users/wruser/source/repos/SharpMuPDF/mupdf/thirdparty/zint/backend/eci.c"
  711. },
  712. "region": {
  713. "startLine": 998,
  714. "startColumn": 54,
  715. "endLine": 998,
  716. "endColumn": 54
  717. }
  718. },
  719. "logicalLocations": [
  720. {
  721. "decoratedName": "gb2312_utf8_to_eci",
  722. "kind": "function"
  723. }
  724. ]
  725. }
  726. ]
  727. },
  728. {
  729. "ruleId": "C6255",
  730. "message": {
  731. "text": "_alloca kennzeichnet Fehler durch Auslösen einer Stapelüberlaufausnahme. Verwenden Sie stattdessen _malloca."
  732. },
  733. "locations": [
  734. {
  735. "physicalLocation": {
  736. "artifactLocation": {
  737. "uri": "file:///C:/Users/wruser/source/repos/SharpMuPDF/mupdf/thirdparty/zint/backend/eci.c"
  738. },
  739. "region": {
  740. "startLine": 1021,
  741. "startColumn": 46,
  742. "endLine": 1021,
  743. "endColumn": 46
  744. }
  745. },
  746. "logicalLocations": [
  747. {
  748. "decoratedName": "gb18030_utf8",
  749. "kind": "function"
  750. }
  751. ]
  752. }
  753. ]
  754. },
  755. {
  756. "ruleId": "C6385",
  757. "message": {
  758. "text": "Lesen ungültiger Daten von \"utfdata\": die lesbare Größe beträgt \"sizeof(unsigned int)*((*p_length+1))\" Byte, es können jedoch \"8\" Byte gelesen werden."
  759. },
  760. "locations": [
  761. {
  762. "physicalLocation": {
  763. "artifactLocation": {
  764. "uri": "file:///C:/Users/wruser/source/repos/SharpMuPDF/mupdf/thirdparty/zint/backend/eci.c"
  765. },
  766. "region": {
  767. "startLine": 1029,
  768. "startColumn": 13,
  769. "endLine": 1029,
  770. "endColumn": 26
  771. }
  772. },
  773. "logicalLocations": [
  774. {
  775. "decoratedName": "gb18030_utf8",
  776. "kind": "function"
  777. }
  778. ]
  779. }
  780. ],
  781. "codeFlows": [
  782. {
  783. "threadFlows": [
  784. {
  785. "locations": [
  786. {
  787. "location": {
  788. "physicalLocation": {
  789. "artifactLocation": {
  790. "uri": "file:///C:/Users/wruser/source/repos/SharpMuPDF/mupdf/thirdparty/zint/backend/eci.c"
  791. },
  792. "region": {
  793. "startLine": 1019,
  794. "startColumn": 9
  795. }
  796. }
  797. },
  798. "importance": "unimportant"
  799. },
  800. {
  801. "location": {
  802. "physicalLocation": {
  803. "artifactLocation": {
  804. "uri": "file:///C:/Users/wruser/source/repos/SharpMuPDF/mupdf/thirdparty/zint/backend/eci.c"
  805. },
  806. "region": {
  807. "startLine": 1019,
  808. "startColumn": 23
  809. }
  810. }
  811. },
  812. "importance": "unimportant"
  813. },
  814. {
  815. "location": {
  816. "physicalLocation": {
  817. "artifactLocation": {
  818. "uri": "file:///C:/Users/wruser/source/repos/SharpMuPDF/mupdf/thirdparty/zint/backend/eci.c"
  819. },
  820. "region": {
  821. "startLine": 1020,
  822. "startColumn": 18
  823. }
  824. }
  825. },
  826. "importance": "unimportant"
  827. },
  828. {
  829. "location": {
  830. "physicalLocation": {
  831. "artifactLocation": {
  832. "uri": "file:///C:/Users/wruser/source/repos/SharpMuPDF/mupdf/thirdparty/zint/backend/eci.c"
  833. },
  834. "region": {
  835. "startLine": 1020,
  836. "startColumn": 21
  837. }
  838. }
  839. },
  840. "importance": "unimportant"
  841. },
  842. {
  843. "location": {
  844. "physicalLocation": {
  845. "artifactLocation": {
  846. "uri": "file:///C:/Users/wruser/source/repos/SharpMuPDF/mupdf/thirdparty/zint/backend/eci.c"
  847. },
  848. "region": {
  849. "startLine": 1020,
  850. "startColumn": 24
  851. }
  852. }
  853. },
  854. "importance": "unimportant"
  855. },
  856. {
  857. "location": {
  858. "physicalLocation": {
  859. "artifactLocation": {
  860. "uri": "file:///C:/Users/wruser/source/repos/SharpMuPDF/mupdf/thirdparty/zint/backend/eci.c"
  861. },
  862. "region": {
  863. "startLine": 1021,
  864. "startColumn": 19
  865. }
  866. },
  867. "message": {
  868. "text": "\"utfdata\" ist ein Array mit 0 Byte."
  869. }
  870. },
  871. "kinds": [
  872. "declaration"
  873. ],
  874. "importance": "essential"
  875. },
  876. {
  877. "location": {
  878. "physicalLocation": {
  879. "artifactLocation": {
  880. "uri": "file:///C:/Users/wruser/source/repos/SharpMuPDF/mupdf/thirdparty/zint/backend/eci.c"
  881. },
  882. "region": {
  883. "startLine": 1023,
  884. "startColumn": 18
  885. }
  886. },
  887. "message": {
  888. "text": "\"utfdata\" ist ein Eingabe-/Ausgabeargument für \"utf8_to_unicode\" (in c:\\users\\wruser\\source\\repos\\sharpmupdf\\mupdf\\thirdparty\\zint\\backend\\common.h:290 deklariert)"
  889. }
  890. },
  891. "kinds": [
  892. "declaration"
  893. ],
  894. "importance": "important"
  895. },
  896. {
  897. "location": {
  898. "physicalLocation": {
  899. "artifactLocation": {
  900. "uri": "file:///C:/Users/wruser/source/repos/SharpMuPDF/mupdf/thirdparty/zint/backend/eci.c"
  901. },
  902. "region": {
  903. "startLine": 1024,
  904. "startColumn": 22
  905. }
  906. },
  907. "message": {
  908. "text": "Diese Verzweigung überspringen (Annahme: \"error_number!=0\" ist false)"
  909. }
  910. },
  911. "kinds": [
  912. "branch"
  913. ],
  914. "importance": "important"
  915. },
  916. {
  917. "location": {
  918. "physicalLocation": {
  919. "artifactLocation": {
  920. "uri": "file:///C:/Users/wruser/source/repos/SharpMuPDF/mupdf/thirdparty/zint/backend/eci.c"
  921. },
  922. "region": {
  923. "startLine": 1028,
  924. "startColumn": 22
  925. }
  926. }
  927. },
  928. "importance": "unimportant"
  929. },
  930. {
  931. "location": {
  932. "physicalLocation": {
  933. "artifactLocation": {
  934. "uri": "file:///C:/Users/wruser/source/repos/SharpMuPDF/mupdf/thirdparty/zint/backend/eci.c"
  935. },
  936. "region": {
  937. "startLine": 1028,
  938. "startColumn": 46
  939. }
  940. },
  941. "message": {
  942. "text": "In diese Schleife eintreten (Annahme: \"i<length\")"
  943. }
  944. },
  945. "kinds": [
  946. "branch"
  947. ],
  948. "importance": "important"
  949. },
  950. {
  951. "location": {
  952. "physicalLocation": {
  953. "artifactLocation": {
  954. "uri": "file:///C:/Users/wruser/source/repos/SharpMuPDF/mupdf/thirdparty/zint/backend/eci.c"
  955. },
  956. "region": {
  957. "startLine": 1029,
  958. "startColumn": 24
  959. }
  960. },
  961. "message": {
  962. "text": "Diese Verzweigung überspringen (Annahme: \"utfdata[i]<128\" ist false)"
  963. }
  964. },
  965. "kinds": [
  966. "branch"
  967. ],
  968. "importance": "important"
  969. },
  970. {
  971. "location": {
  972. "physicalLocation": {
  973. "artifactLocation": {
  974. "uri": "file:///C:/Users/wruser/source/repos/SharpMuPDF/mupdf/thirdparty/zint/backend/eci.c"
  975. },
  976. "region": {
  977. "startLine": 1032,
  978. "startColumn": 17
  979. }
  980. }
  981. },
  982. "importance": "unimportant"
  983. },
  984. {
  985. "location": {
  986. "physicalLocation": {
  987. "artifactLocation": {
  988. "uri": "file:///C:/Users/wruser/source/repos/SharpMuPDF/mupdf/thirdparty/zint/backend/eci.c"
  989. },
  990. "region": {
  991. "startLine": 1033,
  992. "startColumn": 21
  993. }
  994. },
  995. "message": {
  996. "text": "Diese Verzweigung überspringen (Annahme: \"ret==0\" ist false)"
  997. }
  998. },
  999. "kinds": [
  1000. "branch"
  1001. ],
  1002. "importance": "important"
  1003. },
  1004. {
  1005. "location": {
  1006. "physicalLocation": {
  1007. "artifactLocation": {
  1008. "uri": "file:///C:/Users/wruser/source/repos/SharpMuPDF/mupdf/thirdparty/zint/backend/eci.c"
  1009. },
  1010. "region": {
  1011. "startLine": 1036,
  1012. "startColumn": 21
  1013. }
  1014. }
  1015. },
  1016. "importance": "unimportant"
  1017. },
  1018. {
  1019. "location": {
  1020. "physicalLocation": {
  1021. "artifactLocation": {
  1022. "uri": "file:///C:/Users/wruser/source/repos/SharpMuPDF/mupdf/thirdparty/zint/backend/eci.c"
  1023. },
  1024. "region": {
  1025. "startLine": 1028,
  1026. "startColumn": 59
  1027. }
  1028. },
  1029. "message": {
  1030. "text": "\"i\" kann gleich 1 sein."
  1031. }
  1032. },
  1033. "kinds": [
  1034. "declaration"
  1035. ],
  1036. "importance": "essential"
  1037. },
  1038. {
  1039. "location": {
  1040. "physicalLocation": {
  1041. "artifactLocation": {
  1042. "uri": "file:///C:/Users/wruser/source/repos/SharpMuPDF/mupdf/thirdparty/zint/backend/eci.c"
  1043. },
  1044. "region": {
  1045. "startLine": 1028,
  1046. "startColumn": 46
  1047. }
  1048. },
  1049. "message": {
  1050. "text": "Diese Schleife fortsetzen (Annahme: \"i<length\")"
  1051. }
  1052. },
  1053. "kinds": [
  1054. "branch"
  1055. ],
  1056. "importance": "important"
  1057. },
  1058. {
  1059. "location": {
  1060. "physicalLocation": {
  1061. "artifactLocation": {
  1062. "uri": "file:///C:/Users/wruser/source/repos/SharpMuPDF/mupdf/thirdparty/zint/backend/eci.c"
  1063. },
  1064. "region": {
  1065. "startLine": 1029,
  1066. "startColumn": 24
  1067. }
  1068. },
  1069. "message": {
  1070. "text": "Diese Verzweigung überspringen (Annahme: \"utfdata[i]<128\" ist false)"
  1071. }
  1072. },
  1073. "kinds": [
  1074. "branch"
  1075. ],
  1076. "importance": "important"
  1077. },
  1078. {
  1079. "location": {
  1080. "physicalLocation": {
  1081. "artifactLocation": {
  1082. "uri": "file:///C:/Users/wruser/source/repos/SharpMuPDF/mupdf/thirdparty/zint/backend/eci.c"
  1083. },
  1084. "region": {
  1085. "startLine": 1029,
  1086. "startColumn": 24
  1087. }
  1088. },
  1089. "message": {
  1090. "text": "Ungültiger Lesevorgang von \"utfdata\" (außerhalb des lesbaren Bereichs)"
  1091. }
  1092. },
  1093. "kinds": [
  1094. "usage"
  1095. ],
  1096. "importance": "essential"
  1097. }
  1098. ]
  1099. }
  1100. ]
  1101. }
  1102. ]
  1103. },
  1104. {
  1105. "ruleId": "C6255",
  1106. "message": {
  1107. "text": "_alloca kennzeichnet Fehler durch Auslösen einer Stapelüberlaufausnahme. Verwenden Sie stattdessen _malloca."
  1108. },
  1109. "locations": [
  1110. {
  1111. "physicalLocation": {
  1112. "artifactLocation": {
  1113. "uri": "file:///C:/Users/wruser/source/repos/SharpMuPDF/mupdf/thirdparty/zint/backend/eci.c"
  1114. },
  1115. "region": {
  1116. "startLine": 1117,
  1117. "startColumn": 54,
  1118. "endLine": 1117,
  1119. "endColumn": 54
  1120. }
  1121. },
  1122. "logicalLocations": [
  1123. {
  1124. "decoratedName": "gb18030_utf8_to_eci",
  1125. "kind": "function"
  1126. }
  1127. ]
  1128. }
  1129. ]
  1130. }
  1131. ],
  1132. "tool": {
  1133. "driver": {
  1134. "name": "PREfast",
  1135. "fullName": "PREfast Code Analysis",
  1136. "version": "14.29.30159.0",
  1137. "informationUri": "https://aka.ms/cpp/ca"
  1138. }
  1139. },
  1140. "invocations": [
  1141. {
  1142. "commandLine": "D:\\Programme\\VS2022\\VC\\Tools\\MSVC\\14.29.30133\\bin\\HostX64\\x64\\c1.dll -ACf{1F7B090C-16DB-4822-966A-A93D26ED4681} -ACpmspft140.dll -Alint -D_PREFAST_ -D_AST_FE_ -Analyze -zm0x00007FF62CE9FC60 -il C:\\Users\\wruser\\AppData\\Local\\Temp\\_CL_28ecd5f1ast -typedil -f ..\\..\\thirdparty\\zint\\backend\\eci.c -Ze -D_MSC_EXTENSIONS -Zp16 -pc \\:/ -D_MSC_VER=1929 -D_MSC_FULL_VER=192930159 -D_MSC_BUILD=0 -D_M_AMD64=100 -ZILP448 -D_M_X64=100 -D_WIN64 -D_WIN32 -I C:\\Users\\wruser\\source\\repos\\SharpMuPDF\\mupdf\\thirdparty\\zxing-cpp\\core\\src -I C:\\Users\\wruser\\source\\repos\\SharpMuPDF\\mupdf\\scripts\\zxing-cpp\\ -I C:\\Users\\wruser\\source\\repos\\SharpMuPDF\\mupdf\\thirdparty\\zint\\backend -nologo -W 3 -diagnostics:column -GF -Og -Ot -Oy -Oi -ltcg -DCODE_ANALYSIS -DZXING_HAS_CHAR8 -DZXING_USE_ZINT -DZXING_EXPERIMENTAL_API -DZINT_NO_PNG -D_CRT_SECURE_NO_WARNINGS -DWIN32 -DNDEBUG -D_LIB -D_MT -D_DLL -GS -D_M_FP_PRECISE -Fox64\\Release\\libzxing\\eci.obj -FdC:\\Users\\wruser\\source\\repos\\SharpMuPDF\\x64\\Release\\libzxing.pdb -external:W 3 -Gd -wd 4244 -wd 4267 -wd 4566 -wd 4018 -analyze:projectdirectory C:\\Users\\wruser\\source\\repos\\SharpMuPDF\\mupdf\\platform\\win32 -analyze:rulesetdirectory ;D:\\Programme\\VS2022\\Team Tools\\Static Analysis Tools\\\\Rule Sets; -analyze:ruleset D:\\Programme\\VS2022\\Team Tools\\Static Analysis Tools\\Rule Sets\\NativeRecommendedRules.ruleset -analyze:quiet -analyze:plugin D:\\Programme\\VS2022\\VC\\Tools\\MSVC\\14.29.30133\\bin\\HostX64\\x64\\EspXEngine.dll -FC -errorreport:prompt -I D:\\Programme\\VS2022\\VC\\Tools\\MSVC\\14.29.30133\\include -I D:\\Programme\\VS2022\\VC\\Tools\\MSVC\\14.29.30133\\atlmfc\\include -I D:\\Programme\\VS2022\\VC\\Auxiliary\\VS\\include -I C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.22621.0\\ucrt -I C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.22621.0\\um -I C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.22621.0\\shared -I C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.22621.0\\winrt -I C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.22621.0\\cppwinrt -I C:\\Program Files (x86)\\Windows Kits\\NETFXSDK\\4.8\\Include\\um -external:I D:\\Programme\\VS2022\\VC\\Tools\\MSVC\\14.29.30133\\include -I D:\\Programme\\VS2022\\VC\\Tools\\MSVC\\14.29.30133\\include -external:I D:\\Programme\\VS2022\\VC\\Tools\\MSVC\\14.29.30133\\atlmfc\\include -I D:\\Programme\\VS2022\\VC\\Tools\\MSVC\\14.29.30133\\atlmfc\\include -external:I D:\\Programme\\VS2022\\VC\\Auxiliary\\VS\\include -I D:\\Programme\\VS2022\\VC\\Auxiliary\\VS\\include -external:I C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.22621.0\\ucrt -I C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.22621.0\\ucrt -external:I C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.22621.0\\um -I C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.22621.0\\um -external:I C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.22621.0\\shared -I C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.22621.0\\shared -external:I C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.22621.0\\winrt -I C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.22621.0\\winrt -external:I C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.22621.0\\cppwinrt -I C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.22621.0\\cppwinrt -external:I C:\\Program Files (x86)\\Windows Kits\\NETFXSDK\\4.8\\Include\\um -I C:\\Program Files (x86)\\Windows Kits\\NETFXSDK\\4.8\\Include\\um",
  1143. "executionSuccessful": true
  1144. }
  1145. ],
  1146. "artifacts": [
  1147. {
  1148. "location": {
  1149. "uri": "file:///C:/Users/wruser/source/repos/SharpMuPDF/mupdf/thirdparty/zint/backend/emf.c"
  1150. },
  1151. "roles": [
  1152. "analysisTarget",
  1153. "resultFile"
  1154. ],
  1155. "hashes": {
  1156. "md5": "6d535616aa38ecd3bd9157b4f1ba2f1e"
  1157. }
  1158. },
  1159. {
  1160. "location": {
  1161. "uri": "file:///c:/users/wruser/source/repos/sharpmupdf/mupdf/thirdparty/zint/backend/common.h"
  1162. },
  1163. "hashes": {
  1164. "md5": "4204dbbc879b836e2d98ba7e947037ca"
  1165. }
  1166. },
  1167. {
  1168. "location": {
  1169. "uri": "file:///c:/users/wruser/source/repos/sharpmupdf/mupdf/thirdparty/zint/backend/zint.h"
  1170. },
  1171. "hashes": {
  1172. "md5": "52ace3d3df4d440075f3460c1759b827"
  1173. }
  1174. },
  1175. {
  1176. "location": {
  1177. "uri": "file:///c:/users/wruser/source/repos/sharpmupdf/mupdf/thirdparty/zint/backend/zintconfig.h"
  1178. },
  1179. "hashes": {
  1180. "md5": "c79a63ec9936f235fa16610640c6ddb4"
  1181. }
  1182. },
  1183. {
  1184. "location": {
  1185. "uri": "file:///c:/users/wruser/source/repos/sharpmupdf/mupdf/thirdparty/zint/backend/filemem.h"
  1186. },
  1187. "hashes": {
  1188. "md5": "6af75d55db05fdefb3fdc0db6e6fb1a2"
  1189. }
  1190. },
  1191. {
  1192. "location": {
  1193. "uri": "file:///c:/users/wruser/source/repos/sharpmupdf/mupdf/thirdparty/zint/backend/output.h"
  1194. },
  1195. "hashes": {
  1196. "md5": "15c62089655f396890f0d781baffdfef"
  1197. }
  1198. },
  1199. {
  1200. "location": {
  1201. "uri": "file:///c:/users/wruser/source/repos/sharpmupdf/mupdf/thirdparty/zint/backend/emf.h"
  1202. },
  1203. "hashes": {
  1204. "md5": "998da547ba5b99b51f7a0b0f1f0a47c9"
  1205. }
  1206. },
  1207. {
  1208. "location": {
  1209. "uri": "file:///C:/Users/wruser/source/repos/SharpMuPDF/mupdf/thirdparty/zint/backend/eci.c"
  1210. },
  1211. "roles": [
  1212. "analysisTarget",
  1213. "resultFile"
  1214. ],
  1215. "hashes": {
  1216. "md5": "e9678c6c10d7b5d416c03c8858c45a9b"
  1217. }
  1218. },
  1219. {
  1220. "location": {
  1221. "uri": "file:///c:/users/wruser/source/repos/sharpmupdf/mupdf/thirdparty/zint/backend/eci.h"
  1222. },
  1223. "hashes": {
  1224. "md5": "f2f0f7c011dc0a0d7c510f2fdbc70c6c"
  1225. }
  1226. },
  1227. {
  1228. "location": {
  1229. "uri": "file:///c:/users/wruser/source/repos/sharpmupdf/mupdf/thirdparty/zint/backend/eci_sb.h"
  1230. },
  1231. "hashes": {
  1232. "md5": "26ea335e85f642fb5339f3fc239e686a"
  1233. }
  1234. },
  1235. {
  1236. "location": {
  1237. "uri": "file:///c:/users/wruser/source/repos/sharpmupdf/mupdf/thirdparty/zint/backend/big5.h"
  1238. },
  1239. "hashes": {
  1240. "md5": "e0c8c14a7b09e5675d12982e3cb39a32"
  1241. }
  1242. },
  1243. {
  1244. "location": {
  1245. "uri": "file:///c:/users/wruser/source/repos/sharpmupdf/mupdf/thirdparty/zint/backend/gb18030.h"
  1246. },
  1247. "hashes": {
  1248. "md5": "39f30b9e58753bc6f287fcecb6cc0cfa"
  1249. }
  1250. },
  1251. {
  1252. "location": {
  1253. "uri": "file:///c:/users/wruser/source/repos/sharpmupdf/mupdf/thirdparty/zint/backend/gb2312.h"
  1254. },
  1255. "hashes": {
  1256. "md5": "6fce7e1ba34bc0c1375189bd99e55a72"
  1257. }
  1258. },
  1259. {
  1260. "location": {
  1261. "uri": "file:///c:/users/wruser/source/repos/sharpmupdf/mupdf/thirdparty/zint/backend/gbk.h"
  1262. },
  1263. "hashes": {
  1264. "md5": "3d5503c61be97727c804403048bd4233"
  1265. }
  1266. },
  1267. {
  1268. "location": {
  1269. "uri": "file:///c:/users/wruser/source/repos/sharpmupdf/mupdf/thirdparty/zint/backend/ksx1001.h"
  1270. },
  1271. "hashes": {
  1272. "md5": "55d60b433b9a99e93afe5a233085f810"
  1273. }
  1274. },
  1275. {
  1276. "location": {
  1277. "uri": "file:///c:/users/wruser/source/repos/sharpmupdf/mupdf/thirdparty/zint/backend/sjis.h"
  1278. },
  1279. "hashes": {
  1280. "md5": "72248d7bc4d344332d8cac0034d817ee"
  1281. }
  1282. }
  1283. ]
  1284. }
  1285. ]
  1286. }