aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* semaphore: add easy-to-uncomment debug code to show the semaphore's state ↵Joseph Hunkeler2 days1-2/+12
| | | | (very noisy)
* download: Increase number of SYSDEBUG calls around critical operationsJoseph Hunkeler2 days1-1/+19
| | | | * Jump out of retry loop on error to do clean up operations
* duplicate_delivery: handle error conditionsJoseph Hunkeler2 days1-2/+12
| | | | * but also memcpy might not be enough here
* test_file_readlines: close handle on errorJoseph Hunkeler2 days1-0/+1
|
* template: handle allocation errors appropriatelyJoseph Hunkeler2 days1-0/+22
|
* stasis_main: exit on memory errorJoseph Hunkeler2 days1-1/+6
|
* file_replace_text: close temp file handle on errorJoseph Hunkeler2 days1-0/+1
|
* indexer_readmes: close index file handle on errorJoseph Hunkeler2 days1-0/+1
|
* indexer_readmes: consolidate asprintf error condition handlingJoseph Hunkeler2 days1-3/+3
|
* ini_init: return on memory errorJoseph Hunkeler2 days1-0/+3
|
* download: increase size of user_agent bufferJoseph Hunkeler2 days1-9/+2
| | | | * Just print the version. I don't think it really matters what it is
* delivery_purge_packages: handle bad function pointer (unlikely)Joseph Hunkeler2 days1-1/+13
|
* delivery_duplicate: return on memory errorJoseph Hunkeler2 days1-0/+5
|
* delivery_defer_packages: nametmp and package_name must use the same buffer sizeJoseph Hunkeler2 days1-2/+2
|
* strdup_maybe exits the program on memory errorJoseph Hunkeler2 days1-1/+6
|
* copy2: close fp1 handle on errorJoseph Hunkeler2 days1-0/+1
|
* download: set user_agent to stasis/dev when version is a post tag commitJoseph Hunkeler3 days1-2/+9
|
* Merge pull request #135 from jhunkeler/cmake-git-versionHEADmasterJoseph Hunkeler3 days9-7/+135
|\ | | | | Generate version string based on repository information
| * cmake: use fallback on any errorcmake-git-versionJoseph Hunkeler3 days1-5/+12
| |
| * CI: Fetch repository tagsJoseph Hunkeler3 days1-0/+2
| |
| * Show STASIS version during cmake configJoseph Hunkeler3 days1-0/+1
| |
| * Remove debug print statementsJoseph Hunkeler3 days1-2/+0
| |
| * Emit stasis versionJoseph Hunkeler3 days2-1/+19
| |
| * Generate version string based on repository informationJoseph Hunkeler3 days6-6/+108
|/
* Merge pull request #134 from jhunkeler/sprintf-to-snprintfJoseph Hunkeler3 days52-422/+546
|\ | | | | String safety
| * Avoid segfault on empty meta directorysprintf-to-snprintfJoseph Hunkeler3 days1-0/+5
| |
| * Disable leak check on "macOS"Joseph Hunkeler3 days1-15/+17
| |
| * Convert sprintf to snprintfJoseph Hunkeler4 days1-3/+3
| |
| * Fix incorrect usage of maxlen argument in snprintf callsJoseph Hunkeler7 days12-33/+35
| |
| * Convert vsprintfJoseph Hunkeler7 days3-6/+47
| | | | | | | | * Check error conditions in related v-functions
| * Fix cmd buffer size to copyJoseph Hunkeler8 days1-1/+1
| |
| * Remove sizeof callJoseph Hunkeler8 days1-1/+1
| |
| * Remove sizeof callJoseph Hunkeler8 days1-3/+2
| |
| * Convert more strcpy to strn variantJoseph Hunkeler8 days23-96/+95
| |
| * Convert more strcat and strcpy to strn variantsJoseph Hunkeler8 days16-85/+85
| |
| * gen_file_extension_str: add maxlen argumentJoseph Hunkeler8 days2-3/+3
| |
| * test_relocation: add test for tpl_render_to_fileJoseph Hunkeler8 days1-0/+3
| |
| * test_template: Test rendering to a fileJoseph Hunkeler8 days1-7/+22
| |
| * Enable ASANJoseph Hunkeler9 days2-8/+18
| |
| * Replace sprintf with snprintfJoseph Hunkeler9 days37-188/+236
|/ | | | * A few strcpy and strcat changes as well
* Merge pull request #133 from jhunkeler/audit-wheel-argsJoseph Hunkeler2026-04-101-1/+1
|\ | | | | Add missing --allow-pure-python-wheel argument
| * Add missing --allow-pure-python-wheel argumentaudit-wheel-argsJoseph Hunkeler2026-04-101-1/+1
|/
* Merge pull request #132 from jhunkeler/dry-run-for-realJoseph Hunkeler2026-04-101-1/+2
|\ | | | | Force pip to poll the index during the existence check
| * Force pip to poll the index during the existence checkdry-run-for-realJoseph Hunkeler2026-04-101-1/+2
|/ | | | * Prevent false positivies. If the package isn't on pypi we need to build it.
* Merge pull request #131 from jhunkeler/realloc-sefault-tests_addJoseph Hunkeler2026-04-098-27/+98
|\ | | | | tests_add: Fix incorrect size used by realloc
| * python3, not pythonrealloc-sefault-tests_addJoseph Hunkeler2026-04-091-1/+1
| |
| * Return immediately if tests struct is NULLJoseph Hunkeler2026-04-091-0/+4
| |
| * Clear errno on touchJoseph Hunkeler2026-04-091-0/+3
| |
| * Fix invalid printf formatterJoseph Hunkeler2026-04-081-1/+1
| |
| * ASAN: Darwin arm64 doesn't support "leak"Joseph Hunkeler2026-04-081-1/+1
| |