This is an automated email from the ASF dual-hosted git repository.
bcall pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/master by this push:
new d3b49b352d Coverity 1528667: Use of 32-bit time_t in
mime_days_since_epoch_to_mdy_slowcase (#10854)
d3b49b352d is described below
commit d3b49b352d479e55f9fe6c3c594dcf77d1b7a8f1
Author: Bryan Call <[email protected]>
AuthorDate: Wed Nov 29 10:41:06 2023 -0800
Coverity 1528667: Use of 32-bit time_t in
mime_days_since_epoch_to_mdy_slowcase (#10854)
Ignore false positives
---
src/proxy/hdrs/MIME.cc | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/proxy/hdrs/MIME.cc b/src/proxy/hdrs/MIME.cc
index 86101d314c..4090a99da2 100644
--- a/src/proxy/hdrs/MIME.cc
+++ b/src/proxy/hdrs/MIME.cc
@@ -2971,8 +2971,11 @@ mime_days_since_epoch_to_mdy_slowcase(time_t
days_since_jan_1_1970, int *m_retur
mday = d - days[month] - 1;
year += 1900;
+ // coverity[Y2K38_SAFETY:FALSE]
*m_return = month;
+ // coverity[Y2K38_SAFETY:FALSE]
*d_return = mday;
+ // coverity[Y2K38_SAFETY:FALSE]
*y_return = year;
}
}