influxdata / flux

Flux is a lightweight scripting language for querying databases (like InfluxDB) and working with data. It's part of InfluxDB 1.7 and 2.0, but can be run independently of those.
https://influxdata.com
MIT License
760 stars 152 forks source link

fix: null string to bytes conversions #5492

Closed mhilton closed 2 weeks ago

mhilton commented 2 weeks ago

Avoid a panic if the bytes conversion function receives a string typed NULL value. The function now returns the same error as for other NULL values.

Checklist

Dear Author :wave:, the following checks should be completed (or explicitly dismissed) before merging.

Dear Reviewer(s) :wave:, you are responsible (among others) for ensuring the completeness and quality of the above before approval.