{"type":"rich","description":"strncat\u306f\u3001\u6307\u5b9a\u3055\u308c\u305f\u6587\u5b57\u5217\u3092\u6307\u5b9a\u3055\u308c\u305f\u6587\u5b57\u6570\u5206\u9023\u7d50\u3059\u308b\u3002Man page of STRCAT C\u8a00\u8a9e\u95a2\u6570\u8f9e\u5178 - strncat\u6587\u5b57\u5217\u304c\u6587\u5b57\u6570\u3088\u308a\u5c11\u306a\u304f\u3066\u3082\u591a\u304f\u3066\u3082NULL\u7d42\u7aef\u306f\u3055\u308c\u308b\u6a21\u69d8\u3002 $ vi strncat.c $ gcc strncat.c -o strncat strncat.c: \u95a2\u6570 \u2018main\u2019 \u5185: strncat.c:15:3: \u8b66\u544a: \u2018strncat\u2019 specified bound 5 equals source length [-Wstringop-overflow=] strncat(str1, \"ABCDE\", 5); /* strncat\u3067\u7a7a\u6587\u5b57\u306e\u2026","height":"190","categories":["C\u8a00\u8a9e"],"version":"1.0","blog_url":"https://bg1.hatenablog.com/","author_url":"https://blog.hatena.ne.jp/BG1/","author_name":"BG1","title":"strncat","image_url":null,"blog_title":"\u8eca\u8f2a\u306ex\u767a\u660e ~B.G's Blog~","width":"100%","provider_name":"Hatena Blog","provider_url":"https://hatena.blog","url":"https://bg1.hatenablog.com/entry/2019/04/15/210000","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbg1.hatenablog.com%2Fentry%2F2019%2F04%2F15%2F210000\" title=\"strncat - \u8eca\u8f2a\u306ex\u767a\u660e ~B.G&#39;s Blog~\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","published":"2019-04-15 21:00:00"}