mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-07 19:57:45 +03:00
6704961c82
This removes the awkward String::replace API which was the only String API which mutated the String and replaces it with a new immutable version that returns a new String with the replacements applied. This also fixes a couple of UAFs that were caused by the use of this API. As an optimization an equivalent StringView::replace API was also added to remove an unnecessary String allocations in the format of: `String { view }.replace(...);` |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
FindDialog.cpp | ||
FindDialog.gml | ||
FindDialog.h | ||
GoToOffsetDialog.cpp | ||
GoToOffsetDialog.gml | ||
GoToOffsetDialog.h | ||
HexEditor.cpp | ||
HexEditor.h | ||
HexEditorWidget.cpp | ||
HexEditorWidget.h | ||
HexEditorWindow.gml | ||
main.cpp | ||
SearchResultsModel.h |