llvmorg-github-actions[bot] wrote:

<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-clang-tools-extra

Author: Lucas (lucaslive974)

<details>
<summary>Changes</summary>

This patch updates the outdated CMU wiki link in the CERT ERR33-C 
documentation. 

The old link currently returns a `301 Moved Permanently` redirecting to the new 
GitHub Pages location. This patch updates the source file to point directly to 
the new destination to prevent future link rot.

FIXES #<!-- -->200277 
&lt;details&gt;
&lt;summary&gt;&lt;b&gt;Diagnosis &amp; Curl Output&lt;/b&gt;&lt;/summary&gt;

```http
$ curl -IL 
[https://wiki.sei.cmu.edu/confluence/display/c/ERR33-C.+Detect+and+handle+standard+library+errors](https://wiki.sei.cmu.edu/confluence/display/c/ERR33-C.+Detect+and+handle+standard+library+errors)

HTTP/1.0 301 Moved Permanently
Location: 
[https://cmu-sei.github.io/secure-coding-standards/sei-cert-c-coding-standard/rules/error-handling-err/err33-c](https://cmu-sei.github.io/secure-coding-standards/sei-cert-c-coding-standard/rules/error-handling-err/err33-c)
Server: BigIP
Connection: close
Content-Length: 0

HTTP/2 301 
server: GitHub.com
location: 
[https://cmu-sei.github.io/secure-coding-standards/sei-cert-c-coding-standard/rules/error-handling-err/err33-c/](https://cmu-sei.github.io/secure-coding-standards/sei-cert-c-coding-standard/rules/error-handling-err/err33-c/)

HTTP/2 200 
server: GitHub.com
content-type: text/html; charset=utf-8

---
Full diff: https://github.com/llvm/llvm-project/pull/205086.diff


1 Files Affected:

- (modified) clang-tools-extra/docs/clang-tidy/checks/cert/err33-c.rst (+1-1) 


``````````diff
diff --git a/clang-tools-extra/docs/clang-tidy/checks/cert/err33-c.rst 
b/clang-tools-extra/docs/clang-tidy/checks/cert/err33-c.rst
index 75da669c0a2b3..f1b665f01edc3 100644
--- a/clang-tools-extra/docs/clang-tidy/checks/cert/err33-c.rst
+++ b/clang-tools-extra/docs/clang-tidy/checks/cert/err33-c.rst
@@ -194,7 +194,7 @@ disabled by setting `AllowCastToVoid` option to `false`.
 
 The check corresponds to a part of CERT C Coding Standard rule `ERR33-C.
 Detect and handle standard library errors
-<https://wiki.sei.cmu.edu/confluence/display/c/ERR33-C.+Detect+and+handle+standard+library+errors>`_.
+<https://cmu-sei.github.io/secure-coding-standards/sei-cert-c-coding-standard/rules/error-handling-err/err33-c>`_.
 The list of checked functions is taken from the rule, with following exception:
 
 * The check can not differentiate if a function is called with ``NULL``

``````````

</details>


https://github.com/llvm/llvm-project/pull/205086
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to