|
|
| Line 1: |
Line 1: |
| − | SourceForge
| |
| − | Browse Enterprise Blog Help Jobs
| |
| − | Log In or Join
| |
| − | SOLUTION CENTERS Smarter Commerce Go Parallel HTML5 Smarter IT Resources Newsletters
| |
| − | Home / Browse / LifeLines / Tracker / Bugs / View
| |
| − | LifeLines
| |
| − | Summary
| |
| − | Files
| |
| − | Reviews
| |
| − | Support
| |
| − | Develop
| |
| − | Tracker
| |
| − | Mailing Lists
| |
| − | Forums
| |
| − | Code
| |
| − | Add new
| |
| − | Browse
| |
| − | Tracker: Bugs
| |
| | | | |
| − | 5core dump when accessing view history - ID: 3530913 Last Update: Tracker Item Submitted ( disasm_ )
| |
| − | Details:
| |
| − | I downloaded this code and compiled it on 64-bit linux with gcc 4.7.0.
| |
| − |
| |
| − | The program works fine except when I try to access the view history.
| |
| − |
| |
| − | I opened it up in gdb and tracked it down to an ssprintf call in node_to_nkey function.
| |
| − |
| |
| − | After the ssprintf, it overwrote the key file with 0's, probably because it copied more than it should in the keynum var of the struct.
| |
| − |
| |
| − | I fixed it with the following function:
| |
| − |
| |
| − | BOOLEAN
| |
| − | node_to_nkey (NODE node, NKEY * nkey)
| |
| − |
| |
| − | char keynum[MAXKEYWIDTH];
| |
| − | nkey_clear(nkey);
| |
| − | if (!node)
| |
| − | *nkey = nkey_zero();
| |
| − | return FALSE;
| |
| − |
| |
| − | strcpy(nkey->key, node_to_key(node));
| |
| − | strcpy(keynum,&nkey->key[1]);
| |
| − | nkey->ntype = nkey->key[0];
| |
| − | nkey->keynum = atoi(keynum);
| |
| − | return TRUE;
| |
| − |
| |
| − | Submitted:
| |
| − | Sam Leathers ( disasm_ ) - 2012-05-30 13:26:15 PDT
| |
| − |
| |
| − | Priority:
| |
| − | 5
| |
| − |
| |
| − | Status:
| |
| − | Open
| |
| − |
| |
| − | Resolution:
| |
| − | None
| |
| − |
| |
| − | Assigned:
| |
| − | Nobody/Anonymous
| |
| − |
| |
| − | Category:
| |
| − | NoneGroup:
| |
| − | None
| |
| − |
| |
| − | Visibility:
| |
| − | Public
| |
| − |
| |
| − |
| |
| − | Comments
| |
| − |
| |
| − | Attached File
| |
| − |
| |
| − | Change
| |
| − |
| |
| − | No changes have been made to this artifact.
| |
| − |
| |
| − |
| |
| − |
| |
| − | SourceForge
| |
| − |
| |
| − | About
| |
| − | Site Status
| |
| − | @sfnet_ops
| |
| − | Find and Develop Software
| |
| − |
| |
| − | Create a Project
| |
| − | Software Directory
| |
| − | Top Downloaded Projects
| |
| − | Community
| |
| − |
| |
| − | Blog
| |
| − | @sourceforge
| |
| − | Job Board
| |
| − | Help
| |
| − |
| |
| − | Site Documentation
| |
| − | Support Request
| |
| − | Real-Time Support
| |
| − | Copyright © 2013 SourceForge. All Rights Reserved.
| |
| − | SourceForge is a Dice Holdings, Inc. company. Terms Privacy Cookies/Opt Out Advertise SourceForge.JP SourceForge
| |
| − | Browse Enterprise Blog Help Jobs
| |
| − | Log In or Join
| |
| − | SOLUTION CENTERS Smarter Commerce Go Parallel HTML5 Smarter IT Resources Newsletters
| |
| − | Home / Browse / LifeLines / Tracker / Bugs / View
| |
| − | LifeLines
| |
| − | Summary
| |
| − | Files
| |
| − | Reviews
| |
| − | Support
| |
| − | Develop
| |
| − | Tracker
| |
| − | Mailing Lists
| |
| − | Forums
| |
| − | Code
| |
| − | Add new
| |
| − | Browse
| |
| − | Tracker: Bugs
| |
| − |
| |
| − | 5core dump when accessing view history - ID: 3530913 Last Update: Tracker Item Submitted ( disasm_ )
| |
| − | Details:
| |
| − | I downloaded this code and compiled it on 64-bit linux with gcc 4.7.0.
| |
| − |
| |
| − | The program works fine except when I try to access the view history.
| |
| − |
| |
| − | I opened it up in gdb and tracked it down to an ssprintf call in node_to_nkey function.
| |
| − |
| |
| − | After the ssprintf, it overwrote the key file with 0's, probably because it copied more than it should in the keynum var of the struct.
| |
| − |
| |
| − | I fixed it with the following function:
| |
| − |
| |
| − | BOOLEAN
| |
| − | node_to_nkey (NODE node, NKEY * nkey)
| |
| − |
| |
| − | char keynum[MAXKEYWIDTH];
| |
| − | nkey_clear(nkey);
| |
| − | if (!node)
| |
| − | *nkey = nkey_zero();
| |
| − | return FALSE;
| |
| − |
| |
| − | strcpy(nkey->key, node_to_key(node));
| |
| − | strcpy(keynum,&nkey->key[1]);
| |
| − | nkey->ntype = nkey->key[0];
| |
| − | nkey->keynum = atoi(keynum);
| |
| − | return TRUE;
| |
| − |
| |
| − | Submitted:
| |
| − | Sam Leathers ( disasm_ ) - 2012-05-30 13:26:15 PDT
| |
| − |
| |
| − | Priority:
| |
| − | 5
| |
| − |
| |
| − | Status:
| |
| − | Open
| |
| − |
| |
| − | Resolution:
| |
| − | None
| |
| − |
| |
| − | Assigned:
| |
| − | Nobody/Anonymous
| |
| − |
| |
| − | Category:
| |
| − | NoneGroup:
| |
| − | None
| |
| − |
| |
| − | Visibility:
| |
| − | Public
| |
| − |
| |
| − |
| |
| − | Comments
| |
| − |
| |
| − | Attached File
| |
| − |
| |
| − | Change
| |
| − |
| |
| − | No changes have been made to this artifact.
| |
| − |
| |
| − |
| |
| − |
| |
| − | SourceForge
| |
| − |
| |
| − | About
| |
| − | Site Status
| |
| − | @sfnet_ops
| |
| − | Find and Develop Software
| |
| − |
| |
| − | Create a Project
| |
| − | Software Directory
| |
| − | Top Downloaded Projects
| |
| − | Community
| |
| − |
| |
| − | Blog
| |
| − | @sourceforge
| |
| − | Job Board
| |
| − | Help
| |
| − |
| |
| − | Site Documentation
| |
| − | Support Request
| |
| − | Real-Time Support
| |
| − | Copyright © 2013 SourceForge. All Rights Reserved.
| |
| − | SourceForge is a Dice Holdings, Inc. company. Terms Privacy Cookies/Opt Out Advertise SourceForge.JP
| |