On Thu, 2015-11-26 at 14:31 +, Emil Velikov wrote:
> On 26 November 2015 at 05:26, Timothy Arceri
> wrote:
> > On Thu, 2015-11-26 at 00:36 +, Emil Velikov wrote:
> > > Currently it stores strlen(buf) whenever the user originally
> > > provided
> > > a
> > > negative value for length.
> > >
On 26 November 2015 at 05:26, Timothy Arceri
wrote:
> On Thu, 2015-11-26 at 00:36 +, Emil Velikov wrote:
>> Currently it stores strlen(buf) whenever the user originally provided
>> a
>> negative value for length.
>>
>> Although I've not seen any explicit text in the spec, CTS requires
>> that
On Thu, 2015-11-26 at 00:36 +, Emil Velikov wrote:
> Currently it stores strlen(buf) whenever the user originally provided
> a
> negative value for length.
>
> Although I've not seen any explicit text in the spec, CTS requires
> that
> the very same length (be that negative value or not) is re
Currently it stores strlen(buf) whenever the user originally provided a
negative value for length.
Although I've not seen any explicit text in the spec, CTS requires that
the very same length (be that negative value or not) is returned back on
Pop.
So let's push down the length < 0 checks, tweak