Skip to content

deps(fuzz): bump the fuzz-dependencies group across 1 directory with 4 updates - #14

Merged
pierrejochem merged 1 commit into
mainfrom
dependabot/cargo/fuzz/fuzz-dependencies-7e09d83776
Nov 14, 2026
Merged

pierrejochem merged 1 commit into
mainfrom
dependabot/cargo/fuzz/fuzz-dependencies-7e09d83776

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 14, 2026 •

Copy link
Copy Markdown
Contributor

Bumps the fuzz-dependencies group with 4 updates in the /fuzz directory: ureq, encoding_rs, office_oxide and zip.

Updates ureq from 3.5.0 to 3.5.1

Changelog

Sourced from ureq's changelog.

3.5.1

  • Bump ureq-proto to 0.7.1 (fixes to connection reuse and transfer encoding) #1224
  • Send only cookie names and values in request Cookie headers #1222
  • Preserve readable responses after macOS rejects timeout changes on closed sockets #1220
Commits
  • 33ca9d3 3.5.1
  • d1b194c Bump ureq-proto to 0.7.1
  • 81d1b40 Bump ureq-proto to 0.7.0
  • 0cbee9a docs: clarify body read limit defaults (#1223)
  • f92baae Send only cookie names and values in the Cookie header
  • f60896d Preserve readable responses after macOS timeout setter failures
  • See full diff in compare view

Updates encoding_rs from 0.8.42 to 0.8.44

Commits
  • 8e8556a Increment the version number to 0.8.44
  • 084bb9b Update release notes
  • 7f91341 Make convert_latin1_to_utf8_partial not write trailing garbage
  • 4a7b515 Increment the version number to 0.8.43
  • c9e3a85 Add defense-in-depth guard to convert_latin1_to_str_partial
  • 73ddf13 Fix wrong function name in doc
  • aaa3056 Relocate a misplaced doc remark
  • bdb16cc Make it possible to enable serde without alloc
  • 7723c91 Update release notes
  • 8d4637c Fix an overflow on 32-bit targets
  • Additional commits viewable in compare view

Updates office_oxide from 0.1.15 to 0.1.17

Release notes

Sourced from office_oxide's releases.

v0.1.17 | Every finding of the 2026-09-27 audit — 19 issues, 165 checklist items — plus ten resource-bound defects reported privately, fixed test-first: each with a minimal synthetic document built in code, a test that fails before the fix and passes after. A two-arm sweep of 10,215 unique real Office documents against v0.1.12 then found nine regressions introduced by those fixes; all nine are fixed below, each with its own regression test, and the re-run sweep shows no crash, no timeout, no unintended new failure and no real slowdown.

Added

  • Pictures can be held as their stored streams, not inflated at open (lazy_pictures, opt-in). Opening a .docx, .pptx or .xlsx inflated every picture and kept it for the life of the document, although text, Markdown and HTML without images never read them: a 22 MB .docx of 39 page images held 341 MiB after open. With the new ParseOptions::lazy_pictures (or read_options::set_lazy_pictures, --limit lazy_pictures=1, or the option by name in every binding), a deflated picture that inflated to at least twice its stored size is kept as that stream and inflated only when it is used. On that file plain_text() peaks at 84 MiB instead of 404, the IR, to_html() and the IR JSON at about 395 instead of 696, and Markdown with images at 873 instead of 1,175, with every output byte for byte the same. Each picture is still read and checked at open, under the same limits and with the same reports, and only one is inflated at a time. The IR still copies each picture into every image that draws it, in both modes; sharing them, which needs a new field on ir::Image, waits for 0.2.0. New API: core::picture::PictureBytes (a shared, cheaply cloned handle with len, bytes and ptr_eq), Image::bytes(), Image::byte_len(), Image::has_bytes(), DocxDocument::picture / pictures, PptxDocument::slide_picture and XlsxDocument::picture. Off by default; without it nothing changes.

  • Large output without a host-language string, in every binding. A Python str is four bytes per character once one character is outside the Basic Multilingual Plane, a .NET string and most JS strings two, so the 450 MB IR JSON of a picture-heavy .docx cost a Python process 2.8 GiB. New forms hand over UTF-8 bytes or stream to a file: in Python plain_text_bytes(), to_markdown_bytes(), to_markdown_with_images_bytes(), to_html_bytes(), to_ir_json_bytes() and write_text / write_markdown(images=...) / write_html / write_ir_json, each to a path or a binary file object (1.5 GiB and 0.7 GiB on that file; what a file object's write raises is raised as itself, and a short write is completed); in Node doc.toBuffer(kind) and doc.writeTo(path, kind); in Go doc.Bytes(kind) and doc.WriteFile(path, kind); in C# doc.ToUtf8Bytes(kind), doc.WriteTo(Stream, kind) and doc.WriteTo(path, kind); in WASM doc.toBuffer(kind) (a Uint8Array); in C office_document_render_bytes and office_document_write_to_path. The output is byte-identical to the string forms encoded as UTF-8; the string methods are unchanged.

  • Reading time is checked against input size, in the tests and in the fuzzer. The limits bound sizes and counts, not time, and nothing caught the next algorithm that grows faster than its input. A new test suite (tests/test_time_scaling.rs) reads each shape that was once quadratic (a wide docx table, unclosed Markdown openers, a replacement across many runs, many clashing sheet names, many sheets, a large .xls, a long .doc) at two sizes through the public API and fails when four times the input costs ten times the time (a quadratic path costs sixteen). The fuzz jobs now fail an input that takes more than 10 s (-timeout=10; libFuzzer's default was 20 minutes). A cooperative step budget was prototyped in the worksheet event loop: its cost was within the noise of the timing, but a counter on parse events bounds only work linear in the input, which the size limits already bound, so it was not added as a limit. The README states that there is no time limit and that untrusted input should be read under a process timeout.

  • What a limit does, before a document is read: Limits::derived(), office-oxide limits and the options objects. The library derives eleven bounds from three of the eight limits by fixed fractions (picture and padding budgets, the write estimate, the share of package_bytes embedded packages get, the inflate-ratio floor), documented only in prose. Limits::derived() returns them as DerivedLimits, computed by the same functions the reading and writing code calls, so it cannot drift from what is enforced. Limits::get(name) reads a limit by name, and Limits::in_force() returns the limits a call on this thread runs under. office-oxide limits [--strict] [--limit NAME=VALUE] prints both. The C interface has office_options_limits_json, used by ParseOptions.limits() / .derived() (Python), ParseOptions.limits() (Node, exact for values past 2^53, Infinity for no bound), ParseOptions.Limits() (Go), ParseOptions.Limits() (C#) and WasmParseOptions.limits() (WASM, with the Node shapes). ParseOptions::names() lists every option by name, the one list every binding hands out. The README has a limits table (checked against the defaults by a test) and states where options apply: to the document opened with them, while the direct format readers and work on your own threads read the process-wide settings, and ParseOptions::default() copies those when it is made. It also states plainly that there is no time limit, so untrusted input should be read under a process timeout.

Deprecated

  • docx::DocxDocument::images, pptx::PictureShape::data and xlsx::WorksheetPicture::data, which are empty when pictures are read lazily: use DocxDocument::picture / pictures, PptxDocument::slide_picture and XlsxDocument::picture, which work either way. They are removed in 0.2.0, when lazy pictures become the default.

Fixed

  • WASM: WasmParseOptions.names() lists lazy_pictures. The WASM binding built its own list of option names and left out lazy_pictures, which set accepts; every binding now hands out the core's ParseOptions::names(), and each binding's tests check all twelve names.

  • The limits documentation says what text_chars bounds. The README called it the characters of text per document; it bounds the text a document can multiply, a workbook's cell text and the text copied out of shared storage (hyperlink targets, shared headers, notes). A document's own paragraphs grow with the file and are bounded by the size limits.

  • Python: the binding releases the GIL while it parses, converts and writes. Every call into the library kept the GIL for its whole length, waiting for the parse thread while holding it, so no other Python thread ran meanwhile, and a host whose logging handler needed the GIL could block against that thread. Opening, every conversion (plain_text, to_markdown, to_markdown_with_images, to_html, to_ir, to_ir_json, damage), save_as, editing and saving an EditableDocument, the XlsxWriter/PptxWriter save and to_bytes methods, and the module-level functions now run without it, so several Python threads read documents in parallel. Python objects are built after the call returns. A Document, EditableDocument, XlsxWriter or PptxWriter shared between threads takes their calls in turn, as when the GIL serialised them (closing a document while another thread reads it lets that call finish); behaviour is otherwise unchanged.

  • Legacy .ppt: slide text kept in metroBlob packages is now read. A shape can hold its text in an embedded package (drs/shapexml.xml) with the legacy text atoms left nearly empty, as WPS writes an OOXML-origin deck, and such a deck came out almost empty with Ok. A package is used only for a shape with no legacy text of its own, so PowerPoint files that write both don't repeat their text. Titles in packages render as titles, and cached slide-number and date values are left out. Reading is bounded per file and per slide, and text a limit or a damaged package kept back is reported in warnings() and text_complete(). Reported and first implemented by @​xugangqiang.

  • Document::damage() and strict mode classify each warning by the kind it was raised with, not by its words. A loss was told from a repair by looking for "truncat", "limit" or "cut" in the warning text, so a reworded or new warning was misfiled with no test failing, and a document cut in several ways reported one cut. Every reader and converter now records each warning with its kind where it raises it (the warning text is unchanged); damage() reports every cut as Truncated, every repair as Recovered, and a generic "the text is incomplete" entry only when nothing says why: no cut and no unreadable part. A .xls cut by a limit now names the limit instead of that generic entry. A test fails when a converter writes Metadata::warnings without a kind.

Changed (memory)

  • A part is read into a buffer of its declared size, not up to twice it. The buffer for a zip part starts at no more than 1 MiB (the declared size is the file's to state) and doubled from there, so a 2 MiB picture was read into a 4 MiB buffer. It now grows toward the declared size by no more than it holds: a part of the size it declares ends in a buffer of exactly that size, and one that declares more or less costs no more than doubling did. A lazy open of pictures now peaks at one picture rather than two, an eager one at what it keeps plus one.

  • Peak memory is held by a test. tests/test_peak_memory.rs opens and converts thirteen documents built in code (a sparse sheet, many sheets, a long .docx, picture-heavy .docx/.pptx/.xlsx read eagerly and lazily, dense and sparse .xls, a long .doc, a many-slide .ppt) every way the library converts, and fails when the counted heap peak of the open or of the costliest conversion grows by a third. A table test bounds the size of every reader and IR type allocated once per element (docx runs and paragraphs, pptx shapes, xlsx cells and rows, xls cells, doc paragraphs, ppt text runs, IR elements and cells), so a field added inline fails it.

  • A strict open of a .xls or .ppt file no longer converts the document. OnIncomplete::Error (and ParseOptions::strict()) converted the whole document to the IR at open to learn whether it was complete; for these formats the reader alone decides that, so damage() and the strict check read it from the reader. A strict open of a 100,000-cell synthetic workbook peaked at 80 MB, ten times a plain open; it now costs the same as one. Other formats are still converted once.

  • .xlsx: a very large sheet is parsed as it is inflated, never held whole. A sheet part was inflated into one buffer and parsed from it, so opening a workbook held the sheet's whole XML beside the cells built from it: 94 to 313 MiB of XML in the corpus's largest workbooks. A sheet part of 64 MiB or more is now inflated a megabyte at a time and parsed in pieces of about 4 MiB that each end after a complete row. Each piece is parsed after open tags for the elements still open where the last one ended (found by a scan that tokenizes as the XML reader does, run alongside the parse), so the reader is in the state a whole-part parse would be in; rows without r=, shared formulas and everything after the rows come out the same. A part that cannot be read this way (not UTF-8, a checksum or length the whole-part read tolerates, malformed XML, a split that would fall inside markup) is read whole as before, so salvage, truncation checks and reports are unchanged. The work of streaming is bounded against crafted parts: the search for a row end looks at each chunk once (a 250 MB stretch with no row end took 64 s when it was searched again with every chunk), and a piece ends only where the open elements are the root and sheetData (a </row> nested in a row or in headerFooter does not end one); pending XML past 16 MiB without a row end, more than 4 KiB of open tags to carry, or a document type declaration (which package XML may not use) sends the part to the whole-part read. Peak resident memory of office-oxide text falls from 241 to 153 MiB, 343 to 226 MiB and 739 to 421 MiB on three such workbooks, wall time is unchanged, CPU time rises by up to a sixth (the scan), and the output is byte for byte the same.

  • .xlsx: a workbook's sheets are read and parsed in batches, so their XML is not all held at once. Every sheet's part was read before any was parsed (serially or in parallel), so a workbook of many large sheets held the XML of all of them at its peak. Sheets are now read in batches of at most 32 MiB of XML (and at least one sheet), each batch parsed and its XML dropped before the next is read. Opening six sheets of 16 MiB of XML peaked 100 MB above the input; it now peaks under 64 MB. Results, sheet order and shared-formula resolution are unchanged.

  • Legacy .xls: opening a large sheet no longer holds its cells twice. A sheet's cells were gathered into a list (32 bytes each) and the grid was built while the whole list was still alive, so the open peaked at the list, the grid and the Workbook stream together. The grid now takes the cells off the list as it fills and the list shrinks as it empties. The heap peak of opening falls from 144 to 115 MiB, 90 to 73 MiB and 117 to 82 MiB on three 13-28 MB workbooks, with output unchanged on 1,180 corpus files. A cell written by two records still holds the later one.


Install

Rust   cargo add office_oxide

Python   pip install office-oxide

... (truncated)

Changelog

Sourced from office_oxide's changelog.

[0.1.17] - 2026-11-10

Added

  • Pictures can be held as their stored streams, not inflated at open (lazy_pictures, opt-in). Opening a .docx, .pptx or .xlsx inflated every picture and kept it for the life of the document, although text, Markdown and HTML without images never read them: a 22 MB .docx of 39 page images held 341 MiB after open. With the new ParseOptions::lazy_pictures (or read_options::set_lazy_pictures, --limit lazy_pictures=1, or the option by name in every binding), a deflated picture that inflated to at least twice its stored size is kept as that stream and inflated only when it is used. On that file plain_text() peaks at 84 MiB instead of 404, the IR, to_html() and the IR JSON at about 395 instead of 696, and Markdown with images at 873 instead of 1,175, with every output byte for byte the same. Each picture is still read and checked at open, under the same limits and with the same reports, and only one is inflated at a time. The IR still copies each picture into every image that draws it, in both modes; sharing them, which needs a new field on ir::Image, waits for 0.2.0. New API: core::picture::PictureBytes (a shared, cheaply cloned handle with len, bytes and ptr_eq), Image::bytes(), Image::byte_len(), Image::has_bytes(), DocxDocument::picture / pictures, PptxDocument::slide_picture and XlsxDocument::picture. Off by default; without it nothing changes.

  • Large output without a host-language string, in every binding. A Python str is four bytes per character once one character is outside the Basic Multilingual Plane, a .NET string and most JS strings two, so the 450 MB IR JSON of a picture-heavy .docx cost a Python process 2.8 GiB. New forms hand over UTF-8 bytes or stream to a file: in Python plain_text_bytes(), to_markdown_bytes(), to_markdown_with_images_bytes(), to_html_bytes(), to_ir_json_bytes() and write_text / write_markdown(images=...) / write_html / write_ir_json, each to a path or a binary file object (1.5 GiB and 0.7 GiB on that file; what a file object's write raises is raised as itself, and a short write is completed); in Node doc.toBuffer(kind) and doc.writeTo(path, kind); in Go doc.Bytes(kind) and doc.WriteFile(path, kind); in C# doc.ToUtf8Bytes(kind), doc.WriteTo(Stream, kind) and doc.WriteTo(path, kind); in WASM doc.toBuffer(kind) (a Uint8Array); in C office_document_render_bytes and office_document_write_to_path. The output is byte-identical to the string forms encoded as UTF-8; the string methods are unchanged.

  • Reading time is checked against input size, in the tests and in the fuzzer. The limits bound sizes and counts, not time, and nothing caught the next algorithm that grows faster than its input. A new test suite (tests/test_time_scaling.rs) reads each shape that was once quadratic (a wide docx table, unclosed Markdown openers, a replacement across many runs, many clashing sheet names, many sheets, a large .xls, a long .doc) at two sizes through the public API and fails when four times the input costs ten times the time (a quadratic path costs sixteen). The fuzz jobs now fail an input that takes more than 10 s (-timeout=10; libFuzzer's default was 20 minutes). A cooperative step budget was prototyped in the worksheet event loop: its cost was within the noise of the timing, but a counter on parse events bounds only work linear in the input, which the size limits already bound, so it was not added as a limit. The README states that there is no time limit and that untrusted input should be read under a process timeout.

  • What a limit does, before a document is read: Limits::derived(), office-oxide limits and the options objects. The library derives eleven bounds from three of the eight limits by fixed fractions (picture and padding budgets, the write estimate, the share of package_bytes embedded packages get, the inflate-ratio floor), documented only in prose. Limits::derived() returns them as DerivedLimits, computed by the same functions the reading and writing code calls, so it cannot drift from what is enforced. Limits::get(name) reads a limit by name, and Limits::in_force() returns the limits a call on this thread runs under. office-oxide limits [--strict] [--limit NAME=VALUE] prints both. The C interface has office_options_limits_json, used by ParseOptions.limits() / .derived() (Python), ParseOptions.limits() (Node, exact for values past 2^53, Infinity for no bound), ParseOptions.Limits() (Go), ParseOptions.Limits() (C#) and WasmParseOptions.limits() (WASM, with the Node shapes). ParseOptions::names() lists every option by name, the one list every binding hands out. The README has a limits table (checked against the defaults by a test) and states where options apply: to the document opened with them, while the direct format readers and work on your own threads read the process-wide settings, and ParseOptions::default() copies those when it is made. It also states plainly that there is no time limit, so untrusted input should be read under a process timeout.

Deprecated

  • docx::DocxDocument::images, pptx::PictureShape::data and xlsx::WorksheetPicture::data, which are empty when pictures are read lazily: use DocxDocument::picture / pictures, PptxDocument::slide_picture and XlsxDocument::picture, which work either way. They are removed in 0.2.0, when lazy pictures become the default.

Fixed

  • WASM: WasmParseOptions.names() lists lazy_pictures. The WASM binding built its own list of option names and left out lazy_pictures, which set accepts; every binding now hands out the core's ParseOptions::names(), and each binding's tests check all twelve names.

  • The limits documentation says what text_chars bounds. The README called it the characters of text per document; it bounds the text a document can multiply, a workbook's cell text and the text copied out of shared storage (hyperlink targets, shared headers, notes). A document's own paragraphs grow with the file and are bounded by the size limits.

  • Python: the binding releases the GIL while it parses, converts and writes. Every call into the library kept the GIL for its whole length, waiting for the parse thread while holding it, so no other Python thread ran meanwhile, and a host whose logging handler needed the GIL could block against that thread. Opening, every conversion (plain_text, to_markdown, to_markdown_with_images, to_html, to_ir, to_ir_json, damage), save_as, editing and saving an EditableDocument, the XlsxWriter/PptxWriter save and to_bytes methods, and the module-level functions now run without it, so several Python threads read documents in parallel. Python objects are built after the call returns. A Document, EditableDocument, XlsxWriter or PptxWriter shared between threads takes their calls in turn, as when the GIL serialised them (closing a document while another thread reads it lets that call finish); behaviour is otherwise unchanged.

  • Legacy .ppt: slide text kept in metroBlob packages is now read. A shape can hold its text in an embedded package (drs/shapexml.xml) with the legacy text atoms left nearly empty, as WPS writes an OOXML-origin deck, and such a deck came out almost empty with Ok. A package is used only for a shape with no legacy text of its own, so PowerPoint files that write both don't repeat their text. Titles in packages render as titles, and cached slide-number and date values are left out. Reading is bounded per file and per slide, and text a limit or a damaged package kept back is reported in warnings() and text_complete(). Reported and first implemented by @​xugangqiang.

  • Document::damage() and strict mode classify each warning by the kind it was raised with, not by its words. A loss was told from a repair by looking for "truncat", "limit" or "cut" in the warning text, so a reworded or new warning was misfiled with no test failing, and a document cut in several ways reported one cut. Every reader and converter now records each warning with its kind where it raises it (the warning text is unchanged); damage() reports every cut as Truncated, every repair as Recovered, and a generic "the text is incomplete" entry only when nothing says why: no cut and no unreadable part. A .xls cut by a limit now names the limit instead of that generic entry. A test fails when a converter writes Metadata::warnings without a kind.

Changed (memory)

  • A part is read into a buffer of its declared size, not up to twice it. The buffer for a zip part starts at no more than 1 MiB (the declared size is the file's to state) and doubled from there, so a 2 MiB picture was read into a 4 MiB buffer. It now grows toward the declared size by no more than it holds: a part of the size it declares ends in a buffer of exactly that size, and one that declares more or less costs no more than doubling did. A lazy open of pictures now peaks at one picture rather than two, an eager one at what it keeps plus one.

  • Peak memory is held by a test. tests/test_peak_memory.rs opens and converts thirteen documents built in code (a sparse sheet, many sheets, a long .docx, picture-heavy .docx/.pptx/.xlsx read eagerly and lazily, dense and sparse .xls, a long .doc, a many-slide .ppt) every way the library converts, and fails when the counted heap peak of the open or of the costliest conversion grows by a third. A table test bounds the size of every reader and IR type allocated once per element (docx runs and paragraphs, pptx shapes, xlsx cells and rows, xls cells, doc paragraphs, ppt text runs, IR elements and cells), so a field added inline fails it.

  • A strict open of a .xls or .ppt file no longer converts the document. OnIncomplete::Error (and ParseOptions::strict()) converted the whole document to the IR at open to learn whether it was complete; for these formats the reader alone decides that, so damage() and the strict check read it from the reader. A strict open of a 100,000-cell synthetic workbook peaked at 80 MB, ten times a plain open; it now costs the same as one. Other formats are still converted once.

  • .xlsx: a very large sheet is parsed as it is inflated, never held whole. A sheet part was inflated into one buffer and parsed from it, so opening a workbook held the sheet's whole XML beside the cells built from it: 94 to 313 MiB of XML in the corpus's largest workbooks. A sheet part of 64 MiB or more is now inflated a megabyte at a time and parsed in pieces of about 4 MiB that each end after a complete row. Each piece is parsed after open tags for the elements still open where the last one ended (found by a scan that tokenizes as the XML reader does, run alongside the parse), so the reader is in the state a whole-part parse would be in; rows without r=, shared formulas and everything after the rows come out the same. A part that cannot be read this way (not UTF-8, a checksum or length the whole-part read tolerates, malformed XML, a split that would fall inside markup) is read whole as before, so salvage, truncation checks and reports are unchanged. The work of streaming is bounded against crafted parts: the search for a row end looks at each chunk once (a 250 MB stretch with no row end took 64 s when it was searched again with every chunk), and a piece ends only where the open elements are the root and sheetData (a </row> nested in a row or in headerFooter does not end one); pending XML past 16 MiB without a row end, more than 4 KiB of open tags to carry, or a document type declaration (which package XML may not use) sends the part to the whole-part read. Peak resident memory of office-oxide text falls from 241 to 153 MiB, 343 to 226 MiB and 739 to 421 MiB on three such workbooks, wall time is unchanged, CPU time rises by up to a sixth (the scan), and the output is byte for byte the same.

  • .xlsx: a workbook's sheets are read and parsed in batches, so their XML is not all held at once. Every sheet's part was read before any was parsed (serially or in parallel), so a workbook of many large sheets held the XML of all of them at its peak. Sheets are now read in batches of at most 32 MiB of XML (and at least one sheet), each batch parsed and its XML dropped before the next is read. Opening six sheets of 16 MiB of XML peaked 100 MB above the input; it now peaks under 64 MB. Results, sheet order and shared-formula resolution are unchanged.

  • Legacy .xls: opening a large sheet no longer holds its cells twice. A sheet's cells were gathered into a list (32 bytes each) and the grid was built while the whole list was still alive, so the open peaked at the list, the grid and the Workbook stream together. The grid now takes the cells off the list as it fills and the list shrinks as it empties. The heap peak of opening falls from 144 to 115 MiB, 90 to 73 MiB and 117 to 82 MiB on three 13-28 MB workbooks, with output unchanged on 1,180 corpus files. A cell written by two records still holds the later one.

[0.1.16] - 2026-10-30

Added

  • Fuzz targets for the new parsers. fuzz_ooxml_salvage (damaged .docx/.pptx parts), fuzz_default_password (the encryption structures of the opt-in feature) and fuzz_doc_header_fonts (the .doc font table and destroyed-header language), each building a valid container in code around the fuzzer's bytes; the fuzz workflow runs them.

  • The text budget scales down with a small input, and a worksheet has a write limit of its own. A document opened through Document knows the size of its file, and its text is now bounded by the larger of a floor of 64 Mi characters (limits::TEXT_BUDGET_FLOOR_CHARS) and 4,096 characters per input byte (TEXT_BUDGET_CHARS_PER_INPUT_BYTE), and never more than limits::max_text_chars(): a file under 64 KB can no longer produce the whole 256 Mi characters, a larger one is bounded as before, and a lowered limit is still the ceiling for every size. Writing is bounded by one write-memory limit in bytes, limits::max_write_bytes() (default 512 MiB, set_max_memory_bytes), in place of a flat table-cell count, with each cell charged what its format's writer costs: 1,900 bytes for a .docx cell, 650 for a .pptx cell and 170 for a worksheet cell (measured at 100,000 cells: 1,832, 632 and 161). That is about 280,000 .docx cells, 825,000 .pptx cells or 3.1 million worksheet cells; a worksheet, which had no cell bound, is bounded too.

... (truncated)

Commits
  • 5f4ce46 Release v0.1.17: lazy and shared pictures, streamed xlsx sheets, typed damage...
  • 7cbd339 docs(examples): one ten-scenario catalogue in every binding, each run under a...
  • 3b0162d fix(ppt): read shape text from metroBlob packages in legacy .ppt files (#529)
  • 9cdf9b0 Release v0.1.16 — resource limits per document, damaged-part salvage, opt-in ...
  • bcf0253 fix(doc): continue a vertical merge only over the same columns, and keep the ...
  • 5adaf87 fix(doc): match a vertically merged cell to the one above by column, not by c...
  • c101e34 fix(doc): bound the work of mapping property runs to pieces; count grid edges...
  • c761a69 feat(doc): read tables from Word 6.0/95 files (#470)
  • a942747 fix(doc): keep a nested table inside the cell that holds it (#469)
  • 858d739 feat(ir): expose the paragraph style name on Paragraph for .docx and .doc (#468)
  • Additional commits viewable in compare view

Updates zip from 9.1.0 to 9.5.1

Release notes

Sourced from zip's releases.

v9.5.1

🐛 Bug Fixes

  • (write) raw_copy_file corrupted ZipCrypto metadata (#1288)

v9.5.0

🚀 Features

  • ExtractOptions root_dir filter (#1279)

v9.4.2

🚜 Refactor

  • Replace std::num and std::cmp with core::num and core::cmp (#1276)

⚙️ Miscellaneous Tasks

  • apply cargo fmt to security patches (#1275)

v9.4.1

🐛 Bug Fixes

🚜 Refactor

  • Use boxed slices instead of Vec when growability isn't needed (#1271)

v9.4.0

🚀 Features

  • Implement ZipIterable::files_with_reader (#1267)

v9.3.0

🚀 Features

  • (write) implement TryFrom for PreparedZipFile (#1258)

v9.2.3

🐛 Bug Fixes

  • (ci) resolve typos false-positive, fix upath smuggling test, and add Turkish tests (#1256)

🚜 Refactor

  • Replace std:: with core:: where possible (#1253)

v9.2.2

🚜 Refactor

... (truncated)

Changelog

Sourced from zip's changelog.

9.5.1 - 2026-11-10

🐛 Bug Fixes

  • (write) raw_copy_file corrupted ZipCrypto metadata (#1288)

9.5.0 - 2026-11-08

🚀 Features

  • ExtractOptions root_dir filter (#1279)

9.4.2 - 2026-11-07

🚜 Refactor

  • Replace std::num and std::cmp with core::num and core::cmp (#1276)

9.4.1 - 2026-11-06

🐛 Bug Fixes

🚜 Refactor

  • Use boxed slices instead of Vec when growability isn't needed (#1271)

9.4.0 - 2026-11-05

🚀 Features

  • Implement ZipIterable::files_with_reader (#1267)

9.3.0 - 2026-11-03

🚀 Features

  • (write) implement TryFrom<ZipFileBuilder> for PreparedZipFile (#1258)

9.2.3 - 2026-11-03

🚜 Refactor

  • Replace most equivalent uses of std:: with core:: (#1253)

9.2.2 - 2026-11-01

🚜 Refactor

... (truncated)

Commits
  • ee61677 chore: release v9.5.1 (#1290)
  • d4976d1 fix(write): raw_copy_file keeps an encrypted entry decryptable (#1288)
  • 43297e2 ci(deps): bump the codeql group with 2 updates (#1286)
  • 14ea209 ci(deps): bump github/codeql-action/upload-sarif from 4.39.1 to 4.39.2 (#1287)
  • b03a868 ci(deps): bump rust from 09027f8 to 8a4e90c in /.devcontainer (#1284)
  • 5a8b69a ci(deps): bump release-plz/action from 0.5.147 to 0.5.148 (#1283)
  • 6ec8a2a ci(deps): bump crate-ci/typos from 1.51.1 to 1.52.0 (#1282)
  • ddf3ec3 chore: release v9.5.0 (#1281)
  • 42ad84b feat: ExtractOptions root_dir filter (#1279)
  • ce7aad0 ci: Use an orchestrator pattern to trigger size labels on forked PRs without ...
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Nov 14, 2026
@pierrejochem

Copy link
Copy Markdown
Owner

@dependabot rebase

1 similar comment
@pierrejochem

Copy link
Copy Markdown
Owner

@dependabot rebase

…4 updates

Bumps the fuzz-dependencies group with 4 updates in the /fuzz directory: [ureq](https://github.com/algesten/ureq), [encoding_rs](https://github.com/hsivonen/encoding_rs), [office_oxide](https://github.com/yfedoseev/office_oxide) and [zip](https://github.com/zip-rs/zip2).


Updates `ureq` from 3.5.0 to 3.5.1
- [Changelog](https://github.com/algesten/ureq/blob/main/CHANGELOG.md)
- [Commits](algesten/ureq@3.5.0...3.5.1)

Updates `encoding_rs` from 0.8.42 to 0.8.44
- [Commits](hsivonen/encoding_rs@v0.8.42...v0.8.44)

Updates `office_oxide` from 0.1.15 to 0.1.17
- [Release notes](https://github.com/yfedoseev/office_oxide/releases)
- [Changelog](https://github.com/yfedoseev/office_oxide/blob/main/CHANGELOG.md)
- [Commits](yfedoseev/office_oxide@v0.1.15...v0.1.17)

Updates `zip` from 9.1.0 to 9.5.1
- [Release notes](https://github.com/zip-rs/zip2/releases)
- [Changelog](https://github.com/zip-rs/zip2/blob/master/CHANGELOG.md)
- [Commits](zip-rs/zip2@v9.1.0...v9.5.1)

---
updated-dependencies:
- dependency-name: encoding_rs
  dependency-version: 0.8.44
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: fuzz-dependencies
- dependency-name: office_oxide
  dependency-version: 0.1.17
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: fuzz-dependencies
- dependency-name: ureq
  dependency-version: 3.5.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: fuzz-dependencies
- dependency-name: zip
  dependency-version: 9.5.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: fuzz-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/cargo/fuzz/fuzz-dependencies-7e09d83776 branch from 22def44 to e69dfb5 Compare November 14, 2026 10:51
@pierrejochem
pierrejochem merged commit a89a504 into main Nov 14, 2026
5 checks passed
@dependabot
dependabot Bot deleted the dependabot/cargo/fuzz/fuzz-dependencies-7e09d83776 branch November 14, 2026 11:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file rust Pull requests that update rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant