Branch: Tag:

2020-02-17

2020-02-17 16:13:00 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Do not pass along strings with NUL characters in UTF-8.

1195:    value = (string)value;    switch (cenc) {    case UTF8CHARSET: +  if (has_value(value, 0)) +  SUSERERROR("NUL characters not allowed in PG-UTF-8: %O\n", +  value); +  else    value = string_to_utf8(value);    break;    default: