[Mono-list] Mono.Unix.Native.Syscall.readlink memory corruption

Gonzalo Paniagua Javier gonzalo at ximian.com
Mon Mar 13 16:12:08 EST 2006


On Mon, 2006-03-13 at 17:32 +0000, Colin JN Breame wrote:
> using System.Text;
> public class main_t {
>   public static void Main() {
>     for (int i=0; i<10000; i++) {
>       StringBuilder buf = new StringBuilder();
>       Mono.Unix.Native.Syscall.readlink("path/to/link/file", buf);
>     }
>   }
> } 

Confirmed. I get the same error.

-Gonzalo




More information about the Mono-list mailing list