Menu

#34 errors in tests regarding string length

2.9.0
open
None
5
2017-03-04
2016-02-10
Hanno Böck
No

I discovered that several of the tests call the library function with the wrong string length.
Example (t-test68.c):
status = dkim_body(dkim, BODY06, strlen(BODY05));

This is obviously wrong, as it calls the function with the string BODY06 and the length of the string BODY05. This was discovered by running the tests with address sanitizer enabled.

I found three such issues, patch attached.

1 Attachments

Discussion

  • Murray S. Kucherawy

    • assigned_to: Murray S. Kucherawy
     
  • Murray S. Kucherawy

    Applied for next release.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.