Problems porting to an ARM platform
Peter Stuge
peter at stuge.se
Sat Oct 31 02:27:20 EST 2009
Christoph Baumann wrote:
> "initialize_options" in readconf.c is the culprit. It uses a
> "memset(options, 'X', sizeof(* options));" right at the start.
> After calling this function the "environ" is overwritten with 'X'.
> But I can't see why this happens.
Add debugging:
fprintf(stderr, "options=%p sizeof(* options)=%d 0x%x\n",
options, sizeof(* options), sizeof(* options));
Also check what type options is?
//Peter
More information about the openssh-unix-dev
mailing list