7 Jun 2003 Stevey   » (Master)

groom

 That's a neat POP3 library, any thoughts about IMAP access too?

 One minor quibble: Your sample code contains a couple of exploitable buffer overflows.

 I guess this isn't a huge problem as the code is clearly sample code, and isn't installed setuid() or anything silly like that. I just have a reflex action of trying to persuade people to always be more careful...

int main(int argc,char** argv){
        int mysock;
        char myservername[64];
        char username[64];
        char password[64];

// Time passes ...

strcpy(myservername,argv[1]); strcpy(username,argv[2]); strcpy(password,argv[3]);

// Thorin sits down and starts singing about gold ..

Latest blog entries     Older blog entries

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!