mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-07 17:41:54 +00:00
LibWeb: Do not capture local lambda by reference in HTMLTrackElement
This is UAF. It will cause a crash in an upcoming commit.
This commit is contained in:
parent
c6a94fe513
commit
8da6731048
Notes:
github-actions[bot]
2025-06-12 16:27:04 +00:00
Author: https://github.com/trflynn89
Commit: 8da6731048
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5068
Reviewed-by: https://github.com/tcl3
2 changed files with 16 additions and 14 deletions
|
@ -35,6 +35,8 @@ private:
|
|||
void start_the_track_processing_model();
|
||||
void start_the_track_processing_model_parallel_steps(JS::Realm& realm);
|
||||
|
||||
void track_failed_to_load();
|
||||
|
||||
// ^DOM::Element
|
||||
virtual void attribute_changed(FlyString const& name, Optional<String> const& old_value, Optional<String> const& value, Optional<FlyString> const& namespace_) override;
|
||||
virtual void inserted() override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue