#55 ereg check_it header bug

v3.4
open
nobody
sipp (50)
5
2013-04-27
2011-08-19
No

Right now, an ereg with check_it="true" with search_in="hdr" will not fail, even if the header is not present in the message. The attached patch makes a minor change to ensure that if check_it="true", and the header isn't present, then the check will fail.

Discussion

  • David Sanders

    David Sanders - 2011-08-19
     
    Attachments
  • Rob Day

    Rob Day - 2012-12-15
    • milestone: --> v3.4
     
  • Rob Day

    Rob Day - 2013-04-27

    I think this is now fixed - the offending line now tests whether strlen == 0, which is right because strlen can't be less than 0. I'll give it a quick test.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks