Bug 179 - srd_decoder_doc_get(NULL) segfaults.
Summary: srd_decoder_doc_get(NULL) segfaults.
Status: RESOLVED INVALID
Alias: None
Product: libsigrokdecode
Classification: Unclassified
Component: Other (show other bugs)
Version: unreleased development snapshot
Hardware: All All
: Normal normal
Target Milestone: ---
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-18 00:11 CEST by Uwe Hermann
Modified: 2013-11-18 10:51 CET (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
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