Regression: text-info cannot handle long input
When using zenity 3.99.0, I tend to experience crashes whenever --text-info
receives long input
$ yes | head -n 2000 | zenity --text-info
(zenity:14044): GLib-CRITICAL **: 07:04:41.960: g_variant_new_string: assertion 'g_utf8_validate (string, -1, NULL)' failed
(zenity:14044): GLib-CRITICAL **: 07:04:41.961: g_variant_new_variant: assertion 'value != NULL' failed
Segmentation fault
The issue doesn't seem to occur when using the stable version (3.44.0)