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

PVS-Studio problems #13

Open
25 tasks
rtsisyk opened this issue Jan 20, 2017 · 0 comments
Open
25 tasks

PVS-Studio problems #13

rtsisyk opened this issue Jan 20, 2017 · 0 comments
Labels

Comments

@rtsisyk
Copy link
Owner

rtsisyk commented Jan 20, 2017

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.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant