Project

General

Profile

Actions

Bug #10668

closed

curl -T "{file1,file2}" loops forever eating up the RAM

Added by robi robi almost 4 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Normal
Category:
Operating System
Target version:
Start date:
06/17/2020
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.4.5-p1
Affected Architecture:

Description

Running pfSense 2.4.5-RELEASE-p1, using curl in ACME certificates Actions list to upload the updated certs from pfSense to machines down the internal network.

curl -T "{/tmp/acme/mydomain/mydomain.tld/ca.cer,/tmp/acme/mydomain/mydomain.tld/fullchain.cer,/tmp/acme/mydomain/mydomain.tld/mydomain.tld.cer,/tmp/acme/mydomain/mydomain.tld/mydomain.tld.csr,/tmp/acme/mydomain/mydomain.tld/mydomain.tld.key}" ftp://192.168.1.200 --user user:pass

This command runs after pfSense refreshed the certs. Currently with curl 7.67.0 (amd64-portbld-freebsd11.3) this causes an endless loop eating up the memory:

curl: (3) URL using bad/illegal format or missing URL
curl: (3) URL using bad/illegal format or missing URL
curl: (3) URL using bad/illegal format or missing URL
...

The bug was reported to curl dev team: https://github.com/curl/curl/issues/4588 they confirmed that his bug is in 7.67.0 for all builds and distros.

Please update the curl package separately for us.

Actions

Also available in: Atom PDF