Binary file handouts/ho03.pdf has changed
--- 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}
--- a/progs/README Mon Oct 06 21:04:33 2014 +0100
+++ b/progs/README Mon Oct 06 21:23:31 2014 +0100
@@ -1,3 +1,8 @@
+to switch off address randomization
+
+echo 0 | sudo tee /proc/sys/kernel/randomize_va_space
+
+
C0.c