Skip to content
This repository was archived by the owner on Mar 1, 2023. It is now read-only.
This repository was archived by the owner on Mar 1, 2023. It is now read-only.

PVS-Studio problems #13

@rtsisyk

Description

@rtsisyk

The list of problems found by PVS Studio by Viva64 in 1.1-6-g466b6a6:

  • test/msgpuck.c:350 warn V512 A call of the 'memcmp' function will lead to underflow of the buffer 's1'.
  • test/msgpuck.c:351 warn V512 A call of the 'memcmp' function will lead to underflow of the buffer 's1'.
  • test/msgpuck.c:352 warn V512 A call of the 'memcmp' function will lead to underflow of the buffer 's1'.
  • test/msgpuck.c:353 warn V512 A call of the 'memcmp' function will lead to underflow of the buffer 's1'.
  • test/msgpuck.c:354 warn V512 A call of the 'memcmp' function will lead to underflow of the buffer 's1'.
  • test/msgpuck.c:355 warn V512 A call of the 'memcmp' function will lead to underflow of the buffer 's1'.
  • test/msgpuck.c:356 warn V512 A call of the 'memcmp' function will lead to underflow of the buffer 's1'.
  • test/msgpuck.c:357 warn V512 A call of the 'memcmp' function will lead to underflow of the buffer 's1'.
  • test/msgpuck.c:358 warn V512 A call of the 'memcmp' function will lead to underflow of the buffer 's1'.
  • test/msgpuck.c:359 warn V512 A call of the 'memcmp' function will lead to underflow of the buffer 's1'.
  • test/msgpuck.c:360 warn V512 A call of the 'memcmp' function will lead to underflow of the buffer 's1'.
  • test/msgpuck.c:361 warn V512 A call of the 'memcmp' function will lead to underflow of the buffer 's1'.
  • test/msgpuck.c:373 warn V512 A call of the 'memcmp' function will lead to underflow of the buffer 's1'.
  • test/msgpuck.c:374 warn V512 A call of the 'memcmp' function will lead to underflow of the buffer 's1'.
  • test/msgpuck.c:375 warn V512 A call of the 'memcmp' function will lead to underflow of the buffer 's1'.
  • test/msgpuck.c:376 warn V512 A call of the 'memcmp' function will lead to underflow of the buffer 's1'.
  • test/msgpuck.c:377 warn V512 A call of the 'memcmp' function will lead to underflow of the buffer 's1'.
  • test/msgpuck.c:378 warn V512 A call of the 'memcmp' function will lead to underflow of the buffer 's1'.
  • test/msgpuck.c:379 warn V512 A call of the 'memcmp' function will lead to underflow of the buffer 's1'.
  • test/msgpuck.c:380 warn V512 A call of the 'memcmp' function will lead to underflow of the buffer 's1'.
  • test/msgpuck.c:381 warn V512 A call of the 'memcmp' function will lead to underflow of the buffer 's1'.
  • test/msgpuck.c:382 warn V512 A call of the 'memcmp' function will lead to underflow of the buffer 's1'.
  • test/msgpuck.c:383 warn V512 A call of the 'memcmp' function will lead to underflow of the buffer 's1'.
  • test/msgpuck.c:384 warn V512 A call of the 'memcmp' function will lead to underflow of the buffer 's1'.
  • test/msgpuck.c:706 warn V587 An odd sequence of assignments of this kind: A = B; B = A;. Check lines: 704, 706.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions