Bug 179

Summary: srd_decoder_doc_get(NULL) segfaults.
Product: libsigrokdecode Reporter: Uwe Hermann <uwe>
Component: OtherAssignee: Nobody <nobody>
Status: RESOLVED INVALID    
Severity: normal CC: bert
Priority: Normal    
Version: unreleased development snapshot   
Target Milestone: ---   
Hardware: All   
OS: All   

Description Uwe Hermann 2013-10-18 00:11:52 CEST
srd_decoder_doc_get(NULL) segfaults, it should return SR_ERR_ARG though.

This was exposed by the libsigrokdecode testsuite.
Comment 1 Bert Vermeulen 2013-11-18 10:51:55 CET
Test was wrong, fixed in 092f1437d385585ebf12c6a060e753ba812d1700