<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>moratorium08</author_name>
  <author_url>https://blog.hatena.ne.jp/moratorium08/</author_url>
  <blog_title>欣快の至り</blog_title>
  <blog_url>https://moraprogramming.hateblo.jp/</blog_url>
  <categories>
  </categories>
  <description>書いておくと良いかなと思ったので書きました。 概要 指定されたインデックスの配列要素に整数を書き込むプログラムで、pos が100以上かどうかのチェックはあるが、負の値のチェックが存在しません。なので配列外に書き込みができます。 void win() { execve(&quot;/bin/sh&quot;, NULL, NULL); } int main(void) { int integers[100], pos; printf(&quot;pos &gt; &quot;); scanf(&quot;%d&quot;, &amp;pos); if (pos &gt;= 100) { puts(&quot;You're a hacker!&quot;); return 1; } print…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmoraprogramming.hateblo.jp%2Fentry%2F2025%2F12%2F06%2F041519&quot; title=&quot;Daily AlpacaHack 12月5日 -- &amp;quot;Integer Writer&amp;quot; writeup - 欣快の至り&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-12-06 04:15:19</published>
  <title>Daily AlpacaHack 12月5日 -- &quot;Integer Writer&quot; writeup</title>
  <type>rich</type>
  <url>https://moraprogramming.hateblo.jp/entry/2025/12/06/041519</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
