git://developer.intra2net.com
/
libftdi
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
C++ wrapper: Fix use-after-free issue in List::find_all()
[libftdi]
/
ftdipp
/
ftdi.hpp
diff --git
a/ftdipp/ftdi.hpp
b/ftdipp/ftdi.hpp
index
ec0e13d
..
d853717
100644
(file)
--- a/
ftdipp/ftdi.hpp
+++ b/
ftdipp/ftdi.hpp
@@
-174,7
+174,7
@@
public:
List(struct ftdi_device_list* devlist = 0);
~List();
- static List* find_all(int vendor, int product);
+ static List* find_all(Context &context, int vendor, int product);
/// List type storing "Context" objects
typedef std::list<Context> ListType;