gio/goutputstream.c · main · GNOME / GLib · GitLab (original) (raw)
Jun 26, 2024
d64336e1
g_output_stream_write: Allow NULL buffer if count is 0 · d64336e1
Gary Li authored Jun 26, 2024
We currently fail a buffer != NULL assertion if buffer is NULL and count is 0. Allow this case without critical assertions.
Fixes #3402
d64336e1
g_output_stream_write: Allow NULL buffer if count is 0
Gary Li authored Jun 26, 2024
We currently fail a buffer != NULL assertion if buffer is NULL and count is 0. Allow this case without critical assertions.
Fixes #3402
Loading