Menu

#170 cssclean: may read past the end of css files when corrupted

GIT
closed-accepted
nobody
None
5
2014-01-02
2013-09-10
No

Currently, cssclean assumes css files are well formed. For each header
encountered, it thus iterates over all the records the header claims to
be present. However, if the header is corrupted, cssclean will read past
the end of the css file being cleaned. This patch adds a safeguard
against such a situation.

1 Attachments

Discussion

  • Thomas Preud'homme

    Here is an improved version of this patch.

    Best regards,

    Thomas

     
  • Tom Hendrikx

    Tom Hendrikx - 2014-01-02
    • status: open --> closed-accepted
     

Log in to post a comment.