Skip to content

Make wget_buffer_realloc static

username-removed-1280241 requested to merge tmp-buffer-realloc-internal into master
  • libwget/buffer.c (wget_buffer_realloc): rename to _buffer_realloc, and make it static. (_buffer_realloc): new function.

This function may overflow if incorrectly used so we make it internal to 'buffer.c'. All the functions there that rely on it know how to use it correctly.

Merge request reports

Loading