Nmap Development mailing list archives

timing.cc : Assert triggered in some situation


From: <jean-guilhem.nousse () orange com>
Date: Fri, 22 Jul 2016 08:42:58 +0000

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 ?


[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<mailto:jean-guilhem.nousse () orange com>
[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.

Attachment: localtime_assert.patch
Description: localtime_assert.patch

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

Current thread: