Skip to content

Commit 098ac4c

Browse files
authored
Merge pull request #4746 from OSGeo/backport-4745-to-9.8
[Backport 9.8] Workaround sqlite 3.53.0 regression on sqlite3_mprintf()
2 parents d1ec9b3 + 5393c8e commit 098ac4c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/iso19111/factory.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2231,7 +2231,7 @@ std::vector<std::string> DatabaseContext::Private::getInsertStatementsFor(
22312231
// ---------------------------------------------------------------------------
22322232

22332233
static std::string anchorEpochToStr(double val) {
2234-
constexpr int BUF_SIZE = 16;
2234+
constexpr int BUF_SIZE = 32;
22352235
char szBuffer[BUF_SIZE];
22362236
sqlite3_snprintf(BUF_SIZE, szBuffer, "%.3f", val);
22372237
return szBuffer;

0 commit comments

Comments
 (0)