[Bugzilla] [Bug 6886] Samuel GOUGEON has changed bug_file_loc, assigned_to

bugzilla.admin at scilab.org bugzilla.admin at scilab.org
Sat Mar 24 15:57:12 CET 2018


http://bugzilla.scilab.org/show_bug.cgi?id=6886
--------- Bug Summary -----------
By using the Mex API in Scilab, it is impossible to include a structure (created

---------- Changed by ------------
sgougeon at free.fr

---------- What changed ----------
bug_file_loc, assigned_to


Samuel GOUGEON <sgougeon at free.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|No error message but I have |
                   |a buffer overflow. For      |
                   |example:
                   |
                   |//
                         |
                   |md =                        |
                   |btkGetMetaData(acq,'POINT', |
                   |'LABELS');
                 |
                   |-->md.info.format
          |
                   | ans  =
                    |
                   | 
                          |
                   | n000g000/000S000c000i000   |
                   |   l000a000b000/000b000t000 |
                   |                            |
                   |k000/000m000a000c000r000    |
                   |  
                         |
                   | o000s000/000100010001000   |
                   |   200020002000200020002000 |
                   |                            |
                   |200020002000200020002000    |
                   |  
                         |
                   | 200020002000200020002000   |
                   |   200020002000200020002000 |
                   |                            |
                   |2000200020002000btkMetaD    |
                   |  
                         |
                   | ataInfo         W0001000   |
                   |   100040000000000000k*0000 |
                   |                            |
                   |000*0000000000**QX0*a000    |
                   |  
                         |
                   | 1000100000001000g000/000   |
                   |   U000s000e000r000s000/000 |
                   |                            |
                   |A000l000z000a000t000h000    |
                   |  
                         |
                   | a000r0000000e000t000S000   |
                   |   C000I000/000m000o000d000 |
                   |                            |
                   |u000l000e000s000/000h000    |
                   |  
                         |
                   | e000l000p000t000o000o000   |
                   |   l000s000/000m000a000c000 |
                   |                            |
                   |r000o000s000/000k0001000    |
                   |  
                         |
                   | 40004000600080009000a000   |
                   |   a000d000d000d000d000d000 |
                   |                            |
                   |e000e000e000e000e000e000    |
                   |  
                         |
                   | e000e000e000e000e000l000   |
                   |   l000l000l000l000l000add_ |
                   |     help_chapter           |
                   |add_      
                 |
                   | module_help_chapter apro   |
                   |   pos                 chec |
                   |     k_help                 |
                   |clea      
                 |
                   | n_help              del_   |
                   |   help_chapter        del_ |
                   |     module_help_chapter    |
                   |extr      
                 |
                   | act_help_examples   find   |
                   |   _links              help |
                   |                            |
                   |help      
                 |
                   | _from_sci           help   |
                   |   _skeleton           mane |
                   |     dit                    |
                   |xmlf      
                 |
                   | iletohtml           xmlt   |
                   |   ochm                xmlt |
                   |     oformat                |
                   |xmlt      
                 |
                   | ohtml               xmlt   |
                   |   ojar                xmlt |
                   |     opdf                   |
                   |xmlt      
                 |
                   | ops                 e000   |
                   |   o000S000C000I000/000m000 |
                   |                            |
                   |o000d000u000l000e000s000    |
                   |  
                         |
                   | 
                          |
                   |-->md.info       
          |
                   | ans  =
                    |
                   | 
                          |
                   |   format: [3x2 sparse]
    |
                   |//
                         |
                   |
                           |
                   |The result should be        |
                   |'Char'. There is no error   |
                   |under Matlab with this      |
                   |code.
                      |
                   |
                           |
                   |I don't know if it is       |
                   |related but the type of the |
                   |variable 'format' is known  |
                   |as a sparse matrix (instead |
                   |of char) and in the Mex API |
                   |code (mexlib.c), the        |
                   |function mxCreateSparse is  |
                   |defined just before the     |
                   |function mxCreateString.    |
           Assignee|vincent.couvert at scilab-ente |bugzilla.admin at scilab.org
                   |rprises.com                 |

-- 
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/bugzilla/attachments/20180324/1a956657/attachment.htm>


More information about the Bugzilla mailing list