Summary: | rebuild with gcc10 exposes buggy code (with garbage in strings) | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Sisyphus | Reporter: | Ivan Zakharyaschev <imz> | ||||||||||||
Component: | synaptic | Assignee: | Ivan Zakharyaschev <imz> | ||||||||||||
Status: | CLOSED FIXED | QA Contact: | qa-sisyphus | ||||||||||||
Severity: | normal | ||||||||||||||
Priority: | P5 | CC: | amakeenk, amakeenk, darktemplar, imz, mike, rider, snejok | ||||||||||||
Version: | unstable | ||||||||||||||
Hardware: | x86_64 | ||||||||||||||
OS: | Linux | ||||||||||||||
Attachments: |
|
Description
Ivan Zakharyaschev
2021-04-28 18:26:12 MSK
Created attachment 9336 [details]
log with gcc9 (20201209)
Created attachment 9337 [details]
sources.list (20201209)
Created attachment 9338 [details]
screenshot with the bug (synaptic_after; thanks amakeenk)
Created attachment 9339 [details]
screenshot without the bug (synaptic_before; thanks amakeenk)
Нашёл эти места (с типичным use-after-free). Скоро отправлю исправление. Релиз с фиксом этой ошибки собирается в заданиях 42898 (Sisyphus) и 42899 (p9). (In reply to Ivan Zakharyaschev from comment #6) > Релиз с фиксом этой ошибки собирается в заданиях 42898 (Sisyphus) и 42899 > (p9). А, это не те номера -- это я для e2k отправил проверить сборку. Задания 271478 и 271479 synaptic-0.58-alt24 -> sisyphus: Tue May 11 2021 Ivan Zakharyaschev <imz@altlinux> 0.58-alt24 - Fixed a use-after-free bug (appearing as garbage being shown in the size columns, notably after recompilation with gcc10). (ALT#40010) - Unset Synaptic::supported-text in the packaged configuration file. (That's the straight way to get "Package is supported" translated in the UI rather than the previous hack in the code.) - Included the sr@latin translation in the package. (It got excluded before because of an outdated sr@Latn name.) |