Advertisement
Guest User

Untitled

a guest
Nov 22nd, 2014
156
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.03 KB | None | 0 0
  1. Server-socket() is OK...
  2. Server-setsockopt() is OK...
  3. Server-bind() is OK...
  4. Server: connect from host 127.0.0.1, port -26553.
  5. ==19420== Conditional jump or move depends on uninitialised value(
  6. s)
  7. ==19420== at 0x3603C47E2C: vfprintf (in /lib64/libc-2.12.so)
  8. ==19420== by 0x3603C4F189: printf (in /lib64/libc-2.12.so)
  9. ==19420== by 0x4009B6: read_from_client (server.c:31)
  10. ==19420== by 0x400D89: main (server.c:130)
  11. ==19420== Uninitialised value was created by a stack allocation
  12. ==19420== at 0x400948: read_from_client (server.c:15)
  13. ==19420==
  14. ==19420== Conditional jump or move depends on uninitialised value(
  15. s)
  16. ==19420== at 0x3603C718B6: _IO_file_xsputn@@GLIBC_2.2.5 (in /li
  17. b64/libc-2.12.so)
  18. ==19420== by 0x3603C4818F: vfprintf (in /lib64/libc-2.12.so)
  19. ==19420== by 0x3603C4F189: printf (in /lib64/libc-2.12.so)
  20. ==19420== by 0x4009B6: read_from_client (server.c:31)
  21. ==19420== by 0x400D89: main (server.c:130)
  22. ==19420== Uninitialised value was created by a stack allocation
  23. ==19420== at 0x400948: read_from_client (server.c:15)
  24. ==19420==
  25. ==19420== Conditional jump or move depends on uninitialised value(
  26. s)
  27. ==19420== at 0x3603C718D0: _IO_file_xsputn@@GLIBC_2.2.5 (in /li
  28. b64/libc-2.12.so)
  29. ==19420== by 0x3603C4818F: vfprintf (in /lib64/libc-2.12.so)
  30. ==19420== by 0x3603C4F189: printf (in /lib64/libc-2.12.so)
  31. ==19420== by 0x4009B6: read_from_client (server.c:31)
  32. ==19420== by 0x400D89: main (server.c:130)
  33. ==19420== Uninitialised value was created by a stack allocation
  34. ==19420== at 0x400948: read_from_client (server.c:15)
  35. ==19420==
  36. Server: got message: `ijsidjfi
  37. ==19420== Conditional jump or move depends on uninitialised value(
  38. s)
  39. ==19420== at 0x3603C722CB: _IO_file_overflow@@GLIBC_2.2.5 (in /
  40. lib64/libc-2.12.so)
  41. ==19420== by 0x3603C74638: _IO_default_xsputn (in /lib64/libc-2
  42. .12.so)
  43. ==19420== by 0x3603C71791: _IO_file_xsputn@@GLIBC_2.2.5 (in /li
  44. b64/libc-2.12.so)
  45. ==19420== by 0x3603C4818F: vfprintf (in /lib64/libc-2.12.so)
  46. ==19420== by 0x3603C4F189: printf (in /lib64/libc-2.12.so)
  47. ==19420== by 0x4009B6: read_from_client (server.c:31)
  48. ==19420== by 0x400D89: main (server.c:130)
  49. ==19420== Uninitialised value was created by a stack allocation
  50. ==19420== at 0x400948: read_from_client (server.c:15)
  51. ==19420==
  52. ==19420== Conditional jump or move depends on uninitialised value(
  53. s)
  54. ==19420== at 0x3603C722F3: _IO_file_overflow@@GLIBC_2.2.5 (in /
  55. lib64/libc-2.12.so)
  56. ==19420== by 0x3603C74638: _IO_default_xsputn (in /lib64/libc-2
  57.  
  58. ==19420== at 0x3603C722F3: _IO_file_overflow@@GLIBC_2.2.5 (in /
  59. lib64/libc-2.12.so)
  60. ==19420== by 0x3603C74638: _IO_default_xsputn (in /lib64/libc-2
  61. .12.so)
  62. ==19420== by 0x3603C71791: _IO_file_xsputn@@GLIBC_2.2.5 (in /li
  63. b64/libc-2.12.so)
  64. ==19420== by 0x3603C4818F: vfprintf (in /lib64/libc-2.12.so)
  65. ==19420== by 0x3603C4F189: printf (in /lib64/libc-2.12.so)
  66. ==19420== by 0x4009B6: read_from_client (server.c:31)
  67. ==19420== by 0x400D89: main (server.c:130)
  68. ==19420== Uninitialised value was created by a stack allocation
  69. ==19420== at 0x400948: read_from_client (server.c:15)
  70. ==19420==
  71. ==19420== Conditional jump or move depends on uninitialised value(
  72. s)
  73. ==19420== at 0x3603C7463C: _IO_default_xsputn (in /lib64/libc-2
  74. .12.so)
  75. ==19420== by 0x3603C71791: _IO_file_xsputn@@GLIBC_2.2.5 (in /li
  76. b64/libc-2.12.so)
  77. ==19420== by 0x3603C4818F: vfprintf (in /lib64/libc-2.12.so)
  78. ==19420== by 0x3603C4F189: printf (in /lib64/libc-2.12.so)
  79. ==19420== by 0x4009B6: read_from_client (server.c:31)
  80. ==19420== by 0x400D89: main (server.c:130)
  81. ==19420== Uninitialised value was created by a stack allocation
  82. ==19420== at 0x400948: read_from_client (server.c:15)
  83. ==19420==
  84. ==19420== Syscall param write(buf) points to uninitialised byte(s)
  85. ==19420== at 0x3603CDB600: __write_nocancel (in /lib64/libc-2.1
  86. 2.so)
  87. ==19420== by 0x3603C71AD2: _IO_file_write@@GLIBC_2.2.5 (in /lib
  88. 64/libc-2.12.so)
  89. ==19420== by 0x3603C73084: _IO_do_write@@GLIBC_2.2.5 (in /lib64
  90. /libc-2.12.so)
  91. ==19420== by 0x3603C7174C: _IO_file_xsputn@@GLIBC_2.2.5 (in /li
  92. b64/libc-2.12.so)
  93. ==19420== by 0x3603C4461E: vfprintf (in /lib64/libc-2.12.so)
  94. ==19420== by 0x3603C4F189: printf (in /lib64/libc-2.12.so)
  95. ==19420== by 0x4009B6: read_from_client (server.c:31)
  96. ==19420== by 0x400D89: main (server.c:130)
  97. ==19420== Address 0x4c0e000 is not stack'd, malloc'd or (recently
  98. ) free'd
  99. ==19420== Uninitialised value was created by a stack allocation
  100. ==19420== at 0x400948: read_from_client (server.c:15)
  101. ==19420==
  102. ���'
  103. Server: connect from host 127.0.0.1, port -26543.
  104. Server: got message: `hhjshdjf
  105. ���'
  106. ^C==19420==
  107. ==19420== HEAP SUMMARY:
  108. ==19420== in use at exit: 0 bytes in 0 blocks
  109. ==19420== total heap usage: 0 allocs, 0 frees, 0 bytes allocated
  110. ==19420==
  111. ==19420== All heap blocks were freed -- no leaks are possible
  112. ==19420==
  113. ==19420== For counts of detected and suppressed errors, rerun with
  114. : -v
  115. ==19420== ERROR SUMMARY: 44 errors from 7 contexts (suppressed:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement