Bug#1065978: Handle listxattr failures better (upstream patch 9.1.0162)
Thanks, James! I'm deeply grateful for your work on vim, thank you so much for maintaining it! paultag On Sun, Mar 10, 2024 at 8:17 PM James McCoy wrote: > > On Sun, Mar 10, 2024 at 05:44:27PM -0400, Paul R. Tagliamonte wrote: > > I sent a fix to upstream vim to handle a bug where vim would attempt > > to allocate size_t max (for me, 0x aka > > 18446744073709551615 bytes) when the filesystem responded with an > > error on listxattr other than not supported. > > > > The upstream patch can be found at > > 14759ded57447345ba11c11a99fd84344797862c[1] - I've exported that patch > > for inclusion into sid. > > Thanks! I'll likely refresh against the ~latest upstream once things in > the time_t land settle down some, so this will get pulled in then. > > Cheers, > -- > James > GPG Key: 4096R/91BF BF4D 6956 BD5D F7B7 2D23 DFE6 91AE 331B A3DB -- :wq
Bug#1065978: Handle listxattr failures better (upstream patch 9.1.0162)
On Sun, Mar 10, 2024 at 05:44:27PM -0400, Paul R. Tagliamonte wrote: > I sent a fix to upstream vim to handle a bug where vim would attempt > to allocate size_t max (for me, 0x aka > 18446744073709551615 bytes) when the filesystem responded with an > error on listxattr other than not supported. > > The upstream patch can be found at > 14759ded57447345ba11c11a99fd84344797862c[1] - I've exported that patch > for inclusion into sid. Thanks! I'll likely refresh against the ~latest upstream once things in the time_t land settle down some, so this will get pulled in then. Cheers, -- James GPG Key: 4096R/91BF BF4D 6956 BD5D F7B7 2D23 DFE6 91AE 331B A3DB
Bug#1065978: Handle listxattr failures better (upstream patch 9.1.0162)
Package: vim Severity: wishlist Tags: patch I sent a fix to upstream vim to handle a bug where vim would attempt to allocate size_t max (for me, 0x aka 18446744073709551615 bytes) when the filesystem responded with an error on listxattr other than not supported. The upstream patch can be found at 14759ded57447345ba11c11a99fd84344797862c[1] - I've exported that patch for inclusion into sid. All things considered this is a fairly minor fix; so please don't go out of your way for me, but if you're making a routine upload, I've done my best to try to help prepare this patch for inclusion. I've attached a debdiff (with a mediocre changelog entry). I'm running a patched and rebuilt vim locally, this change fixes my error (E342: Out of memory! (allocating 18446744073709551615 bytes)) Thanks for all your work on vim! paultag [1]: https://github.com/vim/vim/commit/14759ded57447345ba11c11a99fd84344797862c vim-listxattr.debdiff Description: Binary data