Re: [PATCH] * grub-core/fs/udf.c: Fix reading label, lvd.ident is dstring

2017-08-08 Thread Pali Rohár
Thanks a lot! On Monday 07 August 2017 15:40:15 Vladimir 'phcoder' Serbinenko wrote: > Committed with fixes and simplifications. The biggest problem was lack of > check whether grub_malloc succeeded > > Le Thu, Jun 22, 2017 à 2:34 PM, Pali Rohár a écrit : > > > UDF

Re: [PATCH] * grub-core/fs/udf.c: Fix reading label, lvd.ident is dstring

2017-08-07 Thread Vladimir 'phcoder' Serbinenko
Committed with fixes and simplifications. The biggest problem was lack of check whether grub_malloc succeeded Le Thu, Jun 22, 2017 à 2:34 PM, Pali Rohár a écrit : > UDF dstring has stored length in the last byte of buffer. Therefore last > byte is not part of recorded

Re: [PATCH] * grub-core/fs/udf.c: Fix reading label, lvd.ident is dstring

2017-07-02 Thread Pali Rohár
On Thursday 22 June 2017 14:33:17 Pali Rohár wrote: > UDF dstring has stored length in the last byte of buffer. Therefore > last byte is not part of recorded characters. And empty string in > dstring is encoded as empty buffer, including first byte > (compression id). > --- > I'm not sure how

[PATCH] * grub-core/fs/udf.c: Fix reading label, lvd.ident is dstring

2017-06-22 Thread Pali Rohár
UDF dstring has stored length in the last byte of buffer. Therefore last byte is not part of recorded characters. And empty string in dstring is encoded as empty buffer, including first byte (compression id). --- I'm not sure how Grub2 should handle empty label. Current patch set empty buffer for