Аноним | вход | зарегистрировать новую учетную запись | 2022-07-05 03:33 EEST |
главная | моя сводка | список вопросов | журнал изменений | план развития | документация | моя учетная запись |
Расширенный вид [ комментарии ] | [ простой вид ] [ история ] [ печать ] | ||||||
Номер | Категория | Серьезность | Воспроизводимость | Создан | Изменен | ||
0000493 | [obex-data-server] FTP | авария | всегда | 2010-10-29 05:57 | 2011-02-14 00:22 | ||
Инициатор | nami | Видимость | общая | ||||
Ответственный | skirsdeda | ||||||
Приоритет | обычный | Решение | решен | Платформа | |||
Состояние | отработан | Операционная система | |||||
Трудоемкость | нет | Версия ОС | |||||
Примерный срок | нет | Решен в версии | 0.4.6 | Версия продукта | |||
Целевая версия | Сборка продукта | ||||||
Суть | 0000493: ftp client get server file ,cause server segmentation fault | ||||||
Подробности |
hi,I found when ftp client get server file, the server will occur segmentation fault.The server ods log is below: ##DEBUG: /org/openobex/serversession0 OBEX event: STREAMEMPTY(0x8), CONNECT(0x0), (null)(0x0) obex_writestream writestream from Buffer buf_size: 357, actual: 357 ##DEBUG: /org/openobex/serversession0 OBEX event: STREAMEMPTY(0x8), CONNECT(0x0), (null)(0x0) obex_writestream writestream from Buffer buf_size: 357, actual: 0 ##DEBUG: /org/openobex/serversession0 OBEX event: REQDONE(0x3), GET(0x3), (null)(0x0) io callback ##DEBUG: /org/openobex/serversession0 OBEX event: REQHINT(0x1), GET(0x3), (null)(0x0) ##DEBUG: /org/openobex/serversession0 OBEX event: REQ(0x2), GET(0x3), (null)(0x0) CMD_GET requested stream_fd=-1 Segmentation fault nami@nami-laptop:~$ Do you have met this error? I find this error is caused by client does not contain Type header in its first get request package,but the server side calls strcmp (obex_context->type, LST_TYPE) in ods_obex_srv_get function. Since obex_context->type is null ,so it causes segmentation fault. A patch to fix this problem is attached. I checked ,it resolved this problem. |
||||||
Шаги по воспроизведению | |||||||
Дополнительные сведения | |||||||
Tэги | Нет прикрепленных тэгов. | ||||||
Вложенные файлы |
![]() |
||||||
|
К этому вопросу нет комменариев. |
Mantis 1.1.6[^] Copyright © 2000 - 2008 Mantis Group |