The fstminer doesn't seem to use the plen argument in the value_change_callback_varlen callback and instead continues to output text until it eventually encounters a \0. Here is an example using one ...