electron/chromium_src/chrome/browser/printing
Vadim Macagon 7c5d3296e7 Prevent undefined behavior when some Node Buffer objects are destroyed
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.
2016-10-03 10:26:26 +07:00
..
pdf_to_emf_converter.cc Fix building on Windows 2016-09-14 16:22:43 +09:00
pdf_to_emf_converter.h Update to API changes of Chrome 52 2016-07-04 15:32:43 +09:00
print_job.cc Fix building on Windows 2016-05-23 16:39:19 +09:00
print_job.h Update to API changes of Chrome 52 2016-07-04 15:32:43 +09:00
print_job_manager.cc Update printing code 2014-12-07 06:55:40 -08:00
print_job_manager.h Update to API changes of Chrome 52 2016-07-04 15:32:43 +09:00
print_job_worker.cc Adapt to changes of Chrome 51 API changes (Part 2) 2016-05-23 12:29:14 +09:00
print_job_worker.h Update to API changes of Chrome 52 2016-07-04 15:32:43 +09:00
print_job_worker_owner.cc Update printing code 2014-12-07 06:55:40 -08:00
print_job_worker_owner.h Update printing code 2014-12-07 06:55:40 -08:00
print_preview_message_handler.cc Prevent undefined behavior when some Node Buffer objects are destroyed 2016-10-03 10:26:26 +07:00
print_preview_message_handler.h Fix compilation errors on OS X 2016-03-10 17:06:21 +09:00
print_view_manager_base.cc Fix building on Windows 2016-09-14 16:22:43 +09:00
print_view_manager_base.h Update to new pref service location in components 2016-05-13 11:07:17 +09:00
print_view_manager_basic.cc Add printing related source codes from chrome. 2014-08-21 15:43:11 +08:00
print_view_manager_basic.h scoped_ptr.PassAs is removed 2015-01-27 13:18:30 -08:00
print_view_manager_observer.h Add printing related source codes from chrome. 2014-08-21 15:43:11 +08:00
printer_query.cc Adapt to changes of Chrome 51 API changes (Part 2) 2016-05-23 12:29:14 +09:00
printer_query.h Update to API changes of Chrome 52 2016-07-04 15:32:43 +09:00
printing_message_filter.cc Adapt to changes of Chrome 51 API changes (Part 2) 2016-05-23 12:29:14 +09:00
printing_message_filter.h Fix compilation errors on OS X 2016-03-10 17:06:21 +09:00
printing_ui_web_contents_observer.cc Add printing related source codes from chrome. 2014-08-21 15:43:11 +08:00
printing_ui_web_contents_observer.h Fix compilation errors on OS X 2016-03-10 17:06:21 +09:00