Re: [PATCH v1] travis-ci: printf $STATUS as string
From: Johannes Schindelin <hidden>
Date: 2017-04-26 19:49:51
From: Johannes Schindelin <hidden>
Date: 2017-04-26 19:49:51
Hi, On Wed, 26 Apr 2017, Lars Schneider wrote:
If the $STATUS variable contains a "%" character then printf will interpret that as invalid format string. Fix this by formatting $STATUS as string. Signed-off-by: Lars Schneider <redacted>
ACK. For reference, the status should always be a single all-ASCII word, but sometimes it looks as if there is a server error that returns a full-blown HTML error page (including a style that contains something like 'width: 10%;' which would be misinterpreted by printf as a format string). Ciao, Dscho