7c5d3296e7
If node::Buffer::New() is used to wrap an existing chunk of memory without providing a custom callback to release that memory then Node will just use `free()`. In a couple of places Node buffer objects were constructed from chunks of memory that were allocated with `new[]`, but a custom callback to release that memory was omitted, this resulted in undefined behavior when those buffers were destroyed because `free()` was used to release memory allocated with `new[]`. To avoid undefined behavior the aforementioned buffer objects are now constructed with a custom callback that safely releases the underlying chunk of memory. |
||
---|---|---|
.. | ||
pdf_to_emf_converter.cc | ||
pdf_to_emf_converter.h | ||
print_job.cc | ||
print_job.h | ||
print_job_manager.cc | ||
print_job_manager.h | ||
print_job_worker.cc | ||
print_job_worker.h | ||
print_job_worker_owner.cc | ||
print_job_worker_owner.h | ||
print_preview_message_handler.cc | ||
print_preview_message_handler.h | ||
print_view_manager_base.cc | ||
print_view_manager_base.h | ||
print_view_manager_basic.cc | ||
print_view_manager_basic.h | ||
print_view_manager_observer.h | ||
printer_query.cc | ||
printer_query.h | ||
printing_message_filter.cc | ||
printing_message_filter.h | ||
printing_ui_web_contents_observer.cc | ||
printing_ui_web_contents_observer.h |