Skip to content

glocktop: dlmwaiters above 100 fixes

Alexander Aring cluster-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2glocktop: use MAX_LINES for dlmwlinesgfs2/glocktop/glocktop.c+1 -10 replies
2/2glocktop: allocate fsdlm dynamicallygfs2/glocktop/glocktop.c+8 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Cluster-devel] [PATCH gfs2-utils 0/2] glocktop: dlmwaiters above 100 fixes

Hi,

these patches fixes issues for me with glocktop. I got a:

*** buffer overflow detected ***: terminated
Aborted (core dumped)

debugging with gdb figured out that there are some maximum limitation to handle dlm waiters which was in my case 117. This patches increased the maximum allowed dlm waiters. These limitations are still static and should be changed to dynamic allocation in due courses otherwise buffer overflow happens again.

- Alex

Alexander Aring (2):
glocktop: use MAX_LINES for dlmwlines
glocktop: allocate fsdlm dynamically

 gfs2/glocktop/glocktop.c | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)
Signature · 1 line
2.26.2