F
fakessh @
hello doctor
hello honorable
I work on a small project in c.
https://raw.github.com/fakessh/openprojectssl/master/smtp_openssl.c
This is an smtp client with minimal authentication. I use
openssl successfully to encode base64 data are
I just did my first tests with valgrind
and I get different results on centos 5 and centos 6
this is the end of the trace of valgrind
on centos 5
==18553== LEAK SUMMARY:
==18553== definitely lost: 0 bytes in 0 blocks
==18553== indirectly lost: 0 bytes in 0 blocks
==18553== possibly lost: 36 bytes in 3 blocks
==18553== still reachable: 106,700 bytes in 2,163 blocks
==18553== suppressed: 0 bytes in 0 blocks
==18553==
==18553== For counts of detected and suppressed errors, rerun
with: -v
==18553== ERROR SUMMARY: 3 errors from 3 contexts
(suppressed: 29 from 10)
on centos 6
==8836== LEAK SUMMARY:
==8836== definitely lost: 0 bytes in 0 blocks
==8836== indirectly lost: 0 bytes in 0 blocks
==8836== possibly lost: 0 bytes in 0 blocks
==8836== still reachable: 39,320 bytes in 2,485 blocks
==8836== suppressed: 0 bytes in 0 blocks
==8836==
==8836== For counts of detected and suppressed errors, rerun
with: -v
==8836== ERROR SUMMARY: 349 errors from 6 contexts
(suppressed: 29 from 10)
there are a number of very different error and centos 5 shows
a memory leak
can you help me find the problems in my code
hello honorable
I work on a small project in c.
https://raw.github.com/fakessh/openprojectssl/master/smtp_openssl.c
This is an smtp client with minimal authentication. I use
openssl successfully to encode base64 data are
I just did my first tests with valgrind
and I get different results on centos 5 and centos 6
this is the end of the trace of valgrind
on centos 5
==18553== LEAK SUMMARY:
==18553== definitely lost: 0 bytes in 0 blocks
==18553== indirectly lost: 0 bytes in 0 blocks
==18553== possibly lost: 36 bytes in 3 blocks
==18553== still reachable: 106,700 bytes in 2,163 blocks
==18553== suppressed: 0 bytes in 0 blocks
==18553==
==18553== For counts of detected and suppressed errors, rerun
with: -v
==18553== ERROR SUMMARY: 3 errors from 3 contexts
(suppressed: 29 from 10)
on centos 6
==8836== LEAK SUMMARY:
==8836== definitely lost: 0 bytes in 0 blocks
==8836== indirectly lost: 0 bytes in 0 blocks
==8836== possibly lost: 0 bytes in 0 blocks
==8836== still reachable: 39,320 bytes in 2,485 blocks
==8836== suppressed: 0 bytes in 0 blocks
==8836==
==8836== For counts of detected and suppressed errors, rerun
with: -v
==8836== ERROR SUMMARY: 349 errors from 6 contexts
(suppressed: 29 from 10)
there are a number of very different error and centos 5 shows
a memory leak
can you help me find the problems in my code