Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/parser/expat/   (Firefox Browser Version 153.0.1©)  Datei vom 27.6.2026 mit Größe 508 B image not shown  

Quelle  01_noslop.patch   Sprache: unbekannt

 
Spracherkennung für: .patch vermutete Sprache: Unknown {[0] [0] [0]} [Methode: Schwerpunktbildung, einfache Gewichte, sechs Dimensionen]

diff --git a/expat/lib/xmlparse.c b/expat/lib/xmlparse.c
--- a/expat/lib/xmlparse.c
+++ b/expat/lib/xmlparse.c
@@ -270,7 +270,9 @@ typedef struct {
 #define INIT_DATA_BUF_SIZE 1024
 #define INIT_ATTS_SIZE 16
 #define INIT_ATTS_VERSION 0xFFFFFFFF
-#define INIT_BLOCK_SIZE 1024
+/* BEGIN MOZILLA CHANGE (Avoid slop in poolGrow() allocations) */
+#define INIT_BLOCK_SIZE ((int)(1024 - (offsetof(BLOCK, s) / sizeof(XML_Char))))
+/* END MOZILLA CHANGE */
 #define INIT_BUFFER_SIZE 1024
 
 #define EXPAND_SPARE 24

[Dauer der Verarbeitung: 0.13 Sekunden, vorverarbeitet 2026-08-26]