Cast Alters Value at dbox-file.c:721 |
No properties have been set. edit properties |
Jump to warning location ↓ | warning details... |
| |
dbox_file_seek_append_pos (/home/sate/Testcases/c/cve/dovecot-1.2.0/src/lib-storage/index/dbox/dbox-file.c)![]() | ||||||
![]() | ||||||
707 | static int dbox_file_seek_append_pos(struct dbox_file *file, uoff_t mail_size) | |||||
708 | { | |||||
709 | int ret; | |||||
710 | ||||||
711 | [+] | if ((ret = dbox_file_read_header(file)) <= 0) | ||||
712 | return ret; | |||||
713 | ||||||
714 | if (file->append_offset == 0 || | |||||
715 | file->msg_header_size != sizeof(struct ) || | |||||
716 | [+] | !dbox_file_can_append(file, mail_size)) { | ||||
717 | /* can't append */ | |||||
718 | return 0; | |||||
719 | } | |||||
720 | ||||||
721 | file->output = o_stream_create_fd_file(file->fd, (uoff_t)-2, FALSE);
| |||||
![]() |