| Summary: | работа в 64 битном режиме | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Sisyphus | Reporter: | Damir Shayhutdinov <damir> | ||||
| Component: | wm-select | Assignee: | Nobody's working on this, feel free to take it <nobody> | ||||
| Status: | CLOSED FIXED | QA Contact: | qa-sisyphus | ||||
| Severity: | normal | ||||||
| Priority: | P2 | ||||||
| Version: | unstable | ||||||
| Hardware: | all | ||||||
| OS: | Linux | ||||||
| Attachments: |
|
||||||
|
Description
Damir Shayhutdinov
2005-11-18 01:20:17 MSK
Created attachment 1252 [details]
Proposed patch to fix string overflow
Прилагаю патч, в котором в строку копируется не вся структура, а только ее
указатель - это 4 или 8 байт. Место под структуру аллоцируется malloc-ом и
освобождается через free после создания кнопки для wm.
Fixed in wm-select-0.3 (rewritten FillBox() in more portable way: struct dirent array should not be used for custom purposes). |