| Commit message (Expand) | Author |
2021-11-29 | tls: Revert accidentally(?) reverted upstream 3.4.2 | June McEnroe |
2021-11-29 | Import LibreSSL 3.4.2 | June McEnroe |
2021-10-14 | Import LibreSSL 3.4.1 | June McEnroe |
2021-09-17 | Import LibreSSL 3.4.0 | June McEnroe |
2021-08-24 | Import LibreSSL 3.3.4 | June McEnroe |
2021-05-25 | Bump version to 3.3.3p1 3.3.3p1 | June McEnroe |
2021-05-25 | build: Add scripts to EXTRA_DIST | June McEnroe |
2021-05-25 | import: Add missing scripts/wrap-compiler-for-flag-check | June McEnroe |
2021-05-08 | Import LibreSSL 3.3.3 | June McEnroe |
2021-04-18 | build: Remove added x509_verify.3 links 3.3.2 | June McEnroe |
2021-04-18 | tls: Use EC_KEY_set_ex_data | June McEnroe |
2021-04-18 | Import LibreSSL 3.3.2 | June McEnroe |
2021-03-05 | Bump version to 3.3.1p1 3.3.1p1 | June McEnroe |
2021-03-05 | build: Add OpenSSL includes to libcompat | June McEnroe |
2020-12-15 | Import LibreSSL 3.3.1 | June McEnroe |
2020-11-24 | Import LibreSSL 3.3.0 | June McEnroe |
2020-10-22 | Import LibreSSL 3.2.2 | June McEnroe |
2020-09-29 | Import LibreSSL 3.2.1 | June McEnroe |
2020-09-29 | import: Add m4/ax_add_fortify_source.m4 | June McEnroe |
2020-08-05 | build: Add README.7 to EXTRA_DIST 3.2.0 | June McEnroe |
2020-08-03 | doc: Indicate that only OpenSSL 1.1.1b and newer work | June McEnroet'> | |
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
|
|
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
|
|
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
|
|
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
|
|
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
|
|
Make a better commit parser, replacing the ugly one in ui-log.c
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
|
|
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
|
|
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
|
|
Let README describe the "bigger picture" instead.
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
|
|
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
|
|
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
|
|
Since fmt() uses 8 alternating static buffers, and cache_lock might call
cache_create_dirs() multiple times, which in turn might call fmt() twice,
after four iterations lockfile would be overwritten by a cachedirectory
path.
In worst case, this could cause the cachedirectory to be unlinked and replaced
by a cachefile.
Fix: use xstrdup() on the result from fmt() before assigning to lockfile, and
call free(lockfile) before exit.
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
|
|
An embarrassing thinko in cgit_check_cache() would truncate valid cachefiles
in the following situation:
1) process A notices a missing/expired cachefile
2) process B gets scheduled, locks, fills and unlocks the cachefile
3) process A gets scheduled, locks the cachefile, notices that the cachefile
now exist/is not expired anymore, and continues to overwrite it with an
empty lockfile.
Thanks to Linus for noticing (again).
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
|
|
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
|
|
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
|
|
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
|
|
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
|
|
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
|
|
While at it, replace the cgit_[lib_]error constants with a proper function
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
|
|
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
|
|
Add a global variable, cgit_max_lock_attemps, to avoid the possibility of
infinite loops when failing to acquire a lockfile. This could happen on
broken setups or under crazy server load.
Incidentally, this also fixes a lurking bug in cache_lock() where an
uninitialized returnvalue was used.
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
|
|
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
|
|
This closes the door for unneccessary calls to cgit_fill_cache().
Noticed by Linus.
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
|
|
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
|
|
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
|