[ reviewing some older stuff ]

Matt Pavlovich writes:

No brainer config option to allow users to modify the 'catch-all' address for hosteddomains. Also should work to allow just "@domain.com". (Not tested).

# - alloc_buf=malloc(sizeof(DEFAULTNAME) # + alloc_buf=malloc(sizeof(getenv("CATCHALLNAME")) +strlen(atdomain));

getenv() returns a const char *.

sizeof(const char *)=4 (on 32bit systems)

If your CATCHALLNAME is 4 or more bytes long, you will end up with memory corruption.



Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to