History log of /external/libusb/tests/testlib.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
1eff220474f63d7ea7f8f99bef2a3da9da5324eb 09-Jan-2014 hjelmn@cs.unm.edu <hjelmn@cs.unm.edu> Misc: Revert all references to libusb/libusb.info
/external/libusb/tests/testlib.c
c4f2c353b9a1f6bc418dcd1d330d7c99084570d5 22-Sep-2013 Ludovic Rousseau <ludovic.rousseau+github@gmail.com> tests: set output_file to a valid value

If fdopen(3) fails then ctx->output_file is NULL and should not be used
in cleanup_test_output() called next.

Problem detected by the Coverity tool
CID 1042543 (#1 of 1): Dereference after null check (FORWARD_NULL)9.
var_deref_model: Passing "ctx" to function
"cleanup_test_output(libusbx_testlib_ctx *)", which dereferences null
"ctx->output_file".
/external/libusb/tests/testlib.c
5ab16a216589d59a4dc85e76b0790ea4196f836a 16-Mar-2013 Pete Batard <pete@akeo.ie> Tests: Suppress Visual Studio 2012 Code Analysis warnings
/external/libusb/tests/testlib.c
c56f89068452f6ff144cd72ad234540049c06433 24-Feb-2013 Xiaofan Chen <xiaofanc@gmail.com> Tests: Fix broken OS-X and Linux builds

* _dup2 is Windows only. Use dup2 instead
* Breakage was introduced in 76eecc6ce11d1bedee369859899901037dcd4cc2
/external/libusb/tests/testlib.c
76eecc6ce11d1bedee369859899901037dcd4cc2 21-Feb-2013 Pete Batard <pete@akeo.ie> Tests: Simplify stdout redirection and fix Windows assertion error on cleanup

* cleanup_test_output() produced an assertion error when compiled with MSVC
due to closing ctx->output_file
* set ctx->output_file to stdout by default
/external/libusb/tests/testlib.c
244271931a782028fd9bc1cdcdb12200f65cf8d9 16-Jan-2013 Toby Gray <toby.gray@realvnc.com> WinCE: Add support for WinCE (sources)
/external/libusb/tests/testlib.c
21cf6e4748c20644c259d6f4271d2ca67d2e42e8 21-Nov-2012 Toby Gray <toby.gray@realvnc.com> Tests: Add libusbx stress test

See https://github.com/tobygray/libusbx/tree/testing as well
as http://libusbx.1081486.n5.nabble.com/Libusbx-devel-Crashes-tt433.html#a438
/external/libusb/tests/testlib.c