Skip to content

Commit af67522

Browse files
stephenhinesAndroid (Google) Code Review
authored andcommitted
Merge "Fix potential segfault in RS watchdog." into ics-mr0
2 parents 6e91e5b + a049184 commit af67522

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libs/rs/rsContext.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -359,6 +359,7 @@ Context::Context() {
359359
mTargetSdkVersion = 14;
360360
mDPI = 96;
361361
mIsContextLite = false;
362+
memset(&watchdog, 0, sizeof(watchdog));
362363
}
363364

364365
Context * Context::createContext(Device *dev, const RsSurfaceConfig *sc) {

0 commit comments

Comments
 (0)