Nmap Development mailing list archives

Re: timing.cc : Assert triggered in some situation


From: Daniel Miller <bonsaiviking () gmail com>
Date: Mon, 22 Aug 2016 14:50:59 -0500

Jean-Guilhem,

Thanks for this report and patch. I applied it and credited you in r36172.
Since we still don't know what's causing localtime to fail, I added an
error output to diagnose it. Please let us know if you get this error
message (beginning with "Timing error:") and what it says.

Dan

On Fri, Jul 22, 2016 at 3:42 AM, <jean-guilhem.nousse () orange com> wrote:

Hi,



During some scans, nmap stops due the function “assert” in the file
timing.cc. This bug is quite random, but occurs generally at the beginning
of a step (for example when the syn scan starts or the version scan). It
also affects my colleague. For me, this issue should only affect the
display of statistic and not the whole scan.

I didn’t understand why the function “localtime” is returning a NULL
value, but as workaround, I rewrite in the patch the test in order to
modify the output when this error occurs rather than ending the scan.



What do you think of this solution ?





[image: cid:image013.jpg@01D054F5.8147A020]
<http://www.orange-business.com/fr>

*Jean-Guilhem NOUSSE*

Consultant Sénior

*Consulting & Services *

OSCP (#OS-101-03185), OSCE(#OS-CTP-02906)

Orange Cyberdefense <http://www.orange-business.com/fr/orange-consulting>
9 Rue du Chêne Germain - Bâtiment 7 - Bréhat 7B300
35512 Cesson Sévigné

mobile : +33(0)6 88 45 79 72
jean-guilhem.nousse () orange com

[image: cid:image014.png@01D054F5.8147A020]
<http://www.francecybersecurity.com/>



_________________________________________________________________________________________________________________________

Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le 
signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles 
d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.

This message and its attachments may contain confidential or privileged information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.
Thank you.


_______________________________________________
Sent through the dev mailing list
https://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/

_______________________________________________
Sent through the dev mailing list
https://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/

Current thread: