Fortran interface pspio_fortran_c.c dereference typo

Bug #1347520 reported by Alexandr Fonari
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Libpspio
Fix Committed
High
Micael Oliveira

Bug Description

Deference typo that crashes fortran program. Appeared in pspio_fortran_c.c/pspio_f90_pspdata_read and pspio_fortran_c.c/pspio_f90_pspdata_write

Patch attached.

Tags: qe-interface
Revision history for this message
Alexandr Fonari (alexandr-fonari) wrote :
Changed in libpspio:
assignee: nobody → Micael Oliveira (micaeljtoliveira)
importance: Undecided → High
tags: added: qe-interface
Revision history for this message
Micael Oliveira (micaeljtoliveira) wrote :

In the case of pspio_pspdata_read we should indeed pass the pointer, as the value might change, but in the case of pspio_pspdata_read we can pass the value, as it will not be changed.

Changed in libpspio:
milestone: none → 0.2.0
status: New → Fix Committed
Changed in libpspio:
status: Fix Committed → Fix Released
Yann Pouillon (pouillon)
Changed in libpspio:
status: Fix Released → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.