{"id":302091,"date":"2020-04-17T21:00:28","date_gmt":"2020-04-17T21:00:28","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=302091"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=302091","title":{"rendered":"PVS Studio.VS.\u0421\u0442\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u0430\u043d\u0430\u043b\u0438\u0437 GCC 10. \u041d\u0435\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u044b\u0439 \u043c\u0438\u043d\u0438\u0442\u0435\u0441\u0442"},"content":{"rendered":"\n<div class=\"post__text post__text-html post__text_v1\" id=\"post-content-body\" data-io-article-url=\"https:\/\/habr.com\/ru\/post\/497810\/\">\u041f\u043e\u0441\u043b\u0435 \u043f\u043e\u044f\u0432\u043b\u0435\u043d\u0438\u044f \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u043d\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0438 \u043f\u0440\u043e <a href=\"https:\/\/habr.com\/ru\/post\/496278\/\">\u0421\u0442\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u0430\u043d\u0430\u043b\u0438\u0437 \u0432 GCC 10<\/a>, \u0438 \u043e\u0436\u0438\u0434\u0430\u0435\u043c\u043e\u0439 \u0440\u0435\u0430\u043a\u0446\u0438\u0438 \u043f\u0440\u0438\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0445 \u0437\u0434\u0435\u0441\u044c \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u0442\u0435\u043b\u0435\u0439 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430 \u043a\u043e\u043c\u043c\u0435\u0440\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u0441\u0442\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u0430\u043d\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440\u0430 PVS-Studio, \u0443 \u043c\u0435\u043d\u044f \u0432\u043e\u0437\u043d\u0438\u043a \u0432\u043e\u043f\u0440\u043e\u0441: \u00ab\u041f\u043e\u0447\u0435\u043c\u0443 \u0436\u0435 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u0442\u0435\u043b\u0438 <a href=\"https:\/\/habr.com\/ru\/post\/496278\/#comment_21508186\">\u043e\u0442\u043a\u0430\u0437\u044b\u0432\u0430\u044e\u0442\u0441\u044f \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c<\/a> \u0441\u0432\u043e\u0439 \u043f\u0440\u043e\u0434\u0443\u043a\u0442 \u043d\u0430 \u0442\u0430\u043a\u0438\u0445 \u043f\u0440\u043e\u0441\u0442\u044b\u0445 \u043f\u0440\u0438\u043c\u0435\u0440\u0430\u0445 \u0434\u043b\u044f \u0441\u0442\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u0430\u043d\u0430\u043b\u0438\u0437\u0430, \u0438 \u043d\u0435 \u0441\u043a\u0440\u044b\u0432\u0430\u044e\u0442 \u043b\u0438 \u043e\u043d\u0438 \u0447\u0435\u0433\u043e?\u00bb  <\/p>\n<blockquote><p><a href=\"https:\/\/habr.com\/ru\/users\/andrey2008\/\" class=\"user_link\">Andrey2008<\/a> \u0414\u044b, \u043d\u0435\u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e \u043c\u043d\u0435 \u044d\u0442\u043e. \u041f\u043e\u0439\u043c\u0430\u043b\/\u043d\u0435 \u043f\u043e\u0439\u043c\u0430\u043b \u0441\u0438\u043d\u0442\u0435\u0442\u0438\u0447\u0435\u0441\u043a\u0443\u044e \u043e\u0448\u0438\u0431\u043a\u0443, \u044d\u0442\u043e \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u0433\u043e\u0432\u043e\u0440\u0438\u0442 \u043e \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044f\u0445 \u0430\u043d\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440\u0430<\/p><\/blockquote>\n<p>\u0414\u043e\u043b\u0436\u043d\u044b \u0436\u0435 \u043e\u043d\u0438 \u043a\u0430\u043a \u0442\u043e \u043f\u0440\u043e\u0433\u043e\u043d\u044f\u0442\u044c \u044e\u043d\u0438\u0442-\u0442\u0435\u0441\u0442\u044b \u0441\u0432\u043e\u0435\u0433\u043e \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u0430 \u0438 \u043a\u0430\u043a, \u0435\u0441\u043b\u0438 \u043d\u0435 \u043d\u0430 \u0442\u0430\u043a\u0438\u0445 \u0441\u0438\u043d\u0442\u0435\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u043f\u0440\u043e\u0441\u0442\u044b\u0445 \u043f\u0440\u0438\u043c\u0435\u0440\u0430\u0445?!<\/p>\n<p>  \u0421\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u044d\u0442\u043e \u0441\u0430\u043c\u043e\u043c\u0443.<br \/>  <a name=\"habracut\"><\/a>  <\/p>\n<h4>\u0422\u0435\u0441\u0442 \u21161. \u0421\u0430\u043c\u044b\u0439 \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u043f\u0440\u0438\u043c\u0435\u0440 \u043e\u0448\u0438\u0431\u043a\u0438 double-free<\/h4>\n<p>  \u041e\u0431\u043d\u0430\u0440\u0443\u0436\u0435\u043d\u0430 \u0441 \u0434\u0438\u0430\u0433\u043d\u043e\u0441\u0442\u0438\u043a\u043e\u0439:<br \/>  V586 The &#8216;free&#8217; function is called twice for deallocation of the same memory space. Inspect the first argument. Check lines: 5, 6. 1_dbl_free.c 6<\/p>\n<p>  <b>\u041f\u0440\u043e\u0439\u0434\u0435\u043d <\/b><\/p>\n<h4>\u0422\u0435\u0441\u0442 \u21162. longjmp() \u043c\u0438\u043c\u043e free()<\/h4>\n<p>  \u041d\u0435\u043f\u043e\u043d\u044f\u0442\u043d\u0430\u044f \u0440\u0443\u0433\u0430\u043d\u044c \u043d\u0430 \u043a\u043e\u043d\u0441\u0442\u0430\u043d\u0442\u0443 \u0432 malloc, \u043d\u043e \u043e\u0448\u0438\u0431\u043a\u0430 \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0435\u043d\u0430 \u2014 \u043d\u0435\u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0439 \u043a\u043e\u0434 \u0438 \u043d\u0435\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u043d\u0430\u044f \u043f\u0430\u043c\u044f\u0442\u044c:<br \/>  V118 malloc() function accepts a dangerous expression in the capacity of an argument. 2_longjump.c 13<br \/>  V779 Unreachable code detected. It is possible that an error is present. 2_longjump.c 15<br \/>  V799 The &#8216;ptr&#8217; variable is not used after memory has been allocated for it. Consider checking the use of this variable. 2_longjump.c 13<\/p>\n<p>  <b>\u041f\u0440\u043e\u0439\u0434\u0435\u043d <\/b><\/p>\n<h4>\u0422\u0435\u0441\u0442 \u21163. \u0423\u0442\u0435\u0447\u043a\u0438 malloc() \u0438 \u043d\u0435\u0437\u0430\u043a\u0440\u044b\u0442\u044b\u0435 \u0444\u0430\u0439\u043b\u044b fopen()<\/h4>\n<p>  \u041e\u0431\u043d\u0430\u0440\u0443\u0436\u0435\u043d\u044b:<br \/>  V118 malloc() function accepts a dangerous expression in the capacity of an argument. 3_fopen.c 7<br \/>  V773 Visibility scope of the &#8216;f&#8217; file handle was exited without closing the file. A resource leak is possible. 3_fopen.c 9<br \/>  V773 Visibility scope of the &#8216;p&#8217; pointer was exited without releasing the memory. A memory leak is possible. 3_fopen.c 9<br \/>  V799 The &#8216;p&#8217; variable is not used after memory has been allocated for it. Consider checking the use of this variable. 3_fopen.c 7<\/p>\n<p>  <b>\u041f\u0440\u043e\u0439\u0434\u0435\u043d <\/b><\/p>\n<h4>\u0422\u0435\u0441\u0442 \u21164. \u041a\u043e\u043d\u0442\u0440\u043e\u043b\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u043f\u0430\u043c\u044f\u0442\u0438 \u043f\u043e\u0441\u043b\u0435 \u0435\u0435 \u043e\u0441\u0432\u043e\u0431\u043e\u0436\u0434\u0435\u043d\u0438\u044f<\/h4>\n<p>  \u0411\u0430\u0433 \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0435\u043d:<br \/>  V774 The &#8216;n&#8217; pointer was used after the memory was released. 4_use_after_free.c 9<br \/>  V591 Non-void function should return a value. 4_use_after_free.c 11<\/p>\n<p>  <b>\u041f\u0440\u043e\u0439\u0434\u0435\u043d <\/b><\/p>\n<h4>\u0422\u0435\u0441\u0442 \u21165. \u041a\u043e\u043d\u0442\u0440\u043e\u043b\u044c \u043e\u0441\u0432\u043e\u0431\u043e\u0436\u0434\u0435\u043d\u0438\u044f \u0443\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u044f \u043d\u0435 \u043d\u0430 \u043a\u0443\u0447\u0443 (heap)<\/h4>\n<p>  \u0412\u044b\u0434\u0430\u043d\u044b \u043f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u044f, \u043d\u0435 \u043e\u0442\u043d\u043e\u0441\u044f\u0449\u0438\u0435\u0441\u044f \u043a \u043e\u0448\u0438\u0431\u043a\u0435:<br \/>  V104 Implicit conversion of &#8216;n&#8217; to memsize type in an arithmetic expression: sizeof (int) * n 5_free_nonheap.c 11<br \/>  V799 The &#8216;ptr&#8217; variable is not used after memory has been allocated for it. Consider checking the use of this variable. 5_free_nonheap.c 11<\/p>\n<p>  <b>\u041f\u0440\u043e\u0432\u0430\u043b\u0435\u043d <\/b><\/p>\n<h4>\u0422\u0435\u0441\u0442 \u21166. \u041d\u0435\u0434\u043e\u043f\u0443\u0441\u0442\u0438\u043c\u044b\u0439 \u0432\u044b\u0437\u043e\u0432 \u0432\u043d\u0443\u0442\u0440\u0438 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430 signal()<\/h4>\n<p>  <b>\u041f\u0440\u043e\u0432\u0430\u043b\u0435\u043d<\/b><\/p>\n<p>  \u0425\u043e\u0442\u044f \u044d\u0442\u043e \u043d\u0430\u0441\u0442\u043e\u043b\u044c\u043a\u043e \u0441\u043f\u0435\u0446\u0438\u0444\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u0434\u0438\u0430\u0433\u043d\u043e\u0441\u0442\u0438\u043a\u0430, \u0447\u0442\u043e \u044f \u0431\u044b \u043d\u0435 \u0441\u0442\u0430\u0432\u0438\u043b \u0435\u0435 \u0432 \u0443\u043a\u043e\u0440.<\/p>\n<p>  \u0414\u0430\u043b\u0435\u0435 \u044f \u043f\u0440\u043e\u0448\u0435\u043b\u0441\u044f \u043f\u043e <a href=\"https:\/\/gcc.gnu.org\/onlinedocs\/gcc\/Static-Analyzer-Options.html\" rel=\"nofollow\">\u043f\u0435\u0440\u0435\u0447\u043d\u044e \u0434\u0438\u0430\u0433\u043d\u043e\u0441\u0442\u0438\u043a \u0432 GCC 10<\/a> \u0438 \u0434\u043e\u043f\u0438\u0441\u0430\u043b \u043f\u0440\u0438\u043c\u0435\u0440\u044b, \u043f\u043e\u0442\u043e\u043c\u0443 \u0434\u0430\u043b\u044c\u043d\u0435\u0439\u0448\u0438\u0435 \u0442\u0435\u0441\u0442\u044b \u0441 \u0438\u0441\u0445\u043e\u0434\u043d\u0438\u043a\u0430\u043c\u0438.<\/p>\n<h4>\u0422\u0435\u0441\u0442 \u21167. \u0414\u0432\u043e\u0439\u043d\u043e\u0435 \u0437\u0430\u043a\u0440\u044b\u0442\u0438\u0435 \u0444\u0430\u0439\u043b\u0430 \u0438 \u043e\u0441\u0432\u043e\u0431\u043e\u0436\u0434\u0435\u043d\u0438\u0435 \u0437\u0430\u043a\u0440\u044b\u0442\u043e\u0433\u043e FILE*<\/h4>\n<p>  PVS \u043d\u0435 \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u043b \u044d\u0442\u0438\u0445 \u043e\u0448\u0438\u0431\u043e\u043a<br \/>  GCC 10 \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u043b double-fclose \u043d\u043e \u043d\u0435 \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u043b free \u0434\u043b\u044f \u0437\u0430\u043a\u0440\u044b\u0442\u043e\u0433\u043e \u0445\u0435\u043d\u0434\u043b\u0430.<\/p>\n<pre><code class=\"cpp\">#include &lt;stdlib.h&gt; void closefile(FILE* f) { \tfclose(f); }  void test(const char *filename) {   FILE *f = fopen(filename, &quot;r&quot;);   void *p = malloc(1024);   \/* do stuff *\/   closefile(f);   fclose(f);   free (p);   free(f);  \/\/ &lt;-  UB }<\/code><\/pre>\n<p>  <b>\u041f\u0440\u043e\u0432\u0430\u043b\u0435\u043d<\/b><\/p>\n<h4>\u0422\u0435\u0441\u0442 \u21168. longjmp() \u043d\u0430 \u0443\u0441\u0442\u0430\u0440\u0435\u0432\u0448\u0438\u0439 \u0441\u0442\u0435\u043a<\/h4>\n<p>  PVS \u043d\u0435 \u0437\u0430\u043c\u0435\u0442\u0438\u043b \u043d\u0438\u0447\u0435\u0433\u043e, GCC10 \u043e\u0442\u0440\u0430\u0431\u043e\u0442\u0430\u043b \u0432\u0435\u0440\u043d\u043e<\/p>\n<pre><code class=\"cpp\">#include &lt;setjmp.h&gt; #include &lt;stdlib.h&gt; static jmp_buf env; static int i;  static void inner(void) {   longjmp(env, 1); }  static void middle(void) {   inner(); }  void outer(void) {   i = setjmp(env); }  void outer_x2(void) {   outer();   if (i == 0)     middle(); }<\/code><\/pre>\n<p>  <b>\u041f\u0440\u043e\u0432\u0430\u043b\u0435\u043d<\/b><\/p>\n<h4>\u0422\u0435\u0441\u0442 \u21169. \u0412\u043e\u0437\u0432\u0440\u0430\u0442 \u0443\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u044f \u043d\u0430 \u0441\u0442\u0435\u043a\u043e\u0432\u0443\u044e \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e<\/h4>\n<p>  \u041f\u0440\u043e\u0432\u0430\u043b\u0435\u043d \u043e\u0431\u043e\u0438\u043c\u0438 \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u0430\u043c\u0438, \u0445\u043e\u0442\u044f \u0432 \u043f\u0440\u043e\u0441\u0442\u044b\u0445 \u0441\u043b\u0443\u0447\u0430\u044f\u0445 GCC \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u0432\u0430\u0435\u0442 \u0442\u0430\u043a\u043e\u0435, \u043d\u043e \u044d\u0442\u043e \u0435\u0449\u0435 \u043d\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u044f <b>-fanalyzer<\/b> (\u0430 \u043c\u043e\u0436\u0435\u0442 \u0435\u0449\u0435 \u043d\u0435 \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u0430).<\/p>\n<pre><code class=\"cpp\">#include&lt;stdlib.h&gt;  struct str1 {     char buf[10]; };  struct str1 * ret(int sel) {     struct str1  var1, *pval;      if(sel == 1)         pval = &amp;var1;     else if(sel != 1)         pval = (struct str1 *)malloc(1000);      return pval; }<\/code><\/pre>\n<p>  <b>\u041f\u0440\u043e\u0432\u0430\u043b\u0435\u043d<\/b><\/p>\n<h4>\u0422\u0435\u0441\u0442 \u211610. \u0414\u0438\u0430\u0433\u043d\u043e\u0441\u0442\u0438\u043a\u0438 tainted-array-index \u0438 use-of-uninitialized-value<\/h4>\n<p>  \u041f\u043e\u0445\u043e\u0436\u0435, \u0435\u0449\u0435 \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0442 \u0432 GCC10 <b>-fanalyzer<\/b>.<\/p>\n<p>  PVS \u0442\u0430\u043a\u043e\u0435 \u043e\u0442\u043b\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u0442, \u043a\u0430\u043a \u043c\u043d\u043e\u0433\u043e \u0440\u0430\u0437 \u0443\u0436\u0435 \u0434\u0435\u043c\u043e\u043d\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u043b\u043e\u0441\u044c.<\/p>\n<p>  <b>\u041f\u0440\u043e\u0439\u0434\u0435\u043d <\/b><\/p>\n<h3>\u0412\u044b\u0432\u043e\u0434<\/h3>\n<p>  \u0421\u0442\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u0430\u043d\u0430\u043b\u0438\u0437 \u0432 PVS-Studio \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u043e \u0435\u0441\u0442\u044c.<\/p>\n<p>  \u0425\u043e\u0442\u044f \u0438 \u043d\u0435 \u0431\u0435\u0437 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043d\u0435\u0434\u043e\u0441\u0442\u0430\u0442\u043a\u043e\u0432, \u043d\u043e \u0438 \u0438\u043c \u0441\u0442\u043e\u0438\u0442 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f, \u0442\u0435\u043c \u0431\u043e\u043b\u0435\u0435, \u0447\u0442\u043e \u0431\u0443\u0434\u0443\u0442 \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0435\u043d\u044b \u0438 \u043c\u043d\u043e\u0433\u0438\u0435 \u0447\u0435\u043b\u043e\u0432\u0435\u0447\u0435\u0441\u043a\u0438\u0435 \u043e\u0448\u0438\u0431\u043a\u0438, \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u0438\u0437 \u043e\u0431\u043b\u0430\u0441\u0442\u0438 \u0441\u0442\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u0430\u043d\u0430\u043b\u0438\u0437\u0430.<\/p><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/post\/497810\/\"> https:\/\/habr.com\/ru\/post\/497810\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"\n<div class=\"post__text post__text-html post__text_v1\" id=\"post-content-body\" data-io-article-url=\"https:\/\/habr.com\/ru\/post\/497810\/\">\u041f\u043e\u0441\u043b\u0435 \u043f\u043e\u044f\u0432\u043b\u0435\u043d\u0438\u044f \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u043d\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0438 \u043f\u0440\u043e <a href=\"https:\/\/habr.com\/ru\/post\/496278\/\">\u0421\u0442\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u0430\u043d\u0430\u043b\u0438\u0437 \u0432 GCC 10<\/a>, \u0438 \u043e\u0436\u0438\u0434\u0430\u0435\u043c\u043e\u0439 \u0440\u0435\u0430\u043a\u0446\u0438\u0438 \u043f\u0440\u0438\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0445 \u0437\u0434\u0435\u0441\u044c \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u0442\u0435\u043b\u0435\u0439 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430 \u043a\u043e\u043c\u043c\u0435\u0440\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u0441\u0442\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u0430\u043d\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440\u0430 PVS-Studio, \u0443 \u043c\u0435\u043d\u044f \u0432\u043e\u0437\u043d\u0438\u043a \u0432\u043e\u043f\u0440\u043e\u0441: \u00ab\u041f\u043e\u0447\u0435\u043c\u0443 \u0436\u0435 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u0442\u0435\u043b\u0438 <a href=\"https:\/\/habr.com\/ru\/post\/496278\/#comment_21508186\">\u043e\u0442\u043a\u0430\u0437\u044b\u0432\u0430\u044e\u0442\u0441\u044f \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c<\/a> \u0441\u0432\u043e\u0439 \u043f\u0440\u043e\u0434\u0443\u043a\u0442 \u043d\u0430 \u0442\u0430\u043a\u0438\u0445 \u043f\u0440\u043e\u0441\u0442\u044b\u0445 \u043f\u0440\u0438\u043c\u0435\u0440\u0430\u0445 \u0434\u043b\u044f \u0441\u0442\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u0430\u043d\u0430\u043b\u0438\u0437\u0430, \u0438 \u043d\u0435 \u0441\u043a\u0440\u044b\u0432\u0430\u044e\u0442 \u043b\u0438 \u043e\u043d\u0438 \u0447\u0435\u0433\u043e?\u00bb  <\/p>\n<blockquote><p><a href=\"https:\/\/habr.com\/ru\/users\/andrey2008\/\" class=\"user_link\">Andrey2008<\/a> \u0414\u044b, \u043d\u0435\u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e \u043c\u043d\u0435 \u044d\u0442\u043e. \u041f\u043e\u0439\u043c\u0430\u043b\/\u043d\u0435 \u043f\u043e\u0439\u043c\u0430\u043b \u0441\u0438\u043d\u0442\u0435\u0442\u0438\u0447\u0435\u0441\u043a\u0443\u044e \u043e\u0448\u0438\u0431\u043a\u0443, \u044d\u0442\u043e \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u0433\u043e\u0432\u043e\u0440\u0438\u0442 \u043e \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044f\u0445 \u0430\u043d\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440\u0430<\/p><\/blockquote>\n<p>\u0414\u043e\u043b\u0436\u043d\u044b \u0436\u0435 \u043e\u043d\u0438 \u043a\u0430\u043a \u0442\u043e \u043f\u0440\u043e\u0433\u043e\u043d\u044f\u0442\u044c \u044e\u043d\u0438\u0442-\u0442\u0435\u0441\u0442\u044b \u0441\u0432\u043e\u0435\u0433\u043e \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u0430 \u0438 \u043a\u0430\u043a, \u0435\u0441\u043b\u0438 \u043d\u0435 \u043d\u0430 \u0442\u0430\u043a\u0438\u0445 \u0441\u0438\u043d\u0442\u0435\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u043f\u0440\u043e\u0441\u0442\u044b\u0445 \u043f\u0440\u0438\u043c\u0435\u0440\u0430\u0445?!<\/p>\n<p>  \u0421\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u044d\u0442\u043e \u0441\u0430\u043c\u043e\u043c\u0443.  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-302091","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/302091","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=302091"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/302091\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=302091"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=302091"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=302091"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}