Hello community, here is the log from the commit of package fossil for openSUSE:Factory checked in at 2020-07-08 19:19:46 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/fossil (Old) and /work/SRC/openSUSE:Factory/.fossil.new.3060 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "fossil" Wed Jul 8 19:19:46 2020 rev:26 rq:819486 version:2.11.1 Changes: -------- --- /work/SRC/openSUSE:Factory/fossil/fossil.changes 2020-06-15 20:33:49.483080814 +0200 +++ /work/SRC/openSUSE:Factory/.fossil.new.3060/fossil.changes 2020-07-08 19:20:26.712486401 +0200 @@ -1,0 +2,7 @@ +Sat Jul 4 16:48:06 UTC 2020 - Andreas Stieger <andreas.stie...@gmx.de> + +- fossil 2.11.1: + * Make the "fossil git export" command more restrictive about + characters that it allows in the tag names + +------------------------------------------------------------------- Old: ---- fossil-src-2.11.tar.gz New: ---- fossil-src-2.11.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ fossil.spec ++++++ --- /var/tmp/diff_new_pack.cl0E0v/_old 2020-07-08 19:20:27.728489774 +0200 +++ /var/tmp/diff_new_pack.cl0E0v/_new 2020-07-08 19:20:27.732489788 +0200 @@ -22,7 +22,7 @@ %bcond_with system_sqlite %endif Name: fossil -Version: 2.11 +Version: 2.11.1 Release: 0 Summary: Distributed software configuration management License: BSD-2-Clause ++++++ fossil-src-2.11.tar.gz -> fossil-src-2.11.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fossil-2.11/VERSION new/fossil-2.11.1/VERSION --- old/fossil-2.11/VERSION 2020-05-26 01:23:49.000000000 +0200 +++ new/fossil-2.11.1/VERSION 2020-06-08 21:48:29.000000000 +0200 @@ -1 +1 @@ -2.11 +2.11.1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fossil-2.11/manifest new/fossil-2.11.1/manifest --- old/fossil-2.11/manifest 2020-05-26 01:23:49.000000000 +0200 +++ new/fossil-2.11.1/manifest 2020-06-08 21:48:29.000000000 +0200 @@ -1,5 +1,5 @@ -C Version\s2.11 -D 2020-05-25T23:23:49.935 +C Version\s2.11.1 +D 2020-06-08T19:48:29.240 F .dockerignore 29c5476ae4fb609219ea3f11d60c4b133a037b68 F .editorconfig 132c5a213aa3ce13dcc9c19f8a7ea306e3640bec4ae693378116cee339c34a1a F .fossil-settings/binary-glob 34cc11b3b509fd5064afe327e70765799f314c9a @@ -17,7 +17,7 @@ F Makefile.in 2f34d0fa84449834fe6f415be1c347de931a27e46be437e2611e155c813f9880 F Makefile.osx-jaguar 4e0de35d390a2d402a3f07f58cb9c119073c7a74e889ce23f0a100171dc45816 F README.md 597251593cf09dbd57f456d4cc3b74de75cd758f5ebff9654a99e3678b6dccbc -F VERSION f45d5f3094f467be86f0d94e4d3ab915611942868fae57126a479b3a628f7722 +F VERSION 1a3a4b9142f6808df835ca36ec606f88bc3c8cc82fc404bb10c6aade1ec7e359 F ajax/README 133f25a88f21479a20cc3b20a8dfa0f0fa807ffc F ajax/cgi-bin/fossil-json.cgi.example 5e1245c336a0666e3777c5ba46ce2bbcd6450619 F ajax/i-test/rhino-shell.js 2b735676d55e3d06d670ffbc643e5d3f748b95ea @@ -476,7 +476,7 @@ F src/encode.c 6f1fb74fd02dda5439078250f5ac7cbb14ef54cc70a12b849b98b8113e7a793a F src/etag.c 3f93a2d2ac78e018134f12849653572d2da3793c36c00c9bbb3cecf3364c027d F src/event.c 4ed0ac8b629a34c8203cf6558c36a2803ecff87f3012b6daa633248dd81d275b -F src/export.c 78cf66b757b72740af39f2ae0313db500daa80ed8af817a59fb2222d131a7e49 +F src/export.c a0cd1cb8c807f3cf195efd779f1497efed298cb495dbcdabab75e6a0b6030105 F src/extcgi.c dccba48c85fbf2c5217318ff2ba3d6a9efd741fa2cf084e59b0cd8268b98fc34 F src/file.c 9f08f7e8c67e7ff00095faa4798510db3ee71cedff35d02f69f7cffc6d57b854 F src/finfo.c 621c908d264547a6e6531da4986adf552700204e19b1528fb61a04421cecfb76 @@ -981,11 +981,10 @@ F www/whyusefossil.wiki dbd69d8ff58ecec64500aa7ac73bec5f09ab7eea99feabdeeff02e0f08c4c50c F www/wikitheory.wiki 91e6796caf7c8fbed00a58d3eea377d0f89f494f5637fd8af09dc41290e716f6 F www/xkcd-git.gif 1f9bc44ed41cad3f5ac18f21e3463e3390b53b29 -P bb713f1337a3d82bdc51a7f881c54a9c292ce59ab4214bba19ffc0837e71f717 -R a29789ef3dbf0e39d203b10891d023d7 -T +bgcolor * #d0c0ff +P e8c6cd2ced4b7562336569b6f1976557073b592d78e8b996b7c9d14d2b4f4030 +R f72bf81f8d5798f950fea2c7f55e11be T +sym-release * -T +sym-version-2.11 * +T +sym-version-2.11.1 * U drh -Z 597ddda9e1cdbf75b694f4dfb88a340e +Z 3aee3a8ea07155463732adc13e11f2da # Remove this line to create a well-formed manifest. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fossil-2.11/manifest.uuid new/fossil-2.11.1/manifest.uuid --- old/fossil-2.11/manifest.uuid 2020-05-26 01:23:49.000000000 +0200 +++ new/fossil-2.11.1/manifest.uuid 2020-06-08 21:48:29.000000000 +0200 @@ -1 +1 @@ -4df919803b6716ecd8bcbb01963c54c3647777e572d24c86cb816a86ec6af93c +307d94c5492dbf0845d9c4af92123b454946a8b588f5a2774cac159a607863b0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fossil-2.11/src/export.c new/fossil-2.11.1/src/export.c --- old/fossil-2.11/src/export.c 2020-05-26 01:23:49.000000000 +0200 +++ new/fossil-2.11.1/src/export.c 2020-06-08 21:48:29.000000000 +0200 @@ -884,11 +884,11 @@ /* x0 x1 x2 x3 x4 x5 x6 x7 x8 x9 xA xB xC xD xE xF */ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* 0x */ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* 1x */ - 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, /* 2x */ - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, /* 3x */ + 0, 1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1, /* 2x */ + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 0, /* 3x */ 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, /* 4x */ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 0, 1, /* 5x */ - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, /* 6x */ + 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, /* 6x */ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, /* 7x */ }; unsigned char *zu = (unsigned char*)z; @@ -906,6 +906,32 @@ } /* +** COMMAND: test-sanitize-name +** +** Usage: %fossil ARG... +** +** This sanitizes each argument and make it part of an "echo" command +** run by the shell. +*/ +void test_sanitize_name_cmd(void){ + sqlite3_str *pStr; + int i; + char *zCmd; + pStr = sqlite3_str_new(0); + sqlite3_str_appendall(pStr, "echo"); + for(i=2; i<g.argc; i++){ + char *z = fossil_strdup(g.argv[i]); + gitmirror_sanitize_name(z); + sqlite3_str_appendf(pStr, " \"%s\"", z); + fossil_free(z); + } + zCmd = sqlite3_str_finish(pStr); + fossil_print("Command: %s\n", zCmd); + fossil_system(zCmd); + sqlite3_free(zCmd); +} + +/* ** Quote a filename as a C-style string using \\ and \" if necessary. ** If quoting is not necessary, just return a copy of the input string. **