Re: [hackers] [sent] Bail out before allocating slides if file is empty

2015-11-18 Thread Markus Teich
Quentin Rameau wrote: > Yeah, I saw your patch after having sent mine, sorry about that, I didn't mean > to redo the work. Heyho Quentin, It was not just redoing the work. Now we don't waste time mallocing, when there are no slides to display. ;) --Markus

Re: [hackers] [sent] Bail out before allocating slides if file is empty

2015-11-18 Thread Quentin Rameau
> Heyho, Hi :) > of course that is another fix Yeah, I saw your patch after having sent mine, sorry about that, I didn't mean to redo the work. > I merged it, thanks. Thanks!

Re: [hackers] [sent] Bail out before allocating slides if file is empty

2015-11-18 Thread Markus Teich
Quentin Rameau wrote: > In load() we allocated slides before checking if we actually read anything > from the FILE fp and then continue with an allocated but “empty” space wich > would lead to errors. Heyho, of course that is another fix for the problem related to memory sanitazion. I merged it,

[hackers] [sent] Bail out before allocating slides if file is empty || Quentin Rameau

2015-11-18 Thread git
commit a1dcdad14fb3a8ccdc97e86cb3aa25684778819c Author: Quentin Rameau AuthorDate: Wed Nov 18 23:21:33 2015 +0100 Commit: Markus Teich CommitDate: Wed Nov 18 23:26:33 2015 +0100 Bail out before allocating slides if file is empty In load() we allocated slides before checking