Branch: refs/heads/master Home: https://github.com/xrootd/xrootd Commit: 32dd095e97ad298fffd58488c876849da24ea031 https://github.com/xrootd/xrootd/commit/32dd095e97ad298fffd58488c876849da24ea031 Author: Mattias Ellert <[log in to unmask]> Date: 2023-01-18 (Wed, 18 Jan 2023) Changed paths: M src/XrdPosix/XrdPosixAdmin.cc Log Message: ----------- Fix build failure due to possible large memory allocation /builddir/build/BUILD/xrootd-5.5.1/src/XrdPosix/XrdPosixAdmin.cc: In member function 'FanOut': /builddir/build/BUILD/xrootd-5.5.1/src/XrdPosix/XrdPosixAdmin.cc:69:27: error: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Werror=alloc-size-larger-than=] 69 | uVec = new XrdCl::URL[i]; | ^ /usr/include/c++/13/new:128:26: note: in a call to allocation function 'operator new []' declared here 128 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc) | ^ ######################################################################## Use REPLY-ALL to reply to list To unsubscribe from the XROOTD-DEV list, click the following link: https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1