[{"data":1,"prerenderedAt":3626},["ShallowReactive",2],{"global-navigation":3,"page-\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fsignals-sig\u002Fsig02-c":28,"surround-\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fsignals-sig\u002Fsig02-c":1830,"sidebar-sei-cert-c-coding-standard":1838},[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":41,"extension":1818,"meta":1819,"navigation":7,"path":1826,"seo":1827,"stem":1828,"__hash__":1829},"content\u002F4.sei-cert-c-coding-standard\u002F08.recommendations\u002F18.signals-sig\u002F4.sig02-c.md","SIG02-C. Avoid using signals to implement normal functionality",{"type":32,"value":33,"toc":1805},"minimark",[34,38,42,47,50,241,244,247,251,264,617,621,628,798,801,815,1148,1175,1188,1197,1304,1314,1401,1408,1412,1420,1424,1490,1495,1658,1662,1665,1678,1682,1707,1711,1776,1779,1801],[35,36,30],"h1",{"id":37},"sig02-c-avoid-using-signals-to-implement-normal-functionality",[39,40,41],"p",{},"Avoid using signals to implement normal functionality. Signal handlers are severely limited in the actions they can perform in a portably secure manner. Their use should be reserved for abnormal events that can be serviced by little more than logging.",[43,44,46],"h2",{"id":45},"noncompliant-code-example","Noncompliant Code Example",[39,48,49],{},"This noncompliant code example uses signals as a means to pass state changes around in a multithreaded environment:",[51,52,54],"code-block",{"quality":53},"bad",[55,56,61],"pre",{"className":57,"code":58,"language":59,"meta":60,"style":60},"language-c shiki shiki-themes github-light github-dark monokai","\u002F* THREAD 1 *\u002F\nint do_work(void) {\n  \u002F* ... *\u002F\n  kill(THR2_PID, SIGUSR1);\n}\n\n\u002F* THREAD 2 *\u002F\nvolatile sig_atomic_t flag;\n\nvoid sigusr1_handler(int signum) {\n  flag = 1;\n}\n\nint wait_and_work(void) {\n  flag = 0;\n  while (!flag) {}\n  \u002F* ... *\u002F\n}\n","c","",[62,63,64,73,94,100,109,115,121,127,141,146,164,180,185,190,204,216,231,236],"code",{"__ignoreMap":60},[65,66,69],"span",{"class":67,"line":68},"line",1,[65,70,72],{"class":71},"s8-w5","\u002F* THREAD 1 *\u002F\n",[65,74,76,80,84,88,91],{"class":67,"line":75},2,[65,77,79],{"class":78},"sq6CD","int",[65,81,83],{"class":82},"srTi1"," do_work",[65,85,87],{"class":86},"sMOD_","(",[65,89,90],{"class":78},"void",[65,92,93],{"class":86},") {\n",[65,95,97],{"class":67,"line":96},3,[65,98,99],{"class":71},"  \u002F* ... *\u002F\n",[65,101,103,106],{"class":67,"line":102},4,[65,104,105],{"class":82},"  kill",[65,107,108],{"class":86},"(THR2_PID, SIGUSR1);\n",[65,110,112],{"class":67,"line":111},5,[65,113,114],{"class":86},"}\n",[65,116,118],{"class":67,"line":117},6,[65,119,120],{"emptyLinePlaceholder":7},"\n",[65,122,124],{"class":67,"line":123},7,[65,125,126],{"class":71},"\u002F* THREAD 2 *\u002F\n",[65,128,130,134,138],{"class":67,"line":129},8,[65,131,133],{"class":132},"sC2Qs","volatile",[65,135,137],{"class":136},"s-m8C"," sig_atomic_t",[65,139,140],{"class":86}," flag;\n",[65,142,144],{"class":67,"line":143},9,[65,145,120],{"emptyLinePlaceholder":7},[65,147,149,151,154,156,158,162],{"class":67,"line":148},10,[65,150,90],{"class":78},[65,152,153],{"class":82}," sigusr1_handler",[65,155,87],{"class":86},[65,157,79],{"class":78},[65,159,161],{"class":160},"sTHNf"," signum",[65,163,93],{"class":86},[65,165,167,170,173,177],{"class":67,"line":166},11,[65,168,169],{"class":86},"  flag ",[65,171,172],{"class":132},"=",[65,174,176],{"class":175},"s7F3e"," 1",[65,178,179],{"class":86},";\n",[65,181,183],{"class":67,"line":182},12,[65,184,114],{"class":86},[65,186,188],{"class":67,"line":187},13,[65,189,120],{"emptyLinePlaceholder":7},[65,191,193,195,198,200,202],{"class":67,"line":192},14,[65,194,79],{"class":78},[65,196,197],{"class":82}," wait_and_work",[65,199,87],{"class":86},[65,201,90],{"class":78},[65,203,93],{"class":86},[65,205,207,209,211,214],{"class":67,"line":206},15,[65,208,169],{"class":86},[65,210,172],{"class":132},[65,212,213],{"class":175}," 0",[65,215,179],{"class":86},[65,217,219,222,225,228],{"class":67,"line":218},16,[65,220,221],{"class":132},"  while",[65,223,224],{"class":86}," (",[65,226,227],{"class":132},"!",[65,229,230],{"class":86},"flag) {}\n",[65,232,234],{"class":67,"line":233},17,[65,235,99],{"class":71},[65,237,239],{"class":67,"line":238},18,[65,240,114],{"class":86},[39,242,243],{},"However, using signals for such functionality often leads to nonportable or otherwise complicated solutions.",[39,245,246],{},"This code illustrates one thread using a signal to wake up a second thread. Using an architecture's native thread library usually allows for a more sophisticated means of sending messages between threads.",[43,248,250],{"id":249},"compliant-solution-posix","Compliant Solution (POSIX)",[39,252,253,254,257,258,263],{},"A better solution, in this case, is to use condition variables. This code example uses a condition variable from the POSIX ",[62,255,256],{},"pthread"," library [ ",[259,260,262],"a",{"href":261},"\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Faa-bibliography#AA.Bibliography-IEEEStd1003.1-2013","IEEE Std 1003.1:2013"," ]:",[51,265,267],{"quality":266},"good",[55,268,270],{"className":57,"code":269,"language":59,"meta":60,"style":60},"#include \u003Cpthread.h>\n\npthread_cond_t cond = PTHREAD_COND_INITIALIZER;\npthread_mutex_t mut = PTHREAD_MUTEX_INITIALIZER;\n\n\u002F* THREAD 1 *\u002F\nint do_work(void) {\n  int result;\n  \u002F* ... *\u002F\n  if ((result = pthread_mutex_lock(&mut)) != 0) {\n    \u002F* Handle error condition *\u002F\n  }\n  if ((result = pthread_cond_signal(&cond,&mut)) != 0) {\n    \u002F* Handle error condition *\u002F\n  }\n  if ((result = pthread_mutex_unlock(&mut)) != 0) {\n    \u002F* Handle error condition *\u002F\n  }\n}\n\n\u002F* THREAD 2 *\u002F\nint wait_and_work(void) {\n  if ((result = pthread_mutex_lock(&mut)) != 0) {\n    \u002F* Handle error condition *\u002F\n  }\n  while (\u002F* Condition does not hold *\u002F) {\n    if ((result = pthread_cond_wait(&cond, &mut)) != 0) {\n      \u002F* Handle error condition *\u002F\n    }\n    \u002F* ... *\u002F\n  }\n  if ((result = pthread_mutex_unlock(&mut)) != 0) {\n    \u002F* Handle error condition *\u002F\n  }\n  \u002F* ... *\u002F\n}\n",[62,271,272,281,285,298,311,315,319,331,339,343,371,376,381,409,413,417,440,444,448,453,458,463,476,499,504,509,521,551,557,563,569,574,597,602,607,612],{"__ignoreMap":60},[65,273,274,277],{"class":67,"line":68},[65,275,276],{"class":132},"#include",[65,278,280],{"class":279},"sstjo"," \u003Cpthread.h>\n",[65,282,283],{"class":67,"line":75},[65,284,120],{"emptyLinePlaceholder":7},[65,286,287,290,293,295],{"class":67,"line":96},[65,288,289],{"class":78},"pthread_cond_t",[65,291,292],{"class":86}," cond ",[65,294,172],{"class":132},[65,296,297],{"class":86}," PTHREAD_COND_INITIALIZER;\n",[65,299,300,303,306,308],{"class":67,"line":102},[65,301,302],{"class":78},"pthread_mutex_t",[65,304,305],{"class":86}," mut ",[65,307,172],{"class":132},[65,309,310],{"class":86}," PTHREAD_MUTEX_INITIALIZER;\n",[65,312,313],{"class":67,"line":111},[65,314,120],{"emptyLinePlaceholder":7},[65,316,317],{"class":67,"line":117},[65,318,72],{"class":71},[65,320,321,323,325,327,329],{"class":67,"line":123},[65,322,79],{"class":78},[65,324,83],{"class":82},[65,326,87],{"class":86},[65,328,90],{"class":78},[65,330,93],{"class":86},[65,332,333,336],{"class":67,"line":129},[65,334,335],{"class":78},"  int",[65,337,338],{"class":86}," result;\n",[65,340,341],{"class":67,"line":143},[65,342,99],{"class":71},[65,344,345,348,351,353,356,358,361,364,367,369],{"class":67,"line":148},[65,346,347],{"class":132},"  if",[65,349,350],{"class":86}," ((result ",[65,352,172],{"class":132},[65,354,355],{"class":82}," pthread_mutex_lock",[65,357,87],{"class":86},[65,359,360],{"class":132},"&",[65,362,363],{"class":86},"mut)) ",[65,365,366],{"class":132},"!=",[65,368,213],{"class":175},[65,370,93],{"class":86},[65,372,373],{"class":67,"line":166},[65,374,375],{"class":71},"    \u002F* Handle error condition *\u002F\n",[65,377,378],{"class":67,"line":182},[65,379,380],{"class":86},"  }\n",[65,382,383,385,387,389,392,394,396,399,401,403,405,407],{"class":67,"line":187},[65,384,347],{"class":132},[65,386,350],{"class":86},[65,388,172],{"class":132},[65,390,391],{"class":82}," pthread_cond_signal",[65,393,87],{"class":86},[65,395,360],{"class":132},[65,397,398],{"class":86},"cond,",[65,400,360],{"class":132},[65,402,363],{"class":86},[65,404,366],{"class":132},[65,406,213],{"class":175},[65,408,93],{"class":86},[65,410,411],{"class":67,"line":192},[65,412,375],{"class":71},[65,414,415],{"class":67,"line":206},[65,416,380],{"class":86},[65,418,419,421,423,425,428,430,432,434,436,438],{"class":67,"line":218},[65,420,347],{"class":132},[65,422,350],{"class":86},[65,424,172],{"class":132},[65,426,427],{"class":82}," pthread_mutex_unlock",[65,429,87],{"class":86},[65,431,360],{"class":132},[65,433,363],{"class":86},[65,435,366],{"class":132},[65,437,213],{"class":175},[65,439,93],{"class":86},[65,441,442],{"class":67,"line":233},[65,443,375],{"class":71},[65,445,446],{"class":67,"line":238},[65,447,380],{"class":86},[65,449,451],{"class":67,"line":450},19,[65,452,114],{"class":86},[65,454,456],{"class":67,"line":455},20,[65,457,120],{"emptyLinePlaceholder":7},[65,459,461],{"class":67,"line":460},21,[65,462,126],{"class":71},[65,464,466,468,470,472,474],{"class":67,"line":465},22,[65,467,79],{"class":78},[65,469,197],{"class":82},[65,471,87],{"class":86},[65,473,90],{"class":78},[65,475,93],{"class":86},[65,477,479,481,483,485,487,489,491,493,495,497],{"class":67,"line":478},23,[65,480,347],{"class":132},[65,482,350],{"class":86},[65,484,172],{"class":132},[65,486,355],{"class":82},[65,488,87],{"class":86},[65,490,360],{"class":132},[65,492,363],{"class":86},[65,494,366],{"class":132},[65,496,213],{"class":175},[65,498,93],{"class":86},[65,500,502],{"class":67,"line":501},24,[65,503,375],{"class":71},[65,505,507],{"class":67,"line":506},25,[65,508,380],{"class":86},[65,510,512,514,516,519],{"class":67,"line":511},26,[65,513,221],{"class":132},[65,515,224],{"class":86},[65,517,518],{"class":71},"\u002F* Condition does not hold *\u002F",[65,520,93],{"class":86},[65,522,524,527,529,531,534,536,538,541,543,545,547,549],{"class":67,"line":523},27,[65,525,526],{"class":132},"    if",[65,528,350],{"class":86},[65,530,172],{"class":132},[65,532,533],{"class":82}," pthread_cond_wait",[65,535,87],{"class":86},[65,537,360],{"class":132},[65,539,540],{"class":86},"cond, ",[65,542,360],{"class":132},[65,544,363],{"class":86},[65,546,366],{"class":132},[65,548,213],{"class":175},[65,550,93],{"class":86},[65,552,554],{"class":67,"line":553},28,[65,555,556],{"class":71},"      \u002F* Handle error condition *\u002F\n",[65,558,560],{"class":67,"line":559},29,[65,561,562],{"class":86},"    }\n",[65,564,566],{"class":67,"line":565},30,[65,567,568],{"class":71},"    \u002F* ... *\u002F\n",[65,570,572],{"class":67,"line":571},31,[65,573,380],{"class":86},[65,575,577,579,581,583,585,587,589,591,593,595],{"class":67,"line":576},32,[65,578,347],{"class":132},[65,580,350],{"class":86},[65,582,172],{"class":132},[65,584,427],{"class":82},[65,586,87],{"class":86},[65,588,360],{"class":132},[65,590,363],{"class":86},[65,592,366],{"class":132},[65,594,213],{"class":175},[65,596,93],{"class":86},[65,598,600],{"class":67,"line":599},33,[65,601,375],{"class":71},[65,603,605],{"class":67,"line":604},34,[65,606,380],{"class":86},[65,608,610],{"class":67,"line":609},35,[65,611,99],{"class":71},[65,613,615],{"class":67,"line":614},36,[65,616,114],{"class":86},[43,618,620],{"id":619},"compliant-solution-windows","Compliant Solution (Windows)",[39,622,623,624,263],{},"This compliant solution uses a condition variable from the Win32 API [ ",[259,625,627],{"href":626},"\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Faa-bibliography#AA.Bibliography-MSDN","MSDN",[51,629,630],{"quality":266},[55,631,633],{"className":57,"code":632,"language":59,"meta":60,"style":60},"#include \u003Cwindows.h>\n\n\u002F* \n * Note that the CRITICAL_SECTION must be initialized with\n * InitializeCriticalSection, and the CONDITION_VARIABLE must\n * be initialized with InitializeConditionVariable prior to \n * using them.\n *\u002F\nCRITICAL_SECTION CritSection;\nCONDITION_VARIABLE ConditionVar;\n\n\u002F* THREAD 1 *\u002F\nint do_work(void) {\n  \u002F* ... *\u002F\n  WakeConditionVariable(&ConditionVar);\n}\n\n\u002F* THREAD 2 *\u002F\nint wait_and_work(void) {\n\n  EnterCriticalSection(&CritSection);\n  SleepConditionVariableCS(&ConditionVar, &CritSection, INFINITE);\n  LeaveCriticalSection(&CritSection);\n  \u002F* ... *\u002F\n}\n",[62,634,635,642,646,651,656,661,666,671,676,681,686,690,694,706,710,722,726,730,734,746,750,762,779,790,794],{"__ignoreMap":60},[65,636,637,639],{"class":67,"line":68},[65,638,276],{"class":132},[65,640,641],{"class":279}," \u003Cwindows.h>\n",[65,643,644],{"class":67,"line":75},[65,645,120],{"emptyLinePlaceholder":7},[65,647,648],{"class":67,"line":96},[65,649,650],{"class":71},"\u002F* \n",[65,652,653],{"class":67,"line":102},[65,654,655],{"class":71}," * Note that the CRITICAL_SECTION must be initialized with\n",[65,657,658],{"class":67,"line":111},[65,659,660],{"class":71}," * InitializeCriticalSection, and the CONDITION_VARIABLE must\n",[65,662,663],{"class":67,"line":117},[65,664,665],{"class":71}," * be initialized with InitializeConditionVariable prior to \n",[65,667,668],{"class":67,"line":123},[65,669,670],{"class":71}," * using them.\n",[65,672,673],{"class":67,"line":129},[65,674,675],{"class":71}," *\u002F\n",[65,677,678],{"class":67,"line":143},[65,679,680],{"class":86},"CRITICAL_SECTION CritSection;\n",[65,682,683],{"class":67,"line":148},[65,684,685],{"class":86},"CONDITION_VARIABLE ConditionVar;\n",[65,687,688],{"class":67,"line":166},[65,689,120],{"emptyLinePlaceholder":7},[65,691,692],{"class":67,"line":182},[65,693,72],{"class":71},[65,695,696,698,700,702,704],{"class":67,"line":187},[65,697,79],{"class":78},[65,699,83],{"class":82},[65,701,87],{"class":86},[65,703,90],{"class":78},[65,705,93],{"class":86},[65,707,708],{"class":67,"line":192},[65,709,99],{"class":71},[65,711,712,715,717,719],{"class":67,"line":206},[65,713,714],{"class":82},"  WakeConditionVariable",[65,716,87],{"class":86},[65,718,360],{"class":132},[65,720,721],{"class":86},"ConditionVar);\n",[65,723,724],{"class":67,"line":218},[65,725,114],{"class":86},[65,727,728],{"class":67,"line":233},[65,729,120],{"emptyLinePlaceholder":7},[65,731,732],{"class":67,"line":238},[65,733,126],{"class":71},[65,735,736,738,740,742,744],{"class":67,"line":450},[65,737,79],{"class":78},[65,739,197],{"class":82},[65,741,87],{"class":86},[65,743,90],{"class":78},[65,745,93],{"class":86},[65,747,748],{"class":67,"line":455},[65,749,120],{"emptyLinePlaceholder":7},[65,751,752,755,757,759],{"class":67,"line":460},[65,753,754],{"class":82},"  EnterCriticalSection",[65,756,87],{"class":86},[65,758,360],{"class":132},[65,760,761],{"class":86},"CritSection);\n",[65,763,764,767,769,771,774,776],{"class":67,"line":465},[65,765,766],{"class":82},"  SleepConditionVariableCS",[65,768,87],{"class":86},[65,770,360],{"class":132},[65,772,773],{"class":86},"ConditionVar, ",[65,775,360],{"class":132},[65,777,778],{"class":86},"CritSection, INFINITE);\n",[65,780,781,784,786,788],{"class":67,"line":478},[65,782,783],{"class":82},"  LeaveCriticalSection",[65,785,87],{"class":86},[65,787,360],{"class":132},[65,789,761],{"class":86},[65,791,792],{"class":67,"line":501},[65,793,99],{"class":71},[65,795,796],{"class":67,"line":506},[65,797,114],{"class":86},[43,799,46],{"id":800},"noncompliant-code-example-1",[39,802,803,804,810,811,263],{},"This noncompliant code example is from a ",[259,805,809],{"href":806,"rel":807},"http:\u002F\u002Fseclists.org\u002Fbugtraq\u002F1997\u002FJan\u002F0011.html",[808],"nofollow","signal race vulnerability"," in WU-FTPD v2.4 [ ",[259,812,814],{"href":813},"\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Faa-bibliography#AA.Bibliography-Greenman97","Greenman 1997",[51,816,817],{"quality":53},[55,818,820],{"className":57,"code":819,"language":59,"meta":60,"style":60},"void dologout(status) {\n  if (logged_in) {\n    (void) seteuid((uid_t)0);\n    logwtmp(ttyline, \"\", \"\");\n    \u002F* ... *\u002F\n  }\n  _exit(status);\n}\n\nstatic void lostconn(int signo) {\n  if (debug)\n    syslog(LOG_DEBUG, \"lost connection\");\n  dologout(-1);\n}\n\nstatic void myoob(signo) {\n  if (!transflag)\n    return;\n  \u002F* ... *\u002F\n  if (strcmp(cp, \"ABOR\\r\\n\") == 0) {\n    tmpline[0] = '\\0';\n    reply(426, \"Transfer aborted. Data connection closed.\");\n    reply(226, \"Abort successful\");\n    longjmp(urgcatch, 1);\n  }\n  \u002F* ... *\u002F\n}\n\n\u002F* ... *\u002F\n\nsignal(SIGPIPE, lostconn);\nsignal(SIGURG, myoob);\n",[62,821,822,832,839,867,885,889,893,901,905,909,929,936,949,964,968,972,984,995,1002,1006,1036,1063,1080,1096,1108,1112,1116,1120,1124,1129,1133,1141],{"__ignoreMap":60},[65,823,824,826,829],{"class":67,"line":68},[65,825,90],{"class":78},[65,827,828],{"class":82}," dologout",[65,830,831],{"class":86},"(status) {\n",[65,833,834,836],{"class":67,"line":75},[65,835,347],{"class":132},[65,837,838],{"class":86}," (logged_in) {\n",[65,840,841,844,846,849,852,855,858,861,864],{"class":67,"line":96},[65,842,843],{"class":86},"    (",[65,845,90],{"class":78},[65,847,848],{"class":86},") ",[65,850,851],{"class":82},"seteuid",[65,853,854],{"class":86},"((",[65,856,857],{"class":78},"uid_t",[65,859,860],{"class":86},")",[65,862,863],{"class":175},"0",[65,865,866],{"class":86},");\n",[65,868,869,872,875,878,881,883],{"class":67,"line":102},[65,870,871],{"class":82},"    logwtmp",[65,873,874],{"class":86},"(ttyline, ",[65,876,877],{"class":279},"\"\"",[65,879,880],{"class":86},", ",[65,882,877],{"class":279},[65,884,866],{"class":86},[65,886,887],{"class":67,"line":111},[65,888,568],{"class":71},[65,890,891],{"class":67,"line":117},[65,892,380],{"class":86},[65,894,895,898],{"class":67,"line":123},[65,896,897],{"class":82},"  _exit",[65,899,900],{"class":86},"(status);\n",[65,902,903],{"class":67,"line":129},[65,904,114],{"class":86},[65,906,907],{"class":67,"line":143},[65,908,120],{"emptyLinePlaceholder":7},[65,910,911,914,917,920,922,924,927],{"class":67,"line":148},[65,912,913],{"class":132},"static",[65,915,916],{"class":78}," void",[65,918,919],{"class":82}," lostconn",[65,921,87],{"class":86},[65,923,79],{"class":78},[65,925,926],{"class":160}," signo",[65,928,93],{"class":86},[65,930,931,933],{"class":67,"line":166},[65,932,347],{"class":132},[65,934,935],{"class":86}," (debug)\n",[65,937,938,941,944,947],{"class":67,"line":182},[65,939,940],{"class":82},"    syslog",[65,942,943],{"class":86},"(LOG_DEBUG, ",[65,945,946],{"class":279},"\"lost connection\"",[65,948,866],{"class":86},[65,950,951,954,956,959,962],{"class":67,"line":187},[65,952,953],{"class":82},"  dologout",[65,955,87],{"class":86},[65,957,958],{"class":132},"-",[65,960,961],{"class":175},"1",[65,963,866],{"class":86},[65,965,966],{"class":67,"line":192},[65,967,114],{"class":86},[65,969,970],{"class":67,"line":206},[65,971,120],{"emptyLinePlaceholder":7},[65,973,974,976,978,981],{"class":67,"line":218},[65,975,913],{"class":132},[65,977,916],{"class":78},[65,979,980],{"class":82}," myoob",[65,982,983],{"class":86},"(signo) {\n",[65,985,986,988,990,992],{"class":67,"line":233},[65,987,347],{"class":132},[65,989,224],{"class":86},[65,991,227],{"class":132},[65,993,994],{"class":86},"transflag)\n",[65,996,997,1000],{"class":67,"line":238},[65,998,999],{"class":132},"    return",[65,1001,179],{"class":86},[65,1003,1004],{"class":67,"line":450},[65,1005,99],{"class":71},[65,1007,1008,1010,1012,1015,1018,1021,1024,1027,1029,1032,1034],{"class":67,"line":455},[65,1009,347],{"class":132},[65,1011,224],{"class":86},[65,1013,1014],{"class":82},"strcmp",[65,1016,1017],{"class":86},"(cp, ",[65,1019,1020],{"class":279},"\"ABOR",[65,1022,1023],{"class":175},"\\r\\n",[65,1025,1026],{"class":279},"\"",[65,1028,848],{"class":86},[65,1030,1031],{"class":132},"==",[65,1033,213],{"class":175},[65,1035,93],{"class":86},[65,1037,1038,1042,1045,1047,1050,1052,1055,1058,1061],{"class":67,"line":460},[65,1039,1041],{"class":1040},"sOrwc","    tmpline",[65,1043,1044],{"class":86},"[",[65,1046,863],{"class":175},[65,1048,1049],{"class":86},"] ",[65,1051,172],{"class":132},[65,1053,1054],{"class":279}," '",[65,1056,1057],{"class":175},"\\0",[65,1059,1060],{"class":279},"'",[65,1062,179],{"class":86},[65,1064,1065,1068,1070,1073,1075,1078],{"class":67,"line":465},[65,1066,1067],{"class":82},"    reply",[65,1069,87],{"class":86},[65,1071,1072],{"class":175},"426",[65,1074,880],{"class":86},[65,1076,1077],{"class":279},"\"Transfer aborted. Data connection closed.\"",[65,1079,866],{"class":86},[65,1081,1082,1084,1086,1089,1091,1094],{"class":67,"line":478},[65,1083,1067],{"class":82},[65,1085,87],{"class":86},[65,1087,1088],{"class":175},"226",[65,1090,880],{"class":86},[65,1092,1093],{"class":279},"\"Abort successful\"",[65,1095,866],{"class":86},[65,1097,1098,1101,1104,1106],{"class":67,"line":501},[65,1099,1100],{"class":82},"    longjmp",[65,1102,1103],{"class":86},"(urgcatch, ",[65,1105,961],{"class":175},[65,1107,866],{"class":86},[65,1109,1110],{"class":67,"line":506},[65,1111,380],{"class":86},[65,1113,1114],{"class":67,"line":511},[65,1115,99],{"class":71},[65,1117,1118],{"class":67,"line":523},[65,1119,114],{"class":86},[65,1121,1122],{"class":67,"line":553},[65,1123,120],{"emptyLinePlaceholder":7},[65,1125,1126],{"class":67,"line":559},[65,1127,1128],{"class":71},"\u002F* ... *\u002F\n",[65,1130,1131],{"class":67,"line":565},[65,1132,120],{"emptyLinePlaceholder":7},[65,1134,1135,1138],{"class":67,"line":571},[65,1136,1137],{"class":82},"signal",[65,1139,1140],{"class":86},"(SIGPIPE, lostconn);\n",[65,1142,1143,1145],{"class":67,"line":576},[65,1144,1137],{"class":82},[65,1146,1147],{"class":86},"(SIGURG, myoob);\n",[39,1149,1150,1151,1155,1156,1159,1160,1163,1164,1167,1168,1170,1171,1174],{},"A serious ",[259,1152,1154],{"href":1153},"\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fbb-definitions#BB.Definitions-exploit","exploit"," can occur if ",[62,1157,1158],{},"SIGURG"," is caught immediately following the elevation of privileges in ",[62,1161,1162],{},"dologout()"," . If the ",[62,1165,1166],{},"longjmp()"," in the ",[62,1169,1158],{}," handler ",[62,1172,1173],{},"myoob()"," is invoked, execution returns to the main processing loop with an effective UID of 0.",[39,1176,1177,1178,1182,1183,1187],{},"Please note that this code sample violates ",[259,1179,1181],{"href":1180},"\u002Fsei-cert-c-coding-standard\u002Frules\u002Fsignals-sig\u002Fsig30-c","SIG30-C. Call only asynchronous-safe functions within signal handlers"," and ",[259,1184,1186],{"href":1185},"\u002Fsei-cert-c-coding-standard\u002Frules\u002Fsignals-sig\u002Fsig31-c","SIG31-C. Do not access shared objects in signal handlers"," .",[39,1189,1190,1191,1193,1194,1196],{},"An immediate fix is to ensure that ",[62,1192,1162],{}," cannot be interrupted by a ",[62,1195,1158],{}," :",[51,1198,1199],{"quality":53},[55,1200,1202],{"className":57,"code":1201,"language":59,"meta":60,"style":60},"void dologout(status) {\n \u002F*\n  * Prevent reception of SIGURG from resulting in a resumption\n  * back to the main program loop.\n  *\u002F \n  transflag = 0;\n  if (logged_in) {\n    (void) seteuid((uid_t)0);\n    logwtmp(ttyline, \"\", \"\");\n    \u002F* ... *\u002F\n  }\n  _exit(status);\n}\n",[62,1203,1204,1212,1217,1222,1227,1235,1246,1252,1272,1286,1290,1294,1300],{"__ignoreMap":60},[65,1205,1206,1208,1210],{"class":67,"line":68},[65,1207,90],{"class":78},[65,1209,828],{"class":82},[65,1211,831],{"class":86},[65,1213,1214],{"class":67,"line":75},[65,1215,1216],{"class":71}," \u002F*\n",[65,1218,1219],{"class":67,"line":96},[65,1220,1221],{"class":71},"  * Prevent reception of SIGURG from resulting in a resumption\n",[65,1223,1224],{"class":67,"line":102},[65,1225,1226],{"class":71},"  * back to the main program loop.\n",[65,1228,1229,1232],{"class":67,"line":111},[65,1230,1231],{"class":71},"  *\u002F",[65,1233,1234],{"class":86}," \n",[65,1236,1237,1240,1242,1244],{"class":67,"line":117},[65,1238,1239],{"class":86},"  transflag ",[65,1241,172],{"class":132},[65,1243,213],{"class":175},[65,1245,179],{"class":86},[65,1247,1248,1250],{"class":67,"line":123},[65,1249,347],{"class":132},[65,1251,838],{"class":86},[65,1253,1254,1256,1258,1260,1262,1264,1266,1268,1270],{"class":67,"line":129},[65,1255,843],{"class":86},[65,1257,90],{"class":78},[65,1259,848],{"class":86},[65,1261,851],{"class":82},[65,1263,854],{"class":86},[65,1265,857],{"class":78},[65,1267,860],{"class":86},[65,1269,863],{"class":175},[65,1271,866],{"class":86},[65,1273,1274,1276,1278,1280,1282,1284],{"class":67,"line":143},[65,1275,871],{"class":82},[65,1277,874],{"class":86},[65,1279,877],{"class":279},[65,1281,880],{"class":86},[65,1283,877],{"class":279},[65,1285,866],{"class":86},[65,1287,1288],{"class":67,"line":148},[65,1289,568],{"class":71},[65,1291,1292],{"class":67,"line":166},[65,1293,380],{"class":86},[65,1295,1296,1298],{"class":67,"line":182},[65,1297,897],{"class":82},[65,1299,900],{"class":86},[65,1301,1302],{"class":67,"line":187},[65,1303,114],{"class":86},[39,1305,1306,1307,1309,1310,1313],{},"A better solution is for ",[62,1308,1173],{}," to set a failure flag of type ",[62,1311,1312],{},"  volatile sig_atomic_t "," that is periodically checked within the main loop:",[51,1315,1316],{"quality":53},[55,1317,1319],{"className":57,"code":1318,"language":59,"meta":60,"style":60},"volatile sig_atomic_t xfer_aborted = 0;\n\nstatic void myoob(signo) {\n  \u002F* ... *\u002F\n  if (strcmp(cp, \"ABOR\\r\\n\") == 0) {\n    xfer_aborted = 1;\n  }\n  \u002F* ... *\u002F\n}\n",[62,1320,1321,1336,1340,1350,1354,1378,1389,1393,1397],{"__ignoreMap":60},[65,1322,1323,1325,1327,1330,1332,1334],{"class":67,"line":68},[65,1324,133],{"class":132},[65,1326,137],{"class":136},[65,1328,1329],{"class":86}," xfer_aborted ",[65,1331,172],{"class":132},[65,1333,213],{"class":175},[65,1335,179],{"class":86},[65,1337,1338],{"class":67,"line":75},[65,1339,120],{"emptyLinePlaceholder":7},[65,1341,1342,1344,1346,1348],{"class":67,"line":96},[65,1343,913],{"class":132},[65,1345,916],{"class":78},[65,1347,980],{"class":82},[65,1349,983],{"class":86},[65,1351,1352],{"class":67,"line":102},[65,1353,99],{"class":71},[65,1355,1356,1358,1360,1362,1364,1366,1368,1370,1372,1374,1376],{"class":67,"line":111},[65,1357,347],{"class":132},[65,1359,224],{"class":86},[65,1361,1014],{"class":82},[65,1363,1017],{"class":86},[65,1365,1020],{"class":279},[65,1367,1023],{"class":175},[65,1369,1026],{"class":279},[65,1371,848],{"class":86},[65,1373,1031],{"class":132},[65,1375,213],{"class":175},[65,1377,93],{"class":86},[65,1379,1380,1383,1385,1387],{"class":67,"line":117},[65,1381,1382],{"class":86},"    xfer_aborted ",[65,1384,172],{"class":132},[65,1386,176],{"class":175},[65,1388,179],{"class":86},[65,1390,1391],{"class":67,"line":123},[65,1392,380],{"class":86},[65,1394,1395],{"class":67,"line":129},[65,1396,99],{"class":71},[65,1398,1399],{"class":67,"line":143},[65,1400,114],{"class":86},[39,1402,1403,1404,1182,1406,1187],{},"This solution, however, still violates ",[259,1405,1181],{"href":1180},[259,1407,1186],{"href":1185},[43,1409,1411],{"id":1410},"compliant-solution","Compliant Solution",[39,1413,1414,1415,1419],{},"A compliant solution (not shown) is to not use signals to signify lost connections and to design the system to have a robust error-handling mechanism (see ",[259,1416,1418],{"href":1417},"\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Ferror-handling-err\u002Ferr00-c","ERR00-C. Adopt and implement a consistent and comprehensive error-handling policy"," ).",[43,1421,1423],{"id":1422},"risk-assessment","Risk Assessment",[1425,1426,1427,1428,1427,1458],"table",{},"\n  ",[1429,1430,1431,1432,1427],"thead",{},"\n    ",[1433,1434,1435,1436,1435,1440,1435,1443,1435,1446,1435,1449,1435,1452,1435,1455,1431],"tr",{},"\n      ",[1437,1438,1439],"th",{},"Rule",[1437,1441,1442],{},"Severity",[1437,1444,1445],{},"Likelihood",[1437,1447,1448],{},"Detectable",[1437,1450,1451],{},"Repairable",[1437,1453,1454],{},"Priority",[1437,1456,1457],{},"Level",[1459,1460,1431,1461,1427],"tbody",{},[1433,1462,1435,1463,1435,1467,1435,1470,1435,1473,1435,1476,1435,1478,1435,1485,1431],{},[1464,1465,1466],"td",{},"SIG02-C",[1464,1468,1469],{},"High",[1464,1471,1472],{},"Probable",[1464,1474,1475],{},"No",[1464,1477,1475],{},[1464,1479,1481],{"style":1480},"color: #f1c40f;",[1482,1483,1484],"b",{},"P6",[1464,1486,1487],{"style":1480},[1482,1488,1489],{},"L2",[1491,1492,1494],"h3",{"id":1493},"automated-detection","Automated Detection",[1425,1496,1499],{"className":1497},[1498],"wrapped",[1459,1500,1501,1525,1552,1582,1605,1629],{},[1433,1502,1505,1510,1515,1520],{"className":1503},[1504],"header",[1437,1506,1507],{},[39,1508,1509],{},"Tool",[1437,1511,1512],{},[39,1513,1514],{},"Version",[1437,1516,1517],{},[39,1518,1519],{},"Checker",[1437,1521,1522],{},[39,1523,1524],{},"Description",[1433,1526,1529,1535,1543,1549],{"className":1527},[1528],"odd",[1464,1530,1531],{},[259,1532,1534],{"href":1533},"\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Fcodesonar","CodeSonar",[1464,1536,1537],{},[1538,1539,1542],"div",{"className":1540},[1541],"content-wrapper","9.1p0",[1464,1544,1545],{},[1546,1547,1548],"strong",{},"BADFUNC.SIGNAL",[1464,1550,1551],{},"Use of signal",[1433,1553,1556,1562,1570,1577],{"className":1554},[1555],"even",[1464,1557,1558],{},[259,1559,1561],{"href":1560},"\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Fhelix-qac","Helix QAC",[1464,1563,1564],{},[1538,1565,1567],{"className":1566},[1541],[39,1568,1569],{},"2025.2",[1464,1571,1572],{},[39,1573,1574],{},[1546,1575,1576],{},"C5044",[1464,1578,1579],{},[1580,1581],"br",{},[1433,1583,1585,1591,1597,1602],{"className":1584},[1528],[1464,1586,1587],{},[259,1588,1590],{"href":1589},"\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Fldra","LDRA tool suite",[1464,1592,1593],{},[1538,1594,1596],{"className":1595},[1541],"9.7.1",[1464,1598,1599],{},[1546,1600,1601],{},"44 S",[1464,1603,1604],{},"Enhanced Enforcement",[1433,1606,1608,1614,1619,1626],{"className":1607},[1555],[1464,1609,1610],{},[259,1611,1613],{"href":1612},"\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Fparasoft","Parasoft C\u002FC++test",[1464,1615,1616],{},[1538,1617,1569],{"className":1618},[1541],[1464,1620,1621],{},[39,1622,1623],{},[1546,1624,1625],{},"CERT_C-SIG02-a",[1464,1627,1628],{},"The signal handling facilities of \u003Csignal.h> shall not be used",[1433,1630,1632,1638,1646,1653],{"className":1631},[1528],[1464,1633,1634],{},[259,1635,1637],{"href":1636},"\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fee-analyzers\u002Fpc-lint-plus","PC-lint Plus",[1464,1639,1640],{},[1538,1641,1643],{"className":1642},[1541],[39,1644,1645],{},"1.4",[1464,1647,1648],{},[39,1649,1650],{},[1546,1651,1652],{},"586",[1464,1654,1655],{},[39,1656,1657],{},"Assistance provided: reports use of the signal function",[1491,1659,1661],{"id":1660},"related-vulnerabilities","Related Vulnerabilities",[39,1663,1664],{},"Using signals to implement normal functionality frequently results in the violation of one or more secure coding rules for signal handling.",[39,1666,1667,1668,1672,1673,1187],{},"Search for ",[259,1669,1671],{"href":1670},"\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fbb-definitions#BB.Definitions-vulnerability","vulnerabilities"," resulting from the violation of this rule on the ",[259,1674,1677],{"href":1675,"rel":1676},"https:\u002F\u002Fwww.kb.cert.org\u002Fvulnotes\u002Fbymetric?searchview&query=FIELD+KEYWORDS+contains+SIG02-C",[808],"CERT website",[43,1679,1681],{"id":1680},"related-guidelines","Related Guidelines",[1425,1683,1684,1692],{},[1429,1685,1686],{},[1433,1687,1688,1690],{},[1437,1689],{},[1437,1691],{},[1459,1693,1694],{},[1433,1695,1696,1701],{},[1464,1697,1698],{},[259,1699,1700],{"href":20},"SEI CERT C++ Coding Standard",[1464,1702,1703],{},[259,1704,1706],{"href":1705},"\u002Fsei-cert-cpp-coding-standard\u002Fthe-void\u002Fvoid-3-recommendations\u002Fsignals-sig\u002Fvoid-sig02-cpp-avoid-using-signals-to-implement-normal-functionality","VOID SIG02-CPP. Avoid using signals to implement normal functionality",[43,1708,1710],{"id":1709},"bibliography","Bibliography",[1425,1712,1714,1723],{"className":1713},[1498],[1715,1716,1717,1721],"colgroup",{},[1718,1719],"col",{"style":1720},"width: 50%",[1718,1722],{"style":1720},[1459,1724,1725,1739,1750,1763],{},[1433,1726,1728,1736],{"className":1727},[1528],[1464,1729,1730,1731,1735],{},"[ ",[259,1732,1734],{"href":1733},"\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Faa-bibliography#AA.Bibliography-Dowd06","Dowd 2006"," ]",[1464,1737,1738],{},"Chapter 13, \"Synchronization and State\"",[1433,1740,1742,1746],{"className":1741},[1555],[1464,1743,1730,1744,1735],{},[259,1745,814],{"href":813},[1464,1747,1748],{},[1580,1749],{},[1433,1751,1753,1757],{"className":1752},[1528],[1464,1754,1730,1755,1735],{},[259,1756,262],{"href":261},[1464,1758,1759,1760],{},"XBD, Headers, ",[62,1761,1762],{},"      \u003Cpthread>     ",[1433,1764,1766,1770],{"className":1765},[1555],[1464,1767,1730,1768,1735],{},[259,1769,627],{"href":626},[1464,1771,1772],{},[259,1773,1775],{"href":1774},"http:\u002F\u002Fmsdn.microsoft.com\u002Fen-us\u002Flibrary\u002Fms686903%28VS.85%29.aspx","Using Condition Variables",[1777,1778],"hr",{},[39,1780,1781,1788,1789,1788,1795],{},[259,1782,1784],{"href":1783},"\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fsignals-sig\u002Fsig01-c",[1785,1786],"img",{"src":1787},"\u002Fattachments\u002F87152044\u002F88034188.png"," ",[259,1790,1792],{"href":1791},"\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fsignals-sig\u002F",[1785,1793],{"src":1794},"\u002Fattachments\u002F87152044\u002F88034190.png",[259,1796,1798],{"href":1797},"\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fcharacters-and-strings-str\u002F",[1785,1799],{"src":1800},"\u002Fattachments\u002F87152044\u002F88034189.png",[1802,1803,1804],"style",{},"html pre.shiki code .s8-w5, html code.shiki .s8-w5{--shiki-default:#6A737D;--shiki-dark:#6A737D;--shiki-sepia:#88846F}html pre.shiki code .sq6CD, html code.shiki .sq6CD{--shiki-default:#D73A49;--shiki-default-font-style:inherit;--shiki-dark:#F97583;--shiki-dark-font-style:inherit;--shiki-sepia:#66D9EF;--shiki-sepia-font-style:italic}html pre.shiki code .srTi1, html code.shiki .srTi1{--shiki-default:#6F42C1;--shiki-dark:#B392F0;--shiki-sepia:#A6E22E}html pre.shiki code .sMOD_, html code.shiki .sMOD_{--shiki-default:#24292E;--shiki-dark:#E1E4E8;--shiki-sepia:#F8F8F2}html pre.shiki code .sC2Qs, html code.shiki .sC2Qs{--shiki-default:#D73A49;--shiki-dark:#F97583;--shiki-sepia:#F92672}html pre.shiki code .s-m8C, html code.shiki .s-m8C{--shiki-default:#005CC5;--shiki-default-font-style:inherit;--shiki-dark:#79B8FF;--shiki-dark-font-style:inherit;--shiki-sepia:#66D9EF;--shiki-sepia-font-style:italic}html pre.shiki code .sTHNf, html code.shiki .sTHNf{--shiki-default:#E36209;--shiki-default-font-style:inherit;--shiki-dark:#FFAB70;--shiki-dark-font-style:inherit;--shiki-sepia:#FD971F;--shiki-sepia-font-style:italic}html pre.shiki code .s7F3e, html code.shiki .s7F3e{--shiki-default:#005CC5;--shiki-dark:#79B8FF;--shiki-sepia:#AE81FF}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html .sepia .shiki span {color: var(--shiki-sepia);background: var(--shiki-sepia-bg);font-style: var(--shiki-sepia-font-style);font-weight: var(--shiki-sepia-font-weight);text-decoration: var(--shiki-sepia-text-decoration);}html.sepia .shiki span {color: var(--shiki-sepia);background: var(--shiki-sepia-bg);font-style: var(--shiki-sepia-font-style);font-weight: var(--shiki-sepia-font-weight);text-decoration: var(--shiki-sepia-text-decoration);}html pre.shiki code .sstjo, html code.shiki .sstjo{--shiki-default:#032F62;--shiki-dark:#9ECBFF;--shiki-sepia:#E6DB74}html pre.shiki code .sOrwc, html code.shiki .sOrwc{--shiki-default:#E36209;--shiki-dark:#FFAB70;--shiki-sepia:#F8F8F2}",{"title":60,"searchDepth":75,"depth":75,"links":1806},[1807,1808,1809,1810,1811,1812,1816,1817],{"id":45,"depth":75,"text":46},{"id":249,"depth":75,"text":250},{"id":619,"depth":75,"text":620},{"id":800,"depth":75,"text":46},{"id":1410,"depth":75,"text":1411},{"id":1422,"depth":75,"text":1423,"children":1813},[1814,1815],{"id":1493,"depth":96,"text":1494},{"id":1660,"depth":96,"text":1661},{"id":1680,"depth":75,"text":1681},{"id":1709,"depth":75,"text":1710},"md",{"tags":1820},[1821,1822,1823,1824,1825],"recommendation","unenforceable","sig","windows","posix","\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fsignals-sig\u002Fsig02-c",{"title":30,"description":41},"4.sei-cert-c-coding-standard\u002F08.recommendations\u002F18.signals-sig\u002F4.sig02-c","bcSy6eyy9THO5u960s8_VmuaP57CfwK72dihkG5S47k",[1831,1834],{"title":1832,"path":1783,"stem":1833,"children":-1},"SIG01-C. Understand implementation-specific details regarding signal handler persistence","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F18.signals-sig\u002F3.sig01-c",{"title":1835,"path":1836,"stem":1837,"children":-1},"CERT manifest files","\u002Fsei-cert-c-coding-standard\u002Fcert-manifest-files","4.sei-cert-c-coding-standard\u002F09.cert-manifest-files",[1839],{"title":1840,"path":1841,"stem":1842,"children":1843},"SEI CERT C Coding Standard","\u002Fsei-cert-c-coding-standard","4.sei-cert-c-coding-standard\u002F01.index",[1844,1845,1917,2503,2792,2806,2810,2814,2818,3625],{"title":1840,"path":1841,"stem":1842},{"title":1846,"path":1847,"stem":1848,"children":1849},"Front Matter","\u002Fsei-cert-c-coding-standard\u002Ffront-matter","4.sei-cert-c-coding-standard\u002F02.front-matter\u002F1.index",[1850,1851],{"title":1846,"path":1847,"stem":1848},{"title":1852,"path":1853,"stem":1854,"children":1855},"Introduction","\u002Fsei-cert-c-coding-standard\u002Ffront-matter\u002Fintroduction","4.sei-cert-c-coding-standard\u002F02.front-matter\u002F2.introduction\u002F01.index",[1856,1857,1861,1865,1869,1873,1877,1881,1885,1889,1893,1897,1901,1905,1909,1913],{"title":1852,"path":1853,"stem":1854},{"title":1858,"path":1859,"stem":1860},"Scope","\u002Fsei-cert-c-coding-standard\u002Ffront-matter\u002Fintroduction\u002Fscope","4.sei-cert-c-coding-standard\u002F02.front-matter\u002F2.introduction\u002F01.scope",{"title":1862,"path":1863,"stem":1864},"Audience","\u002Fsei-cert-c-coding-standard\u002Ffront-matter\u002Fintroduction\u002Faudience","4.sei-cert-c-coding-standard\u002F02.front-matter\u002F2.introduction\u002F02.audience",{"title":1866,"path":1867,"stem":1868},"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":1870,"path":1871,"stem":1872},"History","\u002Fsei-cert-c-coding-standard\u002Ffront-matter\u002Fintroduction\u002Fhistory","4.sei-cert-c-coding-standard\u002F02.front-matter\u002F2.introduction\u002F04.history",{"title":1874,"path":1875,"stem":1876},"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":1878,"path":1879,"stem":1880},"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":1882,"path":1883,"stem":1884},"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":1886,"path":1887,"stem":1888},"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":1890,"path":1891,"stem":1892},"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":1894,"path":1895,"stem":1896},"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":1898,"path":1899,"stem":1900},"Usage","\u002Fsei-cert-c-coding-standard\u002Ffront-matter\u002Fintroduction\u002Fusage","4.sei-cert-c-coding-standard\u002F02.front-matter\u002F2.introduction\u002F11.usage",{"title":1902,"path":1903,"stem":1904},"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":1906,"path":1907,"stem":1908},"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":1910,"path":1911,"stem":1912},"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":1914,"path":1915,"stem":1916},"Acknowledgments","\u002Fsei-cert-c-coding-standard\u002Ffront-matter\u002Fintroduction\u002Facknowledgments","4.sei-cert-c-coding-standard\u002F02.front-matter\u002F2.introduction\u002F15.acknowledgments",{"title":1918,"path":1919,"stem":1920,"children":1921},"Rules","\u002Fsei-cert-c-coding-standard\u002Frules","4.sei-cert-c-coding-standard\u002F03.rules\u002F01.index",[1922,1923,1927,1957,1987,2049,2087,2113,2135,2201,2227,2285,2319,2349,2359,2397,2467,2485],{"title":1918,"path":1919,"stem":1920},{"title":1924,"path":1925,"stem":1926},"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":1928,"path":1929,"stem":1930,"children":1931},"Arrays (ARR)","\u002Fsei-cert-c-coding-standard\u002Frules\u002Farrays-arr","4.sei-cert-c-coding-standard\u002F03.rules\u002F03.arrays-arr\u002F1.index",[1932,1933,1937,1941,1945,1949,1953],{"title":1928,"path":1929,"stem":1930},{"title":1934,"path":1935,"stem":1936},"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":1938,"path":1939,"stem":1940},"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":1942,"path":1943,"stem":1944},"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":1946,"path":1947,"stem":1948},"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":1950,"path":1951,"stem":1952},"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":1954,"path":1955,"stem":1956},"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":1958,"path":1959,"stem":1960,"children":1961},"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",[1962,1963,1967,1971,1975,1979,1983],{"title":1958,"path":1959,"stem":1960},{"title":1964,"path":1965,"stem":1966},"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":1968,"path":1969,"stem":1970},"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":1972,"path":1973,"stem":1974},"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":1976,"path":1977,"stem":1978},"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":1980,"path":1981,"stem":1982},"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":1984,"path":1985,"stem":1986},"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":1988,"path":1989,"stem":1990,"children":1991},"Concurrency (CON)","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fconcurrency-con","4.sei-cert-c-coding-standard\u002F03.rules\u002F05.concurrency-con\u002F01.index",[1992,1993,1997,2001,2005,2009,2013,2017,2021,2025,2029,2033,2037,2041,2045],{"title":1988,"path":1989,"stem":1990},{"title":1994,"path":1995,"stem":1996},"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":1998,"path":1999,"stem":2000},"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":2002,"path":2003,"stem":2004},"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":2006,"path":2007,"stem":2008},"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":2010,"path":2011,"stem":2012},"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":2014,"path":2015,"stem":2016},"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":2018,"path":2019,"stem":2020},"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":2022,"path":2023,"stem":2024},"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":2026,"path":2027,"stem":2028},"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":2030,"path":2031,"stem":2032},"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":2034,"path":2035,"stem":2036},"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":2038,"path":2039,"stem":2040},"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":2042,"path":2043,"stem":2044},"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":2046,"path":2047,"stem":2048},"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":2050,"path":2051,"stem":2052,"children":2053},"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",[2054,2055,2059,2063,2067,2071,2075,2079,2083],{"title":2050,"path":2051,"stem":2052},{"title":2056,"path":2057,"stem":2058},"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":2060,"path":2061,"stem":2062},"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":2064,"path":2065,"stem":2066},"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":2068,"path":2069,"stem":2070},"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":2072,"path":2073,"stem":2074},"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":2076,"path":2077,"stem":2078},"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":2080,"path":2081,"stem":2082},"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":2084,"path":2085,"stem":2086},"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":2088,"path":2089,"stem":2090,"children":2091},"Environment (ENV)","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fenvironment-env","4.sei-cert-c-coding-standard\u002F03.rules\u002F07.environment-env\u002F1.index",[2092,2093,2097,2101,2105,2109],{"title":2088,"path":2089,"stem":2090},{"title":2094,"path":2095,"stem":2096},"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":2098,"path":2099,"stem":2100},"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":2102,"path":2103,"stem":2104},"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":2106,"path":2107,"stem":2108},"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":2110,"path":2111,"stem":2112},"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":2114,"path":2115,"stem":2116,"children":2117},"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",[2118,2119,2123,2127,2131],{"title":2114,"path":2115,"stem":2116},{"title":2120,"path":2121,"stem":2122},"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":2124,"path":2125,"stem":2126},"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":2128,"path":2129,"stem":2130},"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":2132,"path":2133,"stem":2134},"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":2136,"path":2137,"stem":2138,"children":2139},"Expressions (EXP)","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fexpressions-exp","4.sei-cert-c-coding-standard\u002F03.rules\u002F09.expressions-exp\u002F01.index",[2140,2141,2145,2149,2153,2157,2161,2165,2169,2173,2177,2181,2185,2189,2193,2197],{"title":2136,"path":2137,"stem":2138},{"title":2142,"path":2143,"stem":2144},"EXP30-C. Do not depend on the order of evaluation for side effects","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fexpressions-exp\u002Fexp30-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F09.expressions-exp\u002F02.exp30-c",{"title":2146,"path":2147,"stem":2148},"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":2150,"path":2151,"stem":2152},"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":2154,"path":2155,"stem":2156},"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":2158,"path":2159,"stem":2160},"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":2162,"path":2163,"stem":2164},"EXP36-C. Do not cast pointers into more strictly aligned pointer types","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fexpressions-exp\u002Fexp36-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F09.expressions-exp\u002F07.exp36-c",{"title":2166,"path":2167,"stem":2168},"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":2170,"path":2171,"stem":2172},"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":2174,"path":2175,"stem":2176},"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":2178,"path":2179,"stem":2180},"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":2182,"path":2183,"stem":2184},"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":2186,"path":2187,"stem":2188},"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":2190,"path":2191,"stem":2192},"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":2194,"path":2195,"stem":2196},"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":2198,"path":2199,"stem":2200},"EXP47-C. Do not call va_arg with an argument of the incorrect type","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fexpressions-exp\u002Fexp47-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F09.expressions-exp\u002F16.exp47-c",{"title":2202,"path":2203,"stem":2204,"children":2205},"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",[2206,2207,2211,2215,2219,2223],{"title":2202,"path":2203,"stem":2204},{"title":2208,"path":2209,"stem":2210},"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":2212,"path":2213,"stem":2214},"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":2216,"path":2217,"stem":2218},"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":2220,"path":2221,"stem":2222},"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":2224,"path":2225,"stem":2226},"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":2228,"path":2229,"stem":2230,"children":2231},"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",[2232,2233,2237,2241,2245,2249,2253,2257,2261,2265,2269,2273,2277,2281],{"title":2228,"path":2229,"stem":2230},{"title":2234,"path":2235,"stem":2236},"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":2238,"path":2239,"stem":2240},"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":2242,"path":2243,"stem":2244},"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":2246,"path":2247,"stem":2248},"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":2250,"path":2251,"stem":2252},"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":2254,"path":2255,"stem":2256},"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":2258,"path":2259,"stem":2260},"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":2262,"path":2263,"stem":2264},"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":2266,"path":2267,"stem":2268},"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":2270,"path":2271,"stem":2272},"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":2274,"path":2275,"stem":2276},"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":2278,"path":2279,"stem":2280},"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":2282,"path":2283,"stem":2284},"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":2286,"path":2287,"stem":2288,"children":2289},"Integers (INT)","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fintegers-int","4.sei-cert-c-coding-standard\u002F03.rules\u002F12.integers-int\u002F1.index",[2290,2291,2295,2299,2303,2307,2311,2315],{"title":2286,"path":2287,"stem":2288},{"title":2292,"path":2293,"stem":2294},"INT30-C. Ensure that unsigned integer operations do not wrap","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fintegers-int\u002Fint30-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F12.integers-int\u002F2.int30-c",{"title":2296,"path":2297,"stem":2298},"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":2300,"path":2301,"stem":2302},"INT32-C. Ensure that operations on signed integers do not result in overflow","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fintegers-int\u002Fint32-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F12.integers-int\u002F4.int32-c",{"title":2304,"path":2305,"stem":2306},"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":2308,"path":2309,"stem":2310},"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":2312,"path":2313,"stem":2314},"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":2316,"path":2317,"stem":2318},"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":2320,"path":2321,"stem":2322,"children":2323},"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",[2324,2325,2329,2333,2337,2341,2345],{"title":2320,"path":2321,"stem":2322},{"title":2326,"path":2327,"stem":2328},"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":2330,"path":2331,"stem":2332},"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":2334,"path":2335,"stem":2336},"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":2338,"path":2339,"stem":2340},"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":2342,"path":2343,"stem":2344},"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":2346,"path":2347,"stem":2348},"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":2350,"path":2351,"stem":2352,"children":2353},"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",[2354,2355],{"title":2350,"path":2351,"stem":2352},{"title":2356,"path":2357,"stem":2358},"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":2360,"path":2361,"stem":2362,"children":2363},"Miscellaneous (MSC)","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fmiscellaneous-msc","4.sei-cert-c-coding-standard\u002F03.rules\u002F15.miscellaneous-msc\u002F1.index",[2364,2365,2369,2373,2377,2381,2385,2389,2393],{"title":2360,"path":2361,"stem":2362},{"title":2366,"path":2367,"stem":2368},"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":2370,"path":2371,"stem":2372},"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":2374,"path":2375,"stem":2376},"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":2378,"path":2379,"stem":2380},"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":2382,"path":2383,"stem":2384},"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":2386,"path":2387,"stem":2388},"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":2390,"path":2391,"stem":2392},"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":2394,"path":2395,"stem":2396},"MSC41-C. Never hard code sensitive information","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fmiscellaneous-msc\u002Fmsc41-c","4.sei-cert-c-coding-standard\u002F03.rules\u002F15.miscellaneous-msc\u002F9.msc41-c",{"title":2398,"path":2399,"stem":2400,"children":2401},"POSIX (POS)","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fposix-pos","4.sei-cert-c-coding-standard\u002F03.rules\u002F16.posix-pos\u002F01.index",[2402,2403,2407,2411,2415,2419,2423,2427,2431,2435,2439,2443,2447,2451,2455,2459,2463],{"title":2398,"path":2399,"stem":2400},{"title":2404,"path":2405,"stem":2406},"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":2408,"path":2409,"stem":2410},"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":2412,"path":2413,"stem":2414},"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":2416,"path":2417,"stem":2418},"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":2420,"path":2421,"stem":2422},"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":2424,"path":2425,"stem":2426},"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":2428,"path":2429,"stem":2430},"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":2432,"path":2433,"stem":2434},"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":2436,"path":2437,"stem":2438},"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":2440,"path":2441,"stem":2442},"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":2444,"path":2445,"stem":2446},"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":2448,"path":2449,"stem":2450},"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":2452,"path":2453,"stem":2454},"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":2456,"path":2457,"stem":2458},"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":2460,"path":2461,"stem":2462},"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":2464,"path":2465,"stem":2466},"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":2468,"path":2469,"stem":2470,"children":2471},"Preprocessor (PRE)","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fpreprocessor-pre","4.sei-cert-c-coding-standard\u002F03.rules\u002F17.preprocessor-pre\u002F1.index",[2472,2473,2477,2481],{"title":2468,"path":2469,"stem":2470},{"title":2474,"path":2475,"stem":2476},"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":2478,"path":2479,"stem":2480},"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":2482,"path":2483,"stem":2484},"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":2486,"path":2487,"stem":2488,"children":2489},"Signals (SIG)","\u002Fsei-cert-c-coding-standard\u002Frules\u002Fsignals-sig","4.sei-cert-c-coding-standard\u002F03.rules\u002F18.signals-sig\u002F1.index",[2490,2491,2493,2495,2499],{"title":2486,"path":2487,"stem":2488},{"title":1181,"path":1180,"stem":2492},"4.sei-cert-c-coding-standard\u002F03.rules\u002F18.signals-sig\u002F2.sig30-c",{"title":1186,"path":1185,"stem":2494},"4.sei-cert-c-coding-standard\u002F03.rules\u002F18.signals-sig\u002F3.sig31-c",{"title":2496,"path":2497,"stem":2498},"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":2500,"path":2501,"stem":2502},"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":2504,"path":2505,"stem":2506,"children":2507},"Back Matter","\u002Fsei-cert-c-coding-standard\u002Fback-matter","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F1.index",[2508,2509,2513,2517,2521,2525,2731,2788],{"title":2504,"path":2505,"stem":2506},{"title":2510,"path":2511,"stem":2512},"AA. Bibliography","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Faa-bibliography","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F2.aa-bibliography",{"title":2514,"path":2515,"stem":2516},"BB. Definitions","\u002Fsei-cert-c-coding-standard\u002Fback-matter\u002Fbb-definitions","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F3.bb-definitions",{"title":2518,"path":2519,"stem":2520},"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":2522,"path":2523,"stem":2524},"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":2526,"path":2527,"stem":2528,"children":2529},"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",[2530,2531,2535,2539,2543,2547,2551,2555,2559,2563,2567,2571,2575,2577,2581,2585,2589,2593,2597,2601,2605,2609,2613,2617,2621,2625,2629,2631,2635,2639,2643,2646,2650,2653,2657,2659,2663,2667,2671,2675,2679,2683,2687,2691,2695,2699,2703,2707,2711,2715,2719,2723,2727],{"title":2526,"path":2527,"stem":2528},{"title":2532,"path":2533,"stem":2534},"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":2536,"path":2537,"stem":2538},"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":2540,"path":2541,"stem":2542},"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":2544,"path":2545,"stem":2546},"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":2548,"path":2549,"stem":2550},"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":2552,"path":2553,"stem":2554},"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":2556,"path":2557,"stem":2558},"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":2560,"path":2561,"stem":2562},"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":2564,"path":2565,"stem":2566},"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":2568,"path":2569,"stem":2570},"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":2572,"path":2573,"stem":2574},"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":1534,"path":1533,"stem":2576},"4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F13.codesonar",{"title":2578,"path":2579,"stem":2580},"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":2582,"path":2583,"stem":2584},"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":2586,"path":2587,"stem":2588},"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":2590,"path":2591,"stem":2592},"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":2594,"path":2595,"stem":2596},"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":2598,"path":2599,"stem":2600},"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":2602,"path":2603,"stem":2604},"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":2606,"path":2607,"stem":2608},"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":2610,"path":2611,"stem":2612},"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":2614,"path":2615,"stem":2616},"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":2618,"path":2619,"stem":2620},"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":2622,"path":2623,"stem":2624},"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":2626,"path":2627,"stem":2628},"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":1561,"path":1560,"stem":2630},"4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F27.helix-qac",{"title":2632,"path":2633,"stem":2634},"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":2636,"path":2637,"stem":2638},"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":2640,"path":2641,"stem":2642},"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":2644,"path":1589,"stem":2645},"LDRA","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F31.ldra",{"title":2647,"path":2648,"stem":2649},"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":2651,"path":1612,"stem":2652},"Parasoft","4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F33.parasoft",{"title":2654,"path":2655,"stem":2656},"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":1637,"path":1636,"stem":2658},"4.sei-cert-c-coding-standard\u002F04.back-matter\u002F6.ee-analyzers\u002F35.pc-lint-plus",{"title":2660,"path":2661,"stem":2662},"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":2664,"path":2665,"stem":2666},"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":2668,"path":2669,"stem":2670},"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":2672,"path":2673,"stem":2674},"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":2676,"path":2677,"stem":2678},"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":2680,"path":2681,"stem":2682},"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":2684,"path":2685,"stem":2686},"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":2688,"path":2689,"stem":2690},"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":2692,"path":2693,"stem":2694},"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":2696,"path":2697,"stem":2698},"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":2700,"path":2701,"stem":2702},"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":2704,"path":2705,"stem":2706},"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":2708,"path":2709,"stem":2710},"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":2712,"path":2713,"stem":2714},"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":2716,"path":2717,"stem":2718},"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":2720,"path":2721,"stem":2722},"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":2724,"path":2725,"stem":2726},"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":2728,"path":2729,"stem":2730},"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":2732,"path":2733,"stem":2734,"children":2735},"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",[2736,2737,2741,2745,2749,2753,2757,2761,2765,2769,2772,2776,2780,2784],{"title":2732,"path":2733,"stem":2734},{"title":2738,"path":2739,"stem":2740},"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":2742,"path":2743,"stem":2744},"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":2746,"path":2747,"stem":2748},"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":2750,"path":2751,"stem":2752},"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":2754,"path":2755,"stem":2756},"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":2758,"path":2759,"stem":2760},"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":2762,"path":2763,"stem":2764},"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":2766,"path":2767,"stem":2768},"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":2766,"path":2770,"stem":2771},"\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":2773,"path":2774,"stem":2775},"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":2777,"path":2778,"stem":2779},"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":2781,"path":2782,"stem":2783},"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":2785,"path":2786,"stem":2787},"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":2789,"path":2790,"stem":2791},"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":2793,"path":2794,"stem":2795,"children":2796},"Admin","\u002Fsei-cert-c-coding-standard\u002Fadmin","4.sei-cert-c-coding-standard\u002F05.admin\u002F1.index",[2797,2798,2802],{"title":2793,"path":2794,"stem":2795},{"title":2799,"path":2800,"stem":2801},"TODO List","\u002Fsei-cert-c-coding-standard\u002Fadmin\u002Ftodo-list","4.sei-cert-c-coding-standard\u002F05.admin\u002F2.todo-list",{"title":2803,"path":2804,"stem":2805},"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":2807,"path":2808,"stem":2809},"Coding Style Guidelines","\u002Fsei-cert-c-coding-standard\u002Fcoding-style-guidelines","4.sei-cert-c-coding-standard\u002F05.coding-style-guidelines",{"title":2811,"path":2812,"stem":2813},"Errata for SEI CERT C Coding Standard (2016 Edition)","\u002Fsei-cert-c-coding-standard\u002Ferrata-for-sei-cert-c-coding-standard-2016-edition","4.sei-cert-c-coding-standard\u002F06.errata-for-sei-cert-c-coding-standard-2016-edition",{"title":2815,"path":2816,"stem":2817},"Wiki Contents","\u002Fsei-cert-c-coding-standard\u002Fwiki-contents","4.sei-cert-c-coding-standard\u002F06.wiki-contents",{"title":2819,"path":2820,"stem":2821,"children":2822},"Recommendations","\u002Fsei-cert-c-coding-standard\u002Frecommendations","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F01.index",[2823,2824,2865,2882,2927,2968,3065,3082,3113,3182,3219,3304,3369,3418,3443,3536,3557,3614],{"title":2819,"path":2820,"stem":2821},{"title":1924,"path":2825,"stem":2826,"children":2827},"\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",[2828,2829,2833,2837,2841,2845,2849,2853,2857,2861],{"title":1924,"path":2825,"stem":2826},{"title":2830,"path":2831,"stem":2832},"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":2834,"path":2835,"stem":2836},"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":2838,"path":2839,"stem":2840},"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":2842,"path":2843,"stem":2844},"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":2846,"path":2847,"stem":2848},"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":2850,"path":2851,"stem":2852},"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":2854,"path":2855,"stem":2856},"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":2858,"path":2859,"stem":2860},"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":2862,"path":2863,"stem":2864},"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":1928,"path":2866,"stem":2867,"children":2868},"\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Farrays-arr","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F03.arrays-arr\u002F1.index",[2869,2870,2874,2878],{"title":1928,"path":2866,"stem":2867},{"title":2871,"path":2872,"stem":2873},"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":2875,"path":2876,"stem":2877},"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":2879,"path":2880,"stem":2881},"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":1958,"path":2883,"stem":2884,"children":2885},"\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",[2886,2887,2891,2895,2899,2903,2907,2911,2915,2919,2923],{"title":1958,"path":2883,"stem":2884},{"title":2888,"path":2889,"stem":2890},"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":2892,"path":2893,"stem":2894},"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":2896,"path":2897,"stem":2898},"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":2900,"path":2901,"stem":2902},"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":2904,"path":2905,"stem":2906},"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":2908,"path":2909,"stem":2910},"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":2912,"path":2913,"stem":2914},"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":2916,"path":2917,"stem":2918},"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":2920,"path":2921,"stem":2922},"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":2924,"path":2925,"stem":2926},"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":1988,"path":2928,"stem":2929,"children":2930},"\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fconcurrency-con","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F05.concurrency-con\u002F01.index",[2931,2932,2936,2940,2944,2948,2952,2956,2960,2964],{"title":1988,"path":2928,"stem":2929},{"title":2933,"path":2934,"stem":2935},"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":2937,"path":2938,"stem":2939},"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":2941,"path":2942,"stem":2943},"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":2945,"path":2946,"stem":2947},"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":2949,"path":2950,"stem":2951},"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":2953,"path":2954,"stem":2955},"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":2957,"path":2958,"stem":2959},"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":2961,"path":2962,"stem":2963},"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":2965,"path":2966,"stem":2967},"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":2050,"path":2969,"stem":2970,"children":2971},"\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",[2972,2973,2977,2981,2985,2989,2993,2997,3001,3005,3009,3013,3017,3021,3025,3029,3033,3037,3041,3045,3049,3053,3057,3061],{"title":2050,"path":2969,"stem":2970},{"title":2974,"path":2975,"stem":2976},"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":2978,"path":2979,"stem":2980},"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":2982,"path":2983,"stem":2984},"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":2986,"path":2987,"stem":2988},"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":2990,"path":2991,"stem":2992},"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":2994,"path":2995,"stem":2996},"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":2998,"path":2999,"stem":3000},"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":3002,"path":3003,"stem":3004},"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":3006,"path":3007,"stem":3008},"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":3010,"path":3011,"stem":3012},"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":3014,"path":3015,"stem":3016},"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":3018,"path":3019,"stem":3020},"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":3022,"path":3023,"stem":3024},"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":3026,"path":3027,"stem":3028},"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":3030,"path":3031,"stem":3032},"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":3034,"path":3035,"stem":3036},"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":3038,"path":3039,"stem":3040},"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":3042,"path":3043,"stem":3044},"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":3046,"path":3047,"stem":3048},"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":3050,"path":3051,"stem":3052},"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":3054,"path":3055,"stem":3056},"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":3058,"path":3059,"stem":3060},"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":3062,"path":3063,"stem":3064},"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":2088,"path":3066,"stem":3067,"children":3068},"\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fenvironment-env","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F07.environment-env\u002F1.index",[3069,3070,3074,3078],{"title":2088,"path":3066,"stem":3067},{"title":3071,"path":3072,"stem":3073},"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":3075,"path":3076,"stem":3077},"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":3079,"path":3080,"stem":3081},"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":2114,"path":3083,"stem":3084,"children":3085},"\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Ferror-handling-err","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F08.error-handling-err\u002F1.index",[3086,3087,3089,3093,3097,3101,3105,3109],{"title":2114,"path":3083,"stem":3084},{"title":1418,"path":1417,"stem":3088},"4.sei-cert-c-coding-standard\u002F08.recommendations\u002F08.error-handling-err\u002F2.err00-c",{"title":3090,"path":3091,"stem":3092},"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":3094,"path":3095,"stem":3096},"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":3098,"path":3099,"stem":3100},"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":3102,"path":3103,"stem":3104},"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":3106,"path":3107,"stem":3108},"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":3110,"path":3111,"stem":3112},"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":2136,"path":3114,"stem":3115,"children":3116},"\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fexpressions-exp","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F09.expressions-exp\u002F01.index",[3117,3118,3122,3126,3130,3134,3138,3142,3146,3150,3154,3158,3162,3166,3170,3174,3178],{"title":2136,"path":3114,"stem":3115},{"title":3119,"path":3120,"stem":3121},"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":3123,"path":3124,"stem":3125},"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":3127,"path":3128,"stem":3129},"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":3131,"path":3132,"stem":3133},"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":3135,"path":3136,"stem":3137},"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":3139,"path":3140,"stem":3141},"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":3143,"path":3144,"stem":3145},"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":3147,"path":3148,"stem":3149},"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":3151,"path":3152,"stem":3153},"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":3155,"path":3156,"stem":3157},"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":3159,"path":3160,"stem":3161},"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":3163,"path":3164,"stem":3165},"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":3167,"path":3168,"stem":3169},"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":3171,"path":3172,"stem":3173},"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":3175,"path":3176,"stem":3177},"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":3179,"path":3180,"stem":3181},"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":2202,"path":3183,"stem":3184,"children":3185},"\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Ffloating-point-flp","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F10.floating-point-flp\u002F1.index",[3186,3187,3191,3195,3199,3203,3207,3211,3215],{"title":2202,"path":3183,"stem":3184},{"title":3188,"path":3189,"stem":3190},"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":3192,"path":3193,"stem":3194},"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":3196,"path":3197,"stem":3198},"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":3200,"path":3201,"stem":3202},"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":3204,"path":3205,"stem":3206},"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":3208,"path":3209,"stem":3210},"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":3212,"path":3213,"stem":3214},"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":3216,"path":3217,"stem":3218},"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":2228,"path":3220,"stem":3221,"children":3222},"\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Finput-output-fio","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F11.input-output-fio\u002F01.index",[3223,3224,3228,3232,3236,3240,3244,3248,3252,3256,3260,3264,3268,3272,3276,3280,3284,3288,3292,3296,3300],{"title":2228,"path":3220,"stem":3221},{"title":3225,"path":3226,"stem":3227},"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":3229,"path":3230,"stem":3231},"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":3233,"path":3234,"stem":3235},"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":3237,"path":3238,"stem":3239},"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":3241,"path":3242,"stem":3243},"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":3245,"path":3246,"stem":3247},"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":3249,"path":3250,"stem":3251},"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":3253,"path":3254,"stem":3255},"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":3257,"path":3258,"stem":3259},"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":3261,"path":3262,"stem":3263},"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":3265,"path":3266,"stem":3267},"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":3269,"path":3270,"stem":3271},"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":3273,"path":3274,"stem":3275},"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":3277,"path":3278,"stem":3279},"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":3281,"path":3282,"stem":3283},"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":3285,"path":3286,"stem":3287},"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":3289,"path":3290,"stem":3291},"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":3293,"path":3294,"stem":3295},"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":3297,"path":3298,"stem":3299},"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":3301,"path":3302,"stem":3303},"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":2286,"path":3305,"stem":3306,"children":3307},"\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fintegers-int","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F12.integers-int\u002F01.index",[3308,3309,3313,3317,3321,3325,3329,3333,3337,3341,3345,3349,3353,3357,3361,3365],{"title":2286,"path":3305,"stem":3306},{"title":3310,"path":3311,"stem":3312},"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":3314,"path":3315,"stem":3316},"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":3318,"path":3319,"stem":3320},"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":3322,"path":3323,"stem":3324},"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":3326,"path":3327,"stem":3328},"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":3330,"path":3331,"stem":3332},"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":3334,"path":3335,"stem":3336},"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":3338,"path":3339,"stem":3340},"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":3342,"path":3343,"stem":3344},"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":3346,"path":3347,"stem":3348},"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":3350,"path":3351,"stem":3352},"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":3354,"path":3355,"stem":3356},"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":3358,"path":3359,"stem":3360},"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":3362,"path":3363,"stem":3364},"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":3366,"path":3367,"stem":3368},"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":2320,"path":3370,"stem":3371,"children":3372},"\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fmemory-management-mem","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F13.memory-management-mem\u002F01.index",[3373,3374,3378,3382,3386,3390,3394,3398,3402,3406,3410,3414],{"title":2320,"path":3370,"stem":3371},{"title":3375,"path":3376,"stem":3377},"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":3379,"path":3380,"stem":3381},"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":3383,"path":3384,"stem":3385},"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":3387,"path":3388,"stem":3389},"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":3391,"path":3392,"stem":3393},"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":3395,"path":3396,"stem":3397},"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":3399,"path":3400,"stem":3401},"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":3403,"path":3404,"stem":3405},"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":3407,"path":3408,"stem":3409},"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":3411,"path":3412,"stem":3413},"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":3415,"path":3416,"stem":3417},"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":2350,"path":3419,"stem":3420,"children":3421},"\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fmicrosoft-windows-win","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F14.microsoft-windows-win\u002F1.index",[3422,3423,3427,3431,3435,3439],{"title":2350,"path":3419,"stem":3420},{"title":3424,"path":3425,"stem":3426},"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":3428,"path":3429,"stem":3430},"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":3432,"path":3433,"stem":3434},"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":3436,"path":3437,"stem":3438},"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":3440,"path":3441,"stem":3442},"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":2360,"path":3444,"stem":3445,"children":3446},"\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fmiscellaneous-msc","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F15.miscellaneous-msc\u002F01.index",[3447,3448,3452,3456,3460,3464,3468,3472,3476,3480,3484,3488,3492,3496,3500,3504,3508,3512,3516,3520,3524,3528,3532],{"title":2360,"path":3444,"stem":3445},{"title":3449,"path":3450,"stem":3451},"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":3453,"path":3454,"stem":3455},"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":3457,"path":3458,"stem":3459},"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":3461,"path":3462,"stem":3463},"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":3465,"path":3466,"stem":3467},"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":3469,"path":3470,"stem":3471},"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":3473,"path":3474,"stem":3475},"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":3477,"path":3478,"stem":3479},"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":3481,"path":3482,"stem":3483},"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":3485,"path":3486,"stem":3487},"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":3489,"path":3490,"stem":3491},"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":3493,"path":3494,"stem":3495},"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":3497,"path":3498,"stem":3499},"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":3501,"path":3502,"stem":3503},"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":3505,"path":3506,"stem":3507},"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":3509,"path":3510,"stem":3511},"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":3513,"path":3514,"stem":3515},"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":3517,"path":3518,"stem":3519},"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":3521,"path":3522,"stem":3523},"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":3525,"path":3526,"stem":3527},"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":3529,"path":3530,"stem":3531},"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":3533,"path":3534,"stem":3535},"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":2398,"path":3537,"stem":3538,"children":3539},"\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fposix-pos","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F16.posix-pos\u002F1.index",[3540,3541,3545,3549,3553],{"title":2398,"path":3537,"stem":3538},{"title":3542,"path":3543,"stem":3544},"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":3546,"path":3547,"stem":3548},"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":3550,"path":3551,"stem":3552},"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":3554,"path":3555,"stem":3556},"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":2468,"path":3558,"stem":3559,"children":3560},"\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fpreprocessor-pre","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F17.preprocessor-pre\u002F01.index",[3561,3562,3566,3570,3574,3578,3582,3586,3590,3594,3598,3602,3606,3610],{"title":2468,"path":3558,"stem":3559},{"title":3563,"path":3564,"stem":3565},"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":3567,"path":3568,"stem":3569},"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":3571,"path":3572,"stem":3573},"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":3575,"path":3576,"stem":3577},"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":3579,"path":3580,"stem":3581},"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":3583,"path":3584,"stem":3585},"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":3587,"path":3588,"stem":3589},"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":3591,"path":3592,"stem":3593},"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":3595,"path":3596,"stem":3597},"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":3599,"path":3600,"stem":3601},"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":3603,"path":3604,"stem":3605},"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":3607,"path":3608,"stem":3609},"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":3611,"path":3612,"stem":3613},"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":2486,"path":3615,"stem":3616,"children":3617},"\u002Fsei-cert-c-coding-standard\u002Frecommendations\u002Fsignals-sig","4.sei-cert-c-coding-standard\u002F08.recommendations\u002F18.signals-sig\u002F1.index",[3618,3619,3623,3624],{"title":2486,"path":3615,"stem":3616},{"title":3620,"path":3621,"stem":3622},"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":1832,"path":1783,"stem":1833},{"title":30,"path":1826,"stem":1828},{"title":1835,"path":1836,"stem":1837},1775657789251]