#18 Segmentation fault on Decode on Windows

Closed
opened 3 years ago by scuti · 1 comments
scuti commented 3 years ago

File used

https://u.teknik.io/xQ5lb.bmp

$ ./paperback-cli.exe decode PaperBak-orig-output.bmp paperbak.ini           
bfType: 19778, 0xffffc300                                                    
bfSize: 1591702, 0xffffc302                                                  
0, 0xffffc306                                                                
0, 0xffffc308                                                                
bfOffBits : 1078, 0xffffc30a                                                 

biSize: 40, 0xffffc30e                                                       
biWidth: 2016, 0xffffc312                                                    
biHeight: 789, 0xffffc316                                                    
biPlanes: 1, 0xffffc31a                                                      
biBitCount: 8, 0xffffc31c                                                    
biCompression: 0, 0xffffc31e                                                 
biSizeImage: 0, 0xffffc322                                                   
biXPelsPerMeter: 11811, 0xffffc326                                           
biYPelsPerMeter: 11811, 0xffffc326                                           
biClrUsed: 256, 0xffffc32e                                                   
biClrImportant: 256, 0xffffc332                                              

Color bits per pixel: 8                                                      
# of colors (if 24-bit): 256                                                 
pdata->gridxmax: 1984                                                        
pdata->gridymax: 272                                                         
pdata->gridxmin: 24                                                          
pdata->gridymin: 24                                                          
dy: 789                                                                      
Segmentation fault (core dumped)                                             
File used https://u.teknik.io/xQ5lb.bmp $ ./paperback-cli.exe decode PaperBak-orig-output.bmp paperbak.ini bfType: 19778, 0xffffc300 bfSize: 1591702, 0xffffc302 0, 0xffffc306 0, 0xffffc308 bfOffBits : 1078, 0xffffc30a biSize: 40, 0xffffc30e biWidth: 2016, 0xffffc312 biHeight: 789, 0xffffc316 biPlanes: 1, 0xffffc31a biBitCount: 8, 0xffffc31c biCompression: 0, 0xffffc31e biSizeImage: 0, 0xffffc322 biXPelsPerMeter: 11811, 0xffffc326 biYPelsPerMeter: 11811, 0xffffc326 biClrUsed: 256, 0xffffc32e biClrImportant: 256, 0xffffc332 Color bits per pixel: 8 # of colors (if 24-bit): 256 pdata->gridxmax: 1984 pdata->gridymax: 272 pdata->gridxmin: 24 pdata->gridymin: 24 dy: 789 Segmentation fault (core dumped)
scuti added the
bug
label 3 years ago
scuti commented 3 years ago
Owner
https://git.teknik.io/scuti/paperback-cli/commit/53c21ee4f03fd9e01287a0cefb2058e19371e4af
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
Cancel
Save
There is no content yet.