sminux

Results 14 issues of sminux

This commit fixes #311

**Description of problem:** The handle 'fd_ctx->bad_object->dir' is created at syscall.c:149 by calling function 'sys_opendir' at bit-rot-stub.c:2690 https://github.com/gluster/glusterfs/blob/929d71b084e1e7f995d3a2884d16438108f6f621/xlators/features/bit-rot/src/stub/bit-rot-stub.c#L2690 and lost at bit-rot-stub.c:2698. Do we need to add `sys_closedir(fd_ctx->bad_object.dir);` https://github.com/gluster/glusterfs/blob/929d71b084e1e7f995d3a2884d16438108f6f621/xlators/features/bit-rot/src/stub/bit-rot-stub.c#L2698 This is...

Need to use `tile_fuzz=f `in https://github.com/LibVNC/x11vnc/blob/a61f364e385d98677c04070a994397b287385219/src/remote.c#L5067 **Describe the bug** In function 'process_remote_cmd': Value 'grow_fill' might be 'tile_fuzz' **To Reproduce** - **Expected Behavior** - **Screenshots** - **Desktop (please complete the following...

bug

Handle leak detected by [svace](https://www.ispras.ru/projects/svace/) static analyze tool **Describe the bug** The handle 'fd' is created at https://github.com/LibVNC/x11vnc/blob/a61f364e385d98677c04070a994397b287385219/src/screen.c#L1778 by calling function 'open' and lost at https://github.com/LibVNC/x11vnc/blob/a61f364e385d98677c04070a994397b287385219/src/screen.c#L2513 **To Reproduce** - **Expected...

bug

After having been compared to a nil value at table_unmarshal_gogo.go:54, pointer 'f.p' is passed in call to function 'proto.pointer.setPointer' at [table_unmarshal_gogo.go:56](https://github.com/gogo/protobuf/blob/f67b8970b736e53dbd7d0a27146c8f1ac52f74e5/proto/table_unmarshal_gogo.go#L56) where it is dereferenced at pointer_unsafe.go:263.

The bug was detected via svace[1](https://www.ispras.ru/en/projects/svace/) static analyzer scanning. The handle 'fpdest' is created at https://github.com/alexivkin/CUPS-PDF-to-PDF/blob/c14428c2ca8e95371daad7db6d11c84046b1a2d4/cups-pdf.c#L718 by calling function 'fopen' and lost at https://github.com/alexivkin/CUPS-PDF-to-PDF/blob/c14428c2ca8e95371daad7db6d11c84046b1a2d4/cups-pdf.c#L727 Do we need `(void) fclose(fpdest);` before...

Identical branches fix

Identical branches in https://github.com/cabo/cbor-ruby/blob/4e8b2ec982f41cfcd6568a429add205c8259f470/ext/cbor/buffer_class.c#L76-L80 https://github.com/cabo/cbor-ruby/blob/4e8b2ec982f41cfcd6568a429add205c8259f470/ext/cbor/buffer_class.c#L87-L90 We can replace 'else if', this improves performance slightly

**Description** Variable 'rc', which might receive a negative value at Driver.h:315 https://github.com/OpenNebula/one/blob/3d527c396824f38039f8ad23eab7752e23677c71/include/Driver.h#L315 by calling function 'read', is used without checking at Driver.h:317 https://github.com/OpenNebula/one/blob/3d527c396824f38039f8ad23eab7752e23677c71/include/Driver.h#L317 **Details** - Hypervisor: KVM - Version: master...

Community
Category: Core & System
Type: Bug
Status: Accepted
Priority: Low

Check VMGroupRole in Inter-role Anti-affinity rules ### Description Fix for #6692 ### Branches to which this PR applies - [ ] master - [ ] Check this if this PR...