OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Martin Nedbal (awecentrum.cz)
Date: Thu Nov 01 2001 - 11:38:20 CST

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

    Hi,
    I'm running linux mail server, I have Postfix-20010228-pl05 with
    MySQL and Cyrus as imap/pop3 daemon. I have to add virtual
    domain, the domain was theinvestmentupdate.com. It does'no work.
    I found the problem quickly, it lies in src/util/dict_mysql.c on
    line 162:

    query = vstring_alloc(24);

    Problem is in the fact that the query

    vstring_sprintf(query, "select %s from %s where %s = '%s' %s",
    dict_mysql->ndict_mysql->name->table, dict_mysql->name-
    >where_field, name_escaped,dict_mysql->name-
    >additional_conditions);

    will be much longer, of course :)
    I recommed allocating more space for the string.

    sincerely,
    Martin Nedbal

    -------------------------
    Martin Nedbal
    M.Nedbalnospam.cooper.cz
    COOPERnet s.r.o.
    CZECH REPUBLIC

    Nokia Game je tady. Jsi pripraven?Zaregistruj se na http://user.centrum.cz/redir.php?url=http://www.nokiagame.com
      

    -
    To unsubscribe, send mail to majordomopostfix.org with content
    (not subject): unsubscribe postfix-users