Hello there,

I just had a look at source code file
gnugo-3.7.10/interface/gtp_examples/metamachine.c,
around line 110 is the code

    if (!fgets(client_line, GTP_BUFSIZE, stdin)

but

 client_line[128];

and

#define GTP_BUFSIZE  1000

so it seems wrong to me to allow up to 1000 characters into a
buffer of size 128. Suggest code rework.


Regards

David Binderman
                                          
_________________________________________________________________
Got more than one Hotmail account? Save time by linking them together
 http://clk.atdmt.com/UKM/go/186394591/direct/01/

_______________________________________________
gnugo-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnugo-devel

Reply via email to