OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Marcell Fodor (m.fodormail.datanet.hu)
Date: Sun Apr 28 2002 - 14:21:14 CDT

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    ('binary' encoding is not supported, stored as-is) Affected versions 4.0.3 and 4.0.4. default install.
    Servers, not processing user`s configuration file
    (~/.qpopper-options) are insensible to this bug.

    pop_bull.c
    -----------
    int
    CopyOneBull ( POP *p, long bnum, char *name )
    {
        FILE *bull;
        char buffer [ MAXMSGLINELEN ];
        BOOL in_header = TRUE;
        BOOL first_line = TRUE;
        int nchar;
        int msg_num;
        int msg_vis_num = 0;
        int msg_ends_in_nl = 0;
        char bullName [ 256 ];
        MsgInfoList *mp;
    .
    .
    .
        sprintf ( bullName, "%s/%s", p->bulldir, name );
    ------------

    The bullNmae buffer is 256 bytes long, but in the user`s
    config file
    you can define it up to MAXLINELEN-1-sizeof("set
    bulldir=") 1010 bytes.

    ~/.qpopper-options
    --------------
    set bulldir=AAAAAAAAAAA.....AAAAAAAAAAAAAAA
    --------------

    more info: http://mantra.freeweb.hu

    Regards,

    Marcell Fodor