>
> Hello,
>
> On 12/05/2011 10:08 AM, James Harper wrote:
> >> Unfortunately, the previous code was :
> >> /* TODO: see if len contains already the 3 \0 */
> >> item = (CurFile
> > *)jcr->file_list->hash_malloc(sizeof(CurFile)+len+3);
> >>
> >> And the new code is
> >> item = (Cur
Hello,
On 12/05/2011 10:08 AM, James Harper wrote:
>> Unfortunately, the previous code was :
>> /* TODO: see if len contains already the 3 \0 */
>> item = (CurFile
> *)jcr->file_list->hash_malloc(sizeof(CurFile)+len+3);
>>
>> And the new code is
>> item = (CurFile
> *)jcr->file_list
On 12/05/2011 10:03 AM, James Harper wrote:
>>
>> Thanks to pin this problem, I think that allocating 1 extra byte as we
> did in the
>> previous version will handle this problem.
>>
>> Unfortunately, the previous code was :
>> /* TODO: see if len contains already the 3 \0 */
>> item = (C
> Unfortunately, the previous code was :
> /* TODO: see if len contains already the 3 \0 */
> item = (CurFile
*)jcr->file_list->hash_malloc(sizeof(CurFile)+len+3);
>
> And the new code is
> item = (CurFile
*)jcr->file_list->hash_malloc(sizeof(CurFile)+len);
>
> This is a serious issue
>
> Thanks to pin this problem, I think that allocating 1 extra byte as we
did in the
> previous version will handle this problem.
>
> Unfortunately, the previous code was :
> /* TODO: see if len contains already the 3 \0 */
> item = (CurFile
*)jcr->file_list->hash_malloc(sizeof(CurFile)+
> + item->chksum = item->lstat+strlen(item->lstat);
> + } else {
> + item->chksum = item->lstat+strlen(item->lstat)+1;
> + strcpy(item->chksum, chksum);
> + }
>
> item->delta_seq = delta;
>
> James
>
>> -Original
at);
+ } else {
+ item->chksum = item->lstat+strlen(item->lstat)+1;
+ strcpy(item->chksum, chksum);
+ }
item->delta_seq = delta;
James
> -Original Message-
> From: James Harper
> Sent: Monday, 5 December 2011 3:08 PM
> To: James Harper; bacu
>
> I'm getting a consistent crash on one Windows 2008 R2 server:
>
> 05-Dec 12:50 bitdc1-fd: ABORTING due to ERROR in
> /home/kern/bacula/k/bacula/src/lib/smartall.c:216
> Overrun buffer: len=9830441 addr=40d0068 allocated:
> /home/kern/bacula/k/bacula/src/lib/htable.c:72 called from
> /home/ker
I'm getting a consistent crash on one Windows 2008 R2 server:
05-Dec 12:50 bitdc1-fd: ABORTING due to ERROR in
/home/kern/bacula/k/bacula/src/lib/smartall.c:216
Overrun buffer: len=9830441 addr=40d0068 allocated:
/home/kern/bacula/k/bacula/src/lib/htable.c:72 called from
/home/kern/bacula/k/bacula