]> granicus.if.org Git - curl/commit
ftplistparser: free off temporary memory always
authorMax Dymond <cmeister2@gmail.com>
Wed, 25 Oct 2017 14:52:43 +0000 (15:52 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 25 Oct 2017 16:44:47 +0000 (18:44 +0200)
commitf786d1f1433aef0cefb66432d6ed0f833c5ed90f
tree1b61210fe5566af845ddfd4b311af84917205c94
parentb9d25f9a6b3ca791385b80a6a3c3fa5ae113e1e0
ftplistparser: free off temporary memory always

When using the FTP list parser, ensure that the memory that's
allocated is always freed.

Detected by OSS-fuzz: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=3682
Closes #2013
lib/ftplistparser.c