You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Libcss is a lightweight, open-source CSS parsing and selection library
from the NetSurf project. It processes CSS inputs, handling parsing,
preprocessing (e.g., ::cue, ID selectors), and style selection via
libcss APIs. Fuzzing libcss is critical due to its exposure to untrusted
CSS inputs in multimedia pipelines, where malformed stylesheets could
trigger crashes, memory corruption, or undefined behavior. Adding this
fuzzer to OSS-Fuzz enhances security by testing the parser against
random inputs, covering key functions like css_stylesheet_append_data
and css_select_style, and detecting potential vulnerabilities in
real-world use cases.
The fuzzer, css_parse_fuzzer.cc, targets the core parsing logic from
gstcssparse.c and uses Meson for building libcss and its submodules
(libwapcaplet, libparserutils).
0 commit comments