]> git.ipfire.org Git - thirdparty/public-inbox.git/commit
lei_saved_search: avoid //= on complex hashref assignment
authorEric Wong <e@80x24.org>
Tue, 26 Aug 2025 19:50:43 +0000 (19:50 +0000)
committerEric Wong <e@80x24.org>
Thu, 28 Aug 2025 18:48:14 +0000 (18:48 +0000)
commit888a7e7d04065302336de7acbc6fedfff6efa378
tree54841c7769427d741bea4a0b1fd788cb570382fd
parentb8f413b3b72a09afce4a387efa3d3c1f51173068
lei_saved_search: avoid //= on complex hashref assignment

Setting $self->{oidx} via `//=' may be unsafe due to
->lock_for_scope setting $self->{lock_fh}.  While this is not
known to cause problems at the moment, it may be problematic in
future as we've had to deal with subtle bugs in similar code in
the past.
lib/PublicInbox/LeiSavedSearch.pm