Your message dated Fri, 28 May 2021 18:33:42 +0000 with message-id <[email protected]> and subject line Bug#951776: fixed in task 2.5.3+dfsg-4 has caused the Debian Bug report #951776, regarding [task] P2M recurrence causes infinite loop to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 951776: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=951776 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: task Version: 2.5.1+dfsg-8 Severity: important --- Please enter the report below this line. --- When a recurring task contains "P2M" period, a generation of next child spins forever in generateDueDates(). Patch attached. --- System information. --- Architecture: Kernel: Linux 5.5.4mq+ Debian Release: 10.3 900 stable-debug debug.mirrors.debian.org 900 stable security.debian.org 900 stable ftp.pl.debian.org 900 stable dl.winehq.org 900 proposed-updates ftp.pl.debian.org 850 buster-backports ftp.pl.debian.org 800 testing ftp.pl.debian.org 700 unstable ftp.pl.debian.org 600 experimental ftp.pl.debian.org 540 oldstable-proposed-updates ftp.pl.debian.org 540 oldstable security.debian.org 540 oldstable ftp.pl.debian.org 500 unstable-debug debug.mirrors.debian.org 500 testing-debug debug.mirrors.debian.org 500 stable repository.spotify.com 500 stable dl.google.com 100 buster-backports-debug debug.mirrors.debian.org 1 experimental-debug debug.mirrors.debian.org --- Package information. --- Package's Depends field is empty. Package's Recommends field is empty. Package's Suggests field is empty.Index: task-2.5.1+dfsg/src/recur.cpp =================================================================== --- task-2.5.1+dfsg.orig/src/recur.cpp +++ task-2.5.1+dfsg/src/recur.cpp @@ -268,7 +268,10 @@ ISO8601d getNextRecurrence (ISO8601d& cu Lexer::isAllDigits (period.substr (1, period.length () - 2)) && period[period.length () - 1] == 'M') { - int increment = strtol (period.substr (0, period.length () - 1).c_str (), NULL, 10); + int increment = strtol (period.substr (1, period.length () - 2).c_str (), NULL, 10); + + if (increment <= 0) + throw std::string (format (STRING_TASK_VALID_RECUR, period)); m += increment; while (m > 12)
--- End Message ---
--- Begin Message ---Source: task Source-Version: 2.5.3+dfsg-4 Done: Gordon Ball <[email protected]> We believe that the bug you reported is fixed in the latest version of task, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Gordon Ball <[email protected]> (supplier of updated task package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 1.8 Date: Fri, 28 May 2021 12:00:06 +0000 Source: task Architecture: source Version: 2.5.3+dfsg-4 Distribution: unstable Urgency: medium Maintainer: Debian Tasktools Team <[email protected]> Changed-By: Gordon Ball <[email protected]> Closes: 951776 Changes: task (2.5.3+dfsg-4) unstable; urgency=medium . * d/watch: new github tarball URL * Patch an infinite loop for multi-month recurrence. This was previously patched in 2.5.1+dfsg-9 but wrongly dropped in 2.5.2+dfsg-1; patch from Michał Mirosław. (Closes: #951776, again) Checksums-Sha1: 4952a511b6a09ca2ad503b1b611f67d75090a243 2080 task_2.5.3+dfsg-4.dsc b1b356f754d76f7bc2419b8366ed92f36681bf2a 27196 task_2.5.3+dfsg-4.debian.tar.xz e505107775f37083f0efb2eaed44635623c0b8ea 7025 task_2.5.3+dfsg-4_source.buildinfo Checksums-Sha256: 0f030377a2020e0d9a67dc94df9225f9299dbda780761f88c004e12c4b38d05d 2080 task_2.5.3+dfsg-4.dsc 9dfaccdcbcf76df9c45b243744780bd9358ef51ffe587d2a89793547214574d4 27196 task_2.5.3+dfsg-4.debian.tar.xz 107d713ca120f752c5b89b171d56d8e9faf535bbaaa07cbc68a1df70d76db93b 7025 task_2.5.3+dfsg-4_source.buildinfo Files: ef56e10fe3e014ec160f5bf5d0cf6372 2080 utils optional task_2.5.3+dfsg-4.dsc 792ef4c64f1e919cdb6a02dc09b02311 27196 utils optional task_2.5.3+dfsg-4.debian.tar.xz 5dc97f486e23744969a23e62e268709e 7025 utils optional task_2.5.3+dfsg-4_source.buildinfo -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE6PwpXIa418BJ+Xuno12v+60p6N4FAmCxMiYACgkQo12v+60p 6N4mDw/+I2M9SqyK7VxXsnoiYyWOoq+7sARmk+/DEAWIEoeBTCmBBswkdlDA6vxl o/ULI/jQgUDoWgRon3fuHRCD4wrYw466NbZQfOK74mKfpVht257kO/uQ07zklxdn 9Bwk7ddzfYKy5Jhw8T+YOsV25fOWFQV87VFarKs/yP+rit6kunNoCqkiMqTGEGy2 0/RPbJA2Gv3UlRSCk3aluxNDFNtGJkpxt9ednpSukwtbQtWtqJO9Bx8caLbvMXFz DZU5UuKkYD9mzEYaAHaj/5GUZZyEzJxSzSvTw/khVPn7X35UG8UXwH4eJkHvfyVF /fxBrqTTXBOwW/YUu20lCv5BzhAQqcStgGeKkiRnAgYbime8aau1uZ0l5ASPqCXF 33ObqotryuJgeZX4YNViYRyWjO/UAUzNNkKNm8MmBVTsULOhh98UxPXJ1oBcxXqe lAqef/x/7XUWLmonZVyo/RG0Qq2KVL89Fr0afsncHUpJrDALw60V/NplnVF7OySd kewylSJtrEnmqCorAmerBTosSGloO0K8yC4LdengOaM/JQzQ1S3QJjDHYKaNXMr+ m+Kx4v7Z6QaoGa5TKoniFbgfWuZfLQGB61ChsenNu7xr+cX4+28xNfIV8LqehsVs BoVB6E0FBJRI8kFn3LndcC8Hwr7IaeaEvaPklZ6FlLtM1q4iJIg= =JUp1 -----END PGP SIGNATURE-----
--- End Message ---

