[prev in list] [next in list] [prev in thread] [next in thread] 

List:       proftpd-committers
Subject:    [ProFTPD-committers] [proftpd/proftpd] 62b0fd: When handling uploads of large ASCII files, we cou...
From:       TJ Saunders <tj () castaglia ! org>
Date:       2016-12-30 19:22:57
Message-ID: 5866b4117860f_57203f88cf3a71301385ae () hookshot-fe2-cp1-prd ! iad ! github ! net ! mail
[Download RAW message or body]

Branch: refs/heads/data-ascii-upload-mem-leak-bug4277
  Home:   https://github.com/proftpd/proftpd
  Commit: 62b0fd82d9b5ee2e1941924d312a15789ec3e786
      https://github.com/proftpd/proftpd/commit/62b0fd82d9b5ee2e1941924d312a15789ec3e786
  Author: TJ Saunders <tj@castaglia.org>
  Date:   2016-12-30 (Fri, 30 Dec 2016)

  Changed paths:
    M src/data.c
    M tests/t/lib/ProFTPD/Tests/Commands/RETR.pm
    M tests/t/lib/ProFTPD/Tests/Commands/STOR.pm

  Log Message:
  -----------
  When handling uploads of large ASCII files, we could potentially keep growing
the data transfer pool quite a bit, leading to undue memory usage.  The pool
would be freed up once the transfer completes, but _during_ the upload, it
would look like a memory leak.  Use a temporary pool for the ASCII conversion
to mitigate this memory leak.




------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot

_______________________________________________
ProFTPD Committers Mailing List
proftpd-committers@proftpd.org
https://lists.sourceforge.net/lists/listinfo/proftp-committers


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic