- 16 May, 2019 2 commits
-
-
Poul-Henning Kamp authored
-
Poul-Henning Kamp authored
-
- 15 May, 2019 6 commits
-
-
Poul-Henning Kamp authored
-
Poul-Henning Kamp authored
-
Dridi Boukelmoune authored
With recent changes in the VCL state and temperature handling this test case lost its relevance and started testing a no-op operation. And since it wasn't apparently obvious what it was trying to check between two possible interpretations it now tests both and better verifies it. Reported by fgs. When I initially wrote this test case it used to trigger a panic in the then young VCL labeling.
-
Poul-Henning Kamp authored
-
Poul-Henning Kamp authored
-
Poul-Henning Kamp authored
-
- 14 May, 2019 1 commit
-
-
Dridi Boukelmoune authored
If an absolute path is provided as n_arg with a length of exactly PATH_MAX-1 then the combination of strcpy and strcat for the trailing slash '/' overflows dn by one byte, writing its new null-terminating character '\0' right after dn's upper bound. By using a fixed-length VSB we can simply ensure that we stay within bounds at a reasonable cost. Guarding VSB operations should silence Flexelint as a nice side effect. VIN_n_Arg is not exposed outside of the source tree, and both callers today provide a valid dir argument, so we can now make it part of the contract with an assertion, simplifying the strdup error handling.
-
- 13 May, 2019 5 commits
-
-
Federico G. Schwindt authored
-
Poul-Henning Kamp authored
-
Poul-Henning Kamp authored
-
Poul-Henning Kamp authored
-
Poul-Henning Kamp authored
-
- 12 May, 2019 1 commit
-
-
Poul-Henning Kamp authored
-
- 09 May, 2019 5 commits
-
-
Dridi Boukelmoune authored
-
Dridi Boukelmoune authored
-
Poul-Henning Kamp authored
-
Poul-Henning Kamp authored
-
Poul-Henning Kamp authored
-
- 08 May, 2019 2 commits
-
-
Poul-Henning Kamp authored
-
Poul-Henning Kamp authored
cold&discard for their VCL. Closes: #2471
-
- 07 May, 2019 1 commit
-
-
Poul-Henning Kamp authored
-
- 06 May, 2019 8 commits
-
-
Poul-Henning Kamp authored
we want a single unique suckaddr.
-
Poul-Henning Kamp authored
-
Pål Hermunn Johansen authored
When an object is dying, we would rather not have the ban lurker evalueate it against any existing bans. Now it will, when a dying object is found, simply remove the oc off the ban list completely. This is very cheap since we are already holding the oh and ban mutexes.
-
Pål Hermunn Johansen authored
-
Poul-Henning Kamp authored
This reverts commit f9c9db4a.
-
Poul-Henning Kamp authored
-
Poul-Henning Kamp authored
Relevant to #2800
-
Poul-Henning Kamp authored
-
- 05 May, 2019 4 commits
-
-
Federico G. Schwindt authored
-
Federico G. Schwindt authored
-
Federico G. Schwindt authored
-
Federico G. Schwindt authored
The former fails in some platforms but we can test the latter.
-
- 03 May, 2019 5 commits
-
-
Dridi Boukelmoune authored
It currently freaks out when it's not aware of a type, or when it encounters v_*_ macros in a function signature. This doesn't improve the results of the existing patches but we should take a habit of specifying where additional C includes are.
-
Dridi Boukelmoune authored
In this order it becomes possible to use VCL_VOID transparently as void without having to declare it again as a typedef. It doesn't matter for VRT_CTX because it tends to be easier to use it instead of its actual C type (with the typedef-in-patch penalty). Wave in my general direction if you're not slink and yet can make sense of the previous paragraph.
-
Dridi Boukelmoune authored
This way we don't need to constantly deal with typedef ORing when we encounter a varnish-defined type. We still need to declare typedefs that we use, but it's already one order of magnitude more convenient.
-
Poul-Henning Kamp authored
-
Dridi Boukelmoune authored
Refs #2990
-