Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Maintenance:5475
harfbuzz.openSUSE_13.2_Update
harfbuzz-memory-access.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File harfbuzz-memory-access.patch of Package harfbuzz.openSUSE_13.2_Update
From f96664974774bfeb237a7274f512f64aaafb201e Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod <behdad@behdad.org> Date: Tue, 13 Oct 2015 00:30:50 -0400 Subject: [PATCH] Fix another memory access issue discovered by libFuzzer Fixes https://github.com/behdad/harfbuzz/issues/139#issuecomment-146984679 Rebased by Mike Gorse <mgorse@suse.com> --- diff -urp harfbuzz-0.9.27.orig/src/hb-ot-layout-gpos-table.hh harfbuzz-0.9.27/src/hb-ot-layout-gpos-table.hh --- harfbuzz-0.9.27.orig/src/hb-ot-layout-gpos-table.hh 2014-01-28 10:14:12.154749082 -0600 +++ harfbuzz-0.9.27/src/hb-ot-layout-gpos-table.hh 2016-07-21 21:16:09.393362629 -0500 @@ -684,6 +684,7 @@ struct PairPosFormat1 inline bool sanitize (hb_sanitize_context_t *c) { TRACE_SANITIZE (this); + if (!c->check_struct (this)) return TRACE_RETURN (false); unsigned int len1 = valueFormat1.get_len (); unsigned int len2 = valueFormat2.get_len (); PairSet::sanitize_closure_t closure = { @@ -693,7 +694,7 @@ struct PairPosFormat1 1 + len1 + len2 }; - return TRACE_RETURN (c->check_struct (this) && coverage.sanitize (c, this) && pairSet.sanitize (c, this, &closure)); + return TRACE_RETURN (coverage.sanitize (c, this) && pairSet.sanitize (c, this, &closure)); } protected:
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor