Re: C run time error in Tandem.

Discussion in 'C Programming' started by Tor Rustad, Jan 10, 2013.

  1. Tor Rustad

    Tor Rustad Guest

    On Friday, January 4, 2013 6:33:55 AM UTC+1, jk__c wrote:
    > I get a run time error in the below sprintf when I try executing the c program in Tandem. This code is successfully compiled and tested in windows.I'm trying to convert an array of unsigned char to a char string using sprintf and it fails exactly at this line. If I replace sprintf with a normal printf("%02X",sha256sum[j])
    >
    > in the below code also the same error occurs.



    Your code looks ok, the bug is located elsewhere. One thing to watch out for when porting hashing modules to Tandem, is that hashing is typically endian dependent, i.e. may require some tweaking before working on a big endiansystem. But that should not give run-time error.

    --
    T
     
    Tor Rustad, Jan 10, 2013
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Ajay

    Use of AXIS on Tandem

    Ajay, Oct 16, 2003, in forum: Java
    Replies:
    0
    Views:
    414
  2. Johann Klammer

    Re: C run time error in Tandem.

    Johann Klammer, Jan 4, 2013, in forum: C Programming
    Replies:
    0
    Views:
    187
    Johann Klammer
    Jan 4, 2013
  3. Joachim Schmitz

    Re: C run time error in Tandem.

    Joachim Schmitz, Jan 4, 2013, in forum: C Programming
    Replies:
    0
    Views:
    250
    Joachim Schmitz
    Jan 4, 2013
  4. Ken Brody

    Re: C run time error in Tandem.

    Ken Brody, Jan 4, 2013, in forum: C Programming
    Replies:
    0
    Views:
    186
    Ken Brody
    Jan 4, 2013
  5. BartC

    Re: C run time error in Tandem.

    BartC, Jan 4, 2013, in forum: C Programming
    Replies:
    0
    Views:
    218
    BartC
    Jan 4, 2013
Loading...

Share This Page