Repository navigation
Conversation
writerecsmodule.c is rewritten with the same output for ordinary values (pinned by golden files captured from v3.1.0): - Hold column names, units, descriptions and string values in memory sized to them, and bound every formatted write; check data dictionary formats before use. - Write integers at full 64-bit width (exactly, when larger), keeping the flags of IPAC integer formats. - VOTable: datatype "long" for longlong and "int" for integer; escape FIELD attributes; split "]]>" inside CDATA; replace control characters XML does not allow. - CSV: double quotes inside values (RFC 4180). - JSON: escape keys and all control characters. Also: - writeresult.py: close the document when the row count is a multiple of the fetch size (VOTable lacked </VOTABLE>, JSON lacked ']'). - tapquery.py: pass the spatial index level to ADQL as an int, so command-line CONTAINS queries work. - tap.py: silence bs4's XMLParsedAsHTMLWarning when reading UWS job documents, which logged on every job request. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Outside IPAC, the format kept from the '.' on was copied out of the full format through a second buffer; gcc 12 -Wformat-truncation flagged the copy. Build it from the parsed precision instead. Output is unchanged. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
v3.1.1: fix result writer overflow (GHSA-4qp2-3768-j99g) and other v3.1.0 defects
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Brings the v3.1.1 release (#39) back into develop. develop is an ancestor of main, so there are no conflicts.
🤖 Generated with Claude Code