Re: [PATCH v2 2/8] lib: add asn.1 encoder

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 10 December 2019 18:53:40 GMT, James Bottomley <James.Bottomley@xxxxxxxxxxxxxxxxxxxxx> wrote:
>On Tue, 2019-12-10 at 14:08 +0000, David Howells wrote:
>>   Please therefore put bounds checking and error handling in it.  And
>> please *don't* just produce broken ASN.1 when something goes wrong.
>
>OK, I'll make it return an error and add a wrapper for my use case that
>warns on error and causes the function to bail.

Traditionally we call that "error handling" :p

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux Kernel]     [Linux Kernel Hardening]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux