[{"data":1,"prerenderedAt":4595},["ShallowReactive",2],{"global-navigation":3,"page-\u002Fsei-cert-c-coding-standard\u002Ferrata-for-sei-cert-c-coding-standard-2016-edition":28,"surround-\u002Fsei-cert-c-coding-standard\u002Ferrata-for-sei-cert-c-coding-standard-2016-edition":2793,"sidebar-sei-cert-c-coding-standard":2802},[4,8],{"title":5,"path":6,"_path":6,"fromAppConfig":7},"Home","\u002F",true,{"title":9,"path":10,"children":11,"_path":27,"fromAppConfig":7},"Coding Standards","\u002Fcoding-standards\u002F",[12,15,18,21,24],{"title":13,"path":14},"Android Coding Standard","\u002Fandroid-secure-coding-standard\u002F",{"title":16,"path":17},"C Coding Standard","\u002Fsei-cert-c-coding-standard\u002F",{"title":19,"path":20},"C++ Coding Standard","\u002Fsei-cert-cpp-coding-standard\u002F",{"title":22,"path":23},"Java Coding Standard","\u002Fsei-cert-oracle-coding-standard-for-java\u002F",{"title":25,"path":26},"Perl Coding Standard","\u002Fsei-cert-perl-coding-standard\u002F","\u002Fcoding-standards",{"id":29,"title":30,"body":31,"description":2786,"extension":2787,"meta":2788,"navigation":7,"path":2789,"seo":2790,"stem":2791,"__hash__":2792},"content\u002F4.sei-cert-c-coding-standard\u002F06.errata-for-sei-cert-c-coding-standard-2016-edition.md","Errata for SEI CERT C Coding Standard (2016 Edition)",{"type":32,"value":33,"toc":2782},"minimark",[34,38,57],[35,36,30],"h1",{"id":37},"errata-for-sei-cert-c-coding-standard-2016-edition",[39,40,41,42,52,53,56],"p",{},"This list of errata lists errors identified since the release of the PDF document entitled ",[43,44,48],"a",{"href":45,"rel":46},"http:\u002F\u002Fwww.cert.org\u002Fsecure-coding\u002Fproducts-services\u002Fsecure-coding-download.cfm",[47],"nofollow",[49,50,51],"em",{},"SEI CERT C Coding Standard: Rules for Developing Safe, Reliable, and Secure Systems (2016 Edition)"," . These corrections were made to the ",[43,54,55],{"href":17},"SEI CERT C Coding Standard wiki"," , which is the most current source for this standards information. The focus of the correction is highlighted in red below in the Before and After columns.  This page does not include additions since this standard was published, if the addition doesn't actually correct a defect that was in the publication.",[58,59,62],"table",{"className":60},[61],"wrapped",[63,64,65,100,130,151,166,203,229,257,442,467,494,515,905,938,991,1036,1148,1253,1268,1283,1313,1332,1350,1368,1388,1424,1577,2144,2163,2179,2209,2244,2277,2396,2494,2517,2550,2569,2615,2641,2655,2670,2684,2697,2715,2739,2769],"tbody",{},[66,67,70,79,86,93],"tr",{"className":68},[69],"odd",[71,72,73],"td",{},[39,74,75],{},[76,77,78],"strong",{},"Location",[71,80,81],{},[39,82,83],{},[76,84,85],{},"Before (with error)",[71,87,88],{},[39,89,90],{},[76,91,92],{},"After (with correction)",[71,94,95],{},[39,96,97],{},[76,98,99],{},"Rationale",[66,101,104,107,114,127],{"className":102},[103],"even",[71,105,106],{},"p 9, Section 1.6",[71,108,109],{},[110,111,113],"h2",{"id":112},"ErrataforSEICERTCCodingStandard(2016Edition)-TaintandTaintedSources","Taint and Tainted Sources",[71,115,116,124],{},[39,117,118,119,123],{},"Material from this section was contributed to ",[43,120,122],{"href":121},"\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Faa-bibliography#AA.Bibliography-ISO-IECTS17961","ISO\u002FIEC TS 17961:2013"," .",[110,125,113],{"id":126},"ErrataforSEICERTCCodingStandard(2016Edition)-TaintandTaintedSources.1",[71,128,129],{},"Added citation for TS 17961 because it has similar content.",[66,131,133,136,141,146],{"className":132},[69],[71,134,135],{},"p. 21, Section 1.16",[71,137,138],{},[39,139,140],{},"...Brendan Saulsbury,Robert C. Seacord...",[71,142,143],{},[39,144,145],{},"...Brendan Saulsbury, Roger Scott, Robert C. Seacord...",[71,147,148],{},[149,150],"br",{},[66,152,154,157,160,163],{"className":153},[103],[71,155,156],{},"p. 30, Section 2.3.1",[71,158,159],{},");",[71,161,162],{},"}",[71,164,165],{},"The last line of the Noncompliant Code Example in section 2.3.1 closes the code block incorrectly with a close-parent-semicolin \");\", but should be a closed brace \"}\".",[66,167,169,172,188,200],{"className":168},[69],[71,170,171],{},"p. 43, Section 3.4.1",[71,173,174],{},[39,175,176,179,181,182,184,185,187],{},[76,177,178],{},"Noncompliant Code Example (Header Guard)",[149,180],{},"\nA common, but noncompliant, practice is to choose a reserved name for a macro used in a prepro-",[149,183],{},"\ncessor conditional guarding against multiple inclusions of a header file. (See also PRE06-C. En-",[149,186],{},"\nclose header files in an inclusion guard.)",[71,189,190,193,181,195,184,197,199],{},[76,191,192],{},"Noncompliant Code Example ( Include Guard)",[149,194],{},[149,196],{},[149,198],{},"\nclose header files in an include guard.)",[71,201,202],{},"Standardized the term to be \"include guard\".",[66,204,206,209,219,227],{"className":205},[103],[71,207,208],{},"p 44, Section 3.4.2",[71,210,211],{},[39,212,213,216,218],{},[76,214,215],{},"Compliant Solution (Header Guard)",[149,217],{},"\nThis compliant solution avoids using leading underscores in the name of the header guard:",[71,220,221,224,226],{},[76,222,223],{},"Compliant Solution ( Include Guard)",[149,225],{},"\nThis compliant solution avoids using leading underscores in the name of the include guard:",[71,228,202],{},[66,230,232,235,246,254],{"className":231},[69],[71,233,234],{},"p 54, Section 3.6.2",[71,236,237],{},[39,238,239,240,242,243,245],{},"However, compilers are free to implement arg.b = 2 by setting the low byte of a 32-bit register",[149,241],{},"\nto 2 , leaving the high bytes unchanged and storing all 32 bits of the register into memory . This",[149,244],{},"\nimplementation could leak the high-order bytes resident in the register to a user.",[71,247,248,249,253],{},"However, a conforming compiler is free to implement ",[250,251,252],"code",{},"      arg.b = 2     "," by setting the low-order bits of a register to 2, leaving the high-order bits unchanged and containing sensitive information. Then the platform copies all register bits into memory, leaving sensitive information in the padding bits . Consequently , this implementation could leak the high-order bits from the register to a user.",[71,255,256],{},"A more precise clarification",[66,258,260,263,275,439],{"className":259},[103],[71,261,262],{},"p 55, Section 3.6.3",[71,264,265],{},[39,266,267,270,272],{},[250,268,269],{},"       memcpy(buf + offset, &arg.c, sizeof(arg.c));      ",[149,271],{},[250,273,274],{},"       offset += sizeof(arg.c);      ",[71,276,277],{},[39,278,279,285,286,344,346,285,349,372,374,285,377,385,387,285,390,285,406,285,414],{},[250,280,284],{"className":281},[282,283],"sourceCode","java","      "," ",[250,287,289,290,296,301,302,306,307,285,311,315,316,320,324,285,327,331,315,334,337,340,284],{"className":288},[282,283],"       ",[291,292,295],"span",{"className":293},[294],"fu","memcpy",[291,297,300],{"className":298},[299],"op","(","buf ",[291,303,305],{"className":304},[299],"+"," offset",[291,308,310],{"className":309},[299],",",[291,312,314],{"className":313},[299],"&","arg",[291,317,319],{"className":318},[299],".",[291,321,323],{"className":322},[294],"c",[291,325,310],{"className":326},[299],[291,328,330],{"className":329},[294],"sizeof",[291,332,300],{"className":333},[299],[291,335,319],{"className":336},[299],[291,338,323],{"className":339},[294],[291,341,343],{"className":342},[299],"));",[149,345],{},[250,347,284],{"className":348},[282,283],[250,350,352,353,285,357,360,315,363,366,369,284],{"className":351},[282,283],"       offset ",[291,354,356],{"className":355},[299],"+=",[291,358,330],{"className":359},[294],[291,361,300],{"className":362},[299],[291,364,319],{"className":365},[299],[291,367,323],{"className":368},[294],[291,370,159],{"className":371},[299],[149,373],{},[250,375,284],{"className":376},[282,283],[250,378,289,380,284],{"className":379},[282,283],[291,381,384],{"className":382},[383],"co","\u002F* Set all remaining bytes to zero *\u002F",[149,386],{},[250,388,284],{"className":389},[282,283],[250,391,289,393,397,301,400,306,403,284],{"className":392},[282,283],[291,394,396],{"className":395},[294],"memset",[291,398,300],{"className":399},[299],[291,401,305],{"className":402},[299],[291,404,310],{"className":405},[299],[250,407,289,409,284],{"className":408},[282,283],[291,410,413],{"className":411},[412],"dv","0",[250,415,289,417,285,420,423,315,426,285,430,434,435,284],{"className":416},[282,283],[291,418,310],{"className":419},[299],[291,421,330],{"className":422},[294],[291,424,300],{"className":425},[299],[291,427,429],{"className":428},[299],")",[291,431,433],{"className":432},[299],"-"," offset)",[291,436,438],{"className":437},[299],";",[71,440,441],{},"Zero out any remaining bytes in array to be copied. Use \"buf\" not \"buff\".",[66,443,445,448,459,464],{"className":444},[69],[71,446,447],{},"p 56, Section 3.6.5",[71,449,450,451,454,455,458],{},"GCC allows specifying declaration attributes using the keyword ",[250,452,453],{},"      __attribute__((__packed__))     "," . When this attribute is present, the compiler will not add padding bytes for memory alignment unless otherwise required by the ",[250,456,457],{},"      _Alignas     "," alignment specifier ...",[71,460,450,461,463],{},[250,462,453],{}," . When this attribute is present, the compiler will not add padding bytes for memory alignment unless an explicit alignment specifier for a structure member requires the introduction of padding bytes.",[71,465,466],{},"Clarification that alignment requirements trump GCC packing attribute.",[66,468,470,473,487,491],{"className":469},[103],[71,471,472],{},"p 57, Section 3.6.7",[71,474,475],{},[39,476,477,478,480,481,483,484,486],{},"However, compilers are free to implement the initialization of arg.a and arg.b by setting the",[149,479],{},"\nlow byte of a 32-bit register to the value specified, leaving the high bytes unchanged and storing",[149,482],{},"\nall 32 bits of the register into memory. This implementation could leak the high-order bytes resi-",[149,485],{},"\ndent in the register to a user.",[71,488,489],{},[149,490],{},[71,492,493],{},"Paragraph was spurious and did not apply to code example, so it was removed.",[66,495,497,500,505,508],{"className":496},[69],[71,498,499],{},"p. 72, Section 4.1.8",[71,501,502],{},[39,503,504],{},"MISRA C:2012 Rule 12.1 (advisory)",[71,506,507],{},"MISRA C:2012 Rule 13.2 (required)",[71,509,510,511],{},"CERT cross-reference in ",[43,512,514],{"href":513},"https:\u002F\u002Fwww.misra.org.uk\u002FPublications\u002Ftabid\u002F57\u002FDefault.aspx#label-c3-add3","MISRA C:2012 – Addendum 3",[66,516,518,521,573,902],{"className":517},[103],[71,519,520],{},"p. 88, Section 4.4.6",[71,522,523],{},[39,524,525,528,530,533,535,538,540,543,545,548,550,553,555,558,560,563,565,568,570],{},[250,526,527],{},"       static unsigned int tun_chr_poll(struct file *file, poll_table      ",[149,529],{},[250,531,532],{},"       *wait) {      ",[149,534],{},[250,536,537],{},"       struct tun_file *tfile = file->private_data;      ",[149,539],{},[250,541,542],{},"       struct tun_struct *tun = __tun_get(tfile);      ",[149,544],{},[250,546,547],{},"       struct sock *sk;      ",[149,549],{},[250,551,552],{},"       unsigned int mask = 0;      ",[149,554],{},[250,556,557],{},"       if (!tun)      ",[149,559],{},[250,561,562],{},"       return POLLERR;      ",[149,564],{},[250,566,567],{},"       sk = tun->sk;      ",[149,569],{},[250,571,572],{},"       \u002F* T      ",[71,574,575],{},[39,576,577,285,580,285,589,285,596,285,603,285,611,636,638,285,641,285,645,654,656,285,658,285,664,685,687,285,689,285,695,714,716,285,718,285,724,735,737,285,739,285,745,285,751,764,766,768,770,285,772,285,780,791,793,285,795,285,802,809,811,285,813,285,816,829,831,285,833,847,849,285,851,285,854,863,865,285,867,285,870,883,885,285,887,894,896],{},[250,578,579],{},"               static       ",[250,581,583,584,289],{"className":582},[282,323],"        ",[291,585,588],{"className":586},[587],"dt","unsigned",[250,590,583,592,289],{"className":591},[282,323],[291,593,595],{"className":594},[587],"int",[250,597,599,600,289],{"className":598},[282,323],"        tun_chr_poll",[291,601,300],{"className":602},[299],[250,604,583,606,289],{"className":605},[282,323],[291,607,610],{"className":608},[609],"kw","struct",[250,612,614,615,619,620,623,624,627,628,631,632,289],{"className":613},[282,323],"        file ",[291,616,618],{"className":617},[299],"*","file",[291,621,310],{"className":622},[299]," poll_table ",[291,625,618],{"className":626},[299],"wait",[291,629,429],{"className":630},[299],"  ",[291,633,635],{"className":634},[299],"{",[149,637],{},[250,639,640],{},"              ",[250,642,644],{"className":643},[282,323],"        assert       ",[250,646,583,648,619,651,289],{"className":647},[282,323],[291,649,300],{"className":650},[299],[291,652,159],{"className":653},[299],[149,655],{},[250,657,640],{},[250,659,583,661,289],{"className":660},[282,323],[291,662,610],{"className":663},[609],[250,665,667,668,671,672,676,677,681,682,289],{"className":666},[282,323],"        tun_file ",[291,669,618],{"className":670},[299],"tfile ",[291,673,675],{"className":674},[299],"="," file",[291,678,680],{"className":679},[299],"->","private_data",[291,683,438],{"className":684},[299],[149,686],{},[250,688,640],{},[250,690,583,692,289],{"className":691},[282,323],[291,693,610],{"className":694},[609],[250,696,698,699,702,703,706,707,710,711,289],{"className":697},[282,323],"        tun_struct ",[291,700,618],{"className":701},[299],"tun ",[291,704,675],{"className":705},[299]," __tun_get",[291,708,300],{"className":709},[299],"tfile",[291,712,159],{"className":713},[299],[149,715],{},[250,717,640],{},[250,719,583,721,289],{"className":720},[282,323],[291,722,610],{"className":723},[609],[250,725,727,728,731,732,289],{"className":726},[282,323],"        sock ",[291,729,618],{"className":730},[299],"sk",[291,733,438],{"className":734},[299],[149,736],{},[250,738,640],{},[250,740,583,742,289],{"className":741},[282,323],[291,743,588],{"className":744},[587],[250,746,583,748,289],{"className":747},[282,323],[291,749,595],{"className":750},[587],[250,752,754,755,285,758,761,289],{"className":753},[282,323],"        mask ",[291,756,675],{"className":757},[299],[291,759,413],{"className":760},[412],[291,762,438],{"className":763},[299],[149,765],{},[250,767,284],{},[149,769],{},[250,771,640],{},[250,773,583,775,289],{"className":774},[282,323],[291,776,779],{"className":777},[778],"cf","if",[250,781,583,783,787,788,289],{"className":782},[282,323],[291,784,786],{"className":785},[299],"(!","tun",[291,789,429],{"className":790},[299],[149,792],{},[250,794,640],{},[250,796,583,798,289],{"className":797},[282,323],[291,799,801],{"className":800},[778],"return",[250,803,805,806,289],{"className":804},[282,323],"        POLLERR",[291,807,438],{"className":808},[299],[149,810],{},[250,812,640],{},[250,814,644],{"className":815},[282,323],[250,817,583,819,787,822,825,826,289],{"className":818},[282,323],[291,820,300],{"className":821},[299],[291,823,680],{"className":824},[299],"dev",[291,827,159],{"className":828},[299],[149,830],{},[250,832,640],{},[250,834,836,837,840,841,731,844,289],{"className":835},[282,323],"        sk ",[291,838,675],{"className":839},[299]," tun",[291,842,680],{"className":843},[299],[291,845,438],{"className":846},[299],[149,848],{},[250,850,640],{},[250,852,644],{"className":853},[282,323],[250,855,583,857,731,860,289],{"className":856},[282,323],[291,858,300],{"className":859},[299],[291,861,159],{"className":862},[299],[149,864],{},[250,866,640],{},[250,868,644],{"className":869},[282,323],[250,871,583,873,731,876,879,880,289],{"className":872},[282,323],[291,874,300],{"className":875},[299],[291,877,680],{"className":878},[299],"socket",[291,881,159],{"className":882},[299],[149,884],{},[250,886,640],{},[250,888,583,890,289],{"className":889},[282,323],[291,891,893],{"className":892},[383],"\u002F* The remaining code is omitted because it is unchanged... *\u002F",[149,895],{},[250,897,289,899,284],{"className":898},[282,323],[291,900,162],{"className":901},[299],[71,903,904],{},"Added assert statements to specify pointers that are expected not to be null.",[66,906,908,911,916,926],{"className":907},[69],[71,909,910],{},"p. 95, Section 4.6.7",[71,912,913],{},[39,914,915],{},"On such an architecture, improper pointer alignment is permitted but remains an efficiency problem.",[71,917,918,920,923],{},[39,919,915],{},[39,921,922],{},"The x86 32- and 64-bit architectures...",[39,924,925],{},"...but they must also ensure that their compiler, along with its optimizer, also respect these guarantees.",[71,927,928,929,932,933,937],{},"Added counterexample and warning to ",[76,930,931],{},"EXP36-C-EX1"," . (See ",[43,934,936],{"href":935},"\u002Fsei-cert-c-coding-standard\u002Frules\u002Fexpressions-exp\u002Fexp36-c","EXP36-C"," for full text.)",[66,939,941,944,951,988],{"className":940},[103],[71,942,943],{},"p 105, Section 4.8.5",[71,945,946],{},[39,947,948],{},[250,949,950],{},"       if (wp->j == 12) {              \u002F* ... *\u002F              }              }      ",[71,952,953],{},[39,954,955,285,958,966,968,285,971,285,975,985,987],{},[250,956,957],{},"       if (wp->j == 12) {              \u002F* ... *\u002F              }                     ",[250,959,583,962,289],{"className":960,"style":961},[282,323],"text-align: left;",[291,963,965],{"className":964},[383],"\u002F* ... *\u002F",[149,967],{},[250,969,289],{"className":970,"style":961},[282,323],[250,972,974],{"className":973,"style":961},[282,323],"        free       ",[250,976,583,978,981,982,289],{"className":977,"style":961},[282,323],[291,979,300],{"className":980},[299],"wp",[291,983,159],{"className":984},[299],[149,986],{},"\n}",[71,989,990],{},"Perform proper memory cleanup",[66,992,994,997,1003,1034],{"className":993},[69],[71,995,996],{},"p 106, Section 4.8.6",[71,998,999],{},[39,1000,1001],{},[250,1002,950],{},[71,1004,1005],{},[39,1006,1007,285,1009,1015,1017,285,1020,285,1023,1032,987],{},[250,1008,957],{},[250,1010,583,1012,289],{"className":1011,"style":961},[282,323],[291,1013,965],{"className":1014},[383],[149,1016],{},[250,1018,289],{"className":1019,"style":961},[282,323],[250,1021,974],{"className":1022,"style":961},[282,323],[250,1024,583,1026,981,1029,289],{"className":1025,"style":961},[282,323],[291,1027,300],{"className":1028},[299],[291,1030,159],{"className":1031},[299],[149,1033],{},[71,1035,990],{},[66,1037,1039,1042,1047,1145],{"className":1038},[103],[71,1040,1041],{},"p. 111, Section 4.10.1",[71,1043,1044],{},[250,1045,1046],{},"      if (0 == memcmp(left, right, sizeof(struct s))) {     ",[71,1048,1049],{},[39,1050,1051,285,1057,1078,1080,285,1083,285,1096,285,1100,285,1113,285,1119,285,1125,285,1131],{},[250,1052,289,1054,284],{"className":1053},[282,323],[291,1055,779],{"className":1056},[778],[250,1058,289,1060,289,1063,1066,1067,1071,1072,285,1075,284],{"className":1059},[282,323],[291,1061,300],{"className":1062},[299],[291,1064,300],{"className":1065},[299],"left ",[291,1068,1070],{"className":1069},[299],"&&"," right",[291,1073,429],{"className":1074},[299],[291,1076,1070],{"className":1077},[299],[149,1079],{},[250,1081,284],{"className":1082},[282,323],[250,1084,289,1086,1089,285,1092,284],{"className":1085},[282,323],[291,1087,300],{"className":1088},[299],[291,1090,413],{"className":1091},[412],[291,1093,1095],{"className":1094},[299],"==",[250,1097,1099],{"className":1098},[282,323],"       memcmp      ",[250,1101,289,1103,1106,1107,1071,1110,284],{"className":1102},[282,323],[291,1104,300],{"className":1105},[299],"left",[291,1108,310],{"className":1109},[299],[291,1111,310],{"className":1112},[299],[250,1114,289,1116,284],{"className":1115},[282,323],[291,1117,330],{"className":1118},[609],[250,1120,289,1122,284],{"className":1121},[282,323],[291,1123,300],{"className":1124},[299],[250,1126,289,1128,284],{"className":1127},[282,323],[291,1129,610],{"className":1130},[609],[250,1132,1134,1135,289,1139,289,1142,284],{"className":1133},[282,323],"       s",[291,1136,1138],{"className":1137},[299],")))",[291,1140,429],{"className":1141},[299],[291,1143,635],{"className":1144},[299],[71,1146,1147],{},"Added checks to both arguments to avoid possible null dereferences.",[66,1149,1151,1154,1161,1251],{"className":1150},[69],[71,1152,1153],{},"p. 112, Section 4.10.3",[71,1155,1156],{},[39,1157,1158],{},[250,1159,1160],{},"       if (0 == memcmp(left, right, sizeof(struct s))) {      ",[71,1162,1163],{},[39,1164,1165,285,1171,1189,1191,285,1194,285,1206,285,1209,285,1221,285,1227,285,1233,285,1239],{},[250,1166,289,1168,284],{"className":1167},[282,323],[291,1169,779],{"className":1170},[778],[250,1172,289,1174,289,1177,1066,1180,1071,1183,285,1186,284],{"className":1173},[282,323],[291,1175,300],{"className":1176},[299],[291,1178,300],{"className":1179},[299],[291,1181,1070],{"className":1182},[299],[291,1184,429],{"className":1185},[299],[291,1187,1070],{"className":1188},[299],[149,1190],{},[250,1192,284],{"className":1193},[282,323],[250,1195,289,1197,1200,285,1203,284],{"className":1196},[282,323],[291,1198,300],{"className":1199},[299],[291,1201,413],{"className":1202},[412],[291,1204,1095],{"className":1205},[299],[250,1207,1099],{"className":1208},[282,323],[250,1210,289,1212,1106,1215,1071,1218,284],{"className":1211},[282,323],[291,1213,300],{"className":1214},[299],[291,1216,310],{"className":1217},[299],[291,1219,310],{"className":1220},[299],[250,1222,289,1224,284],{"className":1223},[282,323],[291,1225,330],{"className":1226},[609],[250,1228,289,1230,284],{"className":1229},[282,323],[291,1231,300],{"className":1232},[299],[250,1234,289,1236,284],{"className":1235},[282,323],[291,1237,610],{"className":1238},[609],[250,1240,1134,1242,289,1245,289,1248,284],{"className":1241},[282,323],[291,1243,1138],{"className":1244},[299],[291,1246,429],{"className":1247},[299],[291,1249,635],{"className":1250},[299],[71,1252,1147],{},[66,1254,1256,1259,1262,1265],{"className":1255},[103],[71,1257,1258],{},"p. 120, Section 4.11.4.2",[71,1260,1261],{},"float x",[71,1263,1264],{},"float x ;",[71,1266,1267],{},"Added semicolon for syntactic correctness.",[66,1269,1271,1274,1277,1280],{"className":1270},[69],[71,1272,1273],{},"p 125, Section 4.12.8",[71,1275,1276],{},"printf(\"%zu, %d\\n, align, val);",[71,1278,1279],{},"printf(\"%zu, %d\\n \" , align, val);",[71,1281,1282],{},"Added quote for syntactic correctness.",[66,1284,1286,1289,1297,1310],{"className":1285},[103],[71,1287,1288],{},"p. 126, Section 4.13",[71,1290,1291],{},[39,1292,1293,1294,1296],{},"4.13.1",[149,1295],{},"\nNoncompliant Code Example",[71,1298,1299,1306],{},[39,1300,1301,1302,123],{},"Performing assignment statements in other contexts do not violate this rule. However, they may violate other rules, such as ",[43,1303,1305],{"href":1304},"\u002Fsei-cert-c-coding-standard\u002Frules\u002Fexpressions-exp\u002Fexp30-c","EXP30-C. Do not depend on the order of evaluation for side effects",[39,1307,1293,1308,1296],{},[149,1309],{},[71,1311,1312],{},"Added a reference to related rule EXP30-C to this rule's introduction.",[66,1314,1316,1319,1324,1329],{"className":1315},[69],[71,1317,1318],{},"p. 128, Section 4.13.9",[71,1320,1321],{},[250,1322,1323],{},"      while (ch = '\\t'      &&      ch == ' '      &&      ch == '\\n') {     ",[71,1325,1326],{},[250,1327,1328],{},"      while (ch = '\\t'      ||      ch == ' '      ||      ch == '\\n') {     ",[71,1330,1331],{},"Use || to test if a char has one of several values, rather than &&.",[66,1333,1335,1338,1343,1348],{"className":1334},[103],[71,1336,1337],{},"p. 128, Section 4.13.10 (Noncompliant code)",[71,1339,1340],{},[250,1341,1342],{},"      while ('\\t' = ch      &&      ' ' == ch      &&      '\\n' == ch) {     ",[71,1344,1345],{},[250,1346,1347],{},"      while ('\\t' = ch      ||      ' ' == ch      ||      '\\n' == ch) {     ",[71,1349,1331],{},[66,1351,1353,1356,1361,1366],{"className":1352},[69],[71,1354,1355],{},"p. 128, Section 4.13.10 (Compliant code)",[71,1357,1358],{},[250,1359,1360],{},"      while ('\\t' == ch      &&      ' ' == ch      &&      '\\n' == ch) {     ",[71,1362,1363],{},[250,1364,1365],{},"      while ('\\t' == ch      ||      ' ' == ch      ||      '\\n' == ch) {     ",[71,1367,1331],{},[66,1369,1371,1374,1377,1385],{"className":1370},[103],[71,1372,1373],{},"p.138, Section 4.15",[71,1375,1376],{},"Previous section is 4.14, rule EXP46-C",[71,1378,1379,1380,1384],{},"New rule ",[43,1381,1383],{"href":1382},"\u002Fsei-cert-c-coding-standard\u002Frules\u002Fexpressions-exp\u002Fexp47-c","EXP47-C"," . (See wiki for contents)",[71,1386,1387],{},"New rule deemed necessary (vulnerability not covered by pre-existing rule).",[66,1389,1391,1396,1405,1413],{"className":1390},[69],[71,1392,1393],{},[39,1394,1395],{},"p. 150, Section 5.3.5.2",[71,1397,1398],{},[39,1399,1400,1401,1404],{},"This compliant solution eliminates signed overflow on systems where ",[250,1402,1403],{},"       long      "," is at least twice the precision of int:",[71,1406,1407],{},[39,1408,1400,1409,1412],{},[250,1410,1411],{},"       long long      "," is at least twice the precision of int:",[71,1414,1415],{},[39,1416,1417,1418,1420,1421,1423],{},"The phrase should be “ ",[250,1419,1411],{}," ” not “ ",[250,1422,1403],{}," .”",[66,1425,1427,1432,1450,1574],{"className":1426},[103],[71,1428,1429],{},[39,1430,1431],{},"p. 186 Section 6.3.2",[71,1433,1434],{},[39,1435,1436,1437,1440,1442,1445,1447],{},"i ",[250,1438,1439],{},"       f (PRECISION(INT_MAX) \u003C log2f(fabsf(f_a)) ||      ",[149,1441],{},[250,1443,1444],{},"       (f_a != 0.0F && fabsf(f_a) \u003C FLT_MIN)) {      ",[149,1446],{},[250,1448,1449],{},"       \u002F* Handle error *\u002F      ",[71,1451,1452],{},[39,1453,1454,285,1457,285,1463,1481,1483,285,1486,1516,1518,285,1521,1562,1564,285,1567],{},[250,1455,284],{"className":1456},[282,323],[250,1458,289,1460,284],{"className":1459},[282,323],[291,1461,779],{"className":1462},[778],[250,1464,289,1466,1469,1470,1473,1474,285,1477,284],{"className":1465},[282,323],[291,1467,300],{"className":1468},[299],"       isnan",[291,1471,300],{"className":1472},[299],"f_a",[291,1475,429],{"className":1476},[299],[291,1478,1480],{"className":1479},[299],"||",[149,1482],{},[250,1484,284],{"className":1485},[282,323],[250,1487,1489,1490,1493,1494,285,1497,1501,1502,1505,1506,1473,1509,285,1513,284],{"className":1488},[282,323],"       PRECISION",[291,1491,300],{"className":1492},[299],"INT_MAX",[291,1495,429],{"className":1496},[299],[291,1498,1500],{"className":1499},[299],"\u003C"," log2f",[291,1503,300],{"className":1504},[299],"fabsf",[291,1507,300],{"className":1508},[299],[291,1510,1512],{"className":1511},[299],"))",[291,1514,1480],{"className":1515},[299],[149,1517],{},[250,1519,284],{"className":1520},[282,323],[250,1522,289,1524,1527,1528,285,1532,1537,285,1542,1545,1546,1473,1549,285,1552,1555,1556,285,1559,284],{"className":1523},[282,323],[291,1525,300],{"className":1526},[299],"f_a ",[291,1529,1531],{"className":1530},[299],"!=",[291,1533,1536],{"className":1534},[1535],"fl","0.0",[291,1538,1541],{"className":1539},[1540],"bu","F",[291,1543,1070],{"className":1544},[299]," fabsf",[291,1547,300],{"className":1548},[299],[291,1550,429],{"className":1551},[299],[291,1553,1500],{"className":1554},[299]," FLT_MIN",[291,1557,1512],{"className":1558},[299],[291,1560,635],{"className":1561},[299],[149,1563],{},[250,1565,284],{"className":1566},[282,323],[250,1568,289,1570,284],{"className":1569},[282,323],[291,1571,1573],{"className":1572},[383],"\u002F* Handle error *\u002F",[71,1575,1576],{},"Code now safely handles NaN.",[66,1578,1580,1583,1655,2142],{"className":1579},[69],[71,1581,1582],{},"p. 187 Section 6.3.4",[71,1584,1585],{},[39,1586,1587,1590,1592,1595,1597,1599,1601,1604,1606,1609,1611,1614,1616,1619,1621,1624,1626,1628,1630,1632,1634,1637,1639,1641,1643,1646,1648,1651,1653],{},[250,1588,1589],{},"       if (isgreater(fabs(d_a), FLT_MAX) ||      ",[149,1591],{},[250,1593,1594],{},"       isless(fabs(d_a), FLT_MIN)) {      ",[149,1596],{},[250,1598,1449],{},[149,1600],{},[250,1602,1603],{},"       } else {      ",[149,1605],{},[250,1607,1608],{},"       f_a = (float)d_a;      ",[149,1610],{},[250,1612,1613],{},"       }      ",[149,1615],{},[250,1617,1618],{},"       if (isgreater(fabsl(big_d), FLT_MAX) ||      ",[149,1620],{},[250,1622,1623],{},"       isless(fabsl(big_d), FLT_MIN)) {      ",[149,1625],{},[250,1627,1449],{},[149,1629],{},[250,1631,1603],{},[149,1633],{},[250,1635,1636],{},"       f_b = (float)big_d;      ",[149,1638],{},[250,1640,1613],{},[149,1642],{},[250,1644,1645],{},"       if (isgreater(fabsl(big_d), DBL_MAX) ||      ",[149,1647],{},[250,1649,1650],{},"       isless(fabsl(big_d), DBL_MIN)) {      ",[149,1652],{},[250,1654,1449],{},[71,1656,1657],{},[39,1658,1659,285,1665,1681,1683,285,1686,1703,1705,285,1708,285,1715,285,1719,1736,1738,285,1741,285,1748,285,1751,1766,1768,285,1771,1777,1779,285,1782,285,1788,285,1795,1801,1803,285,1806,285,1816,285,1823,1832,1834,285,1837,1843,1845,285,1848,285,1854,1870,1872,285,1875,1891,1893,285,1896,285,1902,285,1905,1920,1922,285,1925,285,1931,285,1934,1949,1951,285,1954,1960,1962,285,1965,285,1971,285,1977,1983,1985,285,1988,285,1998,285,2004,2013,2015,285,2018,2024,2026,285,2029,285,2035,2051,2053,285,2056,2071,2073,285,2076,285,2082,285,2085,2101,2103,285,2106,285,2112,285,2115,2131,2133,285,2136],{},[250,1660,289,1662,284],{"className":1661},[282,323],[291,1663,779],{"className":1664},[778],[250,1666,289,1668,1671,1672,285,1675,285,1678,284],{"className":1667},[282,323],[291,1669,300],{"className":1670},[299],"       d_a ",[291,1673,1531],{"className":1674},[299],[291,1676,1536],{"className":1677},[1535],[291,1679,1070],{"className":1680},[299],[149,1682],{},[250,1684,284],{"className":1685},[282,323],[250,1687,289,1689,1692,1693,1696,1697,285,1700,284],{"className":1688},[282,323],[291,1690,300],{"className":1691},[299],"isnan",[291,1694,300],{"className":1695},[299],"d_a",[291,1698,429],{"className":1699},[299],[291,1701,1480],{"className":1702},[299],[149,1704],{},[250,1706,284],{"className":1707},[282,323],[250,1709,1711,1712,284],{"className":1710},[282,323],"       isgreater",[291,1713,300],{"className":1714},[299],[250,1716,1718],{"className":1717},[282,323],"       fabs      ",[250,1720,289,1722,1696,1725,1729,1730,285,1733,284],{"className":1721},[282,323],[291,1723,300],{"className":1724},[299],[291,1726,1728],{"className":1727},[299],"),"," FLT_MAX",[291,1731,429],{"className":1732},[299],[291,1734,1480],{"className":1735},[299],[149,1737],{},[250,1739,284],{"className":1740},[282,323],[250,1742,1744,1745,284],{"className":1743},[282,323],"       isless",[291,1746,300],{"className":1747},[299],[250,1749,1718],{"className":1750},[282,323],[250,1752,289,1754,1696,1757,1555,1760,285,1763,284],{"className":1753},[282,323],[291,1755,300],{"className":1756},[299],[291,1758,1728],{"className":1759},[299],[291,1761,1138],{"className":1762},[299],[291,1764,635],{"className":1765},[299],[149,1767],{},[250,1769,284],{"className":1770},[282,323],[250,1772,289,1774,284],{"className":1773},[282,323],[291,1775,1573],{"className":1776},[383],[149,1778],{},[250,1780,284],{"className":1781},[282,323],[250,1783,289,1785,284],{"className":1784},[282,323],[291,1786,162],{"className":1787},[299],[250,1789,289,1791,284],{"className":1790},[282,323],[291,1792,1794],{"className":1793},[778],"else",[250,1796,289,1798,284],{"className":1797},[282,323],[291,1799,635],{"className":1800},[299],[149,1802],{},[250,1804,284],{"className":1805},[282,323],[250,1807,1809,1810,285,1813,284],{"className":1808},[282,323],"       f_a ",[291,1811,675],{"className":1812},[299],[291,1814,300],{"className":1815},[299],[250,1817,289,1819,284],{"className":1818},[282,323],[291,1820,1822],{"className":1821},[587],"float",[250,1824,289,1826,1696,1829,284],{"className":1825},[282,323],[291,1827,429],{"className":1828},[299],[291,1830,438],{"className":1831},[299],[149,1833],{},[250,1835,284],{"className":1836},[282,323],[250,1838,289,1840,284],{"className":1839},[282,323],[291,1841,162],{"className":1842},[299],[149,1844],{},[250,1846,284],{"className":1847},[282,323],[250,1849,289,1851,284],{"className":1850},[282,323],[291,1852,779],{"className":1853},[778],[250,1855,289,1857,1860,1861,285,1864,285,1867,284],{"className":1856},[282,323],[291,1858,300],{"className":1859},[299],"big_d ",[291,1862,1531],{"className":1863},[299],[291,1865,1536],{"className":1866},[1535],[291,1868,1070],{"className":1869},[299],[149,1871],{},[250,1873,284],{"className":1874},[282,323],[250,1876,289,1878,1692,1881,1884,1885,285,1888,284],{"className":1877},[282,323],[291,1879,300],{"className":1880},[299],[291,1882,300],{"className":1883},[299],"big_d",[291,1886,429],{"className":1887},[299],[291,1889,1480],{"className":1890},[299],[149,1892],{},[250,1894,284],{"className":1895},[282,323],[250,1897,1711,1899,284],{"className":1898},[282,323],[291,1900,300],{"className":1901},[299],[250,1903,1718],{"className":1904},[282,323],[250,1906,289,1908,1884,1911,1729,1914,285,1917,284],{"className":1907},[282,323],[291,1909,300],{"className":1910},[299],[291,1912,1728],{"className":1913},[299],[291,1915,429],{"className":1916},[299],[291,1918,1480],{"className":1919},[299],[149,1921],{},[250,1923,284],{"className":1924},[282,323],[250,1926,1744,1928,284],{"className":1927},[282,323],[291,1929,300],{"className":1930},[299],[250,1932,1718],{"className":1933},[282,323],[250,1935,289,1937,1884,1940,1555,1943,285,1946,284],{"className":1936},[282,323],[291,1938,300],{"className":1939},[299],[291,1941,1728],{"className":1942},[299],[291,1944,1138],{"className":1945},[299],[291,1947,635],{"className":1948},[299],[149,1950],{},[250,1952,284],{"className":1953},[282,323],[250,1955,289,1957,284],{"className":1956},[282,323],[291,1958,1573],{"className":1959},[383],[149,1961],{},[250,1963,284],{"className":1964},[282,323],[250,1966,289,1968,284],{"className":1967},[282,323],[291,1969,162],{"className":1970},[299],[250,1972,289,1974,284],{"className":1973},[282,323],[291,1975,1794],{"className":1976},[778],[250,1978,289,1980,284],{"className":1979},[282,323],[291,1981,635],{"className":1982},[299],[149,1984],{},[250,1986,284],{"className":1987},[282,323],[250,1989,1991,1992,285,1995,284],{"className":1990},[282,323],"       f_b ",[291,1993,675],{"className":1994},[299],[291,1996,300],{"className":1997},[299],[250,1999,289,2001,284],{"className":2000},[282,323],[291,2002,1822],{"className":2003},[587],[250,2005,289,2007,1884,2010,284],{"className":2006},[282,323],[291,2008,429],{"className":2009},[299],[291,2011,438],{"className":2012},[299],[149,2014],{},[250,2016,284],{"className":2017},[282,323],[250,2019,289,2021,284],{"className":2020},[282,323],[291,2022,162],{"className":2023},[299],[149,2025],{},[250,2027,284],{"className":2028},[282,323],[250,2030,289,2032,284],{"className":2031},[282,323],[291,2033,779],{"className":2034},[778],[250,2036,289,2038,2041,2042,285,2045,285,2048,284],{"className":2037},[282,323],[291,2039,300],{"className":2040},[299],"       big_d ",[291,2043,1531],{"className":2044},[299],[291,2046,1536],{"className":2047},[1535],[291,2049,1070],{"className":2050},[299],[149,2052],{},[250,2054,284],{"className":2055},[282,323],[250,2057,289,2059,1692,2062,1884,2065,285,2068,284],{"className":2058},[282,323],[291,2060,300],{"className":2061},[299],[291,2063,300],{"className":2064},[299],[291,2066,429],{"className":2067},[299],[291,2069,1480],{"className":2070},[299],[149,2072],{},[250,2074,284],{"className":2075},[282,323],[250,2077,1711,2079,284],{"className":2078},[282,323],[291,2080,300],{"className":2081},[299],[250,2083,1718],{"className":2084},[282,323],[250,2086,289,2088,1884,2091,2094,2095,285,2098,284],{"className":2087},[282,323],[291,2089,300],{"className":2090},[299],[291,2092,1728],{"className":2093},[299]," DBL_MAX",[291,2096,429],{"className":2097},[299],[291,2099,1480],{"className":2100},[299],[149,2102],{},[250,2104,284],{"className":2105},[282,323],[250,2107,1744,2109,284],{"className":2108},[282,323],[291,2110,300],{"className":2111},[299],[250,2113,1718],{"className":2114},[282,323],[250,2116,289,2118,1884,2121,2124,2125,285,2128,284],{"className":2117},[282,323],[291,2119,300],{"className":2120},[299],[291,2122,1728],{"className":2123},[299]," DBL_MIN",[291,2126,1138],{"className":2127},[299],[291,2129,635],{"className":2130},[299],[149,2132],{},[250,2134,284],{"className":2135},[282,323],[250,2137,289,2139,284],{"className":2138},[282,323],[291,2140,1573],{"className":2141},[383],[71,2143,1576],{},[66,2145,2147,2150,2155,2160],{"className":2146},[103],[71,2148,2149],{},"p. 189, Section 6.4.1",[71,2151,2152],{},[250,2153,2154],{},"      long int big = 1234567890;     ",[71,2156,2157],{},[250,2158,2159],{},"      long int big = 1234567890      L      ;     ",[71,2161,2162],{},"Addition of type suffix in initialization statement.",[66,2164,2166,2169,2173,2177],{"className":2165},[69],[71,2167,2168],{},"p. 190, Section 6.4.2",[71,2170,2171],{},[250,2172,2154],{},[71,2174,2175],{},[250,2176,2159],{},[71,2178,2162],{},[66,2180,2182,2187,2192,2201],{"className":2181},[103],[71,2183,2184],{},[39,2185,2186],{},"p. 203, Section 7.2.1",[71,2188,2189],{},[39,2190,2191],{},"In this noncompliant code example, a variable length array of size is declared.",[71,2193,2194],{},[39,2195,2196,2197,2200],{},"In this noncompliant code example, a variable length array of size ",[250,2198,2199],{},"       size      "," is declared.",[71,2202,2203],{},[39,2204,2205,2206,2208],{},"The second ” ",[250,2207,2199],{}," ” was missing.",[66,2210,2212,2217,2229,2239],{"className":2211},[69],[71,2213,2214],{},[39,2215,2216],{},"p. 226, Section 8.1",[71,2218,2219],{},[39,2220,2221,2222,2225,2226],{},"A ",[49,2223,2224],{},"character string literal"," is a sequence of zero or more multibyte characters enclosed in double-quotes, as in ",[250,2227,2228],{},"       \"xyz.\"      ",[71,2230,2231],{},[39,2232,2221,2233,2235,2236,123],{},[49,2234,2224],{}," is a sequence of zero or more multibyte characters enclosed in double-quotes, as in ",[250,2237,2238],{},"       \"xyz\"      ",[71,2240,2241],{},[39,2242,2243],{},"The period should appear outside the quote, not inside the quote because the quote is part of the character string.",[66,2245,2247,2250,2264,2274],{"className":2246},[103],[71,2248,2249],{},"p. 279 Section 9.5.1",[71,2251,2252],{},[39,2253,2254,2255,2259,2260,2263],{},"The code checks for unsigned integer overflow in compliance with ",[43,2256,2258],{"href":2257},"\u002Fsei-cert-c-coding-standard\u002Frules\u002Fintegers-int\u002Fint32-c","INT32-C. Ensure that operations on signed integers do not result in overflow"," and also ensures that ",[250,2261,2262],{},"       len      "," is not equal to zero.",[71,2265,2266,2267,2259,2271,2263],{},"The code attempts to check for unsigned integer overflow in compliance with ",[43,2268,2270],{"href":2269},"\u002Fsei-cert-c-coding-standard\u002Frules\u002Fintegers-int\u002Fint30-c","INT30-C. Ensure that unsigned integer operations do not wrap",[250,2272,2273],{},"      len     ",[71,2275,2276],{},"The code uses only unsigned integers.",[66,2278,2280,2283,2339,2393],{"className":2279},[69],[71,2281,2282],{},"p. 283, Section 10.1.4",[71,2284,2285],{},[39,2286,2287,285,2290,285,2296,2317,2319,285,2322,2328,2330,285,2333],{},[250,2288,284],{"className":2289},[282,323],[250,2291,289,2293,284],{"className":2292},[282,323],[291,2294,779],{"className":2295},[778],[250,2297,289,2299,2302,2303,640,2307,2310,2311,285,2314,284],{"className":2298},[282,323],[291,2300,300],{"className":2301},[299],"msg               ",[291,2304,2306],{"className":2305},[299],"!",[291,2308,675],{"className":2309},[299]," NULL",[291,2312,429],{"className":2313},[299],[291,2315,635],{"className":2316},[299],[149,2318],{},[250,2320,284],{"className":2321},[282,323],[250,2323,289,2325,284],{"className":2324},[282,323],[291,2326,1573],{"className":2327},[383],[149,2329],{},[250,2331,284],{"className":2332},[282,323],[250,2334,289,2336,284],{"className":2335},[282,323],[291,2337,162],{"className":2338},[299],[71,2340,2341],{},[39,2342,2343,285,2346,285,2352,2371,2373,285,2376,2382,2384,285,2387],{},[250,2344,284],{"className":2345},[282,323],[250,2347,289,2349,284],{"className":2348},[282,323],[291,2350,779],{"className":2351},[778],[250,2353,289,2355,2358,2359,289,2362,2310,2365,285,2368,284],{"className":2354},[282,323],[291,2356,300],{"className":2357},[299],"msg       ",[291,2360,675],{"className":2361},[299],[291,2363,675],{"className":2364},[299],[291,2366,429],{"className":2367},[299],[291,2369,635],{"className":2370},[299],[149,2372],{},[250,2374,284],{"className":2375},[282,323],[250,2377,289,2379,284],{"className":2378},[282,323],[291,2380,1573],{"className":2381},[383],[149,2383],{},[250,2385,284],{"className":2386},[282,323],[250,2388,289,2390,284],{"className":2389},[282,323],[291,2391,162],{"className":2392},[299],[71,2394,2395],{},"An error should be handled only if msg IS null, not IS NOT null.",[66,2397,2399,2404,2427,2489],{"className":2398},[103],[71,2400,2401],{},[39,2402,2403],{},"p. 286, Section 10.2.2",[71,2405,2406,2417,2420],{},[39,2407,2408,2409,2412,2413,2416],{},"When opening a FIFO with ",[250,2410,2411],{},"       O_RDONLY      "," or ",[250,2414,2415],{},"       O_WRONLY      "," set:",[39,2418,2419],{},"When opening a block special or character special file that supports nonblocking opens:",[39,2421,2422,2423,2426],{},"Otherwise, the behavior of ",[250,2424,2425],{},"       O_NONBLOCK      "," is unspecified.",[71,2428,2429,2436,2465,2467,2485],{},[39,2430,2431,2432,2412,2434,2416],{},"When opening a FIFO with ",[250,2433,2411],{},[250,2435,2415],{},[2437,2438,2439,2454],"ul",{},[2440,2441,2442,2443,2446,2447,2450,2451,2453],"li",{},"If ",[250,2444,2445],{},"        O_NONBLOCK       "," is set, an ",[250,2448,2449],{},"        open()       "," for reading-only returns without delay. An ",[250,2452,2449],{}," for writing-only returns an error if no process currently has the file open for reading.",[2440,2455,2442,2456,2458,2459,2461,2462,2464],{},[250,2457,2445],{}," is clear, an ",[250,2460,2449],{}," for reading-only blocks the calling thread until a thread opens the file for writing. An ",[250,2463,2449],{}," for writing-only blocks the calling thread until a thread opens the file for reading.",[39,2466,2419],{},[2437,2468,2469,2477],{},[2440,2470,2442,2471,2473,2474,2476],{},[250,2472,2445],{}," is set, the ",[250,2475,2449],{}," function returns without blocking for the device to be ready or available; subsequent behavior is device-specific.",[2440,2478,2442,2479,2481,2482,2484],{},[250,2480,2445],{}," is clear, the ",[250,2483,2449],{}," function blocks the calling thread until the device is ready or available before returning.",[39,2486,2422,2487,2426],{},[250,2488,2425],{},[71,2490,2491],{},[39,2492,2493],{},"Bulleted items were missing.",[66,2495,2497,2502,2507,2512],{"className":2496},[69],[71,2498,2499],{},[39,2500,2501],{},"p. 365, Section 12.2.3",[71,2503,2504],{},[39,2505,2506],{},"Signal handlers can refer to objects with static or thread storage a duration that are lock-free atomic objects, as in this compliant solution:",[71,2508,2509],{},[39,2510,2511],{},"Signal handlers can refer to objects with static or thread storage durations that are lock-free atomic objects, as in this compliant solution:",[71,2513,2514],{},[39,2515,2516],{},"The phrase should be “storage durations” not “storage a duration.”",[66,2518,2520,2523,2539,2547],{"className":2519},[103],[71,2521,2522],{},"p. 374, Section 13.1",[71,2524,2525],{},[39,2526,2527,2528,2532,2533,2535,2536,2538],{},"• Those that set errno and return an ",[2529,2530,2531],"del",{},"d"," out-of-band error indicator",[149,2534],{},"\n• Those that set errno and return an ",[2529,2537,2531],{}," in-band error indicator",[71,2540,2541],{},[39,2542,2543,2544,2546],{},"• Those that set errno and return an out-of-band error indicator",[149,2545],{},"\n• Those that set errno and return an in-band error indicator",[71,2548,2549],{},"Changed 'and' to 'an' to correct both noun phrases",[66,2551,2553,2556,2563,2566],{"className":2552},[69],[71,2554,2555],{},"p. 375, Section 13.1",[71,2557,2558,2559,2562],{},"c16rtomb() , c ",[2529,2560,2561],{},"r"," 32rtomb()",[71,2564,2565],{},"c16rtomb() , c32tomb()",[71,2567,2568],{},"The standard library function name was incorrectly spelled.",[66,2570,2572,2577,2594,2605],{"className":2571},[103],[71,2573,2574],{},[39,2575,2576],{},"p. 447, Section   14.11.1",[71,2578,2579],{},[39,2580,2581,2582,2585,2586,2589,2590,2593],{},"This noncompliant code example declares a shared ",[250,2583,2584],{},"       atomic_boolflag      "," variable and provides a ",[250,2587,2588],{},"       toggle_flag()      "," method that negates the current value of ",[250,2591,2592],{},"       flag      "," :",[71,2595,2596],{},[39,2597,2581,2598,2585,2601,2589,2603,2593],{},[250,2599,2600],{},"       atomic_bool flag      ",[250,2602,2588],{},[250,2604,2592],{},[71,2606,2607],{},[39,2608,2609,2610,2612,2613,1423],{},"The variable should be “ ",[250,2611,2600],{}," ,” not “ ",[250,2614,2584],{},[66,2616,2618,2621,2633,2638],{"className":2617},[69],[71,2619,2620],{},"p. 447, Section 14.11.1",[71,2622,2623,2624,2628,2629,2632],{},"Execution of this code may result in a ",[2625,2626,2627],"u",{},"data race"," because the value of ",[250,2630,2631],{},"      flag     "," is read, negated, and written back.",[71,2634,2635,2636,2632],{},"Execution of this code may result in unexpected behavior because the value of ",[250,2637,2631],{},[71,2639,2640],{},"Changed \"data race\" to a more appropriate term.",[66,2642,2644,2647,2650,2652],{"className":2643},[103],[71,2645,2646],{},"p 456-457, Section 15.1.3",[71,2648,2649],{},"Replaced Section 15.1.3 (Compliant Solution (Windows)",[71,2651,2649],{},[71,2653,2654],{},"Old CS was based on CryptGenRandom() which is deprecated. New CS is based on BCryptGenRandom(), which is recommended as replacement.",[66,2656,2658,2661,2664,2667],{"className":2657},[69],[71,2659,2660],{},"p 458, Section 15.1.6",[71,2662,2663],{},"“CryptGenRandom Function“",[71,2665,2666],{},"“BCryptGenRandom Function“",[71,2668,2669],{},"Updated bib. reference to correspond with new Section 15.1.3",[66,2671,2673,2676,2679,2681],{"className":2672},[103],[71,2674,2675],{},"p. 461, Section 15.2.3",[71,2677,2678],{},"Replaced Section 15.2.3 (Compliant Solution (Windows)",[71,2680,2678],{},[71,2682,2683],{},"Old CS was based on CryptGenRandom() which is deprecated. New CS is based on BCryptGenRandom(), which is recommended as replacement",[66,2685,2687,2690,2692,2694],{"className":2686},[69],[71,2688,2689],{},"p 462, Section 15.2.6",[71,2691,2663],{},[71,2693,2666],{},[71,2695,2696],{},"Updated bib. reference to correspond with new Section 15.2.3",[66,2698,2700,2703,2706,2713],{"className":2699},[103],[71,2701,2702],{},"p. 479, Section A",[71,2704,2705],{},"Previous section is 15.7.8, rule MSC40-C",[71,2707,1379,2708,2712],{},[43,2709,2711],{"href":2710},"\u002Fsei-cert-c-coding-standard\u002Frules\u002Fmiscellaneous-msc\u002Fmsc41-c","MSC41-C"," (See wiki for contents)",[71,2714,1387],{},[66,2716,2718,2721,2729,2736],{"className":2717},[69],[71,2719,2720],{},"p. 501, Section B",[71,2722,2723,2724,2728],{},"\"analyzer\" definition reference was [ ",[43,2725,2727],{"href":2726},"\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Faa-bibliography#AA.Bibliography-ISO\u002FIEC9899-2011","ISO\u002FIEC 9899:2011"," ].",[71,2730,2731,2732,2735],{},"\"analyzer\" definition reference should be [ ",[43,2733,122],{"href":2734},"\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Faa-bibliography#AA.Bibliography-ISO\u002FIECTS17961-2013"," ]",[71,2737,2738],{},"Reference was to the wrong ISO\u002FIEC standard document.",[66,2740,2742,2745,2759,2766],{"className":2741},[103],[71,2743,2744],{},"p. 519, Section C",[71,2746,2747],{},[39,2748,2749,2750,2752,2753,2755,2756],{},"137 The macro va_arg is invoked using the parameter ap that was",[149,2751],{},"\npassed to a function that invoked the macro va_arg with the same",[149,2754],{},"\nparameter (7.16). ",[2529,2757,2758],{},"CON37-C",[71,2760,2749,2761,2752,2763,2765],{},[149,2762],{},[149,2764],{},"\nparameter (7.16)",[71,2767,2768],{},"Rule CON37-C should be associated with Undefined Behavior 135, not 137.",[66,2770,2772,2774,2777,2780],{"className":2771},[69],[71,2773,2744],{},[71,2775,2776],{},"135 The signal function is used in a multi-threaded program (7.14.1.1).",[71,2778,2779],{},"135 The signal function is used in a multi-threaded program (7.14.1.1). CON37-C",[71,2781,2768],{},{"title":2783,"searchDepth":2784,"depth":2784,"links":2785},"",2,[],"This list of errata lists errors identified since the release of the PDF document entitled SEI CERT C Coding Standard: Rules for Developing Safe, Reliable, and Secure Systems (2016 Edition) . These corrections were made to the SEI CERT C Coding Standard wiki , which is the most current source for this standards information. The focus of the correction is highlighted in red below in the Before and After columns.  This page does not include additions since this standard was published, if the addition doesn't actually correct a defect that was in the publication.","md",{},"\u002Fsei-cert-c-coding-standard\u002Ferrata-for-sei-cert-c-coding-standard-2016-edition",{"title":30,"description":2786},"4.sei-cert-c-coding-standard\u002F06.errata-for-sei-cert-c-coding-standard-2016-edition","mZkXZ2dVGAGEGtBvMb1BTGmN52qWTcJnvNQQgTHpG1A",[2794,2798],{"title":2795,"path":2796,"stem":2797,"children":-1},"Coding Style Guidelines","\u002Fsei-cert-c-coding-standard\u002Fcoding-style-guidelines","4.sei-cert-c-coding-standard\u002F05.coding-style-guidelines",{"title":2799,"path":2800,"stem":2801,"children":-1},"Wiki Contents","\u002Fsei-cert-c-coding-standard\u002Fwiki-contents","4.sei-cert-c-coding-standard\u002F06.wiki-contents",[2803],{"title":2804,"path":2805,"stem":2806,"children":2807},"SEI CERT C Coding Standard","\u002Fsei-cert-c-coding-standard","4.sei-cert-c-coding-standard\u002F01.index",[2808,2809,2881,3462,3759,3773,3774,3775,3776,4591],{"title":2804,"path":2805,"stem":2806},{"title":2810,"path":2811,"stem":2812,"children":2813},"Front Matter","\u002Fsei-cert-c-coding-standard\u002Ffront-matter","4.sei-cert-c-coding-standard\u002F02.front-matter\u002F1.index",[2814,2815],{"title":2810,"path":2811,"stem":2812},{"title":2816,"path":2817,"stem":2818,"children":2819},"Introduction","\u002Fsei-cert-c-coding-standard\u002Ffront-matter\u002Fintroduction","4.sei-cert-c-coding-standard\u002F02.front-matter\u002F2.introduction\u002F01.index",[2820,2821,2825,2829,2833,2837,2841,2845,2849,2853,2857,2861,2865,2869,2873,2877],{"title":2816,"path":2817,"stem":2818},{"title":2822,"path":2823,"stem":2824},"Scope","\u002Fsei-cert-c-coding-standard\u002Ffront-matter\u002Fintroduction\u002Fscope","4.sei-cert-c-coding-standard\u002F02.front-matter\u002F2.introduction\u002F01.scope",{"title":2826,"path":2827,"stem":2828},"Audience","\u002Fsei-cert-c-coding-standard\u002Ffront-matter\u002Fintroduction\u002Faudience","4.sei-cert-c-coding-standard\u002F02.front-matter\u002F2.introduction\u002F02.audience",{"title":2830,"path":2831,"stem":2832},"How this Coding Standard is Organized","\u002Fsei-cert-c-coding-standard\u002Ffront-matter\u002Fintroduction\u002Fhow-this-coding-standard-is-organized","4.sei-cert-c-coding-standard\u002F02.front-matter\u002F2.introduction\u002F03.how-this-coding-standard-is-organized",{"title":2834,"path":2835,"stem":2836},"History","\u002Fsei-cert-c-coding-standard\u002Ffront-matter\u002Fintroduction\u002Fhistory","4.sei-cert-c-coding-standard\u002F02.front-matter\u002F2.introduction\u002F04.history",{"title":2838,"path":2839,"stem":2840},"ISO\u002FIEC TS 17961 C Secure Coding Rules","\u002Fsei-cert-c-coding-standard\u002Ffront-matter\u002Fintroduction\u002Fisoiec-ts-17961-c-secure-coding-rules","4.sei-cert-c-coding-standard\u002F02.front-matter\u002F2.introduction\u002F05.isoiec-ts-17961-c-secure-coding-rules",{"title":2842,"path":2843,"stem":2844},"Tool Selection and Validation","\u002Fsei-cert-c-coding-standard\u002Ffront-matter\u002Fintroduction\u002Ftool-selection-and-validation","4.sei-cert-c-coding-standard\u002F02.front-matter\u002F2.introduction\u002F06.tool-selection-and-validation",{"title":2846,"path":2847,"stem":2848},"Taint Analysis","\u002Fsei-cert-c-coding-standard\u002Ffront-matter\u002Fintroduction\u002Ftaint-analysis","4.sei-cert-c-coding-standard\u002F02.front-matter\u002F2.introduction\u002F07.taint-analysis",{"title":2850,"path":2851,"stem":2852},"Rules versus Recommendations","\u002Fsei-cert-c-coding-standard\u002Ffront-matter\u002Fintroduction\u002Frules-versus-recommendations","4.sei-cert-c-coding-standard\u002F02.front-matter\u002F2.introduction\u002F08.rules-versus-recommendations",{"title":2854,"path":2855,"stem":2856},"Conformance Testing","\u002Fsei-cert-c-coding-standard\u002Ffront-matter\u002Fintroduction\u002Fconformance-testing","4.sei-cert-c-coding-standard\u002F02.front-matter\u002F2.introduction\u002F09.conformance-testing",{"title":2858,"path":2859,"stem":2860},"Development Process","\u002Fsei-cert-c-coding-standard\u002Ffront-matter\u002Fintroduction\u002Fdevelopment-process","4.sei-cert-c-coding-standard\u002F02.front-matter\u002F2.introduction\u002F10.development-process",{"title":2862,"path":2863,"stem":2864},"Usage","\u002Fsei-cert-c-coding-standard\u002Ffront-matter\u002Fintroduction\u002Fusage","4.sei-cert-c-coding-standard\u002F02.front-matter\u002F2.introduction\u002F11.usage",{"title":2866,"path":2867,"stem":2868},"System Qualities","\u002Fsei-cert-c-coding-standard\u002Ffront-matter\u002Fintroduction\u002Fsystem-qualities","4.sei-cert-c-coding-standard\u002F02.front-matter\u002F2.introduction\u002F12.system-qualities",{"title":2870,"path":2871,"stem":2872},"Automatically Generated Code","\u002Fsei-cert-c-coding-standard\u002Ffront-matter\u002Fintroduction\u002Fautomatically-generated-code","4.sei-cert-c-coding-standard\u002F02.front-matter\u002F2.introduction\u002F13.automatically-generated-code",{"title":2874,"path":2875,"stem":2876},"Government Regulations","\u002Fsei-cert-c-coding-standard\u002Ffront-matter\u002Fintroduction\u002Fgovernment-regulations","4.sei-cert-c-coding-standard\u002F02.front-matter\u002F2.introduction\u002F14.government-regulations",{"title":2878,"path":2879,"stem":2880},"Acknowledgments","\u002Fsei-cert-c-coding-standard\u002Ffront-matter\u002Fintroduction\u002Facknowledgments","4.sei-cert-c-coding-standard\u002F02.front-matter\u002F2.introduction\u002F15.acknowledgments",{"title":2882,"path":2883,"stem":2884,"children":2885},"Rules","\u002Fsei-cert-c-coding-standard\u002Frules","4.sei-cert-c-coding-standard\u002F03.rules\u002F01.index",[2886,2887,2891,2921,2951,3013,3051,3077,3099,3161,3187,3245,3275,3305,3315,3352,3422,3440],{"title":2882,"path":2883,"stem":2884},{"title":2888,"path":2889,"stem":2890},"Application Programming Interfaces (API)","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fapplication-programming-interfaces-api","4.sei-cert-c-coding-standard\u002F03.rules\u002F02.application-programming-interfaces-api",{"title":2892,"path":2893,"stem":2894,"children":2895},"Arrays (ARR)","\u002Fsei-cert-c-coding-standard\u002Frules\u002Farrays-arr","4.sei-cert-c-coding-standard\u002F03.rules\u002F03.arrays-arr\u002F1.index",[2896,2897,2901,2905,2909,2913,2917],{"title":2892,"path":2893,"stem":2894},{"title":2898,"path":2899,"stem":2900},"ARR30-C. Do not form or use out-of-bounds pointers or array subscripts","\u002Fsei-cert-c-coding-standard\u002Frules\u002Farrays-arr\u002Farr30-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F03.arrays-arr\u002F2.arr30-c",{"title":2902,"path":2903,"stem":2904},"ARR32-C. Ensure size arguments for variable length arrays are in a valid range","\u002Fsei-cert-c-coding-standard\u002Frules\u002Farrays-arr\u002Farr32-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F03.arrays-arr\u002F3.arr32-c",{"title":2906,"path":2907,"stem":2908},"ARR36-C. Do not subtract or compare two pointers that do not refer to the same array","\u002Fsei-cert-c-coding-standard\u002Frules\u002Farrays-arr\u002Farr36-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F03.arrays-arr\u002F4.arr36-c",{"title":2910,"path":2911,"stem":2912},"ARR37-C. Do not add or subtract an integer to a pointer to a non-array object","\u002Fsei-cert-c-coding-standard\u002Frules\u002Farrays-arr\u002Farr37-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F03.arrays-arr\u002F5.arr37-c",{"title":2914,"path":2915,"stem":2916},"ARR38-C. Guarantee that library functions do not form invalid pointers","\u002Fsei-cert-c-coding-standard\u002Frules\u002Farrays-arr\u002Farr38-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F03.arrays-arr\u002F6.arr38-c",{"title":2918,"path":2919,"stem":2920},"ARR39-C. Do not add or subtract a scaled integer to a pointer","\u002Fsei-cert-c-coding-standard\u002Frules\u002Farrays-arr\u002Farr39-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F03.arrays-arr\u002F7.arr39-c",{"title":2922,"path":2923,"stem":2924,"children":2925},"Characters and Strings (STR)","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fcharacters-and-strings-str","4.sei-cert-c-coding-standard\u002F03.rules\u002F04.characters-and-strings-str\u002F1.index",[2926,2927,2931,2935,2939,2943,2947],{"title":2922,"path":2923,"stem":2924},{"title":2928,"path":2929,"stem":2930},"STR30-C. Do not attempt to modify string literals","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fcharacters-and-strings-str\u002Fstr30-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F04.characters-and-strings-str\u002F2.str30-c",{"title":2932,"path":2933,"stem":2934},"STR31-C. Guarantee that storage for strings has sufficient space for character data and the null terminator","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fcharacters-and-strings-str\u002Fstr31-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F04.characters-and-strings-str\u002F3.str31-c",{"title":2936,"path":2937,"stem":2938},"STR32-C. Do not pass a non-null-terminated character sequence to a library function that expects a string","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fcharacters-and-strings-str\u002Fstr32-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F04.characters-and-strings-str\u002F4.str32-c",{"title":2940,"path":2941,"stem":2942},"STR34-C. Cast characters to unsigned char before converting to larger integer sizes","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fcharacters-and-strings-str\u002Fstr34-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F04.characters-and-strings-str\u002F5.str34-c",{"title":2944,"path":2945,"stem":2946},"STR37-C. Arguments to character-handling functions must be representable as an unsigned char","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fcharacters-and-strings-str\u002Fstr37-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F04.characters-and-strings-str\u002F6.str37-c",{"title":2948,"path":2949,"stem":2950},"STR38-C. Do not confuse narrow and wide character strings and functions","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fcharacters-and-strings-str\u002Fstr38-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F04.characters-and-strings-str\u002F7.str38-c",{"title":2952,"path":2953,"stem":2954,"children":2955},"Concurrency (CON)","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fconcurrency-con","4.sei-cert-c-coding-standard\u002F03.rules\u002F05.concurrency-con\u002F01.index",[2956,2957,2961,2965,2969,2973,2977,2981,2985,2989,2993,2997,3001,3005,3009],{"title":2952,"path":2953,"stem":2954},{"title":2958,"path":2959,"stem":2960},"CON30-C. Clean up thread-specific storage","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fconcurrency-con\u002Fcon30-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F05.concurrency-con\u002F02.con30-c",{"title":2962,"path":2963,"stem":2964},"CON31-C. Do not destroy a mutex while it is locked","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fconcurrency-con\u002Fcon31-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F05.concurrency-con\u002F03.con31-c",{"title":2966,"path":2967,"stem":2968},"CON32-C. Prevent data races when accessing bit-fields from multiple threads","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fconcurrency-con\u002Fcon32-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F05.concurrency-con\u002F04.con32-c",{"title":2970,"path":2971,"stem":2972},"CON33-C. Avoid race conditions when using library functions","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fconcurrency-con\u002Fcon33-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F05.concurrency-con\u002F05.con33-c",{"title":2974,"path":2975,"stem":2976},"CON34-C. Declare objects shared between threads with appropriate storage durations","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fconcurrency-con\u002Fcon34-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F05.concurrency-con\u002F06.con34-c",{"title":2978,"path":2979,"stem":2980},"CON35-C. Avoid deadlock by locking in a predefined order","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fconcurrency-con\u002Fcon35-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F05.concurrency-con\u002F07.con35-c",{"title":2982,"path":2983,"stem":2984},"CON36-C. Wrap functions that can spuriously wake up in a loop","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fconcurrency-con\u002Fcon36-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F05.concurrency-con\u002F08.con36-c",{"title":2986,"path":2987,"stem":2988},"CON37-C. Do not call signal() in a multithreaded program","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fconcurrency-con\u002Fcon37-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F05.concurrency-con\u002F09.con37-c",{"title":2990,"path":2991,"stem":2992},"CON38-C. Preserve thread safety and liveness when using condition variables","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fconcurrency-con\u002Fcon38-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F05.concurrency-con\u002F10.con38-c",{"title":2994,"path":2995,"stem":2996},"CON39-C. Do not join or detach a thread that was previously joined or detached","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fconcurrency-con\u002Fcon39-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F05.concurrency-con\u002F11.con39-c",{"title":2998,"path":2999,"stem":3000},"CON40-C. Do not refer to an atomic variable twice in an expression","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fconcurrency-con\u002Fcon40-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F05.concurrency-con\u002F12.con40-c",{"title":3002,"path":3003,"stem":3004},"CON41-C. Wrap functions that can fail spuriously in a loop","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fconcurrency-con\u002Fcon41-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F05.concurrency-con\u002F13.con41-c",{"title":3006,"path":3007,"stem":3008},"CON42-C. Don't allow attackers to influence environment variables that control concurrency parameters","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fconcurrency-con\u002Fcon42-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F05.concurrency-con\u002F14.con42-c",{"title":3010,"path":3011,"stem":3012},"CON43-C. Do not allow data races in multithreaded code","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fconcurrency-con\u002Fcon43-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F05.concurrency-con\u002F15.con43-c",{"title":3014,"path":3015,"stem":3016,"children":3017},"Declarations and Initialization (DCL)","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fdeclarations-and-initialization-dcl","4.sei-cert-c-coding-standard\u002F03.rules\u002F06.declarations-and-initialization-dcl\u002F1.index",[3018,3019,3023,3027,3031,3035,3039,3043,3047],{"title":3014,"path":3015,"stem":3016},{"title":3020,"path":3021,"stem":3022},"DCL30-C. Declare objects with appropriate storage durations","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fdeclarations-and-initialization-dcl\u002Fdcl30-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F06.declarations-and-initialization-dcl\u002F2.dcl30-c",{"title":3024,"path":3025,"stem":3026},"DCL31-C. Declare identifiers before using them","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fdeclarations-and-initialization-dcl\u002Fdcl31-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F06.declarations-and-initialization-dcl\u002F3.dcl31-c",{"title":3028,"path":3029,"stem":3030},"DCL36-C. Do not declare an identifier with conflicting linkage classifications","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fdeclarations-and-initialization-dcl\u002Fdcl36-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F06.declarations-and-initialization-dcl\u002F4.dcl36-c",{"title":3032,"path":3033,"stem":3034},"DCL37-C. Do not declare or define a reserved identifier","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fdeclarations-and-initialization-dcl\u002Fdcl37-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F06.declarations-and-initialization-dcl\u002F5.dcl37-c",{"title":3036,"path":3037,"stem":3038},"DCL38-C. Use the correct syntax when declaring a flexible array member","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fdeclarations-and-initialization-dcl\u002Fdcl38-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F06.declarations-and-initialization-dcl\u002F6.dcl38-c",{"title":3040,"path":3041,"stem":3042},"DCL39-C. Avoid information leakage when passing a structure across a trust boundary","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fdeclarations-and-initialization-dcl\u002Fdcl39-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F06.declarations-and-initialization-dcl\u002F7.dcl39-c",{"title":3044,"path":3045,"stem":3046},"DCL40-C. Do not create incompatible declarations of the same function or object","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fdeclarations-and-initialization-dcl\u002Fdcl40-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F06.declarations-and-initialization-dcl\u002F8.dcl40-c",{"title":3048,"path":3049,"stem":3050},"DCL41-C. Do not declare variables inside a switch statement before the first case label","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fdeclarations-and-initialization-dcl\u002Fdcl41-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F06.declarations-and-initialization-dcl\u002F9.dcl41-c",{"title":3052,"path":3053,"stem":3054,"children":3055},"Environment (ENV)","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fenvironment-env","4.sei-cert-c-coding-standard\u002F03.rules\u002F07.environment-env\u002F1.index",[3056,3057,3061,3065,3069,3073],{"title":3052,"path":3053,"stem":3054},{"title":3058,"path":3059,"stem":3060},"ENV30-C. Do not modify the object referenced by the return value of certain functions","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fenvironment-env\u002Fenv30-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F07.environment-env\u002F2.env30-c",{"title":3062,"path":3063,"stem":3064},"ENV31-C. Do not rely on an environment pointer following an operation that may invalidate it","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fenvironment-env\u002Fenv31-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F07.environment-env\u002F3.env31-c",{"title":3066,"path":3067,"stem":3068},"ENV32-C. All exit handlers must return normally","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fenvironment-env\u002Fenv32-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F07.environment-env\u002F4.env32-c",{"title":3070,"path":3071,"stem":3072},"ENV33-C. Do not call system()","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fenvironment-env\u002Fenv33-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F07.environment-env\u002F5.env33-c",{"title":3074,"path":3075,"stem":3076},"ENV34-C. Do not store pointers returned by certain functions","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fenvironment-env\u002Fenv34-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F07.environment-env\u002F6.env34-c",{"title":3078,"path":3079,"stem":3080,"children":3081},"Error Handling (ERR)","\u002Fsei-cert-c-coding-standard\u002Frules\u002Ferror-handling-err","4.sei-cert-c-coding-standard\u002F03.rules\u002F08.error-handling-err\u002F1.index",[3082,3083,3087,3091,3095],{"title":3078,"path":3079,"stem":3080},{"title":3084,"path":3085,"stem":3086},"ERR30-C. Take care when reading errno","\u002Fsei-cert-c-coding-standard\u002Frules\u002Ferror-handling-err\u002Ferr30-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F08.error-handling-err\u002F2.err30-c",{"title":3088,"path":3089,"stem":3090},"ERR32-C. Do not rely on indeterminate values of errno","\u002Fsei-cert-c-coding-standard\u002Frules\u002Ferror-handling-err\u002Ferr32-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F08.error-handling-err\u002F3.err32-c",{"title":3092,"path":3093,"stem":3094},"ERR33-C. Detect and handle standard library errors","\u002Fsei-cert-c-coding-standard\u002Frules\u002Ferror-handling-err\u002Ferr33-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F08.error-handling-err\u002F4.err33-c",{"title":3096,"path":3097,"stem":3098},"ERR34-C. Detect errors when converting a string to a number","\u002Fsei-cert-c-coding-standard\u002Frules\u002Ferror-handling-err\u002Ferr34-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F08.error-handling-err\u002F5.err34-c",{"title":3100,"path":3101,"stem":3102,"children":3103},"Expressions (EXP)","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fexpressions-exp","4.sei-cert-c-coding-standard\u002F03.rules\u002F09.expressions-exp\u002F01.index",[3104,3105,3107,3111,3115,3119,3123,3126,3130,3134,3138,3142,3146,3150,3154,3158],{"title":3100,"path":3101,"stem":3102},{"title":1305,"path":1304,"stem":3106},"4.sei-cert-c-coding-standard\u002F03.rules\u002F09.expressions-exp\u002F02.exp30-c",{"title":3108,"path":3109,"stem":3110},"EXP32-C. Do not access a volatile object through a nonvolatile reference","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fexpressions-exp\u002Fexp32-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F09.expressions-exp\u002F03.exp32-c",{"title":3112,"path":3113,"stem":3114},"EXP33-C. Do not read uninitialized memory","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fexpressions-exp\u002Fexp33-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F09.expressions-exp\u002F04.exp33-c",{"title":3116,"path":3117,"stem":3118},"EXP34-C. Do not dereference null pointers","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fexpressions-exp\u002Fexp34-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F09.expressions-exp\u002F05.exp34-c",{"title":3120,"path":3121,"stem":3122},"EXP35-C. Do not modify objects with temporary lifetime","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fexpressions-exp\u002Fexp35-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F09.expressions-exp\u002F06.exp35-c",{"title":3124,"path":935,"stem":3125},"EXP36-C. Do not cast pointers into more strictly aligned pointer types","4.sei-cert-c-coding-standard\u002F03.rules\u002F09.expressions-exp\u002F07.exp36-c",{"title":3127,"path":3128,"stem":3129},"EXP37-C. Call functions with the correct number and type of arguments","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fexpressions-exp\u002Fexp37-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F09.expressions-exp\u002F08.exp37-c",{"title":3131,"path":3132,"stem":3133},"EXP39-C. Do not access a variable through a pointer of an incompatible type","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fexpressions-exp\u002Fexp39-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F09.expressions-exp\u002F09.exp39-c",{"title":3135,"path":3136,"stem":3137},"EXP40-C. Do not modify constant objects","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fexpressions-exp\u002Fexp40-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F09.expressions-exp\u002F10.exp40-c",{"title":3139,"path":3140,"stem":3141},"EXP42-C. Do not compare padding data","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fexpressions-exp\u002Fexp42-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F09.expressions-exp\u002F11.exp42-c",{"title":3143,"path":3144,"stem":3145},"EXP43-C. Avoid undefined behavior when using restrict-qualified pointers","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fexpressions-exp\u002Fexp43-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F09.expressions-exp\u002F12.exp43-c",{"title":3147,"path":3148,"stem":3149},"EXP44-C. Do not rely on side effects in operands to sizeof, _Alignof, or _Generic","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fexpressions-exp\u002Fexp44-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F09.expressions-exp\u002F13.exp44-c",{"title":3151,"path":3152,"stem":3153},"EXP45-C. Do not perform assignments in selection statements","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fexpressions-exp\u002Fexp45-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F09.expressions-exp\u002F14.exp45-c",{"title":3155,"path":3156,"stem":3157},"EXP46-C. Do not use a bitwise operator with a Boolean-like operand","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fexpressions-exp\u002Fexp46-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F09.expressions-exp\u002F15.exp46-c",{"title":3159,"path":1382,"stem":3160},"EXP47-C. Do not call va_arg with an argument of the incorrect type","4.sei-cert-c-coding-standard\u002F03.rules\u002F09.expressions-exp\u002F16.exp47-c",{"title":3162,"path":3163,"stem":3164,"children":3165},"Floating Point (FLP)","\u002Fsei-cert-c-coding-standard\u002Frules\u002Ffloating-point-flp","4.sei-cert-c-coding-standard\u002F03.rules\u002F10.floating-point-flp\u002F1.index",[3166,3167,3171,3175,3179,3183],{"title":3162,"path":3163,"stem":3164},{"title":3168,"path":3169,"stem":3170},"FLP30-C. Do not use floating-point variables as loop counters","\u002Fsei-cert-c-coding-standard\u002Frules\u002Ffloating-point-flp\u002Fflp30-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F10.floating-point-flp\u002F2.flp30-c",{"title":3172,"path":3173,"stem":3174},"FLP32-C. Prevent or detect domain and range errors in math functions","\u002Fsei-cert-c-coding-standard\u002Frules\u002Ffloating-point-flp\u002Fflp32-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F10.floating-point-flp\u002F3.flp32-c",{"title":3176,"path":3177,"stem":3178},"FLP34-C. Ensure that floating-point conversions are within range of the new type","\u002Fsei-cert-c-coding-standard\u002Frules\u002Ffloating-point-flp\u002Fflp34-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F10.floating-point-flp\u002F4.flp34-c",{"title":3180,"path":3181,"stem":3182},"FLP36-C. Preserve precision when converting integral values to floating-point type","\u002Fsei-cert-c-coding-standard\u002Frules\u002Ffloating-point-flp\u002Fflp36-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F10.floating-point-flp\u002F5.flp36-c",{"title":3184,"path":3185,"stem":3186},"FLP37-C. Do not use object representations to compare floating-point values","\u002Fsei-cert-c-coding-standard\u002Frules\u002Ffloating-point-flp\u002Fflp37-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F10.floating-point-flp\u002F6.flp37-c",{"title":3188,"path":3189,"stem":3190,"children":3191},"Input Output (FIO)","\u002Fsei-cert-c-coding-standard\u002Frules\u002Finput-output-fio","4.sei-cert-c-coding-standard\u002F03.rules\u002F11.input-output-fio\u002F01.index",[3192,3193,3197,3201,3205,3209,3213,3217,3221,3225,3229,3233,3237,3241],{"title":3188,"path":3189,"stem":3190},{"title":3194,"path":3195,"stem":3196},"FIO30-C. Exclude user input from format strings","\u002Fsei-cert-c-coding-standard\u002Frules\u002Finput-output-fio\u002Ffio30-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F11.input-output-fio\u002F02.fio30-c",{"title":3198,"path":3199,"stem":3200},"FIO32-C. Do not perform operations on devices that are only appropriate for files","\u002Fsei-cert-c-coding-standard\u002Frules\u002Finput-output-fio\u002Ffio32-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F11.input-output-fio\u002F03.fio32-c",{"title":3202,"path":3203,"stem":3204},"FIO34-C. Distinguish between characters read from a file and EOF or WEOF","\u002Fsei-cert-c-coding-standard\u002Frules\u002Finput-output-fio\u002Ffio34-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F11.input-output-fio\u002F04.fio34-c",{"title":3206,"path":3207,"stem":3208},"FIO37-C. Do not assume that fgets() or fgetws() returns a nonempty string when successful","\u002Fsei-cert-c-coding-standard\u002Frules\u002Finput-output-fio\u002Ffio37-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F11.input-output-fio\u002F05.fio37-c",{"title":3210,"path":3211,"stem":3212},"FIO38-C. Do not copy a FILE object","\u002Fsei-cert-c-coding-standard\u002Frules\u002Finput-output-fio\u002Ffio38-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F11.input-output-fio\u002F06.fio38-c",{"title":3214,"path":3215,"stem":3216},"FIO39-C. Do not alternately input and output from a stream without an intervening flush or positioning call","\u002Fsei-cert-c-coding-standard\u002Frules\u002Finput-output-fio\u002Ffio39-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F11.input-output-fio\u002F07.fio39-c",{"title":3218,"path":3219,"stem":3220},"FIO40-C. Reset strings on fgets() or fgetws() failure","\u002Fsei-cert-c-coding-standard\u002Frules\u002Finput-output-fio\u002Ffio40-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F11.input-output-fio\u002F08.fio40-c",{"title":3222,"path":3223,"stem":3224},"FIO41-C. Do not call getc(), putc(), getwc(), or putwc() with a stream argument that has side effects","\u002Fsei-cert-c-coding-standard\u002Frules\u002Finput-output-fio\u002Ffio41-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F11.input-output-fio\u002F09.fio41-c",{"title":3226,"path":3227,"stem":3228},"FIO42-C. Close files when they are no longer needed","\u002Fsei-cert-c-coding-standard\u002Frules\u002Finput-output-fio\u002Ffio42-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F11.input-output-fio\u002F10.fio42-c",{"title":3230,"path":3231,"stem":3232},"FIO44-C. Only use values for fsetpos() that are returned from fgetpos()","\u002Fsei-cert-c-coding-standard\u002Frules\u002Finput-output-fio\u002Ffio44-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F11.input-output-fio\u002F11.fio44-c",{"title":3234,"path":3235,"stem":3236},"FIO45-C. Avoid TOCTOU race conditions while accessing files","\u002Fsei-cert-c-coding-standard\u002Frules\u002Finput-output-fio\u002Ffio45-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F11.input-output-fio\u002F12.fio45-c",{"title":3238,"path":3239,"stem":3240},"FIO46-C. Do not access a closed file","\u002Fsei-cert-c-coding-standard\u002Frules\u002Finput-output-fio\u002Ffio46-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F11.input-output-fio\u002F13.fio46-c",{"title":3242,"path":3243,"stem":3244},"FIO47-C. Use valid format strings","\u002Fsei-cert-c-coding-standard\u002Frules\u002Finput-output-fio\u002Ffio47-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F11.input-output-fio\u002F14.fio47-c",{"title":3246,"path":3247,"stem":3248,"children":3249},"Integers (INT)","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fintegers-int","4.sei-cert-c-coding-standard\u002F03.rules\u002F12.integers-int\u002F1.index",[3250,3251,3253,3257,3259,3263,3267,3271],{"title":3246,"path":3247,"stem":3248},{"title":2270,"path":2269,"stem":3252},"4.sei-cert-c-coding-standard\u002F03.rules\u002F12.integers-int\u002F2.int30-c",{"title":3254,"path":3255,"stem":3256},"INT31-C. Ensure that integer conversions do not result in lost or misinterpreted data","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fintegers-int\u002Fint31-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F12.integers-int\u002F3.int31-c",{"title":2258,"path":2257,"stem":3258},"4.sei-cert-c-coding-standard\u002F03.rules\u002F12.integers-int\u002F4.int32-c",{"title":3260,"path":3261,"stem":3262},"INT33-C. Ensure that division and remainder operations do not result in divide-by-zero errors","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fintegers-int\u002Fint33-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F12.integers-int\u002F5.int33-c",{"title":3264,"path":3265,"stem":3266},"INT34-C. Do not shift an expression by a negative number of bits or by greater than or equal to the number of bits that exist in the operand","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fintegers-int\u002Fint34-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F12.integers-int\u002F6.int34-c",{"title":3268,"path":3269,"stem":3270},"INT35-C. Use correct integer precisions","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fintegers-int\u002Fint35-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F12.integers-int\u002F7.int35-c",{"title":3272,"path":3273,"stem":3274},"INT36-C. Converting a pointer to integer or integer to pointer","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fintegers-int\u002Fint36-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F12.integers-int\u002F8.int36-c",{"title":3276,"path":3277,"stem":3278,"children":3279},"Memory Management (MEM)","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fmemory-management-mem","4.sei-cert-c-coding-standard\u002F03.rules\u002F13.memory-management-mem\u002F1.index",[3280,3281,3285,3289,3293,3297,3301],{"title":3276,"path":3277,"stem":3278},{"title":3282,"path":3283,"stem":3284},"MEM30-C. Do not access freed memory","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fmemory-management-mem\u002Fmem30-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F13.memory-management-mem\u002F2.mem30-c",{"title":3286,"path":3287,"stem":3288},"MEM31-C. Free dynamically allocated memory when no longer needed","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fmemory-management-mem\u002Fmem31-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F13.memory-management-mem\u002F3.mem31-c",{"title":3290,"path":3291,"stem":3292},"MEM33-C. Allocate and copy structures containing a flexible array member dynamically","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fmemory-management-mem\u002Fmem33-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F13.memory-management-mem\u002F4.mem33-c",{"title":3294,"path":3295,"stem":3296},"MEM34-C. Only free memory allocated dynamically","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fmemory-management-mem\u002Fmem34-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F13.memory-management-mem\u002F5.mem34-c",{"title":3298,"path":3299,"stem":3300},"MEM35-C. Allocate sufficient memory for an object","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fmemory-management-mem\u002Fmem35-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F13.memory-management-mem\u002F6.mem35-c",{"title":3302,"path":3303,"stem":3304},"MEM36-C. Do not modify the alignment of objects by calling realloc()","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fmemory-management-mem\u002Fmem36-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F13.memory-management-mem\u002F7.mem36-c",{"title":3306,"path":3307,"stem":3308,"children":3309},"Microsoft Windows (WIN)","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fmicrosoft-windows-win","4.sei-cert-c-coding-standard\u002F03.rules\u002F14.microsoft-windows-win\u002F1.index",[3310,3311],{"title":3306,"path":3307,"stem":3308},{"title":3312,"path":3313,"stem":3314},"WIN30-C. Properly pair allocation and deallocation functions","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fmicrosoft-windows-win\u002Fwin30-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F14.microsoft-windows-win\u002F2.win30-c",{"title":3316,"path":3317,"stem":3318,"children":3319},"Miscellaneous (MSC)","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fmiscellaneous-msc","4.sei-cert-c-coding-standard\u002F03.rules\u002F15.miscellaneous-msc\u002F1.index",[3320,3321,3325,3329,3333,3337,3341,3345,3349],{"title":3316,"path":3317,"stem":3318},{"title":3322,"path":3323,"stem":3324},"MSC30-C. Do not use the rand() function for generating pseudorandom numbers","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fmiscellaneous-msc\u002Fmsc30-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F15.miscellaneous-msc\u002F2.msc30-c",{"title":3326,"path":3327,"stem":3328},"MSC32-C. Properly seed pseudorandom number generators","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fmiscellaneous-msc\u002Fmsc32-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F15.miscellaneous-msc\u002F3.msc32-c",{"title":3330,"path":3331,"stem":3332},"MSC33-C. Do not pass invalid data to the asctime() function","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fmiscellaneous-msc\u002Fmsc33-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F15.miscellaneous-msc\u002F4.msc33-c",{"title":3334,"path":3335,"stem":3336},"MSC37-C. Ensure that control never reaches the end of a non-void function","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fmiscellaneous-msc\u002Fmsc37-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F15.miscellaneous-msc\u002F5.msc37-c",{"title":3338,"path":3339,"stem":3340},"MSC38-C. Do not treat a predefined identifier as an object if it might only be implemented as a macro","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fmiscellaneous-msc\u002Fmsc38-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F15.miscellaneous-msc\u002F6.msc38-c",{"title":3342,"path":3343,"stem":3344},"MSC39-C. Do not call va_arg() on a va_list that has an indeterminate value","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fmiscellaneous-msc\u002Fmsc39-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F15.miscellaneous-msc\u002F7.msc39-c",{"title":3346,"path":3347,"stem":3348},"MSC40-C. Do not violate constraints","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fmiscellaneous-msc\u002Fmsc40-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F15.miscellaneous-msc\u002F8.msc40-c",{"title":3350,"path":2710,"stem":3351},"MSC41-C. Never hard code sensitive information","4.sei-cert-c-coding-standard\u002F03.rules\u002F15.miscellaneous-msc\u002F9.msc41-c",{"title":3353,"path":3354,"stem":3355,"children":3356},"POSIX (POS)","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fposix-pos","4.sei-cert-c-coding-standard\u002F03.rules\u002F16.posix-pos\u002F01.index",[3357,3358,3362,3366,3370,3374,3378,3382,3386,3390,3394,3398,3402,3406,3410,3414,3418],{"title":3353,"path":3354,"stem":3355},{"title":3359,"path":3360,"stem":3361},"POS30-C. Use the readlink() function properly","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fposix-pos\u002Fpos30-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F16.posix-pos\u002F02.pos30-c",{"title":3363,"path":3364,"stem":3365},"POS34-C. Do not call putenv() with a pointer to an automatic variable as the argument","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fposix-pos\u002Fpos34-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F16.posix-pos\u002F03.pos34-c",{"title":3367,"path":3368,"stem":3369},"POS35-C. Avoid race conditions while checking for the existence of a symbolic link","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fposix-pos\u002Fpos35-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F16.posix-pos\u002F04.pos35-c",{"title":3371,"path":3372,"stem":3373},"POS36-C. Observe correct revocation order while relinquishing privileges","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fposix-pos\u002Fpos36-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F16.posix-pos\u002F05.pos36-c",{"title":3375,"path":3376,"stem":3377},"POS37-C. Ensure that privilege relinquishment is successful","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fposix-pos\u002Fpos37-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F16.posix-pos\u002F06.pos37-c",{"title":3379,"path":3380,"stem":3381},"POS38-C. Beware of race conditions when using fork and file descriptors","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fposix-pos\u002Fpos38-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F16.posix-pos\u002F07.pos38-c",{"title":3383,"path":3384,"stem":3385},"POS39-C. Use the correct byte ordering when transferring data between systems","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fposix-pos\u002Fpos39-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F16.posix-pos\u002F08.pos39-c",{"title":3387,"path":3388,"stem":3389},"POS44-C. Do not use signals to terminate threads","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fposix-pos\u002Fpos44-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F16.posix-pos\u002F09.pos44-c",{"title":3391,"path":3392,"stem":3393},"POS47-C. Do not use threads that can be canceled asynchronously","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fposix-pos\u002Fpos47-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F16.posix-pos\u002F10.pos47-c",{"title":3395,"path":3396,"stem":3397},"POS48-C. Do not unlock or destroy another POSIX thread's mutex","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fposix-pos\u002Fpos48-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F16.posix-pos\u002F11.pos48-c",{"title":3399,"path":3400,"stem":3401},"POS49-C. When data must be accessed by multiple threads, provide a mutex and guarantee no adjacent data is also accessed","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fposix-pos\u002Fpos49-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F16.posix-pos\u002F12.pos49-c",{"title":3403,"path":3404,"stem":3405},"POS50-C. Declare objects shared between POSIX threads with appropriate storage durations","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fposix-pos\u002Fpos50-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F16.posix-pos\u002F13.pos50-c",{"title":3407,"path":3408,"stem":3409},"POS51-C. Avoid deadlock with POSIX threads by locking in predefined order","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fposix-pos\u002Fpos51-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F16.posix-pos\u002F14.pos51-c",{"title":3411,"path":3412,"stem":3413},"POS52-C. Do not perform operations that can block while holding a POSIX lock","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fposix-pos\u002Fpos52-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F16.posix-pos\u002F15.pos52-c",{"title":3415,"path":3416,"stem":3417},"POS53-C. Do not use more than one mutex for concurrent waiting operations on a condition variable","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fposix-pos\u002Fpos53-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F16.posix-pos\u002F16.pos53-c",{"title":3419,"path":3420,"stem":3421},"POS54-C. Detect and handle POSIX library errors","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fposix-pos\u002Fpos54-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F16.posix-pos\u002F17.pos54-c",{"title":3423,"path":3424,"stem":3425,"children":3426},"Preprocessor (PRE)","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fpreprocessor-pre","4.sei-cert-c-coding-standard\u002F03.rules\u002F17.preprocessor-pre\u002F1.index",[3427,3428,3432,3436],{"title":3423,"path":3424,"stem":3425},{"title":3429,"path":3430,"stem":3431},"PRE30-C. Do not create a universal character name through concatenation","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fpreprocessor-pre\u002Fpre30-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F17.preprocessor-pre\u002F2.pre30-c",{"title":3433,"path":3434,"stem":3435},"PRE31-C. Avoid side effects in arguments to unsafe macros","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fpreprocessor-pre\u002Fpre31-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F17.preprocessor-pre\u002F3.pre31-c",{"title":3437,"path":3438,"stem":3439},"PRE32-C. Do not use preprocessor directives in invocations of function-like macros","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fpreprocessor-pre\u002Fpre32-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F17.preprocessor-pre\u002F4.pre32-c",{"title":3441,"path":3442,"stem":3443,"children":3444},"Signals (SIG)","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fsignals-sig","4.sei-cert-c-coding-standard\u002F03.rules\u002F18.signals-sig\u002F1.index",[3445,3446,3450,3454,3458],{"title":3441,"path":3442,"stem":3443},{"title":3447,"path":3448,"stem":3449},"SIG30-C. Call only asynchronous-safe functions within signal handlers","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fsignals-sig\u002Fsig30-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F18.signals-sig\u002F2.sig30-c",{"title":3451,"path":3452,"stem":3453},"SIG31-C. Do not access shared objects in signal handlers","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fsignals-sig\u002Fsig31-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F18.signals-sig\u002F3.sig31-c",{"title":3455,"path":3456,"stem":3457},"SIG34-C. Do not call signal() from within interruptible signal handlers","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fsignals-sig\u002Fsig34-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F18.signals-sig\u002F4.sig34-c",{"title":3459,"path":3460,"stem":3461},"SIG35-C. Do not return from a computational exception signal handler","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fsignals-sig\u002Fsig35-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F18.signals-sig\u002F5.sig35-c",{"title":3463,"path":3464,"stem":3465,"children":3466},"Back Matter","\u002Fsei-cert-c-coding-standard\u002Fback-matter","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F1.index",[3467,3468,3472,3476,3480,3484,3698,3755],{"title":3463,"path":3464,"stem":3465},{"title":3469,"path":3470,"stem":3471},"AA. Bibliography","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Faa-bibliography","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F2.aa-bibliography",{"title":3473,"path":3474,"stem":3475},"BB. Definitions","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fbb-definitions","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F3.bb-definitions",{"title":3477,"path":3478,"stem":3479},"CC. Undefined Behavior","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fcc-undefined-behavior","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F4.cc-undefined-behavior",{"title":3481,"path":3482,"stem":3483},"DD. Unspecified Behavior","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fdd-unspecified-behavior","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F5.dd-unspecified-behavior",{"title":3485,"path":3486,"stem":3487,"children":3488},"EE. Analyzers","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F01.index",[3489,3490,3494,3498,3502,3506,3510,3514,3518,3522,3526,3530,3534,3538,3542,3546,3550,3554,3558,3562,3566,3570,3574,3578,3582,3586,3590,3594,3598,3602,3606,3610,3614,3618,3622,3626,3630,3634,3638,3642,3646,3650,3654,3658,3662,3666,3670,3674,3678,3682,3686,3690,3694],{"title":3485,"path":3486,"stem":3487},{"title":3491,"path":3492,"stem":3493},"Astrée","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Fastree","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F02.astree",{"title":3495,"path":3496,"stem":3497},"Astrée_V","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Fastree_v","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F03.astree_v",{"title":3499,"path":3500,"stem":3501},"Axivion Bauhaus Suite","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Faxivion-bauhaus-suite","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F04.axivion-bauhaus-suite",{"title":3503,"path":3504,"stem":3505},"Axivion Bauhaus Suite_V","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Faxivion-bauhaus-suite_v","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F05.axivion-bauhaus-suite_v",{"title":3507,"path":3508,"stem":3509},"Clang","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Fclang","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F06.clang",{"title":3511,"path":3512,"stem":3513},"Clang_38_V","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Fclang_38_v","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F07.clang_38_v",{"title":3515,"path":3516,"stem":3517},"Clang_39_V","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Fclang_39_v","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F08.clang_39_v",{"title":3519,"path":3520,"stem":3521},"Clang_40_V","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Fclang_40_v","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F09.clang_40_v",{"title":3523,"path":3524,"stem":3525},"Clang_V","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Fclang_v","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F10.clang_v",{"title":3527,"path":3528,"stem":3529},"Codee","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Fcodee","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F11.codee",{"title":3531,"path":3532,"stem":3533},"Codee_V","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Fcodee_v","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F12.codee_v",{"title":3535,"path":3536,"stem":3537},"CodeSonar","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Fcodesonar","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F13.codesonar",{"title":3539,"path":3540,"stem":3541},"CodeSonar_V","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Fcodesonar_v","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F14.codesonar_v",{"title":3543,"path":3544,"stem":3545},"Coverity","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Fcoverity","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F15.coverity",{"title":3547,"path":3548,"stem":3549},"Coverity_V","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Fcoverity_v","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F16.coverity_v",{"title":3551,"path":3552,"stem":3553},"Cppcheck","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Fcppcheck","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F17.cppcheck",{"title":3555,"path":3556,"stem":3557},"Cppcheck Premium","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Fcppcheck-premium","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F18.cppcheck-premium",{"title":3559,"path":3560,"stem":3561},"Cppcheck Premium_V","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Fcppcheck-premium_v","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F19.cppcheck-premium_v",{"title":3563,"path":3564,"stem":3565},"Cppcheck_V","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Fcppcheck_v","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F20.cppcheck_v",{"title":3567,"path":3568,"stem":3569},"ECLAIR","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Feclair","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F21.eclair",{"title":3571,"path":3572,"stem":3573},"ECLAIR_V","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Feclair_v","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F22.eclair_v",{"title":3575,"path":3576,"stem":3577},"EDG","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Fedg","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F23.edg",{"title":3579,"path":3580,"stem":3581},"EDG_V","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Fedg_v","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F24.edg_v",{"title":3583,"path":3584,"stem":3585},"GCC","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Fgcc","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F25.gcc",{"title":3587,"path":3588,"stem":3589},"GCC_V","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Fgcc_v","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F26.gcc_v",{"title":3591,"path":3592,"stem":3593},"Helix QAC","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Fhelix-qac","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F27.helix-qac",{"title":3595,"path":3596,"stem":3597},"Helix QAC_V","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Fhelix-qac_v","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F28.helix-qac_v",{"title":3599,"path":3600,"stem":3601},"Klocwork","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Fklocwork","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F29.klocwork",{"title":3603,"path":3604,"stem":3605},"Klocwork_V","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Fklocwork_v","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F30.klocwork_v",{"title":3607,"path":3608,"stem":3609},"LDRA","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Fldra","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F31.ldra",{"title":3611,"path":3612,"stem":3613},"LDRA_V","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Fldra_v","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F32.ldra_v",{"title":3615,"path":3616,"stem":3617},"Parasoft","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Fparasoft","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F33.parasoft",{"title":3619,"path":3620,"stem":3621},"Parasoft_V","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Fparasoft_v","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F34.parasoft_v",{"title":3623,"path":3624,"stem":3625},"PC-lint Plus","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Fpc-lint-plus","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F35.pc-lint-plus",{"title":3627,"path":3628,"stem":3629},"PC-lint Plus_V","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Fpc-lint-plus_v","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F36.pc-lint-plus_v",{"title":3631,"path":3632,"stem":3633},"Polyspace Bug Finder","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Fpolyspace-bug-finder","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F37.polyspace-bug-finder",{"title":3635,"path":3636,"stem":3637},"Polyspace Bug Finder_V","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Fpolyspace-bug-finder_v","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F38.polyspace-bug-finder_v",{"title":3639,"path":3640,"stem":3641},"PVS-Studio","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Fpvs-studio","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F39.pvs-studio",{"title":3643,"path":3644,"stem":3645},"PVS-Studio_V","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Fpvs-studio_v","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F40.pvs-studio_v",{"title":3647,"path":3648,"stem":3649},"Rose","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Frose","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F41.rose",{"title":3651,"path":3652,"stem":3653},"Rose_V","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Frose_v","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F42.rose_v",{"title":3655,"path":3656,"stem":3657},"Rosecheckers Code","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Frosecheckers-code","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F43.rosecheckers-code",{"title":3659,"path":3660,"stem":3661},"RuleChecker","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Frulechecker","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F44.rulechecker",{"title":3663,"path":3664,"stem":3665},"RuleChecker_V","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Frulechecker_v","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F45.rulechecker_v",{"title":3667,"path":3668,"stem":3669},"Security Reviewer - Static Reviewer","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Fsecurity-reviewer-static-reviewer","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F46.security-reviewer-static-reviewer",{"title":3671,"path":3672,"stem":3673},"Security Reviewer - Static Reviewer_V","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Fsecurity-reviewer-static-reviewer_v","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F47.security-reviewer-static-reviewer_v",{"title":3675,"path":3676,"stem":3677},"SonarQube C\u002FC++ Plugin","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Fsonarqube-ccpp-plugin","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F48.sonarqube-ccpp-plugin",{"title":3679,"path":3680,"stem":3681},"SonarQube C\u002FC++ Plugin_V","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Fsonarqube-ccpp-plugin_v","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F49.sonarqube-ccpp-plugin_v",{"title":3683,"path":3684,"stem":3685},"Splint","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Fsplint","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F50.splint",{"title":3687,"path":3688,"stem":3689},"Splint_V","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Fsplint_v","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F51.splint_v",{"title":3691,"path":3692,"stem":3693},"TrustInSoft Analyzer","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Ftrustinsoft-analyzer","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F52.trustinsoft-analyzer",{"title":3695,"path":3696,"stem":3697},"TrustInSoft Analyzer_V","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Ftrustinsoft-analyzer_v","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F53.trustinsoft-analyzer_v",{"title":3699,"path":3700,"stem":3701,"children":3702},"FF. Related Guidelines","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fff-related-guidelines","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F7.ff-related-guidelines\u002F01.index",[3703,3704,3708,3712,3716,3720,3724,3728,3732,3736,3739,3743,3747,3751],{"title":3699,"path":3700,"stem":3701},{"title":3705,"path":3706,"stem":3707},"2003","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fff-related-guidelines\u002F02.2003","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F7.ff-related-guidelines\u002F02.2003",{"title":3709,"path":3710,"stem":3711},"2006","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fff-related-guidelines\u002F03.2006","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F7.ff-related-guidelines\u002F03.2006",{"title":3713,"path":3714,"stem":3715},"2007","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fff-related-guidelines\u002F04.2007","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F7.ff-related-guidelines\u002F04.2007",{"title":3717,"path":3718,"stem":3719},"2008","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fff-related-guidelines\u002F05.2008","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F7.ff-related-guidelines\u002F05.2008",{"title":3721,"path":3722,"stem":3723},"2010","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fff-related-guidelines\u002F06.2010","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F7.ff-related-guidelines\u002F06.2010",{"title":3725,"path":3726,"stem":3727},"2011","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fff-related-guidelines\u002F07.2011","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F7.ff-related-guidelines\u002F07.2011",{"title":3729,"path":3730,"stem":3731},"2012","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fff-related-guidelines\u002F08.2012","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F7.ff-related-guidelines\u002F08.2012",{"title":3733,"path":3734,"stem":3735},"2013","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fff-related-guidelines\u002F09.2013","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F7.ff-related-guidelines\u002F09.2013",{"title":3733,"path":3737,"stem":3738},"\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fff-related-guidelines\u002F10.2013","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F7.ff-related-guidelines\u002F10.2013",{"title":3740,"path":3741,"stem":3742},"MITRE CWE","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fff-related-guidelines\u002Fmitre-cwe","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F7.ff-related-guidelines\u002F11.mitre-cwe",{"title":3744,"path":3745,"stem":3746},"MITRE CWE 2.11","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fff-related-guidelines\u002Fmitre-cwe-211","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F7.ff-related-guidelines\u002F12.mitre-cwe-211",{"title":3748,"path":3749,"stem":3750},"MITRE CWE 3.1","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fff-related-guidelines\u002Fmitre-cwe-31","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F7.ff-related-guidelines\u002F13.mitre-cwe-31",{"title":3752,"path":3753,"stem":3754},"MITRE CWE 3.11","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fff-related-guidelines\u002Fmitre-cwe-311","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F7.ff-related-guidelines\u002F14.mitre-cwe-311",{"title":3756,"path":3757,"stem":3758},"GG. Risk Assessments","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fgg-risk-assessments","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F8.gg-risk-assessments",{"title":3760,"path":3761,"stem":3762,"children":3763},"Admin","\u002Fsei-cert-c-coding-standard\u002Fadmin","4.sei-cert-c-coding-standard\u002F05.admin\u002F1.index",[3764,3765,3769],{"title":3760,"path":3761,"stem":3762},{"title":3766,"path":3767,"stem":3768},"TODO List","\u002Fsei-cert-c-coding-standard\u002Fadmin\u002Ftodo-list","4.sei-cert-c-coding-standard\u002F05.admin\u002F2.todo-list",{"title":3770,"path":3771,"stem":3772},"Undefined and implementation-defined behaviors not deemed ruleworthy","\u002Fsei-cert-c-coding-standard\u002Fadmin\u002Fundefined-and-implementation-defined-behaviors-not-deemed-ruleworthy","4.sei-cert-c-coding-standard\u002F05.admin\u002F3.undefined-and-implementation-defined-behaviors-not-deemed-ruleworthy",{"title":2795,"path":2796,"stem":2797},{"title":30,"path":2789,"stem":2791},{"title":2799,"path":2800,"stem":2801},{"title":3777,"path":3778,"stem":3779,"children":3780},"Recommendations","\u002Fsei-cert-c-coding-standard\u002Frecommendations","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F01.index",[3781,3782,3823,3840,3885,3926,4023,4040,4073,4142,4179,4264,4329,4378,4403,4496,4517,4574],{"title":3777,"path":3778,"stem":3779},{"title":2888,"path":3783,"stem":3784,"children":3785},"\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fapplication-programming-interfaces-api","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F02.application-programming-interfaces-api\u002F01.index",[3786,3787,3791,3795,3799,3803,3807,3811,3815,3819],{"title":2888,"path":3783,"stem":3784},{"title":3788,"path":3789,"stem":3790},"API00-C. Functions should validate their parameters","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fapplication-programming-interfaces-api\u002Fapi00-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F02.application-programming-interfaces-api\u002F02.api00-c",{"title":3792,"path":3793,"stem":3794},"API01-C. Avoid laying out strings in memory directly before sensitive data","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fapplication-programming-interfaces-api\u002Fapi01-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F02.application-programming-interfaces-api\u002F03.api01-c",{"title":3796,"path":3797,"stem":3798},"API02-C. Functions that read or write to or from an array should take an argument to specify the source or target size","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fapplication-programming-interfaces-api\u002Fapi02-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F02.application-programming-interfaces-api\u002F04.api02-c",{"title":3800,"path":3801,"stem":3802},"API03-C. Create consistent interfaces and capabilities across related functions","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fapplication-programming-interfaces-api\u002Fapi03-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F02.application-programming-interfaces-api\u002F05.api03-c",{"title":3804,"path":3805,"stem":3806},"API04-C. Provide a consistent and usable error-checking mechanism","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fapplication-programming-interfaces-api\u002Fapi04-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F02.application-programming-interfaces-api\u002F06.api04-c",{"title":3808,"path":3809,"stem":3810},"API05-C. Use conformant array parameters","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fapplication-programming-interfaces-api\u002Fapi05-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F02.application-programming-interfaces-api\u002F07.api05-c",{"title":3812,"path":3813,"stem":3814},"API07-C. Enforce type safety","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fapplication-programming-interfaces-api\u002Fapi07-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F02.application-programming-interfaces-api\u002F08.api07-c",{"title":3816,"path":3817,"stem":3818},"API09-C. Compatible values should have the same type","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fapplication-programming-interfaces-api\u002Fapi09-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F02.application-programming-interfaces-api\u002F09.api09-c",{"title":3820,"path":3821,"stem":3822},"API10-C. APIs should have security options enabled by default","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fapplication-programming-interfaces-api\u002Fapi10-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F02.application-programming-interfaces-api\u002F10.api10-c",{"title":2892,"path":3824,"stem":3825,"children":3826},"\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Farrays-arr","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F03.arrays-arr\u002F1.index",[3827,3828,3832,3836],{"title":2892,"path":3824,"stem":3825},{"title":3829,"path":3830,"stem":3831},"ARR00-C. Understand how arrays work","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Farrays-arr\u002Farr00-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F03.arrays-arr\u002F2.arr00-c",{"title":3833,"path":3834,"stem":3835},"ARR01-C. Do not apply the sizeof operator to a pointer when taking the size of an array","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Farrays-arr\u002Farr01-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F03.arrays-arr\u002F3.arr01-c",{"title":3837,"path":3838,"stem":3839},"ARR02-C. Explicitly specify array bounds, even if implicitly defined by an initializer","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Farrays-arr\u002Farr02-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F03.arrays-arr\u002F4.arr02-c",{"title":2922,"path":3841,"stem":3842,"children":3843},"\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fcharacters-and-strings-str","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F04.characters-and-strings-str\u002F01.index",[3844,3845,3849,3853,3857,3861,3865,3869,3873,3877,3881],{"title":2922,"path":3841,"stem":3842},{"title":3846,"path":3847,"stem":3848},"STR00-C. Represent characters using an appropriate type","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fcharacters-and-strings-str\u002Fstr00-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F04.characters-and-strings-str\u002F02.str00-c",{"title":3850,"path":3851,"stem":3852},"STR01-C. Adopt and implement a consistent plan for managing strings","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fcharacters-and-strings-str\u002Fstr01-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F04.characters-and-strings-str\u002F03.str01-c",{"title":3854,"path":3855,"stem":3856},"STR02-C. Sanitize data passed to complex subsystems","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fcharacters-and-strings-str\u002Fstr02-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F04.characters-and-strings-str\u002F04.str02-c",{"title":3858,"path":3859,"stem":3860},"STR03-C. Do not inadvertently truncate a string","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fcharacters-and-strings-str\u002Fstr03-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F04.characters-and-strings-str\u002F05.str03-c",{"title":3862,"path":3863,"stem":3864},"STR04-C. Use plain char for characters in the basic character set","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fcharacters-and-strings-str\u002Fstr04-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F04.characters-and-strings-str\u002F06.str04-c",{"title":3866,"path":3867,"stem":3868},"STR05-C. Use pointers to const when referring to string literals","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fcharacters-and-strings-str\u002Fstr05-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F04.characters-and-strings-str\u002F07.str05-c",{"title":3870,"path":3871,"stem":3872},"STR06-C. Do not assume that strtok() leaves the parse string unchanged","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fcharacters-and-strings-str\u002Fstr06-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F04.characters-and-strings-str\u002F08.str06-c",{"title":3874,"path":3875,"stem":3876},"STR09-C. Don't assume numeric values for expressions with type plain character","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fcharacters-and-strings-str\u002Fstr09-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F04.characters-and-strings-str\u002F09.str09-c",{"title":3878,"path":3879,"stem":3880},"STR10-C. Do not concatenate different type of string literals","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fcharacters-and-strings-str\u002Fstr10-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F04.characters-and-strings-str\u002F10.str10-c",{"title":3882,"path":3883,"stem":3884},"STR11-C. Do not specify the bound of a character array initialized with a string literal","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fcharacters-and-strings-str\u002Fstr11-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F04.characters-and-strings-str\u002F11.str11-c",{"title":2952,"path":3886,"stem":3887,"children":3888},"\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fconcurrency-con","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F05.concurrency-con\u002F01.index",[3889,3890,3894,3898,3902,3906,3910,3914,3918,3922],{"title":2952,"path":3886,"stem":3887},{"title":3891,"path":3892,"stem":3893},"CON01-C. Acquire and release synchronization primitives in the same module, at the same level of abstraction","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fconcurrency-con\u002Fcon01-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F05.concurrency-con\u002F02.con01-c",{"title":3895,"path":3896,"stem":3897},"CON02-C. Do not use volatile as a synchronization primitive","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fconcurrency-con\u002Fcon02-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F05.concurrency-con\u002F03.con02-c",{"title":3899,"path":3900,"stem":3901},"CON03-C. Ensure visibility when accessing shared variables","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fconcurrency-con\u002Fcon03-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F05.concurrency-con\u002F04.con03-c",{"title":3903,"path":3904,"stem":3905},"CON04-C. Join or detach threads even if their exit status is unimportant","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fconcurrency-con\u002Fcon04-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F05.concurrency-con\u002F05.con04-c",{"title":3907,"path":3908,"stem":3909},"CON05-C. Do not perform operations that can block while holding a lock","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fconcurrency-con\u002Fcon05-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F05.concurrency-con\u002F06.con05-c",{"title":3911,"path":3912,"stem":3913},"CON06-C. Ensure that every mutex outlives the data it protects","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fconcurrency-con\u002Fcon06-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F05.concurrency-con\u002F07.con06-c",{"title":3915,"path":3916,"stem":3917},"CON07-C. Ensure that compound operations on shared variables are atomic","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fconcurrency-con\u002Fcon07-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F05.concurrency-con\u002F08.con07-c",{"title":3919,"path":3920,"stem":3921},"CON08-C. Do not assume that a group of calls to independently atomic methods is atomic","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fconcurrency-con\u002Fcon08-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F05.concurrency-con\u002F09.con08-c",{"title":3923,"path":3924,"stem":3925},"CON09-C. Avoid the ABA problem when using lock-free algorithms","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fconcurrency-con\u002Fcon09-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F05.concurrency-con\u002F10.con09-c",{"title":3014,"path":3927,"stem":3928,"children":3929},"\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fdeclarations-and-initialization-dcl","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F06.declarations-and-initialization-dcl\u002F01.index",[3930,3931,3935,3939,3943,3947,3951,3955,3959,3963,3967,3971,3975,3979,3983,3987,3991,3995,3999,4003,4007,4011,4015,4019],{"title":3014,"path":3927,"stem":3928},{"title":3932,"path":3933,"stem":3934},"DCL00-C. Const-qualify immutable objects","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fdeclarations-and-initialization-dcl\u002Fdcl00-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F06.declarations-and-initialization-dcl\u002F02.dcl00-c",{"title":3936,"path":3937,"stem":3938},"DCL01-C. Do not reuse variable names in subscopes","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fdeclarations-and-initialization-dcl\u002Fdcl01-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F06.declarations-and-initialization-dcl\u002F03.dcl01-c",{"title":3940,"path":3941,"stem":3942},"DCL02-C. Use visually distinct identifiers","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fdeclarations-and-initialization-dcl\u002Fdcl02-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F06.declarations-and-initialization-dcl\u002F04.dcl02-c",{"title":3944,"path":3945,"stem":3946},"DCL03-C. Use a static assertion to test the value of a constant expression","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fdeclarations-and-initialization-dcl\u002Fdcl03-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F06.declarations-and-initialization-dcl\u002F05.dcl03-c",{"title":3948,"path":3949,"stem":3950},"DCL04-C. Do not declare more than one variable per declaration","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fdeclarations-and-initialization-dcl\u002Fdcl04-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F06.declarations-and-initialization-dcl\u002F06.dcl04-c",{"title":3952,"path":3953,"stem":3954},"DCL05-C. Use typedefs of non-pointer types only","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fdeclarations-and-initialization-dcl\u002Fdcl05-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F06.declarations-and-initialization-dcl\u002F07.dcl05-c",{"title":3956,"path":3957,"stem":3958},"DCL06-C. Use meaningful symbolic constants to represent literal values","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fdeclarations-and-initialization-dcl\u002Fdcl06-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F06.declarations-and-initialization-dcl\u002F08.dcl06-c",{"title":3960,"path":3961,"stem":3962},"DCL07-C. Include the appropriate type information in function declarators","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fdeclarations-and-initialization-dcl\u002Fdcl07-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F06.declarations-and-initialization-dcl\u002F09.dcl07-c",{"title":3964,"path":3965,"stem":3966},"DCL08-C. Properly encode relationships in constant definitions","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fdeclarations-and-initialization-dcl\u002Fdcl08-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F06.declarations-and-initialization-dcl\u002F10.dcl08-c",{"title":3968,"path":3969,"stem":3970},"DCL09-C. Declare functions that return errno with a return type of errno_t","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fdeclarations-and-initialization-dcl\u002Fdcl09-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F06.declarations-and-initialization-dcl\u002F11.dcl09-c",{"title":3972,"path":3973,"stem":3974},"DCL10-C. Maintain the contract between the writer and caller of variadic functions","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fdeclarations-and-initialization-dcl\u002Fdcl10-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F06.declarations-and-initialization-dcl\u002F12.dcl10-c",{"title":3976,"path":3977,"stem":3978},"DCL11-C. Understand the type issues associated with variadic functions","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fdeclarations-and-initialization-dcl\u002Fdcl11-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F06.declarations-and-initialization-dcl\u002F13.dcl11-c",{"title":3980,"path":3981,"stem":3982},"DCL12-C. Implement abstract data types using opaque types","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fdeclarations-and-initialization-dcl\u002Fdcl12-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F06.declarations-and-initialization-dcl\u002F14.dcl12-c",{"title":3984,"path":3985,"stem":3986},"DCL13-C. Declare function parameters that are pointers to values not changed by the function as const","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fdeclarations-and-initialization-dcl\u002Fdcl13-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F06.declarations-and-initialization-dcl\u002F15.dcl13-c",{"title":3988,"path":3989,"stem":3990},"DCL15-C. Declare file-scope objects or functions that do not need external linkage as static","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fdeclarations-and-initialization-dcl\u002Fdcl15-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F06.declarations-and-initialization-dcl\u002F16.dcl15-c",{"title":3992,"path":3993,"stem":3994},"DCL16-C. Use \"L,\" not \"l,\" to indicate a long value","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fdeclarations-and-initialization-dcl\u002Fdcl16-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F06.declarations-and-initialization-dcl\u002F17.dcl16-c",{"title":3996,"path":3997,"stem":3998},"DCL17-C. Beware of miscompiled volatile-qualified variables","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fdeclarations-and-initialization-dcl\u002Fdcl17-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F06.declarations-and-initialization-dcl\u002F18.dcl17-c",{"title":4000,"path":4001,"stem":4002},"DCL18-C. Do not begin integer constants with 0 when specifying a decimal value","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fdeclarations-and-initialization-dcl\u002Fdcl18-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F06.declarations-and-initialization-dcl\u002F19.dcl18-c",{"title":4004,"path":4005,"stem":4006},"DCL19-C. Minimize the scope of variables and functions","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fdeclarations-and-initialization-dcl\u002Fdcl19-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F06.declarations-and-initialization-dcl\u002F20.dcl19-c",{"title":4008,"path":4009,"stem":4010},"DCL20-C. Explicitly specify void when a function accepts no arguments","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fdeclarations-and-initialization-dcl\u002Fdcl20-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F06.declarations-and-initialization-dcl\u002F21.dcl20-c",{"title":4012,"path":4013,"stem":4014},"DCL21-C. Understand the storage of compound literals","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fdeclarations-and-initialization-dcl\u002Fdcl21-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F06.declarations-and-initialization-dcl\u002F22.dcl21-c",{"title":4016,"path":4017,"stem":4018},"DCL22-C. Use volatile for data that cannot be cached","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fdeclarations-and-initialization-dcl\u002Fdcl22-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F06.declarations-and-initialization-dcl\u002F23.dcl22-c",{"title":4020,"path":4021,"stem":4022},"DCL23-C. Guarantee that mutually visible identifiers are unique","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fdeclarations-and-initialization-dcl\u002Fdcl23-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F06.declarations-and-initialization-dcl\u002F24.dcl23-c",{"title":3052,"path":4024,"stem":4025,"children":4026},"\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fenvironment-env","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F07.environment-env\u002F1.index",[4027,4028,4032,4036],{"title":3052,"path":4024,"stem":4025},{"title":4029,"path":4030,"stem":4031},"ENV01-C. Do not make assumptions about the size of an environment variable","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fenvironment-env\u002Fenv01-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F07.environment-env\u002F2.env01-c",{"title":4033,"path":4034,"stem":4035},"ENV02-C. Beware of multiple environment variables with the same effective name","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fenvironment-env\u002Fenv02-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F07.environment-env\u002F3.env02-c",{"title":4037,"path":4038,"stem":4039},"ENV03-C. Sanitize the environment when invoking external programs","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fenvironment-env\u002Fenv03-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F07.environment-env\u002F4.env03-c",{"title":3078,"path":4041,"stem":4042,"children":4043},"\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Ferror-handling-err","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F08.error-handling-err\u002F1.index",[4044,4045,4049,4053,4057,4061,4065,4069],{"title":3078,"path":4041,"stem":4042},{"title":4046,"path":4047,"stem":4048},"ERR00-C. Adopt and implement a consistent and comprehensive error-handling policy","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Ferror-handling-err\u002Ferr00-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F08.error-handling-err\u002F2.err00-c",{"title":4050,"path":4051,"stem":4052},"ERR01-C. Use ferror() rather than errno to check for FILE stream errors","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Ferror-handling-err\u002Ferr01-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F08.error-handling-err\u002F3.err01-c",{"title":4054,"path":4055,"stem":4056},"ERR02-C. Avoid in-band error indicators","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Ferror-handling-err\u002Ferr02-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F08.error-handling-err\u002F4.err02-c",{"title":4058,"path":4059,"stem":4060},"ERR04-C. Choose an appropriate termination strategy","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Ferror-handling-err\u002Ferr04-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F08.error-handling-err\u002F5.err04-c",{"title":4062,"path":4063,"stem":4064},"ERR05-C. Application-independent code should provide error detection without dictating error handling","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Ferror-handling-err\u002Ferr05-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F08.error-handling-err\u002F6.err05-c",{"title":4066,"path":4067,"stem":4068},"ERR06-C. Understand the termination behavior of assert() and abort()","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Ferror-handling-err\u002Ferr06-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F08.error-handling-err\u002F7.err06-c",{"title":4070,"path":4071,"stem":4072},"ERR07-C. Prefer functions that support error checking over equivalent functions that don't","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Ferror-handling-err\u002Ferr07-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F08.error-handling-err\u002F8.err07-c",{"title":3100,"path":4074,"stem":4075,"children":4076},"\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fexpressions-exp","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F09.expressions-exp\u002F01.index",[4077,4078,4082,4086,4090,4094,4098,4102,4106,4110,4114,4118,4122,4126,4130,4134,4138],{"title":3100,"path":4074,"stem":4075},{"title":4079,"path":4080,"stem":4081},"EXP00-C. Use parentheses for precedence of operation","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fexpressions-exp\u002Fexp00-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F09.expressions-exp\u002F02.exp00-c",{"title":4083,"path":4084,"stem":4085},"EXP02-C. Be aware of the short-circuit behavior of the logical AND and OR operators","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fexpressions-exp\u002Fexp02-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F09.expressions-exp\u002F03.exp02-c",{"title":4087,"path":4088,"stem":4089},"EXP03-C. Do not assume the size of a structure is the sum of the sizes of its members","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fexpressions-exp\u002Fexp03-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F09.expressions-exp\u002F04.exp03-c",{"title":4091,"path":4092,"stem":4093},"EXP05-C. Do not cast away a const qualification","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fexpressions-exp\u002Fexp05-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F09.expressions-exp\u002F05.exp05-c",{"title":4095,"path":4096,"stem":4097},"EXP07-C. Do not diminish the benefits of constants by assuming their values in expressions","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fexpressions-exp\u002Fexp07-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F09.expressions-exp\u002F06.exp07-c",{"title":4099,"path":4100,"stem":4101},"EXP08-C. Ensure pointer arithmetic is used correctly","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fexpressions-exp\u002Fexp08-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F09.expressions-exp\u002F07.exp08-c",{"title":4103,"path":4104,"stem":4105},"EXP09-C. Use sizeof to determine the size of a type or variable","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fexpressions-exp\u002Fexp09-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F09.expressions-exp\u002F08.exp09-c",{"title":4107,"path":4108,"stem":4109},"EXP10-C. Do not depend on the order of evaluation of subexpressions or the order in which side effects take place","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fexpressions-exp\u002Fexp10-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F09.expressions-exp\u002F09.exp10-c",{"title":4111,"path":4112,"stem":4113},"EXP11-C. Do not make assumptions regarding the layout of structures with bit-fields","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fexpressions-exp\u002Fexp11-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F09.expressions-exp\u002F10.exp11-c",{"title":4115,"path":4116,"stem":4117},"EXP12-C. Do not ignore values returned by functions","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fexpressions-exp\u002Fexp12-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F09.expressions-exp\u002F11.exp12-c",{"title":4119,"path":4120,"stem":4121},"EXP13-C. Treat relational and equality operators as if they were nonassociative","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fexpressions-exp\u002Fexp13-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F09.expressions-exp\u002F12.exp13-c",{"title":4123,"path":4124,"stem":4125},"EXP14-C. Beware of integer promotion when performing bitwise operations on integer types smaller than int","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fexpressions-exp\u002Fexp14-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F09.expressions-exp\u002F13.exp14-c",{"title":4127,"path":4128,"stem":4129},"EXP15-C. Do not place a semicolon on the same line as an if, for, or while statement","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fexpressions-exp\u002Fexp15-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F09.expressions-exp\u002F14.exp15-c",{"title":4131,"path":4132,"stem":4133},"EXP16-C. Do not compare function pointers to constant values","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fexpressions-exp\u002Fexp16-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F09.expressions-exp\u002F15.exp16-c",{"title":4135,"path":4136,"stem":4137},"EXP19-C. Use braces for the body of an if, for, or while statement","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fexpressions-exp\u002Fexp19-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F09.expressions-exp\u002F16.exp19-c",{"title":4139,"path":4140,"stem":4141},"EXP20-C. Perform explicit tests to determine success, true and false, and equality","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fexpressions-exp\u002Fexp20-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F09.expressions-exp\u002F17.exp20-c",{"title":3162,"path":4143,"stem":4144,"children":4145},"\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Ffloating-point-flp","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F10.floating-point-flp\u002F1.index",[4146,4147,4151,4155,4159,4163,4167,4171,4175],{"title":3162,"path":4143,"stem":4144},{"title":4148,"path":4149,"stem":4150},"FLP00-C. Understand the limitations of floating-point numbers","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Ffloating-point-flp\u002Fflp00-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F10.floating-point-flp\u002F2.flp00-c",{"title":4152,"path":4153,"stem":4154},"FLP01-C. Take care in rearranging floating-point expressions","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Ffloating-point-flp\u002Fflp01-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F10.floating-point-flp\u002F3.flp01-c",{"title":4156,"path":4157,"stem":4158},"FLP02-C. Avoid using floating-point numbers when precise computation is needed","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Ffloating-point-flp\u002Fflp02-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F10.floating-point-flp\u002F4.flp02-c",{"title":4160,"path":4161,"stem":4162},"FLP03-C. Detect and handle floating-point errors","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Ffloating-point-flp\u002Fflp03-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F10.floating-point-flp\u002F5.flp03-c",{"title":4164,"path":4165,"stem":4166},"FLP04-C. Check floating-point inputs for exceptional values","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Ffloating-point-flp\u002Fflp04-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F10.floating-point-flp\u002F6.flp04-c",{"title":4168,"path":4169,"stem":4170},"FLP05-C. Do not use denormalized numbers","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Ffloating-point-flp\u002Fflp05-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F10.floating-point-flp\u002F7.flp05-c",{"title":4172,"path":4173,"stem":4174},"FLP06-C. Convert integers to floating point for floating-point operations","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Ffloating-point-flp\u002Fflp06-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F10.floating-point-flp\u002F8.flp06-c",{"title":4176,"path":4177,"stem":4178},"FLP07-C. Cast the return value of a function that returns a floating-point type","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Ffloating-point-flp\u002Fflp07-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F10.floating-point-flp\u002F9.flp07-c",{"title":3188,"path":4180,"stem":4181,"children":4182},"\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Finput-output-fio","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F11.input-output-fio\u002F01.index",[4183,4184,4188,4192,4196,4200,4204,4208,4212,4216,4220,4224,4228,4232,4236,4240,4244,4248,4252,4256,4260],{"title":3188,"path":4180,"stem":4181},{"title":4185,"path":4186,"stem":4187},"FIO01-C. Be careful using functions that use file names for identification","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Finput-output-fio\u002Ffio01-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F11.input-output-fio\u002F02.fio01-c",{"title":4189,"path":4190,"stem":4191},"FIO02-C. Canonicalize path names originating from tainted sources","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Finput-output-fio\u002Ffio02-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F11.input-output-fio\u002F03.fio02-c",{"title":4193,"path":4194,"stem":4195},"FIO03-C. Do not make assumptions about fopen() and file creation","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Finput-output-fio\u002Ffio03-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F11.input-output-fio\u002F04.fio03-c",{"title":4197,"path":4198,"stem":4199},"FIO05-C. Identify files using multiple file attributes","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Finput-output-fio\u002Ffio05-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F11.input-output-fio\u002F05.fio05-c",{"title":4201,"path":4202,"stem":4203},"FIO06-C. Create files with appropriate access permissions","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Finput-output-fio\u002Ffio06-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F11.input-output-fio\u002F06.fio06-c",{"title":4205,"path":4206,"stem":4207},"FIO08-C. Take care when calling remove() on an open file","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Finput-output-fio\u002Ffio08-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F11.input-output-fio\u002F07.fio08-c",{"title":4209,"path":4210,"stem":4211},"FIO09-C. Be careful with binary data when transferring data across systems","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Finput-output-fio\u002Ffio09-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F11.input-output-fio\u002F08.fio09-c",{"title":4213,"path":4214,"stem":4215},"FIO10-C. Take care when using the rename() function","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Finput-output-fio\u002Ffio10-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F11.input-output-fio\u002F09.fio10-c",{"title":4217,"path":4218,"stem":4219},"FIO11-C. Take care when specifying the mode parameter of fopen()","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Finput-output-fio\u002Ffio11-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F11.input-output-fio\u002F10.fio11-c",{"title":4221,"path":4222,"stem":4223},"FIO13-C. Never push back anything other than one read character","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Finput-output-fio\u002Ffio13-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F11.input-output-fio\u002F11.fio13-c",{"title":4225,"path":4226,"stem":4227},"FIO14-C. Understand the difference between text mode and binary mode with file streams","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Finput-output-fio\u002Ffio14-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F11.input-output-fio\u002F12.fio14-c",{"title":4229,"path":4230,"stem":4231},"FIO15-C. Ensure that file operations are performed in a secure directory","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Finput-output-fio\u002Ffio15-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F11.input-output-fio\u002F13.fio15-c",{"title":4233,"path":4234,"stem":4235},"FIO17-C. Do not rely on an ending null character when using fread()","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Finput-output-fio\u002Ffio17-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F11.input-output-fio\u002F14.fio17-c",{"title":4237,"path":4238,"stem":4239},"FIO18-C. Never expect fwrite() to terminate the writing process at a null character","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Finput-output-fio\u002Ffio18-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F11.input-output-fio\u002F15.fio18-c",{"title":4241,"path":4242,"stem":4243},"FIO19-C. Do not use fseek() and ftell() to compute the size of a regular file","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Finput-output-fio\u002Ffio19-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F11.input-output-fio\u002F16.fio19-c",{"title":4245,"path":4246,"stem":4247},"FIO20-C. Avoid unintentional truncation when using fgets() or fgetws()","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Finput-output-fio\u002Ffio20-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F11.input-output-fio\u002F17.fio20-c",{"title":4249,"path":4250,"stem":4251},"FIO21-C. Do not create temporary files in shared directories","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Finput-output-fio\u002Ffio21-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F11.input-output-fio\u002F18.fio21-c",{"title":4253,"path":4254,"stem":4255},"FIO22-C. Close files before spawning processes","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Finput-output-fio\u002Ffio22-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F11.input-output-fio\u002F19.fio22-c",{"title":4257,"path":4258,"stem":4259},"FIO23-C. Do not exit with unflushed data in stdout or stderr","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Finput-output-fio\u002Ffio23-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F11.input-output-fio\u002F20.fio23-c",{"title":4261,"path":4262,"stem":4263},"FIO24-C. Do not open a file that is already open","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Finput-output-fio\u002Ffio24-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F11.input-output-fio\u002F21.fio24-c",{"title":3246,"path":4265,"stem":4266,"children":4267},"\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fintegers-int","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F12.integers-int\u002F01.index",[4268,4269,4273,4277,4281,4285,4289,4293,4297,4301,4305,4309,4313,4317,4321,4325],{"title":3246,"path":4265,"stem":4266},{"title":4270,"path":4271,"stem":4272},"INT00-C. Understand the data model used by your implementation(s)","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fintegers-int\u002Fint00-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F12.integers-int\u002F02.int00-c",{"title":4274,"path":4275,"stem":4276},"INT01-C. Use size_t or rsize_t for all integer values representing the size of an object","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fintegers-int\u002Fint01-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F12.integers-int\u002F03.int01-c",{"title":4278,"path":4279,"stem":4280},"INT04-C. Enforce limits on integer values originating from tainted sources","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fintegers-int\u002Fint04-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F12.integers-int\u002F05.int04-c",{"title":4282,"path":4283,"stem":4284},"INT05-C. Do not use input functions to convert character data if they cannot handle all possible inputs","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fintegers-int\u002Fint05-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F12.integers-int\u002F06.int05-c",{"title":4286,"path":4287,"stem":4288},"INT07-C. Use only explicitly signed or unsigned char type for numeric values","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fintegers-int\u002Fint07-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F12.integers-int\u002F07.int07-c",{"title":4290,"path":4291,"stem":4292},"INT08-C. Verify that all integer values are in range","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fintegers-int\u002Fint08-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F12.integers-int\u002F08.int08-c",{"title":4294,"path":4295,"stem":4296},"INT09-C. Ensure enumeration constants map to unique values","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fintegers-int\u002Fint09-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F12.integers-int\u002F09.int09-c",{"title":4298,"path":4299,"stem":4300},"INT10-C. Do not assume a positive remainder when using the % operator","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fintegers-int\u002Fint10-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F12.integers-int\u002F10.int10-c",{"title":4302,"path":4303,"stem":4304},"INT12-C. Do not make assumptions about the type of a plain int bit-field when used in an expression","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fintegers-int\u002Fint12-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F12.integers-int\u002F11.int12-c",{"title":4306,"path":4307,"stem":4308},"INT13-C. Use bitwise operators only on unsigned operands","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fintegers-int\u002Fint13-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F12.integers-int\u002F12.int13-c",{"title":4310,"path":4311,"stem":4312},"INT14-C. Avoid performing bitwise and arithmetic operations on the same data","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fintegers-int\u002Fint14-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F12.integers-int\u002F13.int14-c",{"title":4314,"path":4315,"stem":4316},"INT15-C. Use intmax_t or uintmax_t for formatted IO on programmer-defined integer types","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fintegers-int\u002Fint15-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F12.integers-int\u002F14.int15-c",{"title":4318,"path":4319,"stem":4320},"INT16-C. Do not make assumptions about representation of signed integers","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fintegers-int\u002Fint16-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F12.integers-int\u002F15.int16-c",{"title":4322,"path":4323,"stem":4324},"INT17-C. Define integer constants in an implementation-independent manner","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fintegers-int\u002Fint17-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F12.integers-int\u002F16.int17-c",{"title":4326,"path":4327,"stem":4328},"INT18-C. Evaluate integer expressions in a larger size before comparing or assigning to that size","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fintegers-int\u002Fint18-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F12.integers-int\u002F17.int18-c",{"title":3276,"path":4330,"stem":4331,"children":4332},"\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fmemory-management-mem","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F13.memory-management-mem\u002F01.index",[4333,4334,4338,4342,4346,4350,4354,4358,4362,4366,4370,4374],{"title":3276,"path":4330,"stem":4331},{"title":4335,"path":4336,"stem":4337},"MEM00-C. Allocate and free memory in the same module, at the same level of abstraction","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fmemory-management-mem\u002Fmem00-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F13.memory-management-mem\u002F02.mem00-c",{"title":4339,"path":4340,"stem":4341},"MEM01-C. Store a new value in pointers immediately after free()","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fmemory-management-mem\u002Fmem01-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F13.memory-management-mem\u002F03.mem01-c",{"title":4343,"path":4344,"stem":4345},"MEM02-C. Immediately cast the result of a memory allocation function call into a pointer to the allocated type","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fmemory-management-mem\u002Fmem02-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F13.memory-management-mem\u002F04.mem02-c",{"title":4347,"path":4348,"stem":4349},"MEM03-C. Clear sensitive information stored in reusable resources","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fmemory-management-mem\u002Fmem03-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F13.memory-management-mem\u002F05.mem03-c",{"title":4351,"path":4352,"stem":4353},"MEM04-C. Beware of zero-length allocations","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fmemory-management-mem\u002Fmem04-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F13.memory-management-mem\u002F06.mem04-c",{"title":4355,"path":4356,"stem":4357},"MEM05-C. Avoid large stack allocations","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fmemory-management-mem\u002Fmem05-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F13.memory-management-mem\u002F07.mem05-c",{"title":4359,"path":4360,"stem":4361},"MEM06-C. Ensure that sensitive data is not written out to disk","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fmemory-management-mem\u002Fmem06-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F13.memory-management-mem\u002F08.mem06-c",{"title":4363,"path":4364,"stem":4365},"MEM07-C. Ensure that the arguments to calloc(), when multiplied, do not wrap","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fmemory-management-mem\u002Fmem07-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F13.memory-management-mem\u002F09.mem07-c",{"title":4367,"path":4368,"stem":4369},"MEM10-C. Define and use a pointer validation function","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fmemory-management-mem\u002Fmem10-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F13.memory-management-mem\u002F10.mem10-c",{"title":4371,"path":4372,"stem":4373},"MEM11-C. Do not assume infinite heap space","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fmemory-management-mem\u002Fmem11-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F13.memory-management-mem\u002F11.mem11-c",{"title":4375,"path":4376,"stem":4377},"MEM12-C. Consider using a goto chain when leaving a function on error when using and releasing resources","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fmemory-management-mem\u002Fmem12-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F13.memory-management-mem\u002F12.mem12-c",{"title":3306,"path":4379,"stem":4380,"children":4381},"\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fmicrosoft-windows-win","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F14.microsoft-windows-win\u002F1.index",[4382,4383,4387,4391,4395,4399],{"title":3306,"path":4379,"stem":4380},{"title":4384,"path":4385,"stem":4386},"WIN00-C. Be specific when dynamically loading libraries","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fmicrosoft-windows-win\u002Fwin00-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F14.microsoft-windows-win\u002F2.win00-c",{"title":4388,"path":4389,"stem":4390},"WIN01-C. Do not forcibly terminate execution","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fmicrosoft-windows-win\u002Fwin01-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F14.microsoft-windows-win\u002F3.win01-c",{"title":4392,"path":4393,"stem":4394},"WIN02-C. Restrict privileges when spawning child processes","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fmicrosoft-windows-win\u002Fwin02-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F14.microsoft-windows-win\u002F4.win02-c",{"title":4396,"path":4397,"stem":4398},"WIN03-C. Understand HANDLE inheritance","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fmicrosoft-windows-win\u002Fwin03-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F14.microsoft-windows-win\u002F5.win03-c",{"title":4400,"path":4401,"stem":4402},"WIN04-C. Consider encrypting function pointers","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fmicrosoft-windows-win\u002Fwin04-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F14.microsoft-windows-win\u002F6.win04-c",{"title":3316,"path":4404,"stem":4405,"children":4406},"\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fmiscellaneous-msc","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F15.miscellaneous-msc\u002F01.index",[4407,4408,4412,4416,4420,4424,4428,4432,4436,4440,4444,4448,4452,4456,4460,4464,4468,4472,4476,4480,4484,4488,4492],{"title":3316,"path":4404,"stem":4405},{"title":4409,"path":4410,"stem":4411},"MSC00-C. Compile cleanly at high warning levels","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fmiscellaneous-msc\u002Fmsc00-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F15.miscellaneous-msc\u002F02.msc00-c",{"title":4413,"path":4414,"stem":4415},"MSC01-C. Strive for logical completeness","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fmiscellaneous-msc\u002Fmsc01-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F15.miscellaneous-msc\u002F03.msc01-c",{"title":4417,"path":4418,"stem":4419},"MSC04-C. Use comments consistently and in a readable fashion","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fmiscellaneous-msc\u002Fmsc04-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F15.miscellaneous-msc\u002F04.msc04-c",{"title":4421,"path":4422,"stem":4423},"MSC05-C. Do not manipulate time_t typed values directly","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fmiscellaneous-msc\u002Fmsc05-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F15.miscellaneous-msc\u002F05.msc05-c",{"title":4425,"path":4426,"stem":4427},"MSC06-C. Beware of compiler optimizations","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fmiscellaneous-msc\u002Fmsc06-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F15.miscellaneous-msc\u002F06.msc06-c",{"title":4429,"path":4430,"stem":4431},"MSC07-C. Detect and remove dead code","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fmiscellaneous-msc\u002Fmsc07-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F15.miscellaneous-msc\u002F07.msc07-c",{"title":4433,"path":4434,"stem":4435},"UTF8-related issues","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fmiscellaneous-msc\u002Futf8-related-issues","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F15.miscellaneous-msc\u002F08.utf8-related-issues",{"title":4437,"path":4438,"stem":4439},"MSC11-C. Incorporate diagnostic tests using assertions","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fmiscellaneous-msc\u002Fmsc11-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F15.miscellaneous-msc\u002F09.msc11-c",{"title":4441,"path":4442,"stem":4443},"MSC12-C. Detect and remove code that has no effect or is never executed","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fmiscellaneous-msc\u002Fmsc12-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F15.miscellaneous-msc\u002F10.msc12-c",{"title":4445,"path":4446,"stem":4447},"MSC13-C. Detect and remove unused values","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fmiscellaneous-msc\u002Fmsc13-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F15.miscellaneous-msc\u002F11.msc13-c",{"title":4449,"path":4450,"stem":4451},"MSC14-C. Do not introduce unnecessary platform dependencies","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fmiscellaneous-msc\u002Fmsc14-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F15.miscellaneous-msc\u002F12.msc14-c",{"title":4453,"path":4454,"stem":4455},"MSC15-C. Do not depend on undefined behavior","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fmiscellaneous-msc\u002Fmsc15-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F15.miscellaneous-msc\u002F13.msc15-c",{"title":4457,"path":4458,"stem":4459},"MSC17-C. Finish every set of statements associated with a case label with a break statement","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fmiscellaneous-msc\u002Fmsc17-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F15.miscellaneous-msc\u002F14.msc17-c",{"title":4461,"path":4462,"stem":4463},"MSC18-C. Be careful while handling sensitive data, such as passwords, in program code","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fmiscellaneous-msc\u002Fmsc18-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F15.miscellaneous-msc\u002F15.msc18-c",{"title":4465,"path":4466,"stem":4467},"MSC19-C. For functions that return an array, prefer returning an empty array over a null value","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fmiscellaneous-msc\u002Fmsc19-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F15.miscellaneous-msc\u002F16.msc19-c",{"title":4469,"path":4470,"stem":4471},"MSC20-C. Do not use a switch statement to transfer control into a complex block","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fmiscellaneous-msc\u002Fmsc20-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F15.miscellaneous-msc\u002F17.msc20-c",{"title":4473,"path":4474,"stem":4475},"MSC21-C. Use robust loop termination conditions","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fmiscellaneous-msc\u002Fmsc21-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F15.miscellaneous-msc\u002F18.msc21-c",{"title":4477,"path":4478,"stem":4479},"MSC22-C. Use the setjmp(), longjmp() facility securely","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fmiscellaneous-msc\u002Fmsc22-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F15.miscellaneous-msc\u002F19.msc22-c",{"title":4481,"path":4482,"stem":4483},"MSC23-C. Beware of vendor-specific library and language differences","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fmiscellaneous-msc\u002Fmsc23-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F15.miscellaneous-msc\u002F20.msc23-c",{"title":4485,"path":4486,"stem":4487},"MSC24-C. Do not use deprecated or obsolescent functions","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fmiscellaneous-msc\u002Fmsc24-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F15.miscellaneous-msc\u002F21.msc24-c",{"title":4489,"path":4490,"stem":4491},"MSC25-C. Do not use insecure or weak cryptographic algorithms","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fmiscellaneous-msc\u002Fmsc25-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F15.miscellaneous-msc\u002F22.msc25-c",{"title":4493,"path":4494,"stem":4495},"Use subset of ASCII for safety","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fmiscellaneous-msc\u002Fuse-subset-of-ascii-for-safety","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F15.miscellaneous-msc\u002F23.use-subset-of-ascii-for-safety",{"title":3353,"path":4497,"stem":4498,"children":4499},"\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fposix-pos","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F16.posix-pos\u002F1.index",[4500,4501,4505,4509,4513],{"title":3353,"path":4497,"stem":4498},{"title":4502,"path":4503,"stem":4504},"POS01-C. Check for the existence of links when dealing with files","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fposix-pos\u002Fpos01-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F16.posix-pos\u002F2.pos01-c",{"title":4506,"path":4507,"stem":4508},"POS02-C. Follow the principle of least privilege","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fposix-pos\u002Fpos02-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F16.posix-pos\u002F3.pos02-c",{"title":4510,"path":4511,"stem":4512},"POS04-C. Avoid using PTHREAD_MUTEX_NORMAL type mutex locks","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fposix-pos\u002Fpos04-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F16.posix-pos\u002F4.pos04-c",{"title":4514,"path":4515,"stem":4516},"POS05-C. Limit access to files by creating a jail","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fposix-pos\u002Fpos05-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F16.posix-pos\u002F5.pos05-c",{"title":3423,"path":4518,"stem":4519,"children":4520},"\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fpreprocessor-pre","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F17.preprocessor-pre\u002F01.index",[4521,4522,4526,4530,4534,4538,4542,4546,4550,4554,4558,4562,4566,4570],{"title":3423,"path":4518,"stem":4519},{"title":4523,"path":4524,"stem":4525},"PRE00-C. Prefer inline or static functions to function-like macros","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fpreprocessor-pre\u002Fpre00-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F17.preprocessor-pre\u002F02.pre00-c",{"title":4527,"path":4528,"stem":4529},"PRE01-C. Use parentheses within macros around parameter names","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fpreprocessor-pre\u002Fpre01-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F17.preprocessor-pre\u002F03.pre01-c",{"title":4531,"path":4532,"stem":4533},"PRE02-C. Macro replacement lists should be parenthesized","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fpreprocessor-pre\u002Fpre02-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F17.preprocessor-pre\u002F04.pre02-c",{"title":4535,"path":4536,"stem":4537},"PRE04-C. Do not reuse a standard header file name","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fpreprocessor-pre\u002Fpre04-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F17.preprocessor-pre\u002F05.pre04-c",{"title":4539,"path":4540,"stem":4541},"PRE05-C. Understand macro replacement when concatenating tokens or performing stringification","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fpreprocessor-pre\u002Fpre05-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F17.preprocessor-pre\u002F06.pre05-c",{"title":4543,"path":4544,"stem":4545},"PRE06-C. Enclose header files in an include guard","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fpreprocessor-pre\u002Fpre06-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F17.preprocessor-pre\u002F07.pre06-c",{"title":4547,"path":4548,"stem":4549},"PRE07-C. Avoid using repeated question marks","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fpreprocessor-pre\u002Fpre07-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F17.preprocessor-pre\u002F08.pre07-c",{"title":4551,"path":4552,"stem":4553},"PRE08-C. Guarantee that header file names are unique","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fpreprocessor-pre\u002Fpre08-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F17.preprocessor-pre\u002F09.pre08-c",{"title":4555,"path":4556,"stem":4557},"PRE09-C. Do not replace secure functions with deprecated or obsolescent functions","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fpreprocessor-pre\u002Fpre09-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F17.preprocessor-pre\u002F10.pre09-c",{"title":4559,"path":4560,"stem":4561},"PRE10-C. Wrap multistatement macros in a do-while loop","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fpreprocessor-pre\u002Fpre10-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F17.preprocessor-pre\u002F11.pre10-c",{"title":4563,"path":4564,"stem":4565},"PRE11-C. Do not conclude macro definitions with a semicolon","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fpreprocessor-pre\u002Fpre11-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F17.preprocessor-pre\u002F12.pre11-c",{"title":4567,"path":4568,"stem":4569},"PRE12-C. Do not define unsafe macros","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fpreprocessor-pre\u002Fpre12-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F17.preprocessor-pre\u002F13.pre12-c",{"title":4571,"path":4572,"stem":4573},"PRE13-C. Use the Standard predefined macros to test for versions and features.","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fpreprocessor-pre\u002Fpre13-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F17.preprocessor-pre\u002F14.pre13-c",{"title":3441,"path":4575,"stem":4576,"children":4577},"\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fsignals-sig","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F18.signals-sig\u002F1.index",[4578,4579,4583,4587],{"title":3441,"path":4575,"stem":4576},{"title":4580,"path":4581,"stem":4582},"SIG00-C. Mask signals handled by noninterruptible signal handlers","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fsignals-sig\u002Fsig00-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F18.signals-sig\u002F2.sig00-c",{"title":4584,"path":4585,"stem":4586},"SIG01-C. Understand implementation-specific details regarding signal handler persistence","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fsignals-sig\u002Fsig01-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F18.signals-sig\u002F3.sig01-c",{"title":4588,"path":4589,"stem":4590},"SIG02-C. Avoid using signals to implement normal functionality","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fsignals-sig\u002Fsig02-c","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F18.signals-sig\u002F4.sig02-c",{"title":4592,"path":4593,"stem":4594},"CERT manifest files","\u002Fsei-cert-c-coding-standard\u002Fcert-manifest-files","4.sei-cert-c-coding-standard\u002F09.cert-manifest-files",1775657763715]