Menu ▾ ▴

#3 [liblisuxpa] Segmentation fault when file doesn't exists

open-later
mat30
liblisuxpa (1)
2
2007-09-30
2007-09-30
mat30
No

Si el fichero XML no existe, liblisuxpa causa una violación de segmento.

If the selected XML file doesn't exists, liblisuxpa causes a SIGSEGV.

Discussion

  • mat30

    mat30 - 2007-09-30
    • priority: 9 --> 7
     
  • mat30

    mat30 - 2007-09-30

    Logged In: YES
    user_id=1607413
    Originator: YES

    Este fallo solo sucede cuando tratas de leer de un fichero no abierto.

    This bug only happens if you try to read from a not open file.

     
  • mat30

    mat30 - 2007-09-30

    Logged In: YES
    user_id=1607413
    Originator: YES

    La correción actual solo creporta que el fichero está abierto correctamente, pero es responsabilidad del programador comprobar el estado del fichero antes de leer del mismo. Si no lo hace, puede obtener el SIGSEGV. Por ahora no es un bug serio, se pospone hasta la próxima revisión de liblisuxpa.

    The current fix only reports if the file are right opened, but if the programmer doesn't check if the file are rigth opened, he can get's the SIGSEGV. With this fix it's not a serious bug, and it's full fix will be postponed until the next revision of liblisuxpa

     
  • mat30

    mat30 - 2007-09-30
    • priority: 7 --> 2
    • status: open --> open-later
     
  • mat30

    mat30 - 2007-09-30
    • labels: --> liblisuxpa
     

Log in to post a comment.