Comments (5)
I tried this with the 64 bit compiled native DLL and the examples I have for reporting ("reporting" and "report_new_dataset" and the problem doesn't show. Have you tried the examples? Do they also show the problem for you?
Maybe in your code the connection doesn't work and "self" is a NULL pointer?
from libiec61850.
I recorded a video: https://youtu.be/95Hi23AczaQ
from libiec61850.
Hi @mzillgith,
I found a way to work.
Call the methods: SetOptFlds and SetTrgOps
BEFORE the method GetRCBValues and the exception will not be thrown.
Probably, the method GetRCBValues must be blocking some memory access lock.
from libiec61850.
Hi @IgorMundstein ,
I have seen in your video that the RCB reference uses the "$" as separator, while the examples are using the "." as separator. In fact the GetReportControlBlock method assumes the "." signs in the reference and cannot detect if it is an buffered report when using the "$" signs. Because the GetRCBValues function later assumes it is an unbuffered RCB where the elements are slightly different the memory gets corrupted. When you are using "DemoProtCtrl/LLN0.BR.brcb02" as reference it should work.
I know it is a bit confusing that the "." signs have to be used for the RCB reference while the "$" for the data set reference in the RCB. I will change the code so it will accept both types of separators.
from libiec61850.
I did not realize it. I am used to remove FunctionalConstraint from address and replace $ to .
Like I do in the method "ReadValue", for example. However, it have the parameter (FunctionalConstraint ) in the signature.
Thanks!
from libiec61850.
Related Issues (20)
- NULL Pointer Dereference was detected in the mmsServer_handleFileCloseRequest.c function of src/mms/iso_mms/server/mms_file_service.c. HOT 4
- TLS RELATED ISSUES
- GetDataSetDirectoryAsync got System.AccessViolationException HOT 7
- Error when writing all array elements at once HOT 1
- Client Report Handler in Python HOT 1
- NBReports generated despite IedServer_lockDataModel(), IedServer_lockDataModel() HOT 2
- Structure data object from MmsVariableSpecification is diffrent with value when received dataset from rcb HOT 3
- iec61850_client_example_files: Failed to get file!
- Incompatibility between 1.5.1 and 1.5.3
- heap-buffer-overflow in BerEncoder_encodeLength of /src/libiec61850/src/mms/asn1/ber_encoder.c HOT 1
- MmsValue_encode/decodeMmsData fails on Visible String attribute with empty payload
- Is there any peach pits to describe this protocol?
- libiec61850-1.5 goose build fail HOT 1
- Out-of-Bound Read in /src/libiec61850/src/goose/goose_receiver.c:665:9 in parseGoosePayload
- Out-of-Bound Read in BerDecoder_decodeBoolean /src/libiec61850/src/mms/asn1/ber_decode.c:218:9 HOT 1
- Multiple Out-of-Bound Read in parseAarqPdu /src/libiec61850/src/mms/iso_acse/acse.c HOT 1
- Out-of-Bound Read in parseAarePdu /src/libiec61850/src/mms/iso_acse/acse.c:215:17 HOT 1
- Integrate Fuzzers into OSS-Fuzz and Expand Fuzzing Coverage HOT 2
- Out-of-Bound Write in BerEncoder_encodeBitString /src/libiec61850/src/mms/asn1/ber_encoder.c:147:26
- Uninitialized memory access in IedServer_createWithConfig
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libiec61850.