I'm curious, where did you find these magic numbers? "*2" probably due to UTF-16 but the "+3" seems nonsensical.
Cheers, /ulrich > On 02.02.2014, at 18:03, Czarek Tomczak <[email protected]> wrote: > > The cmdline variable probably be defined as cmdline[MAX_PATH_SIZE * 2 + 3], > because it stores two other strings "interp" and "cmd" which are also of size > MAX_PATH_SIZE. > > -Czarek > -- > You received this message because you are subscribed to the Google Groups > "mongoose-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/mongoose-users. > For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups "mongoose-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/mongoose-users. For more options, visit https://groups.google.com/groups/opt_out.
