File tree 2 files changed +24
-0
lines changed
2 files changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -111,3 +111,27 @@ The error in untrusted is fixed in release 0.6.2 released 2018-06-21. It's also
111
111
advisable that users of untrusted check for their sources for cases where errors
112
112
returned by untrusted are not handled correctly.
113
113
"""
114
+
115
+ [[advisory ]]
116
+ id = " RUSTSEC-2018-0002"
117
+ package = " smallvec"
118
+ unaffected_versions = [" < 0.3.2" ]
119
+ patched_versions = [" >= 0.6.3" ]
120
+ dwf = []
121
+ url = " https://github.com/servo/rust-smallvec/issues/96"
122
+ title = " Possible double free during unwinding in SmallVec::insert_many"
123
+ date = " 2018-07-19"
124
+ description = """
125
+ If an iterator passed to `SmallVec::insert_many` panicked in `Iterator::next`,
126
+ destructors were run during unwinding while the vector was in an inconsistent
127
+ state, possibly causing a double free (a destructor running on two copies of
128
+ the same value).
129
+
130
+ This is fixed in smallvec 0.6.3 by ensuring that the vector's length is not
131
+ updated to include moved items until they have been removed from their
132
+ original positions. Items may now be leaked if `Iterator::next` panics, but
133
+ they will not be dropped more than once.
134
+
135
+ Thank you to @Vurich for reporting this bug.
136
+ """
137
+
File renamed without changes.
You can’t perform that action at this time.
0 commit comments