{"author_name":"masami256","blog_title":"\u03c6(\u30fb\u30fb*)\u309e \uff73\uff70\uff9d\u3000\u30ab\u30fc\u30cd\u30eb\u3068\u304b\u5f04\u3063\u305f\u308a\u306e\u30e1\u30e2","version":"1.0","categories":["\u6574\u6570\u30aa\u30fc\u30d0\u30fc\u30d5\u30ed\u30fc"],"provider_url":"https://hatena.blog","blog_url":"https://kernhack.hatenablog.com/","width":"100%","provider_name":"Hatena Blog","image_url":null,"author_url":"https://blog.hatena.ne.jp/masami256/","height":"190","type":"rich","published":"2008-03-26 00:01:44","description":"\u3068\u308a\u3042\u3048\u305a\u30b5\u30f3\u30d7\u30eb\u3092\u4f5c\u308b #include #include #include int main(int argc, char **argv) { char *p; int len = atoi(argv[1]); if (len malloc(len); strcpy(p, argv[2]); } else printf(\"the number which you inputed is too big\\n\"); return 0; } \u305d\u308c\u3067\u30c6\u30b9\u30c8\u3002 [masami@moon:~/dvl/test]% ./vuln2 100 foobar the number which you input\u2026","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkernhack.hatenablog.com%2Fentry%2F20080326%2F1206543704\" title=\"\u6574\u6570\u30aa\u30fc\u30d0\u30fc\u30d5\u30ed\u30fc\u306e\u521d\u6b69\u306e\u521d\u6b69 - \u03c6(\u30fb\u30fb*)\u309e \uff73\uff70\uff9d\u3000\u30ab\u30fc\u30cd\u30eb\u3068\u304b\u5f04\u3063\u305f\u308a\u306e\u30e1\u30e2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","title":"\u6574\u6570\u30aa\u30fc\u30d0\u30fc\u30d5\u30ed\u30fc\u306e\u521d\u6b69\u306e\u521d\u6b69","url":"https://kernhack.hatenablog.com/entry/20080326/1206543704"}