[libc-commits] [compiler-rt] [mlir] [libc] [libcxxabi] [clang-tools-extra] [libunwind] [libcxx] [clang] [lld] [lldb] [flang] [llvm] PR#72453 : Exceeding maximum file name length (PR #72654)

Todd A. Anderson via libc-commits libc-commits at lists.llvm.org
Fri Nov 17 08:06:12 PST 2023


================
@@ -280,7 +282,7 @@ class DOTGraphTraitsModulePrinterWrapperPass : public ModulePass {
     raw_fd_ostream File(Filename, EC, sys::fs::OF_TextWithCRLF);
     std::string Title = DOTGraphTraits<GraphT>::getGraphName(Graph);
 
-    if (!EC)
+    if (!EC && (Filename.length() <= MAX_FILENAME_LEN))
----------------
DrTodd13 wrote:

Same issue as above.

https://github.com/llvm/llvm-project/pull/72654


More information about the libc-commits mailing list