After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 735499 - [PATCH] Fix potential modulo by zero in src/template.cpp
[PATCH] Fix potential modulo by zero in src/template.cpp
Status: RESOLVED FIXED
Product: doxygen
Classification: Other
Component: general
1.8.8-GIT
Other Linux
: Normal normal
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2014-08-27 08:26 UTC by Ettl Martin
Modified: 2014-12-25 16:03 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
proposed fix (533 bytes, patch)
2014-08-27 08:26 UTC, Ettl Martin
none Details | Review

Description Ettl Martin 2014-08-27 08:26:15 UTC
Created attachment 284583 [details] [review]
proposed fix

Please review the attached patch. It prevents a potential modulo by zero calculation, which leads to undefined behavior.

Best regards and many thanks

Martin Ettl
Comment 1 Dimitri van Heesch 2014-08-30 17:25:39 UTC
Thanks, I'll include a variant of the patch in the next GIT update.
Comment 2 Dimitri van Heesch 2014-12-25 16:03:06 UTC
This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.8.9. Please verify if this is indeed the case. Reopen the
bug if you think it is not fixed and please include any additional information 
that you think can be relevant (preferrably in the form of a self-contained example).