Exploit databaseDownload repository ZIP
GH-22594ad0852c160d7cacb63860cab7c0
2932796375github/cve-2026-43499_oppo-mt6835
Sources for CVE-2026-43499
166 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files22
2932796375github/cve-2026-43499_oppo-mt6835Revision ebae4c33975b
- ↑..Parent directory
- __pycache__/
- __init__.py
- _known_27e0693f.py
- _known_3d4826b8.py
- _known_45d92e98.py
- _known_4cdf59ce.py
- _known_50bf0759.py
- _known_529fbb4a.py
- _known_5bfac390.py
- _known_813fee16.py
- _known_8589765c.py
- _known_8f94b404.py
- _known_970dbe10.py
- _known_c0a2cdbf.py
- _known_c2157f7e.py
- _known_c3db41c0.py
- _known_da9ceb0a.py
- _known_e08bd75e.py
- _known_e22030f3.py
- _known_fcc05a0f.py
- _known_fd9d4c44.py
- _registry.py
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
work_ota/venv/lib/python3.12/site-packages/wcwidth/table_grapheme_overrides/__init__.py
Python · 1,270 bytes"""
Lazy-loading per-terminal grapheme override tables.
This minimizes memory for the 99.9% of use-cases of a single 'term_program'.
"""
from __future__ import annotations
# std imports
import importlib
from functools import lru_cache
# local
from ._registry import _REGISTRY
@lru_cache(maxsize=32)
def get(term_canonical: str) -> dict[str, int]:
"""
Return grapheme override dict for a terminal, or an empty dict.
The per-terminal module is imported on first access and cached in ``sys.modules``; subsequent
calls for the same terminal return immediately via lru_cache.
"""
hash_key = _REGISTRY.get(term_canonical)
if hash_key is None:
return {}
try:
mod = importlib.import_module(f'._known_{hash_key}', __package__)
result: dict[str, int] = getattr(mod, 'GRAPHEMES')
return result
except ImportError:
# This can occur during a program re-install when the registry and files are out of sync
# (filesystem vs. in-memory copy differ), this can happen with a "pip upgrade" of a running
# service, or if the upgrade tool itself uses wcwidth. Not being able to provide terminal
# overrides in this situation is not important, continue without them.
return {}