Bug 176 - srd_decoder_load(NULL) segfaults.
Summary: srd_decoder_load(NULL) segfaults.
Status: RESOLVED FIXED
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-17 23:21 CEST by Uwe Hermann
Modified: 2013-10-18 00:46 CEST (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-17 23:21:39 CEST
Running srd_decoder_load(NULL) segfaults. It should return SR_ERR_ARG (and not segfault) instead, though.

This was exposed by the libsigrokdecode testsuite.
Comment 1 Bert Vermeulen 2013-10-18 00:46:56 CEST
Fixed in 8a01468302ed915f6efd6933836c27e60a019100