handouts/ho03.tex
changeset 213 9c2fa54c7c2d
parent 212 1d2744383b7a
child 218 bc1f7c82e1a8
--- a/handouts/ho03.tex	Mon Oct 06 21:04:33 2014 +0100
+++ b/handouts/ho03.tex	Mon Oct 06 21:23:31 2014 +0100
@@ -142,6 +142,11 @@
 to a destination \pcode{dst}. The important point is that it
 copies the data until it reaches a zero-byte (\code{"\\0"}). 
 
+\begin{figure}[p]
+\lstinputlisting[language=C]{../progs/C2.c}
+\caption{A suspicious login implementation.\label{C2}}
+\end{figure}
+
 \bigskip\bigskip
 \subsubsection*{A Crash-Course on GDB}