Changeset 654


Ignore:
Timestamp:
04/24/14 22:01:07 (7 years ago)
Author:
bas
Message:

fixed format-security problem, closes #341
fixed Typo in variable assignment, closes #342

Location:
trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/ChangeLog

    r653 r654  
    1 2.8.1
     12.8.4
    22  * There was a case where the lower method on a string was referenced as an object instead of
    33    actually making a method call, closes #340
     
    99    Applied by: Bas van der Vlies
    1010
    11   *
     11  * fixed a format-security problem in run_email2trac.c, closes #341
     12    Author: thomasdot moschny@gmx dot de
     13    Applied by: Bas van der Vlies
     14
     15  * fixed Typo in variable assignment, closes #342
     16    Author: Anonymous
     17    Applied by: Bas van der Vlies
     18
    12192.8.0
    1320  * Also made delete_spam virtual env aware
  • trunk/debian/changelog

    r653 r654  
    1 email2trac (2.8.1-1) stable; urgency=low
     1email2trac (2.8.4-1) stable; urgency=low
    22
    33  * See Changelog
  • trunk/email2trac.py.in

    r653 r654  
    718718        """
    719719        To bypass a bug in Trac
    720         check if the filename lenght is not larger then OS limit.
     720        check if the filename length is not larger then OS limit.
    721721          yes : return truncated filename
    722722          no  : return unmodified filename
     
    740740            quote_format = util.text.unicode_quote(dummy_filename)
    741741
    742         ## Determine max filename lenght
     742        ## Determine max filename length
    743743        #
    744744        try:
    745745            filemax_length = os.pathconf('/', 'PC_NAME_MAX')
    746746        except AttributeError, detail:
    747             filemax_lenght = 240
     747            filemax_length = 240
    748748
    749749        if len(quote_format) <= filemax_length:
  • trunk/email2trac.spec

    r653 r654  
    11Summary: Utilities for converting emails to trac tickets
    22Name: email2trac
    3 Version: 2.8.1
     3Version: 2.8.4
    44Release: 1
    55License: Apache License 2.0
  • trunk/run_email2trac.c

    r648 r654  
    5757{
    5858    openlog("run_email2trac", LOG_PID, LOG_MAIL);
    59     syslog(LOG_ERR, message);
     59    syslog(LOG_ERR, "%s", message);
    6060    closelog();
    6161}
Note: See TracChangeset for help on using the changeset viewer.